diff options
| author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2010-11-16 11:44:54 -0500 |
|---|---|---|
| committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2010-11-16 11:44:54 -0500 |
| commit | 1726017e944d0086f14f867befbf5ebf07adc7dd (patch) | |
| tree | a02ed0f31998ede99372964549e00216f0733e57 | |
| parent | d922f5eb1c375ab0445240110656c1d793eaad04 (diff) | |
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.
| -rw-r--r-- | litmus/Kconfig | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/litmus/Kconfig b/litmus/Kconfig index a3341021f05..d62c417f261 100644 --- a/litmus/Kconfig +++ b/litmus/Kconfig | |||
| @@ -156,7 +156,7 @@ config SCHED_DEBUG_TRACE_SHIFT | |||
| 156 | default 18 | 156 | default 18 |
| 157 | help | 157 | help |
| 158 | 158 | ||
| 159 | Select the amount of memory needed per CPU for the TRACE() buffer, as a | 159 | Select the amount of memory needed per for the TRACE() buffer, as a |
| 160 | power of two. The TRACE() buffer is global and statically allocated. If | 160 | power of two. The TRACE() buffer is global and statically allocated. If |
| 161 | the buffer is too small, there will be holes in the TRACE() log if the | 161 | the buffer is too small, there will be holes in the TRACE() log if the |
| 162 | buffer-flushing task is starved. | 162 | buffer-flushing task is starved. |
| @@ -169,6 +169,11 @@ config SCHED_DEBUG_TRACE_SHIFT | |||
| 169 | 18 => 256KB | 169 | 18 => 256KB |
| 170 | 20 => 1MB | 170 | 20 => 1MB |
| 171 | 171 | ||
| 172 | This buffer is exported to usespace using a misc device as | ||
| 173 | 'litmus/log'. On a system with default udev rules, a corresponding | ||
| 174 | character device node should be created at /dev/litmus/log. The buffer | ||
| 175 | can be flushed using cat, e.g., 'cat /dev/litmus/log > my_log_file.txt'. | ||
| 176 | |||
| 172 | endmenu | 177 | endmenu |
| 173 | 178 | ||
| 174 | endmenu | 179 | endmenu |
