[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170825112401.62fc3d76@gandalf.local.home>
Date: Fri, 25 Aug 2017 11:24:01 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: LKML <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...nel.org>, Peter Anvin <hpa@...or.com>,
Peter Zijlstra <peterz@...radead.org>,
Andy Lutomirski <luto@...nel.org>,
Borislav Petkov <bp@...en8.de>
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@...utronix.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@...utronix.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@...dmis.org>
-- Steve
Powered by blists - more mailing lists