-
Namhyung Kim authored
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 <wangnan0@huawei.com>
Signed-off-by:
Namhyung Kim <namhyung@kernel.org>
Acked-by:
Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1441852026-28974-1-git-send-email-namhyung@kernel.org
Signed-off-by:
Arnaldo Carvalho de Melo <acme@redhat.com>a43aac29