summaryrefslogtreecommitdiffstats
path: root/kernel/configs.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2020-04-25 14:49:17 +0900
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2020-05-06 09:04:11 -0400
commitda0f1f4167e3af69e1d8b32d6d65195ddd2bfb64 (patch)
tree3f3004ade391b9d890c55ab35942a949eb5471ed /kernel/configs.c
parentdcbd21c9fca5e954fd4e3d91884907eb6d47187e (diff)
downloadlinux-da0f1f4167e3af69e1d8b32d6d65195ddd2bfb64.tar.bz2
tracing/boottime: Fix kprobe event API usage
Fix boottime kprobe events to use API correctly for multiple events. For example, when we set a multiprobe kprobe events in bootconfig like below, ftrace.event.kprobes.myevent { probes = "vfs_read $arg1 $arg2", "vfs_write $arg1 $arg2" } This cause an error; trace_boot: Failed to add probe: p:kprobes/myevent (null) vfs_read $arg1 $arg2 vfs_write $arg1 $arg2 This shows the 1st argument becomes NULL and multiprobes are merged to 1 probe. Link: http://lkml.kernel.org/r/158779375766.6082.201939936008972838.stgit@devnote2 Cc: Ingo Molnar <mingo@kernel.org> Cc: stable@vger.kernel.org Fixes: 29a154810546 ("tracing: Change trace_boot to use kprobe_event interface") Reviewed-by: Tom Zanussi <zanussi@kernel.org> Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/configs.c')
0 files changed, 0 insertions, 0 deletions