aboutsummaryrefslogtreecommitdiff
path: root/include/linux/kprobes.h
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2012-06-06 13:45:31 -0400
committerSteven Rostedt <rostedt@goodmis.org>2012-07-31 10:29:57 -0400
commit4dc936769e8a6382a4cc12375e8a4daa2b829fda (patch)
tree402e75bf6edb5761ea4c2312778d137c0e0dcf44 /include/linux/kprobes.h
parent25764288d8dc4792f0f487baf043ccfee5d8c2ba (diff)
ftrace: Make ftrace_location() a nop on !DYNAMIC_FTRACE
When CONFIG_DYNAMIC_FTRACE is not set, ftrace_location() is not defined. If a user (like kprobes) references this function, it will break the compile when CONFIG_DYNAMIC_FTRACE is not set. Add ftrace_location() as a nop (return 0) when DYNAMIC_FTRACE is not defined. Link: http://lkml.kernel.org/r/20120612225426.961092717@goodmis.org Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/linux/kprobes.h')
0 files changed, 0 insertions, 0 deletions