Searched hist:"85 bac32c4a52c592b857f2c360cc5ec93a097d70" (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | ring_buffer.h | diff 85bac32c4a52c592b857f2c360cc5ec93a097d70 Fri Sep 04 13:24:40 CDT 2009 Steven Rostedt <srostedt@redhat.com> 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>
|
/openbmc/linux/kernel/trace/ |
H A D | Kconfig | diff 85bac32c4a52c592b857f2c360cc5ec93a097d70 Fri Sep 04 13:24:40 CDT 2009 Steven Rostedt <srostedt@redhat.com> 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>
|
H A D | ring_buffer.c | diff 85bac32c4a52c592b857f2c360cc5ec93a097d70 Fri Sep 04 13:24:40 CDT 2009 Steven Rostedt <srostedt@redhat.com> 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>
|
/openbmc/linux/arch/ |
H A D | Kconfig | diff 9a5963eb494c8a7be65199e15854551df7d2d939 Wed Sep 16 14:56:49 CDT 2009 Christian Borntraeger <borntraeger@de.ibm.com> oprofile: fix oprofile regression: select RING_BUFFER_ALLOW_SWAP
commit 85bac32c4a52c592b857f2c360cc5ec93a097d70 ring-buffer: only enable ring_buffer_swap_cpu when needed broke oprofile (at least on s390, but likely on all platforms).
this patch lets oprofile select RING_BUFER_ALLOW_SWAP to make ring_buffer_swap_cpu usable for oprofile.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> LKML-Reference: <200909162156.49239.borntraeger@de.ibm.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Robert Richter <robert.richter@amd.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|