Skip to content

Commit

Permalink
toplev: Workaround perf stat breakage
Browse files Browse the repository at this point in the history
  • Loading branch information
Andi Kleen committed Apr 22, 2024
1 parent 3ac7b7c commit 0614ff8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions toplev.py
Original file line number Diff line number Diff line change
Expand Up @@ -2425,6 +2425,7 @@ def do_execute(rlist, summary, evstr, flat_rmap, out, rest, resoff, revnum):

# code later relies on stripping ku flags
event = remove_qual(event)
event = re.sub(r'\s+\[.*\]', '', event)

# duplicated duration_time in perf ~6.5. was already added from the first.
if event == "duration_time" and count == "<not counted>":
Expand Down

0 comments on commit 0614ff8

Please sign in to comment.