aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2024-10-01 20:20:12 -0700
committerNamhyung Kim <namhyung@kernel.org>2024-10-10 23:40:33 -0700
commit609aa2667f67c1588d4e741110265f74b7713177 (patch)
tree31697c0518481260c9adb5592972ad81ccb829fb /tools/perf/scripts/python/bin/stackcollapse-report
parentperf jevents: Add tool event json under a common architecture (diff)
downloadlinux-609aa2667f67c1588d4e741110265f74b7713177.tar.gz
linux-609aa2667f67c1588d4e741110265f74b7713177.zip
perf tool_pmu: Switch to standard pmu functions and json descriptions
Use the regular PMU approaches with tool json events to reduce the amount of special tool_pmu code - tool_pmu__config_terms and tool_pmu__for_each_event_cb are removed. Some functions remain, like tool_pmu__str_to_event, as conveniences to metricgroups. Add tool_pmu__skip_event/tool_pmu__num_skip_events to handle the case that tool json events shouldn't appear on certain architectures. This isn't done in jevents.py due to complexity in the empty-pmu-events.c and when all vendor json is built into the tool. Signed-off-by: Ian Rogers <irogers@google.com> Acked-by: Namhyung Kim <namhyung@kernel.org> Link: https://lore.kernel.org/r/20241002032016.333748-10-irogers@google.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions