diff options
| author | Ian Rogers <irogers@google.com> | 2025-10-05 11:24:04 -0700 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2025-10-15 23:59:10 +0900 |
| commit | b7b76f607a15f16031001687e733046b5f6f5d86 (patch) | |
| tree | b15b04e5e746cb4a0c77619555fc40789fe1dbfa /tools/perf/scripts/python/stackcollapse.py | |
| parent | 2a67955de13624ec17d1c2504d2c9eeb37933b77 (diff) | |
| download | linux-b7b76f607a15f16031001687e733046b5f6f5d86.tar.gz linux-b7b76f607a15f16031001687e733046b5f6f5d86.zip | |
perf parse-events: Fix legacy cache events if event is duplicated in a PMU
The term list when adding an event to a PMU is expected to have the
event name for the alias lookup. Also, set found_supported so that
-EINVAL isn't returned.
Fixes: 62593394f66a ("perf parse-events: Legacy cache names on all
PMUs and lower priority")
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/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
