aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2020-09-15 03:18:14 +0000
committerArnaldo Carvalho de Melo <[email protected]>2020-09-15 12:20:11 +0000
commitf5a56570a3f2c01e5307a972ae7d4636edff7b13 (patch)
treeb9c74d33841cf282b9d40c72fcce82b79062ed63 /tools/perf/scripts/python/event_analyzing_sample.py
parentperf parse-event: Fix memory leak in evsel->unit (diff)
downloadkernel-f5a56570a3f2c01e5307a972ae7d4636edff7b13.tar.gz
kernel-f5a56570a3f2c01e5307a972ae7d4636edff7b13.zip
perf test: Fix memory leaks in parse-metric test
It didn't release resources when there's an error so the test_recursion_fail() will leak some memory. Fixes: 0a507af9c681a ("perf tests: Add parse metric test for ipc metric") Signed-off-by: Namhyung Kim <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions