On Mon, 14 Jul 2014 22:07:16 +0200 Peter Zijlstra peterz@infradead.org wrote:
And I suppose the 'assumption' is that the target_state->enter() function does not entail 'tracing' ? Is it made sure that these functions do not generate __mcount or other function tracer stubs etc. ?
Lets not confuse events with function tracing. Function tracing has its own infrastructure and is made to trace details of things like target_state->enter() and such. And function tracing can trace even outside of rcu scope, which trace events do not.
When people want to trace events, that assumption is just trace events, not function tracing.
-- Steve