Javad Karabi via Gcc-patches <gcc-patches@gcc.gnu.org> writes:
>
> diff --git a/contrib/gen_autofdo_event.py b/contrib/gen_autofdo_event.py
> index c97460c61c6..cd77a8686d9 100755
> --- a/contrib/gen_autofdo_event.py
> +++ b/contrib/gen_autofdo_event.py
> @@ -94,7 +94,7 @@ for j in u:
>      n = j.rstrip().split(',')
>      if len(n) >= 4 and (args.all or n[0] == cpu) and n[3] == "core":
>          if args.all:
> -            vendor, fam, model = n[0].split("-")
> +            vendor, fam, model = n[0].split("-")[:3]

That doesn't fix the problem, we really need to match
the stepping too. You turned a visible failure into a silent one.

-Andi

Reply via email to