]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ftrace/kprobe: Show the maxactive number on kprobe_events
authorMasami Hiramatsu <mhiramat@kernel.org>
Tue, 24 Mar 2020 07:34:48 +0000 (16:34 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Apr 2020 14:12:16 +0000 (16:12 +0200)
commit22cd5380ec939b9113405505a2f4d46427f33607
treebe48300f9dcecca90125ca500fbddd8b15d033a0
parent84f5bb72e555ab131c4d74f445891ed94a1ef074
ftrace/kprobe: Show the maxactive number on kprobe_events

commit 6a13a0d7b4d1171ef9b80ad69abc37e1daa941b3 upstream.

Show maxactive parameter on kprobe_events.
This allows user to save the current configuration and
restore it without losing maxactive parameter.

Link: http://lkml.kernel.org/r/4762764a-6df7-bc93-ed60-e336146dce1f@gmail.com
Link: http://lkml.kernel.org/r/158503528846.22706.5549974121212526020.stgit@devnote2
Cc: stable@vger.kernel.org
Fixes: 696ced4fb1d76 ("tracing/kprobes: expose maxactive for kretprobe in kprobe_events")
Reported-by: Taeung Song <treeze.taeung@gmail.com>
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/trace/trace_kprobe.c