HACK: check IRQ tracing has RCU watching

The trace_hardirqs_{on,off}() functions require that RCU is watching.
For testing, have them verify this.

Note that this depends on Peter Zijlstra's fix to the core idle code.
Without that, arch_cpu_idle() calls call local_irq_enable() (which calls
trace_hardirqs_on()) while RCU isn't watching.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
1 file changed