aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2014-08-12 15:40:33 +0900
committerArnaldo Carvalho de Melo <[email protected]>2014-08-13 16:29:43 -0300
commit6cc870f09da4d50722bc1caa27cad51733ce36f6 (patch)
tree7d24778758cdc24fe86b718cb26c807f35b101ca /tools/perf/scripts/python/event_analyzing_sample.py
parentf6edb53c4993ffe92ce521fb449d1c146cea6ec2 (diff)
perf script: Fix possible memory leaks
Some paths in perf script don't call perf_session__delete() after creating a new session. Signed-off-by: Namhyung Kim <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Minchan Kim <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] [ Saved errno value before calling perror(), as pointed out by Adrian Hunter ] 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