diff options
author | Jiri Olsa <jolsa@kernel.org> | 2018-07-09 17:19:06 +0300 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2018-07-11 22:50:52 +0300 |
commit | 0fc8c3581dd42bc8f530314ca86db2d861485731 (patch) | |
tree | d89e7933d9e1dea25373f87fbcfc3339415ec9a1 /drivers/md/raid10.c | |
parent | 1fe4293f4b8de75824935f8d8e9a99c7fc6873da (diff) | |
download | linux-0fc8c3581dd42bc8f530314ca86db2d861485731.tar.xz |
tracing/kprobe: Release kprobe print_fmt properly
We don't release tk->tp.call.print_fmt when destroying
local uprobe. Also there's missing print_fmt kfree in
create_local_trace_kprobe error path.
Link: http://lkml.kernel.org/r/20180709141906.2390-1-jolsa@kernel.org
Cc: stable@vger.kernel.org
Fixes: e12f03d7031a ("perf/core: Implement the 'perf_kprobe' PMU")
Acked-by: Song Liu <songliubraving@fb.com>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'drivers/md/raid10.c')
0 files changed, 0 insertions, 0 deletions