tracing/probe: Check maxactive error cases
authorMasami Hiramatsu <mhiramat@kernel.org>
Thu, 14 Mar 2019 04:30:09 +0000 (13:30 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 14 Mar 2019 23:53:29 +0000 (19:53 -0400)
commit287c038c0b994dae7569d96eca154f6a7ff6b4a9
treeaf047c1815219d747c752488a7d37dc1a21c297a
parent31b265b3baaf55f209229888b7ffea523ddab366
tracing/probe: Check maxactive error cases

Check maxactive on kprobe error case, because maxactive
is only for kretprobe, not for kprobe. Also, maxactive
should not be 0, it should be at least 1.

Link: http://lkml.kernel.org/r/155253780952.14922.15784129810238750331.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_kprobe.c