Messages in this thread | | | Date | Mon, 9 Feb 2009 10:53:43 +0100 | From | Ingo Molnar <> | Subject | Re: [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
| |