aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorSteven Rostedt <[email protected]>2010-03-05 20:02:19 -0500
committerSteven Rostedt <[email protected]>2010-03-05 21:00:30 -0500
commit801c29fd1fdeb84f60241beb445ff5db154450ae (patch)
treece6d2cf95d86c7863393914b5ba37c90b56b44e9 /tools/perf/scripts/python/net_dropmonitor.py
parentae1f30384baef4056438d81b305a6a5199b0d16c (diff)
function-graph: Fix unused reference to ftrace_set_func()
The declaration of ftrace_set_func() is at the start of the ftrace.c file and wrapped with a #ifdef CONFIG_FUNCTION_GRAPH condition. If function graph tracing is enabled but CONFIG_DYNAMIC_FTRACE is not, a warning about that function being declared static and unused is given. This really should have been placed within the CONFIG_FUNCTION_GRAPH condition that uses ftrace_set_func(). Moving the declaration down fixes the warning and makes the code cleaner. Reported-by: Peter Zijlstra <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions