| Date | Fri, 25 Aug 2017 11:24:01 -0400 | From | Steven Rostedt <> | Subject | Re: [patch 05/41] x86/tracing: Introduce a static key for exception tracing |
| |
On Fri, 25 Aug 2017 12:31:08 +0200 Thomas Gleixner <tglx@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 <tglx@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) <rostedt@goodmis.org>
-- Steve
|