]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9c1a04b5ef1919c6125866810d0c00045be70575
tree92a2a3f35ac196354fc5c6dfa73f2b6af0d2d6d4
parent72dac57d4c10adb1b32b6c6ee12313c00abfec66
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