diff options
| author | Ian Rogers <irogers@google.com> | 2025-11-08 16:59:58 -0800 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2025-11-09 23:07:57 -0800 |
| commit | 0e9b51a43214f81f07813b63349b03ded35139c7 (patch) | |
| tree | 3336a35e8bf219d3d88eeab95246089d3fa028a4 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 6331b266935916bf050149a55bfafb45aa3d9d9e (diff) | |
| download | linux-0e9b51a43214f81f07813b63349b03ded35139c7.tar.gz linux-0e9b51a43214f81f07813b63349b03ded35139c7.zip | |
perf pmu: Make pmu_alias_terms weak again
The terms for a json event should be weak so they don't override
command line options.
Before:
```
$ perf record -vv -c 1000 -e uops_issued.any -o /dev/null true 2>&1
|grep "{ sample_period, sample_freq }"
{ sample_period, sample_freq } 200003
{ sample_period, sample_freq } 2000003
{ sample_period, sample_freq } 1000
```
After:
```
$ perf record -vv -c 1000 -e uops_issued.any -o /dev/null true 2>&1
|grep "{ sample_period, sample_freq }"
{ sample_period, sample_freq } 1000
{ sample_period, sample_freq } 1000
{ sample_period, sample_freq } 1000
```
Fixes: 84bae3af20d0 ("perf pmu: Don't eagerly parse event terms")
Signed-off-by: Ian Rogers <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
