ftrace: use code patching for ftrace graph tracer
authorSteven Rostedt <rostedt@goodmis.org>
Wed, 26 Nov 2008 05:16:24 +0000 (00:16 -0500)
committerIngo Molnar <mingo@elte.hu>
Wed, 26 Nov 2008 05:52:54 +0000 (06:52 +0100)
commit5a45cfe1c64862e8cd3b0d79d7c4ba71c3118915
tree0a7edf3a9dc88d74b7c7053445ac8aff033a75fa
parentdf4fc31558dd2a3a30292ddb3a64c2a5befcec73
ftrace: use code patching for ftrace graph tracer

Impact: more efficient code for ftrace graph tracer

This patch uses the dynamic patching, when available, to patch
the function graph code into the kernel.

This patch will ease the way for letting both function tracing
and function graph tracing run together.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/entry_32.S
arch/x86/kernel/ftrace.c
include/linux/ftrace.h
kernel/trace/ftrace.c