From 1726017e944d0086f14f867befbf5ebf07adc7dd Mon Sep 17 00:00:00 2001 From: "Bjoern B. Brandenburg" Date: Tue, 16 Nov 2010 11:44:54 -0500 Subject: Improve help message for TRACE() buffer It's not being allocated per cpu anymore. Further, provide a hint to the user where to find the data in userspace. --- litmus/Kconfig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'litmus') diff --git a/litmus/Kconfig b/litmus/Kconfig index a3341021f05c..d62c417f261e 100644 --- a/litmus/Kconfig +++ b/litmus/Kconfig @@ -156,7 +156,7 @@ config SCHED_DEBUG_TRACE_SHIFT default 18 help - Select the amount of memory needed per CPU for the TRACE() buffer, as a + Select the amount of memory needed per for the TRACE() buffer, as a power of two. The TRACE() buffer is global and statically allocated. If the buffer is too small, there will be holes in the TRACE() log if the buffer-flushing task is starved. @@ -169,6 +169,11 @@ config SCHED_DEBUG_TRACE_SHIFT 18 => 256KB 20 => 1MB + This buffer is exported to usespace using a misc device as + 'litmus/log'. On a system with default udev rules, a corresponding + character device node should be created at /dev/litmus/log. The buffer + can be flushed using cat, e.g., 'cat /dev/litmus/log > my_log_file.txt'. + endmenu endmenu -- cgit v1.2.2