aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorDavid Ahern <[email protected]>2013-07-02 13:27:25 -0600
committerArnaldo Carvalho de Melo <[email protected]>2013-07-12 13:52:05 -0300
commitc5cd8ac07e7ad5f21b1930b23b2e1bb231958430 (patch)
tree0b81ede400260d6b06b2b4b208eef7cc1530b33f /tools/perf/scripts/python/syscall-counts.py
parentc549aca50134640537bf0fbae43c08fd5ff91932 (diff)
perf parse events: Demystify memory allocations
List heads are currently allocated way down the function chain in __add_event and add_tracepoint and then freed when the scanner code calls parse_events_update_lists. Be more explicit with where memory is allocated and who should free it. With this patch the list_head is allocated in the scanner code and freed when the scanner code calls parse_events_update_lists. Signed-off-by: David Ahern <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions