]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - kernel/trace/trace.c
tracing: Remove ftrace_disable/enable_cpu()
authorSteven Rostedt <srostedt@redhat.com>
Wed, 9 May 2012 00:57:53 +0000 (20:57 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 9 May 2012 01:06:26 +0000 (21:06 -0400)
commit68179686ac67cb08f08b1ef28b860d5ed899f242
tree5358088eddef07e00a6daf309c0fe43f94a6cdc4
parent50e18b94c695644d824381e7574b9c44acc25ffe
tracing: Remove ftrace_disable/enable_cpu()

The ftrace_disable_cpu() and ftrace_enable_cpu() functions were
needed back before the ring buffer was lockless. Now that the
ring buffer is lockless (and has been for some time), these functions
serve no purpose, and unnecessarily slow down operations of the tracer.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c