diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-09-04 14:24:40 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-09-04 19:42:22 -0400 |
commit | 85bac32c4a52c592b857f2c360cc5ec93a097d70 (patch) | |
tree | 510e516dd5fa388cb9582a2f6b055f3725fbf2c1 /arch/sparc/mm/fault_64.c | |
parent | 62f0b3eb5cb58931a02ee4e599e19c80a171e351 (diff) | |
download | linux-85bac32c4a52c592b857f2c360cc5ec93a097d70.tar.gz linux-85bac32c4a52c592b857f2c360cc5ec93a097d70.tar.bz2 linux-85bac32c4a52c592b857f2c360cc5ec93a097d70.zip |
ring-buffer: only enable ring_buffer_swap_cpu when needed
Since the ability to swap the cpu buffers adds a small overhead to
the recording of a trace, we only want to add it when needed.
Only the irqsoff and preemptoff tracers use this feature, and both are
not recommended for production kernels. This patch disables its use
when neither irqsoff nor preemptoff is configured.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'arch/sparc/mm/fault_64.c')
0 files changed, 0 insertions, 0 deletions