diff options
author | Josh Triplett <[email protected]> | 2012-09-04 23:23:06 -0700 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2012-09-12 10:20:14 -0400 |
commit | 7ece55a4a3a04abe37118b1d4fb0b702eeb1de4c (patch) | |
tree | ef19b2666aae3850fc70741529d4090c31698c7f /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 55d512e245bc7699a8800e23df1a24195dd08217 (diff) |
trace: Don't declare trace_*_rcuidle functions in modules
Tracepoints declare a static inline trace_*_rcuidle variant of the trace
function, to support safely generating trace events from the idle loop.
Module code never actually uses that variant of trace functions, because
modules don't run code that needs tracing with RCU idled. However, the
declaration of those otherwise unused functions causes the module to
reference rcu_idle_exit and rcu_idle_enter, which RCU does not export to
modules.
To avoid this, don't generate trace_*_rcuidle functions for tracepoints
declared in module code.
Link: http://lkml.kernel.org/r/20120905062306.GA14756@leaf
Reported-by: Steven Rostedt <[email protected]>
Acked-by: Mathieu Desnoyers <[email protected]>
Acked-by: Paul E. McKenney <[email protected]>
Signed-off-by: Josh Triplett <[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