diff options
Diffstat (limited to 'sysklogd/logread.c')
-rw-r--r-- | sysklogd/logread.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/sysklogd/logread.c b/sysklogd/logread.c index da4a4d4df..781a603b2 100644 --- a/sysklogd/logread.c +++ b/sysklogd/logread.c | |||
@@ -8,6 +8,31 @@ | |||
8 | * | 8 | * |
9 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 9 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
10 | */ | 10 | */ |
11 | //config:config LOGREAD | ||
12 | //config: bool "logread" | ||
13 | //config: default y | ||
14 | //config: depends on FEATURE_IPC_SYSLOG | ||
15 | //config: help | ||
16 | //config: If you enabled Circular Buffer support, you almost | ||
17 | //config: certainly want to enable this feature as well. This | ||
18 | //config: utility will allow you to read the messages that are | ||
19 | //config: stored in the syslogd circular buffer. | ||
20 | //config: | ||
21 | //config:config FEATURE_LOGREAD_REDUCED_LOCKING | ||
22 | //config: bool "Double buffering" | ||
23 | //config: default y | ||
24 | //config: depends on LOGREAD | ||
25 | //config: help | ||
26 | //config: 'logread' ouput to slow serial terminals can have | ||
27 | //config: side effects on syslog because of the semaphore. | ||
28 | //config: This option make logread to double buffer copy | ||
29 | //config: from circular buffer, minimizing semaphore | ||
30 | //config: contention at some minor memory expense. | ||
31 | //config: | ||
32 | |||
33 | //applet:IF_LOGREAD(APPLET(logread, BB_DIR_SBIN, BB_SUID_DROP)) | ||
34 | |||
35 | //kbuild:lib-$(CONFIG_LOGREAD) += logread.o | ||
11 | 36 | ||
12 | //usage:#define logread_trivial_usage | 37 | //usage:#define logread_trivial_usage |
13 | //usage: "[-fF]" | 38 | //usage: "[-fF]" |