lkml.org 
[lkml]   [2009]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 5/5][RESEND] tracing/function-graph-tracer: drop the kernel_text_address check

* Frederic Weisbecker <fweisbec@gmail.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@redhat.com>
> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.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


\
 
 \ /
  Last update: 2009-02-09 10:57    [W:0.252 / U:0.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site