Skip to content

Commit

Permalink
toplev: Fix simple on github runner
Browse files Browse the repository at this point in the history
  • Loading branch information
Andi Kleen committed Nov 16, 2023
1 parent ba956ab commit 1677937
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion toplev.py
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,10 @@ def run_parallel(args, env):

def gen_cpu_name(cpu):
if cpu == "simple":
return event_download.get_cpustr()
c = event_download.get_cpustr()
if not c.startswith("GenuineIntel"): # fix my github runner
c = "GenuineIntel-6-4E"
return c
if cpu == "sprmax":
cpu = "spr"
for j in known_cpus:
Expand Down

0 comments on commit 1677937

Please sign in to comment.