aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/Kconfig')
-rw-r--r--kernel/trace/Kconfig22
1 files changed, 9 insertions, 13 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
index 1cb3e1f616af..3533c583df47 100644
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -1,11 +1,12 @@
1# 1#
2# Architectures that offer an FTRACE implementation should select HAVE_FTRACE: 2# Architectures that offer an FUNCTION_TRACER implementation should
3# select HAVE_FUNCTION_TRACER:
3# 4#
4 5
5config NOP_TRACER 6config NOP_TRACER
6 bool 7 bool
7 8
8config HAVE_FTRACE 9config HAVE_FUNCTION_TRACER
9 bool 10 bool
10 select NOP_TRACER 11 select NOP_TRACER
11 12
@@ -28,9 +29,9 @@ config TRACING
28 select STACKTRACE 29 select STACKTRACE
29 select TRACEPOINTS 30 select TRACEPOINTS
30 31
31config FTRACE 32config FUNCTION_TRACER
32 bool "Kernel Function Tracer" 33 bool "Kernel Function Tracer"
33 depends on HAVE_FTRACE 34 depends on HAVE_FUNCTION_TRACER
34 depends on DEBUG_KERNEL 35 depends on DEBUG_KERNEL
35 select FRAME_POINTER 36 select FRAME_POINTER
36 select TRACING 37 select TRACING
@@ -49,7 +50,6 @@ config IRQSOFF_TRACER
49 default n 50 default n
50 depends on TRACE_IRQFLAGS_SUPPORT 51 depends on TRACE_IRQFLAGS_SUPPORT
51 depends on GENERIC_TIME 52 depends on GENERIC_TIME
52 depends on HAVE_FTRACE
53 depends on DEBUG_KERNEL 53 depends on DEBUG_KERNEL
54 select TRACE_IRQFLAGS 54 select TRACE_IRQFLAGS
55 select TRACING 55 select TRACING
@@ -73,7 +73,6 @@ config PREEMPT_TRACER
73 default n 73 default n
74 depends on GENERIC_TIME 74 depends on GENERIC_TIME
75 depends on PREEMPT 75 depends on PREEMPT
76 depends on HAVE_FTRACE
77 depends on DEBUG_KERNEL 76 depends on DEBUG_KERNEL
78 select TRACING 77 select TRACING
79 select TRACER_MAX_TRACE 78 select TRACER_MAX_TRACE
@@ -101,7 +100,6 @@ config SYSPROF_TRACER
101 100
102config SCHED_TRACER 101config SCHED_TRACER
103 bool "Scheduling Latency Tracer" 102 bool "Scheduling Latency Tracer"
104 depends on HAVE_FTRACE
105 depends on DEBUG_KERNEL 103 depends on DEBUG_KERNEL
106 select TRACING 104 select TRACING
107 select CONTEXT_SWITCH_TRACER 105 select CONTEXT_SWITCH_TRACER
@@ -112,7 +110,6 @@ config SCHED_TRACER
112 110
113config CONTEXT_SWITCH_TRACER 111config CONTEXT_SWITCH_TRACER
114 bool "Trace process context switches" 112 bool "Trace process context switches"
115 depends on HAVE_FTRACE
116 depends on DEBUG_KERNEL 113 depends on DEBUG_KERNEL
117 select TRACING 114 select TRACING
118 select MARKERS 115 select MARKERS
@@ -122,7 +119,6 @@ config CONTEXT_SWITCH_TRACER
122 119
123config BOOT_TRACER 120config BOOT_TRACER
124 bool "Trace boot initcalls" 121 bool "Trace boot initcalls"
125 depends on HAVE_FTRACE
126 depends on DEBUG_KERNEL 122 depends on DEBUG_KERNEL
127 select TRACING 123 select TRACING
128 help 124 help
@@ -141,9 +137,9 @@ config BOOT_TRACER
141 137
142config STACK_TRACER 138config STACK_TRACER
143 bool "Trace max stack" 139 bool "Trace max stack"
144 depends on HAVE_FTRACE 140 depends on HAVE_FUNCTION_TRACER
145 depends on DEBUG_KERNEL 141 depends on DEBUG_KERNEL
146 select FTRACE 142 select FUNCTION_TRACER
147 select STACKTRACE 143 select STACKTRACE
148 help 144 help
149 This special tracer records the maximum stack footprint of the 145 This special tracer records the maximum stack footprint of the
@@ -160,7 +156,7 @@ config STACK_TRACER
160 156
161config DYNAMIC_FTRACE 157config DYNAMIC_FTRACE
162 bool "enable/disable ftrace tracepoints dynamically" 158 bool "enable/disable ftrace tracepoints dynamically"
163 depends on FTRACE 159 depends on FUNCTION_TRACER
164 depends on HAVE_DYNAMIC_FTRACE 160 depends on HAVE_DYNAMIC_FTRACE
165 depends on DEBUG_KERNEL 161 depends on DEBUG_KERNEL
166 default y 162 default y
@@ -170,7 +166,7 @@ config DYNAMIC_FTRACE
170 with a No-Op instruction) as they are called. A table is 166 with a No-Op instruction) as they are called. A table is
171 created to dynamically enable them again. 167 created to dynamically enable them again.
172 168
173 This way a CONFIG_FTRACE kernel is slightly larger, but otherwise 169 This way a CONFIG_FUNCTION_TRACER kernel is slightly larger, but otherwise
174 has native performance as long as no tracing is active. 170 has native performance as long as no tracing is active.
175 171
176 The changes to the code are done by a kernel thread that 172 The changes to the code are done by a kernel thread that