diff options
author | Jiri Slaby <[email protected]> | 2014-03-10 21:42:11 +0100 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2014-03-11 19:38:20 -0400 |
commit | db0fbadcbd0c288525ea9f76488b324642a78c7f (patch) | |
tree | 2a475da8b54b668d08e21e663c6f156f868ef4d6 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 7f11f5ecf4ae09815dc2de267c5e04d1de01d862 (diff) |
ftrace: Fix compilation warning about control_ops_free
With CONFIG_DYNAMIC_FTRACE=n, I see a warning:
kernel/trace/ftrace.c:240:13: warning: 'control_ops_free' defined but not used
static void control_ops_free(struct ftrace_ops *ops)
^
Move that function around to an already existing #ifdef
CONFIG_DYNAMIC_FTRACE block as the function is used solely from the
dynamic function tracing functions.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Jiri Slaby <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions