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

From: Peter Zijlstra
Date: Tue Feb 11 2020 - 12:32:34 EST


On Tue, Feb 11, 2020 at 06:29:52PM +0100, Peter Zijlstra wrote:
> +#define trace_rcu_enter() \
> +({ \
> + unsigned long state = 0; \
> + if (!rcu_is_watching()) { \

Also, afaict rcu_is_watching() itself needs more love, the functio has
notrace, but calls other stuff that does not have notrace or inline.