No more users of the tracing IDT. All exception tracepoints have been moved into the regular handlers. Get rid of the mess which shouldn't have been created in the first place. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Andy Lutomirski <luto@kernel.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Steven Rostedt <rostedt@goodmis.org> Link: http://lkml.kernel.org/r/20170828064957.378851687@linutronix.de Signed-off-by: Ingo Molnar <mingo@kernel.org>
25 lines
449 B
C
25 lines
449 B
C
/*
|
|
* Code for supporting irq vector tracepoints.
|
|
*
|
|
* Copyright (C) 2013 Seiji Aguchi <seiji.aguchi@hds.com>
|
|
*
|
|
*/
|
|
#include <linux/jump_label.h>
|
|
#include <linux/atomic.h>
|
|
|
|
#include <asm/hw_irq.h>
|
|
#include <asm/desc.h>
|
|
|
|
DEFINE_STATIC_KEY_FALSE(trace_irqvectors_key);
|
|
|
|
int trace_irq_vector_regfunc(void)
|
|
{
|
|
static_branch_inc(&trace_irqvectors_key);
|
|
return 0;
|
|
}
|
|
|
|
void trace_irq_vector_unregfunc(void)
|
|
{
|
|
static_branch_dec(&trace_irqvectors_key);
|
|
}
|