summaryrefslogtreecommitdiffstats
path: root/kernel/trace/Makefile
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2018-07-30 12:20:14 +0200
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2018-07-31 00:28:52 +0200
commit45408c4f92506dbdfef1721f2613e1426de00894 (patch)
tree0deca678bf0954a7224acd62f4a805d8d6eb1788 /kernel/trace/Makefile
parenttracing: preemptirq_delay_run() can be static (diff)
downloadlinux-45408c4f92506dbdfef1721f2613e1426de00894.tar.xz
linux-45408c4f92506dbdfef1721f2613e1426de00894.zip
tracing: kprobes: Prohibit probing on notrace function
Prohibit kprobe-events probing on notrace functions. Since probing on a notrace function can cause a recursive event call. In most cases those are just skipped, but in some cases it falls into an infinite recursive call. This protection can be disabled by the kconfig CONFIG_KPROBE_EVENTS_ON_NOTRACE=y, but it is highly recommended to keep it "n" for normal kernel builds. Note that this is only available if "kprobes on ftrace" has been implemented on the target arch and CONFIG_KPROBES_ON_FTRACE=y. Link: http://lkml.kernel.org/r/153294601436.32740.10557881188933661239.stgit@devbox Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Tested-by: Francis Deslauriers <francis.deslauriers@efficios.com> [ Slight grammar and spelling fixes ] Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/Makefile')
0 files changed, 0 insertions, 0 deletions