diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2007-05-17 15:23:48 -0400 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2007-05-17 15:23:48 -0400 |
commit | fa5b9bed1f84599a8a4ee1666ac7eda6cf71ad39 (patch) | |
tree | 142b0954ddfe61cbba68f16016cda87ff1dd8880 /arch | |
parent | 823c4797800c77abf2bc365798a1d5f4c7a3ff6c (diff) |
Make the inclusion of sched_trace_XXX() and TRACE() a configurable option.
This allows us to remove the debugging code from benchmarking kernels.
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/Kconfig | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig index 0dfee81281..da6f1e964f 100644 --- a/arch/i386/Kconfig +++ b/arch/i386/Kconfig | |||
@@ -1210,6 +1210,7 @@ config KPROBES | |||
1210 | a probepoint and specifies the callback. Kprobes is useful | 1210 | a probepoint and specifies the callback. Kprobes is useful |
1211 | for kernel debugging, non-intrusive instrumentation and testing. | 1211 | for kernel debugging, non-intrusive instrumentation and testing. |
1212 | If in doubt, say "N". | 1212 | If in doubt, say "N". |
1213 | |||
1213 | endmenu | 1214 | endmenu |
1214 | 1215 | ||
1215 | source "arch/i386/Kconfig.debug" | 1216 | source "arch/i386/Kconfig.debug" |
@@ -1259,3 +1260,30 @@ config X86_TRAMPOLINE | |||
1259 | config KTIME_SCALAR | 1260 | config KTIME_SCALAR |
1260 | bool | 1261 | bool |
1261 | default y | 1262 | default y |
1263 | |||
1264 | |||
1265 | menu "LITMUS^RT" | ||
1266 | |||
1267 | |||
1268 | config SCHED_TASK_TRACE | ||
1269 | bool "Trace real-time tasks" | ||
1270 | default y | ||
1271 | help | ||
1272 | Include support for the sched_trace_XXX() tracing functions. This | ||
1273 | allows the collection of real-time task events such as job | ||
1274 | completions, job releases, early completions, etc. This results in a | ||
1275 | small overhead in the scheduling code. Disable if the overhead is not | ||
1276 | acceptable (e.g., benchmarking). | ||
1277 | |||
1278 | config SCHED_DEBUG_TRACE | ||
1279 | bool "TRACE() debugging" | ||
1280 | default y | ||
1281 | help | ||
1282 | Include support for sched_trace_log_messageg(), which is used to | ||
1283 | implement TRACE(). If disabled, no TRACE() messages will be included | ||
1284 | in the kernel, and no overheads due to debugging statements will be | ||
1285 | incurred by the scheduler. Disable if the overhead is not acceptable | ||
1286 | (e.g. benchmarking). | ||
1287 | |||
1288 | |||
1289 | endmenu | ||