aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern Brandenburg <bbb@mpi-sws.org>2017-06-07 17:17:33 -0400
committerBjoern Brandenburg <bbb@mpi-sws.org>2017-06-07 17:17:33 -0400
commitb97b8f0f426c5b9a2b51a6911f793fa35890df94 (patch)
treeca3bf4e6e75bfd360a1946990df164b5d73d6221
parent0c4f39d1eb2abbc652c305cddfd423e05bcf8450 (diff)
Kconfig: don't hide Feather-Trace menu
Even if a kernel is relocatable, the if-based implementation of Feather-Trace can still work. So don't hide these options.
-rw-r--r--litmus/Kconfig11
1 files changed, 0 insertions, 11 deletions
diff --git a/litmus/Kconfig b/litmus/Kconfig
index 9fc402e79cfd..be25d7c53971 100644
--- a/litmus/Kconfig
+++ b/litmus/Kconfig
@@ -206,22 +206,11 @@ menu "Tracing"
206 206
207config FEATHER_TRACE 207config FEATHER_TRACE
208 bool "Feather-Trace Infrastructure" 208 bool "Feather-Trace Infrastructure"
209 depends on !RELOCATABLE
210 default y 209 default y
211 help 210 help
212 Feather-Trace basic tracing infrastructure. Includes device file 211 Feather-Trace basic tracing infrastructure. Includes device file
213 driver and instrumentation point support. 212 driver and instrumentation point support.
214 213
215 There are actually two implementations of Feather-Trace.
216 1) A slower, but portable, default implementation.
217 2) Architecture-specific implementations that rewrite kernel .text at runtime.
218
219 If enabled, Feather-Trace will be based on 2) if available (currently only for x86).
220 However, if DEBUG_RODATA=y, then Feather-Trace will choose option 1) in any case
221 to avoid problems with write-protected .text pages.
222
223 Bottom line: to avoid increased overheads, choose DEBUG_RODATA=n.
224
225 Note that this option only enables the basic Feather-Trace infrastructure; 214 Note that this option only enables the basic Feather-Trace infrastructure;
226 you still need to enable SCHED_TASK_TRACE and/or SCHED_OVERHEAD_TRACE to 215 you still need to enable SCHED_TASK_TRACE and/or SCHED_OVERHEAD_TRACE to
227 actually enable any events. 216 actually enable any events.