kprobes: introduce weak arch_check_ftrace_location() helper function
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 15 Oct 2014 10:17:34 +0000 (12:17 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 27 Oct 2014 12:27:27 +0000 (13:27 +0100)
commitf7f242ff004499e0904d3664713dfba01f24c408
tree3702692fcc3e0c44ecc2a8f4dd8a8434268b09c6
parent3ac8e38015d4fd1c12e4e048a01a9f059a2053a2
kprobes: introduce weak arch_check_ftrace_location() helper function

Introduce weak arch_check_ftrace_location() helper function which
architectures can override in order to implement handling of kprobes
on function tracer call sites on their own, without depending on
common code or implementing the KPROBES_ON_FTRACE feature.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
include/linux/kprobes.h
kernel/kprobes.c