Skip to content

Commit

Permalink
toplev: Fix emap test
Browse files Browse the repository at this point in the history
  • Loading branch information
Andi Kleen committed Nov 16, 2023
1 parent 0b6a908 commit 91eed45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toplev.py
Original file line number Diff line number Diff line change
Expand Up @@ -4027,7 +4027,7 @@ def runner_emaps():
runner.set_ectx()
runner.ectx.emap = ocperf.find_emap(pmu=runner.pmu if runner.pmu else "cpu")
runner.printer.emap = ectx.emap
if not ectx.emap:
if not runner.ectx.emap:
sys.exit("Unknown CPU or CPU event map not found.")
if version:
version += ", "
Expand Down

0 comments on commit 91eed45

Please sign in to comment.