• Peter Zijlstra's avatar
    perf/x86/intel: Add lockdep assert · b32ed7f5
    Peter Zijlstra authored
    Lockdep is very good at finding incorrect IRQ state while locking and
    is far better at telling us if we hold a lock than the _is_locked()
    API. It also generates less code for !DEBUG kernels.
    Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Stephane Eranian <eranian@google.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Vince Weaver <vincent.weaver@maine.edu>
    Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
    b32ed7f5
perf_event_intel.c 93.2 KB