Skip to content

Commit

Permalink
toplev: Fix virtualization event warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Andi Kleen committed Nov 26, 2024
1 parent 8713d57 commit 96d087a
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 @@ -3808,7 +3808,7 @@ def force_pebs(ev):
nnopebs = {x[0] for x in nsamp if force_pebs(x[0])}
if nnopebs and not args.quiet:
for o in nnopebs:
warn_no_assert("sample event %s not (currently) supported in virtualization" % o[0])
warn_no_assert("sample event %s not (currently) supported in virtualization" % o)
nsamp = [x for x in nsamp if x[0] not in nnopebs]

sl = [raw_event(s[0], s[1] + "_" + clean_event(s[0]), period=True) for s in nsamp]
Expand Down

0 comments on commit 96d087a

Please sign in to comment.