aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2016-02-12 16:48:00 -0300
committerArnaldo Carvalho de Melo <[email protected]>2016-02-12 16:53:22 -0300
commit682dc24c2a0f13d5a16ac8f4303671eb8f11519f (patch)
treec5f00e75525af4da451240ec41c9fa0786e9231c /tools/perf/scripts/python/netdev-times.py
parentfc0a2c1d59beac70b8738f4ce14431b798837374 (diff)
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/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions