diff options
author | Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> | 2014-04-17 17:18:28 +0900 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-04-24 10:26:39 +0200 |
commit | 3da0f18007e5b87b573cf6ae8c445d59e757d274 (patch) | |
tree | 937fdf45d658417c57675f4eaa6e1574a9664c23 /kernel/notifier.c | |
parent | 820aede0209a51549e8a014c8030e29229920e4e (diff) | |
download | linux-stable-3da0f18007e5b87b573cf6ae8c445d59e757d274.tar.gz linux-stable-3da0f18007e5b87b573cf6ae8c445d59e757d274.tar.bz2 linux-stable-3da0f18007e5b87b573cf6ae8c445d59e757d274.zip |
kprobes, ftrace: Use NOKPROBE_SYMBOL macro in ftrace
Use NOKPROBE_SYMBOL macro to protect functions from
kprobes instead of __kprobes annotation in ftrace.
This applies nokprobe_inline annotation for some cases,
because NOKPROBE_SYMBOL() will inhibit inlining by
referring the symbol address.
Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/20140417081828.26341.55152.stgit@ltc230.yrl.intra.hitachi.co.jp
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/notifier.c')
0 files changed, 0 insertions, 0 deletions