commit | 8838b341817f2e61e5832667a0f4acd0445451f7 | [log] [tgz] |
---|---|---|
author | Steven Rostedt <srostedt@redhat.com> | Wed Jun 06 13:45:31 2012 -0400 |
committer | Steven Rostedt <rostedt@goodmis.org> | Tue Jun 12 18:23:45 2012 -0400 |
tree | 4047ee9dfc607b5b58f55c53f86c27951aec2e43 | |
parent | 5901ade4dca02588ed1945e15974d2492abc3b6c [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>