Re: [PATCH v7 2/2] tracing: Add support for preempt and irq enable/disable events
From: Peter Zijlstra
Date: Wed Oct 04 2017 - 12:04:48 EST
On Fri, Sep 29, 2017 at 02:22:45PM -0700, Joel Fernandes wrote:
> +++ b/kernel/trace/trace_irqsoff.c
> EXPORT_SYMBOL(trace_hardirqs_on);
> EXPORT_SYMBOL(trace_hardirqs_off);
> EXPORT_SYMBOL(trace_hardirqs_on_caller);
> EXPORT_SYMBOL(trace_hardirqs_off_caller);
Steve, how does this compiler with lockdep enabled? Because:
kernel/locking/lockdep.c:EXPORT_SYMBOL(trace_hardirqs_on_caller);
kernel/locking/lockdep.c:EXPORT_SYMBOL(trace_hardirqs_on);
kernel/locking/lockdep.c:EXPORT_SYMBOL(trace_hardirqs_off_caller);
kernel/locking/lockdep.c:EXPORT_SYMBOL(trace_hardirqs_off);