commit | a569d988452781f21399578afb0cfb23f42cb886 | [log] [tgz] |
---|---|---|
author | Steven Rostedt <srostedt@redhat.com> | Wed Jun 06 13:45:31 2012 -0400 |
committer | Steven Rostedt <rostedt@goodmis.org> | Wed Jun 06 13:45:31 2012 -0400 |
tree | 8d1af664bd54d33ec1c03f2911ace4b08cf7ed4d | |
parent | eee93864660d287a5e6234f465577abca0114c92 [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. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>