summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSteven Rostedt2008-05-12 21:20:43 +0200
committerThomas Gleixner2008-05-23 20:33:19 +0200
commitb0fc494fae96a7089f3651cb451f461c7291244c (patch)
tree586412b9ecbd8e3f04e8cd90a31644f94ff3a7d8 /arch
parentftrace: dynamic enabling/disabling of function calls (diff)
downloadkernel-qcow2-linux-b0fc494fae96a7089f3651cb451f461c7291244c.tar.gz
kernel-qcow2-linux-b0fc494fae96a7089f3651cb451f461c7291244c.tar.xz
kernel-qcow2-linux-b0fc494fae96a7089f3651cb451f461c7291244c.zip
ftrace: add ftrace_enabled sysctl to disable mcount function
This patch adds back the sysctl ftrace_enabled. This time it is defaulted to on, if DYNAMIC_FTRACE is configured. When ftrace_enabled is disabled, the ftrace function is set to the stub return. If DYNAMIC_FTRACE is also configured, on ftrace_enabled = 0, the registered ftrace functions will all be set to jmps, but no more new calls to ftrace recording (used to find the ftrace calling sites) will be called. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions