aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRiccardo Mancini <[email protected]>2021-07-15 18:07:09 +0200
committerArnaldo Carvalho de Melo <[email protected]>2021-07-15 17:27:51 -0300
commitfc56f54f6fcd5337634f4545af6459613129b432 (patch)
tree05b4b69dff10b095ce0819bbb82a854323f3e1ad /tools/perf/scripts/python/export-to-postgresql.py
parent233f2dc1c284337286f9a64c0152236779a42f6c (diff)
perf test event_update: Fix memory leak of evlist
ASan reports a memory leak when running: # perf test "49: Synthesize attr update" Caused by evlist not being deleted. This patch adds the missing evlist__delete and removes the perf_cpu_map__put since it's already being deleted by evlist__delete. Signed-off-by: Riccardo Mancini <[email protected]> Fixes: a6e5281780d1da65 ("perf tools: Add event_update event unit type") Cc: Ian Rogers <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lore.kernel.org/lkml/f7994ad63d248f7645f901132d208fadf9f2b7e4.1626343282.git.rickyman7@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions