diff options
Diffstat (limited to 'kernel/trace/Kconfig')
| -rw-r--r-- | kernel/trace/Kconfig | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index 019f380fd764..1ea0d1234f4a 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig | |||
| @@ -41,7 +41,7 @@ config HAVE_FTRACE_MCOUNT_RECORD | |||
| 41 | config HAVE_HW_BRANCH_TRACER | 41 | config HAVE_HW_BRANCH_TRACER |
| 42 | bool | 42 | bool |
| 43 | 43 | ||
| 44 | config HAVE_FTRACE_SYSCALLS | 44 | config HAVE_SYSCALL_TRACEPOINTS |
| 45 | bool | 45 | bool |
| 46 | 46 | ||
| 47 | config TRACER_MAX_TRACE | 47 | config TRACER_MAX_TRACE |
| @@ -60,9 +60,14 @@ config EVENT_TRACING | |||
| 60 | bool | 60 | bool |
| 61 | 61 | ||
| 62 | config CONTEXT_SWITCH_TRACER | 62 | config CONTEXT_SWITCH_TRACER |
| 63 | select MARKERS | ||
| 64 | bool | 63 | bool |
| 65 | 64 | ||
| 65 | config RING_BUFFER_ALLOW_SWAP | ||
| 66 | bool | ||
| 67 | help | ||
| 68 | Allow the use of ring_buffer_swap_cpu. | ||
| 69 | Adds a very slight overhead to tracing when enabled. | ||
| 70 | |||
| 66 | # All tracer options should select GENERIC_TRACER. For those options that are | 71 | # All tracer options should select GENERIC_TRACER. For those options that are |
| 67 | # enabled by all tracers (context switch and event tracer) they select TRACING. | 72 | # enabled by all tracers (context switch and event tracer) they select TRACING. |
| 68 | # This allows those options to appear when no other tracer is selected. But the | 73 | # This allows those options to appear when no other tracer is selected. But the |
| @@ -147,6 +152,7 @@ config IRQSOFF_TRACER | |||
| 147 | select TRACE_IRQFLAGS | 152 | select TRACE_IRQFLAGS |
| 148 | select GENERIC_TRACER | 153 | select GENERIC_TRACER |
| 149 | select TRACER_MAX_TRACE | 154 | select TRACER_MAX_TRACE |
| 155 | select RING_BUFFER_ALLOW_SWAP | ||
| 150 | help | 156 | help |
| 151 | This option measures the time spent in irqs-off critical | 157 | This option measures the time spent in irqs-off critical |
| 152 | sections, with microsecond accuracy. | 158 | sections, with microsecond accuracy. |
| @@ -168,6 +174,7 @@ config PREEMPT_TRACER | |||
| 168 | depends on PREEMPT | 174 | depends on PREEMPT |
| 169 | select GENERIC_TRACER | 175 | select GENERIC_TRACER |
| 170 | select TRACER_MAX_TRACE | 176 | select TRACER_MAX_TRACE |
| 177 | select RING_BUFFER_ALLOW_SWAP | ||
| 171 | help | 178 | help |
| 172 | This option measures the time spent in preemption off critical | 179 | This option measures the time spent in preemption off critical |
| 173 | sections, with microsecond accuracy. | 180 | sections, with microsecond accuracy. |
| @@ -211,7 +218,7 @@ config ENABLE_DEFAULT_TRACERS | |||
| 211 | 218 | ||
| 212 | config FTRACE_SYSCALLS | 219 | config FTRACE_SYSCALLS |
| 213 | bool "Trace syscalls" | 220 | bool "Trace syscalls" |
| 214 | depends on HAVE_FTRACE_SYSCALLS | 221 | depends on HAVE_SYSCALL_TRACEPOINTS |
| 215 | select GENERIC_TRACER | 222 | select GENERIC_TRACER |
| 216 | select KALLSYMS | 223 | select KALLSYMS |
| 217 | help | 224 | help |
