Skip to content

Commit

Permalink
toplev: Handle pebs events in scheduler
Browse files Browse the repository at this point in the history
  • Loading branch information
Andi Kleen committed Apr 3, 2024
1 parent 739ee2a commit dca4de8
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 @@ -1447,7 +1447,7 @@ def initialize_event(name, i, e):
for k, v in ectx.constraint_patterns:
if nameu.startswith(k):
e.counter = v
if e.counter == ectx.limit4_counters:
if e.counter == ectx.limit4_counters or eo.endswith("/p"):
ectx.limit4_events.add(i)
if e.errata and e.errata != "0" and e.errata != "null":
if e.errata not in ectx.errata_whitelist:
Expand Down

0 comments on commit dca4de8

Please sign in to comment.