diff options
| author | Ian Rogers <[email protected]> | 2025-07-19 03:05:16 +0000 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2025-07-24 20:41:35 +0000 |
| commit | 8dcd27b1b8661f64e220bc26a499865261d5d0f1 (patch) | |
| tree | 19fa320c5436dc4b23b54dab76ff910c2a4ecb20 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | perf topdown: Use attribute to see an event is a topdown metic or slots (diff) | |
| download | kernel-8dcd27b1b8661f64e220bc26a499865261d5d0f1.tar.gz kernel-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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
