ftrace/x86: Show trampoline call function in enabled_functions
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Thu, 3 Jul 2014 18:51:36 +0000 (14:51 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 31 Oct 2014 16:22:54 +0000 (12:22 -0400)
commit15d5b02cc575e5b20ddfa1645fc1242f0b0ba1c8
tree92a2a3f35ac196354fc5c6dfa73f2b6af0d2d6d4
parentf3bea49115b21e0995abf41402ad2f4d9c69eda4
ftrace/x86: Show trampoline call function in enabled_functions

The file /sys/kernel/debug/tracing/eneabled_functions is used to debug
ftrace function hooks. Add to the output what function is being called
by the trampoline if the arch supports it.

Add support for this feature in x86_64.

Cc: H. Peter Anvin <hpa@linux.intel.com>
Tested-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Tested-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
arch/x86/kernel/ftrace.c
kernel/trace/ftrace.c
This page took 0.026759 seconds and 5 git commands to generate.