diff options
author | Namhyung Kim <[email protected]> | 2015-09-10 11:27:04 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-09-15 09:48:32 -0300 |
commit | a43aac299c3abc09eff856039f5b72166b780d35 (patch) | |
tree | d62daeba1c6974f063881d5aa0c81eca755d3fa3 /tools/perf/util/trace-event-scripting.c | |
parent | 9059b284caecb628fac826c2c5cc8ee85708eec1 (diff) |
perf probe: Free perf_probe_event in cleanup_perf_probe_events()
The cleanup_perf_probe_events() frees all resources related to a perf
probe event. However it only freed resources in trace probe events, not
perf probe events. So call clear_perf_probe_event() too.
Reported-by: Wang Nan <[email protected]>
Signed-off-by: Namhyung Kim <[email protected]>
Acked-by: Masami Hiramatsu <[email protected]>
Cc: Jiri Olsa <[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/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions