summaryrefslogtreecommitdiff
path: root/drivers/scsi
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2012-09-05 06:23:06 (GMT)
committerSteven Rostedt <rostedt@goodmis.org>2012-09-12 14:20:14 (GMT)
commit7ece55a4a3a04abe37118b1d4fb0b702eeb1de4c (patch)
treeef19b2666aae3850fc70741529d4090c31698c7f /drivers/scsi
parent55d512e245bc7699a8800e23df1a24195dd08217 (diff)
downloadlinux-fsl-qoriq-7ece55a4a3a04abe37118b1d4fb0b702eeb1de4c.tar.xz
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 <rostedt@goodmis.org> Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Signed-off-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'drivers/scsi')
0 files changed, 0 insertions, 0 deletions