From dca4de859af363cfdd67994910af0c2d732369b1 Mon Sep 17 00:00:00 2001 From: Andi Kleen Date: Wed, 3 Apr 2024 15:53:32 -0700 Subject: [PATCH] toplev: Handle pebs events in scheduler --- toplev.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toplev.py b/toplev.py index ee4eddfe..5ec49b24 100755 --- a/toplev.py +++ b/toplev.py @@ -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: