diff options
| author | Leo Yan <[email protected]> | 2023-03-20 14:16:19 +0800 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-03-21 10:06:08 -0300 |
| commit | 51b02a964728115761acc5baa5e67c8d0a9bc222 (patch) | |
| tree | eb1a3abccf3936045319d29526b40a3acf2012ea /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | f1e8f25980968f7c18f1eb977bd1d5fd716325a5 (diff) | |
perf kvm: Delete histograms entries before exiting
It's good not to release resources for a program when kernel cleans up
memory space, this patch explicitly releases histograms entries with
hists__delete_entries().
Committer notice:
This helps with memory leak checkers, but may delay exiting a tool by
doing needless linked list traversals freeing lots of objects.
Signed-off-by: Leo Yan <[email protected]>
Acked-by: Ian Rogers <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: James Clark <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
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