diff options
author | 2025-07-18 20:05:16 -0700 | |
---|---|---|
committer | 2025-07-24 13:41:35 -0700 | |
commit | 8dcd27b1b8661f64e220bc26a499865261d5d0f1 (patch) | |
tree | 19fa320c5436dc4b23b54dab76ff910c2a4ecb20 /tools/perf/scripts/python | |
parent | perf topdown: Use attribute to see an event is a topdown metic or slots (diff) | |
download | wireguard-linux-8dcd27b1b8661f64e220bc26a499865261d5d0f1.tar.xz wireguard-linux-8dcd27b1b8661f64e220bc26a499865261d5d0f1.zip |
perf parse-events: Fix missing slots for Intel topdown metric events
Topdown metric events require grouping with a slots event. In perf
metrics this is currently achieved by metrics adding an unnecessary
"0 * tma_info_thread_slots". New TMA metrics trigger optimizations of
the metric expression that removes the event and breaks the metric due
to the missing but required event. Add a pass immediately before
sorting and fixing parsed events, that insert a slots event if one is
missing. Update test expectations to match this.
Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250719030517.1990983-15-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions