]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ftrace: function graph return for function entry
authorSteven Rostedt <srostedt@redhat.com>
Wed, 3 Dec 2008 04:50:05 +0000 (23:50 -0500)
committerIngo Molnar <mingo@elte.hu>
Wed, 3 Dec 2008 07:56:26 +0000 (08:56 +0100)
commite49dc19c6a19ea112fcb94b7c62ec62cdd5c08aa
tree851dcdfe321e16a327d656ecd7040ef6e8590bec
parent7ee991fbc6f947e9b04f29c9c6c1d057d0671a16
ftrace: function graph return for function entry

Impact: feature, let entry function decide to trace or not

This patch lets the graph tracer entry function decide if the tracing
should be done at the end as well. This requires all function graph
entry functions return 1 if it should trace, or 0 if the return should
not be traced.

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/entry_64.S
arch/x86/kernel/ftrace.c
include/linux/ftrace.h
kernel/trace/ftrace.c
kernel/trace/trace.c
kernel/trace/trace.h