diff options
Diffstat (limited to 'kernel/trace/Kconfig')
-rw-r--r-- | kernel/trace/Kconfig | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index b8378fad29a3..9cbf7761f498 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig | |||
@@ -3,6 +3,9 @@ | |||
3 | # select HAVE_FUNCTION_TRACER: | 3 | # select HAVE_FUNCTION_TRACER: |
4 | # | 4 | # |
5 | 5 | ||
6 | config USER_STACKTRACE_SUPPORT | ||
7 | bool | ||
8 | |||
6 | config NOP_TRACER | 9 | config NOP_TRACER |
7 | bool | 10 | bool |
8 | 11 | ||
@@ -166,14 +169,29 @@ config TRACE_BRANCH_PROFILING | |||
166 | This tracer profiles all the the likely and unlikely macros | 169 | This tracer profiles all the the likely and unlikely macros |
167 | in the kernel. It will display the results in: | 170 | in the kernel. It will display the results in: |
168 | 171 | ||
169 | /debugfs/tracing/profile_likely | 172 | /debugfs/tracing/profile_annotated_branch |
170 | /debugfs/tracing/profile_unlikely | ||
171 | 173 | ||
172 | Note: this will add a significant overhead, only turn this | 174 | Note: this will add a significant overhead, only turn this |
173 | on if you need to profile the system's use of these macros. | 175 | on if you need to profile the system's use of these macros. |
174 | 176 | ||
175 | Say N if unsure. | 177 | Say N if unsure. |
176 | 178 | ||
179 | config PROFILE_ALL_BRANCHES | ||
180 | bool "Profile all if conditionals" | ||
181 | depends on TRACE_BRANCH_PROFILING | ||
182 | help | ||
183 | This tracer profiles all branch conditions. Every if () | ||
184 | taken in the kernel is recorded whether it hit or miss. | ||
185 | The results will be displayed in: | ||
186 | |||
187 | /debugfs/tracing/profile_branch | ||
188 | |||
189 | This configuration, when enabled, will impose a great overhead | ||
190 | on the system. This should only be enabled when the system | ||
191 | is to be analyzed | ||
192 | |||
193 | Say N if unsure. | ||
194 | |||
177 | config TRACING_BRANCHES | 195 | config TRACING_BRANCHES |
178 | bool | 196 | bool |
179 | help | 197 | help |