summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorJames Clark <james.clark@linaro.org>2025-03-19 13:16:10 +0300
committerNamhyung Kim <namhyung@kernel.org>2025-03-20 02:56:56 +0300
commit6d2dcd635204c023eb5328ad7d38b198a5558c9b (patch)
treec9a2a8af4ecf1a9cca50082f726d72dd6eb7cff7 /tools/perf/scripts/python/task-analyzer.py
parent58b8b5d142a8bd5cee3f5181b9d9088051a53a04 (diff)
downloadlinux-6d2dcd635204c023eb5328ad7d38b198a5558c9b.tar.xz
perf: intel-tpebs: Fix incorrect usage of zfree()
zfree() requires an address otherwise it frees what's in name, rather than name itself. Pass the address of name to fix it. This was the only incorrect occurrence in Perf found using a search. Fixes: 8db5cabcf1b6 ("perf stat: Fork and launch 'perf record' when 'perf stat' needs to get retire latency value for a metric.") Signed-off-by: James Clark <james.clark@linaro.org> Link: https://lore.kernel.org/r/20250319101614.190922-1-james.clark@linaro.org Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions