summaryrefslogtreecommitdiff
path: root/tools/perf/python
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2025-10-05 21:24:14 +0300
committerNamhyung Kim <namhyung@kernel.org>2025-10-15 17:59:10 +0300
commit903151c81c630ab7bcc37435755f6f9698e628f7 (patch)
tree924c24b75c47851780c5d5fe746fc4408f2f7d18 /tools/perf/python
parentabcff00014b8ddb3cab87079f7c91ee9fa973eb5 (diff)
downloadlinux-903151c81c630ab7bcc37435755f6f9698e628f7.tar.xz
perf jevents: Add legacy json terms and default_core event table helper
Add json LegacyConfigCode and LegacyCacheCode values that translate to legacy-hardware-config and legacy-cache-config event terms respectively. Add perf_pmu__default_core_events_table as a means to find a default_core event table that will later contain legacy events. In situations like hypervisors it is more likely that tables will be NULL. Rather than testing in the calling PMU code, early exit in the pmu-event.c routines. Tested-by: Thomas Richter <tmricht@linux.ibm.com> Signed-off-by: Ian Rogers <irogers@google.com> Tested-by: James Clark <james.clark@linaro.org> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/python')
0 files changed, 0 insertions, 0 deletions