aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/python.c
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2025-07-10 23:51:21 +0000
committerNamhyung Kim <[email protected]>2025-07-11 19:36:40 +0000
commit5c255832deaf34d74c0adf2200eb50a8bba0fc00 (patch)
tree35b60f7177fda7c076230c594e9d2677c80558dc /tools/perf/util/python.c
parentperf expr: Accumulate rather than replace in the context counts (diff)
downloadkernel-5c255832deaf34d74c0adf2200eb50a8bba0fc00.tar.gz
kernel-5c255832deaf34d74c0adf2200eb50a8bba0fc00.zip
perf jevents: If the long_desc and desc are identical then drop the long_desc
If the short and long descriptions are the same then save space and don't store both of them. When storing the desc in the perf_pmu_alias, don't duplicate the desc into the long_desc. By avoiding storing the duplicate the size of the events string in the binary on x86 is reduced by 29,840 bytes. Fix tests that expect a duplicated description. Signed-off-by: Ian Rogers <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions