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)
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

Simple merge
Simple merge