On Fri, 25 Aug 2017 12:31:08 +0200 Thomas Gleixner <t...@linutronix.de> wrote:
> Switching the IDT just for avoiding tracepoints creates a complete > impenetrable macro/inline/ifdef mess. > > There is no point in avoiding tracepoints for most of the traps/exceptions. > For the more expensive tracepoints, like pagefaults, this can be handled with > an explicit static key. > > Preparatory patch to remove the tracing idt. > > Signed-off-by: Thomas Gleixner <t...@linutronix.de> > --- > arch/x86/include/asm/trace/common.h | 15 +++++++++++++++ > arch/x86/include/asm/trace/exceptions.h | 4 +--- > arch/x86/include/asm/trace/irq_vectors.h | 4 +--- > arch/x86/kernel/tracepoint.c | 9 ++++++++- > 4 files changed, 25 insertions(+), 7 deletions(-) > > --- /dev/null > +++ b/arch/x86/include/asm/trace/common.h Reviewed-by: Steven Rostedt (VMware) <rost...@goodmis.org> -- Steve