[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090209095343.GE14402@elte.hu>
Date: Mon, 9 Feb 2009 10:53:43 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Frederic Weisbecker <fweisbec@...il.com>
Cc: Steven Rostedt <rostedt@...dmis.org>,
Arnaldo Carvalho de Melo <acme@...hat.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 5/5][RESEND] tracing/function-graph-tracer: drop the
kernel_text_address check
* Frederic Weisbecker <fweisbec@...il.com> wrote:
> When the function graph tracer picks a return address, it ensures this address
> is really a kernel text one by calling __kernel_text_address()
> Actually this path has never been taken. Its role was more likely to debug the tracer
> on the beginning of its development but this function is wasteful since it is called
> for every traced function.
>
> The fault check is already sufficient.
>
> Cc: Arnaldo Carvalho de Melo <acme@...hat.com>
> Signed-off-by: Frederic Weisbecker <fweisbec@...il.com>
> ---
> arch/x86/kernel/ftrace.c | 7 -------
> kernel/extable.c | 4 ++--
> kernel/module.c | 2 +-
> 3 files changed, 3 insertions(+), 10 deletions(-)
Applied to tip/tracing/ftrace, thanks Frederic!
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists