aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorSteven Rostedt <[email protected]>2012-06-06 17:45:31 +0000
committerSteven Rostedt <[email protected]>2012-07-31 14:29:57 +0000
commit4dc936769e8a6382a4cc12375e8a4daa2b829fda (patch)
tree402e75bf6edb5761ea4c2312778d137c0e0dcf44 /tools/perf/util/scripting-engines/trace-event-perl.c
parentkprobes: Move locks into appropriate functions (diff)
downloadkernel-4dc936769e8a6382a4cc12375e8a4daa2b829fda.tar.gz
kernel-4dc936769e8a6382a4cc12375e8a4daa2b829fda.zip
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/[email protected] Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions