Re: [PATCH] rcu: Do not trace rcu_is_watching() functions

2013-11-05 Thread Paul E. McKenney
On Mon, Nov 04, 2013 at 08:27:36PM -0500, Steven Rostedt wrote: > > Paul, > > As I added the rcu_is_watching() to the ftrace code to prevent perf > from tracing functions where RCU is not watching, I noticed that the > rcu_is_watching() functions can themselves be traced. I would say this > is a

Re: [PATCH] rcu: Do not trace rcu_is_watching() functions

2013-11-05 Thread Paul E. McKenney
On Mon, Nov 04, 2013 at 08:27:36PM -0500, Steven Rostedt wrote: Paul, As I added the rcu_is_watching() to the ftrace code to prevent perf from tracing functions where RCU is not watching, I noticed that the rcu_is_watching() functions can themselves be traced. I would say this is a helper

[PATCH] rcu: Do not trace rcu_is_watching() functions

2013-11-04 Thread Steven Rostedt
Paul, As I added the rcu_is_watching() to the ftrace code to prevent perf from tracing functions where RCU is not watching, I noticed that the rcu_is_watching() functions can themselves be traced. I would say this is a helper function and not something that we need to trace, as it can cause a

[PATCH] rcu: Do not trace rcu_is_watching() functions

2013-11-04 Thread Steven Rostedt
Paul, As I added the rcu_is_watching() to the ftrace code to prevent perf from tracing functions where RCU is not watching, I noticed that the rcu_is_watching() functions can themselves be traced. I would say this is a helper function and not something that we need to trace, as it can cause a