Re: [PATCH] tracing/perf: Move rcu_irq_enter/exit_irqson() to perf trace point hook

From: Steven Rostedt
Date: Tue Feb 11 2020 - 11:16:56 EST


On Tue, 11 Feb 2020 16:29:45 +0100
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> > | ftrace_nmi_enter(); \
> >
> > !notrace !!!

Note, all inline is "notrace" by default, and ftrace_nmi_enter() is
inline.

in include/linux/compiler_types.h:

#if !defined(CONFIG_OPTIMIZE_INLINING)
#define inline inline __attribute__((__always_inline__)) __gnu_inline \
__inline_maybe_unused notrace
#else
#define inline inline __gnu_inline \
__inline_maybe_unused notrace
#endif

-- Steve