cpuidle/tracing: Denote the tracepoints as being in rcu_idle_exit() section
authorSteven Rostedt <srostedt@redhat.com>
Tue, 7 Feb 2012 14:46:01 +0000 (09:46 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 13 Feb 2012 14:14:46 +0000 (09:14 -0500)
commit76027ea863fc02698da536b4970784eed3caa635
treeaef940211f8e9e78b13df1be92517ad51a76089e
parent484546509ce5d49d43ec0a6eb2141c6bf3362bfc
cpuidle/tracing: Denote the tracepoints as being in rcu_idle_exit() section

As the tracepoints in the cpuidle code are called when rcu_idle_exit() is in
effect, the _rcuidle() version must be used, otherwise the rcu_read_lock()s
that protect the tracepoint will not be honored.

Cc: Len Brown <len.brown@intel.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Reviewed-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
drivers/cpuidle/cpuidle.c