[PATCH v3 1/3] tracing: kprobes: Prohibit probing on notrace function

2018-07-27 Thread Masami Hiramatsu
Prohibit kprobe-events probing on notrace function. Since probing on the notrace function can cause recursive event call. In most case those are just skipped, but in some case it falls into infinit recursive call. This protection can be disabled by the kconfig CONFIG_KPROBE_EVENTS_ON_NOTRACE=y,

[PATCH v3 1/3] tracing: kprobes: Prohibit probing on notrace function

2018-07-27 Thread Masami Hiramatsu
Prohibit kprobe-events probing on notrace function. Since probing on the notrace function can cause recursive event call. In most case those are just skipped, but in some case it falls into infinit recursive call. This protection can be disabled by the kconfig CONFIG_KPROBE_EVENTS_ON_NOTRACE=y,