aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/Kconfig
diff options
context:
space:
mode:
authorBjoern Brandenburg <bbb@mpi-sws.org>2013-06-23 08:40:52 -0400
committerNamhoon Kim <namhoonk@cs.unc.edu>2014-10-21 09:59:48 -0400
commit7b317d9036b3fc0280327586ef52dfa6cb6dd250 (patch)
treed665375403eff52ae18ef50b6644866bdfc93ef9 /litmus/Kconfig
parente46b5c3c4264a15b363502bcb980e3587131d826 (diff)
Feather-Trace: add LITMUS^RT overhead tracing infrastructure
This patch adds the main infrastructure for tracing overheads in LITMUS^RT. It does not yet introduce any tracepoints into the kernel.
Diffstat (limited to 'litmus/Kconfig')
-rw-r--r--litmus/Kconfig25
1 files changed, 25 insertions, 0 deletions
diff --git a/litmus/Kconfig b/litmus/Kconfig
index 7456eb209cf7..0c7e06b922a1 100644
--- a/litmus/Kconfig
+++ b/litmus/Kconfig
@@ -24,6 +24,31 @@ config FEATHER_TRACE
24 you still need to enable SCHED_TASK_TRACE and/or SCHED_OVERHEAD_TRACE to 24 you still need to enable SCHED_TASK_TRACE and/or SCHED_OVERHEAD_TRACE to
25 actually enable any events. 25 actually enable any events.
26 26
27config SCHED_OVERHEAD_TRACE
28 bool "Record timestamps for overhead measurements"
29 depends on FEATHER_TRACE
30 default y
31 help
32 Export event stream for overhead tracing.
33 Say Yes for overhead tracing.
34
35config SCHED_OVERHEAD_TRACE_SHIFT
36 int "Buffer size for Feather-Trace overhead data"
37 depends on SCHED_OVERHEAD_TRACE
38 range 15 32
39 default 22
40 help
41
42 Select the buffer size for the Feather-Trace overhead tracing
43 infrastructure (/dev/litmus/ft_trace0 & ftcat) as a power of two. The
44 larger the buffer, the less likely the chance of buffer overflows if
45 the ftcat process is starved by real-time activity. In machines with
46 large memories, large buffer sizes are recommended.
47
48 Examples: 16 => 2 MB
49 24 => 512 MB
50 26 => 2G MB
51
27endmenu 52endmenu
28 53
29endmenu 54endmenu