Skip to content

Commit

Permalink
fix event filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
harp-intel committed May 14, 2024
1 parent 956324f commit c565732
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/prepare_perf_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ def is_cpu_event(line):
if (
(len(tmp_list) == 1 or tmp_list[0] == "cpu" or tmp_list[0].startswith("cstate"))
and "OCR." not in line
and "uops_retired.ms" not in line
and "int_misc.unknown_branch_cycles" not in line
and "uops_retired.ms" not in line.lower()
and "int_misc.unknown_branch_cycles" not in line.lower()
and "power/" not in line
):
return True
Expand Down

0 comments on commit c565732

Please sign in to comment.