Re: [PATCH v3 07/22] rcu: Mark rcu_dynticks_curr_cpu_in_eqs() inline

From: Steven Rostedt
Date: Wed Feb 19 2020 - 12:19:57 EST


On Wed, 19 Feb 2020 08:39:34 -0800
"Paul E. McKenney" <paulmck@xxxxxxxxxx> wrote:

> There was some controversy over inline vs. notrace, leading me to
> ask whether we should use both inline and notrace here. ;-)

"inline" implicitly suggests "notrace". The reason being is that there
were "surprises" when gcc decided not to inline various functions
marked as "inline" which caused ftrace to break. I figured, if someone
marks something as "inline" that it should not be traced regardless if
gcc decided to inline it or not.

-- Steve