Re: [PATCH] trace: Don't declare trace_*_rcuidle functions in modules

2012-09-06 Thread Steven Rostedt
On Tue, 2012-09-04 at 23:23 -0700, Josh Triplett wrote: > 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

Re: [PATCH] trace: Don't declare trace_*_rcuidle functions in modules

2012-09-05 Thread Paul E. McKenney
On Tue, Sep 04, 2012 at 11:23:06PM -0700, Josh Triplett wrote: > 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 do

Re: [PATCH] trace: Don't declare trace_*_rcuidle functions in modules

2012-09-05 Thread Mathieu Desnoyers
* Josh Triplett (j...@joshtriplett.org) wrote: > 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 tha

[PATCH] trace: Don't declare trace_*_rcuidle functions in modules

2012-09-04 Thread Josh Triplett
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 declarati