diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-11-08 21:12:57 +0300 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-11-13 17:36:49 +0300 |
commit | a3ad1a7e39689005cb04a4f2adb82f9d55b4724f (patch) | |
tree | 64deafb73e244d233836735dd2fa6a3c41462cc6 /arch/x86/include/asm/unwind_hints.h | |
parent | 562955fe6a558b9ef98ad87c470314946338cb2f (diff) | |
download | linux-a3ad1a7e39689005cb04a4f2adb82f9d55b4724f.tar.xz |
ftrace/x86: Add a counter to test function_graph with direct
As testing for direct calls from the function graph tracer adds a little
overhead (which is a lot when tracing every function), add a counter that
can be used to test if function_graph tracer needs to test for a direct
caller or not.
It would have been nicer if we could use a static branch, but the static
branch logic fails when used within the function graph tracer trampoline.
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'arch/x86/include/asm/unwind_hints.h')
0 files changed, 0 insertions, 0 deletions