aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/Kconfig
diff options
context:
space:
mode:
authorBjoern Brandenburg <bbb@mpi-sws.org>2016-03-18 13:06:57 -0400
committerBjoern Brandenburg <bbb@mpi-sws.org>2016-03-20 14:30:29 -0400
commit8d35f992ca1e538bac1b5ff6a48297d369641671 (patch)
treeab5da92af19e1d2e62863981ac160856fc291af7 /litmus/Kconfig
parent6a09accd64054fd3bfd2c98242c7357d58aa4f5c (diff)
Add KConfig options for timer latency warnings
Diffstat (limited to 'litmus/Kconfig')
-rw-r--r--litmus/Kconfig24
1 files changed, 22 insertions, 2 deletions
diff --git a/litmus/Kconfig b/litmus/Kconfig
index b0ea45d82532..9fc402e79cfd 100644
--- a/litmus/Kconfig
+++ b/litmus/Kconfig
@@ -57,8 +57,8 @@ config LITMUS_QUANTUM_LENGTH_US
57 int "quantum length (in us)" 57 int "quantum length (in us)"
58 default 1000 58 default 1000
59 range 500 10000 59 range 500 10000
60 help 60 help
61 Determine the desired quantum length, in microseconds, which 61 Determine the desired quantum length, in microseconds, which
62 is used to determine the granularity of scheduling in 62 is used to determine the granularity of scheduling in
63 quantum-driven plugins (primarily PFAIR). This parameter does not 63 quantum-driven plugins (primarily PFAIR). This parameter does not
64 affect event-driven plugins (such as the EDF-based plugins and P-FP). 64 affect event-driven plugins (such as the EDF-based plugins and P-FP).
@@ -370,6 +370,26 @@ config PREEMPT_STATE_TRACE
370 370
371 If unsure, say No. 371 If unsure, say No.
372 372
373config REPORT_TIMER_LATENCY
374 bool "Warn when hrtimers incur large latency"
375 default n
376 help
377 With this option enabled, the hrtimer code will printk()
378 a warning when a timer fires much after its intended
379 time. This can useful when debugging latency issues.
380
381 If unsure, say No.
382
383config REPORT_TIMER_LATENCY_THRESHOLD
384 int "Maximum acceptable timer latency (in nanoseconds)"
385 depends on REPORT_TIMER_LATENCY
386 range 10000 100000000
387 default 1000000
388 help
389 If a timer fires more than the given threshold after its intended
390 expiration time, a warning message is printed to the kernel log.
391 By default, the threshold is one millisecond (= one million nanoseconds).
392
373endmenu 393endmenu
374 394
375endmenu 395endmenu