aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/api/debug.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2016-02-12 19:48:00 +0000
committerArnaldo Carvalho de Melo <[email protected]>2016-02-12 19:53:22 +0000
commit682dc24c2a0f13d5a16ac8f4303671eb8f11519f (patch)
treec5f00e75525af4da451240ec41c9fa0786e9231c /tools/lib/api/debug.c
parentperf tools: Introduce parse_events_terms__purge() (diff)
downloadkernel-682dc24c2a0f13d5a16ac8f4303671eb8f11519f.tar.gz
kernel-682dc24c2a0f13d5a16ac8f4303671eb8f11519f.zip
perf tools: Use perf_event_terms__purge() for non-malloced terms
In these two cases, a 'perf test' entry and in the PMU code the list_head is on the stack, so we can't use perf_event__free_terms() (soon to be renamed to perf_event_terms__delete()), because it will free the list_head as well. Acked-by: Jiri Olsa <[email protected]> Cc: Alexei Starovoitov <[email protected]> Cc: He Kuang <[email protected]> Cc: Masami Hiramatsu <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wang Nan <[email protected]> Cc: Zefan Li <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions