diff options
| author | Ian Rogers <irogers@google.com> | 2025-10-05 21:24:15 +0300 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2025-10-15 17:59:11 +0300 |
| commit | 249a4c6d0165b2ad32f97e6b929718178c70b00e (patch) | |
| tree | 33e92762371096ae24e5e010e47be4f566094a8f /tools/perf/python | |
| parent | 903151c81c630ab7bcc37435755f6f9698e628f7 (diff) | |
| download | linux-249a4c6d0165b2ad32f97e6b929718178c70b00e.tar.xz | |
perf pmu: Add and use legacy_terms in alias information
Add support to finding/adding events from the default_core event
table. If an event already exists from sysfs/json then the
default_core configuration is saved in the legacy_terms string. Lazily
use the legacy_terms string to set a legacy hardware or cache event as
deprecated if the core PMU doesn't support it. Use the legacy terms
string to set the alternate_hw_config, avoiding the value needing to
be passed from the parse_events parser.
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
