Rename CONFIG_RAMLOG_CONSOLE_BUFSIZE to just CONFIG_RAMLOG_BUFSIZE
This commit is contained in:
parent
94ee81f52c
commit
3ee5b9209b
|
@ -1147,7 +1147,7 @@ Where <subdir> is one of the following:
|
|||
|
||||
Logging is currently set up to use 16Kb of memory:
|
||||
|
||||
CONFIG_RAMLOG_CONSOLE_BUFSIZE=16384
|
||||
CONFIG_RAMLOG_BUFSIZE=16384
|
||||
|
||||
There are a few other configuration differences as necessary to support
|
||||
this different device configuration. Just the do the 'diff' if you are
|
||||
|
|
|
@ -525,7 +525,7 @@ CONFIG_SERIAL=y
|
|||
CONFIG_RAMLOG=y
|
||||
CONFIG_RAMLOG_SYSLOG=y
|
||||
# CONFIG_RAMLOG_CONSOLE is not set
|
||||
CONFIG_RAMLOG_CONSOLE_BUFSIZE=16384
|
||||
CONFIG_RAMLOG_BUFSIZE=16384
|
||||
# CONFIG_RAMLOG_CRLF is not set
|
||||
CONFIG_RAMLOG_NONBLOCKING=y
|
||||
CONFIG_RAMLOG_NPOLLWAITERS=4
|
||||
|
|
|
@ -610,7 +610,7 @@ CONFIG_SERIAL=y
|
|||
#
|
||||
CONFIG_RAMLOG=y
|
||||
CONFIG_RAMLOG_SYSLOG=y
|
||||
CONFIG_RAMLOG_CONSOLE_BUFSIZE=1024
|
||||
CONFIG_RAMLOG_BUFSIZE=1024
|
||||
# CONFIG_RAMLOG_CRLF is not set
|
||||
CONFIG_RAMLOG_NONBLOCKING=y
|
||||
CONFIG_RAMLOG_NPOLLWAITERS=4
|
||||
|
|
|
@ -612,7 +612,7 @@ CONFIG_SERIAL=y
|
|||
#
|
||||
CONFIG_RAMLOG=y
|
||||
CONFIG_RAMLOG_SYSLOG=y
|
||||
CONFIG_RAMLOG_CONSOLE_BUFSIZE=1024
|
||||
CONFIG_RAMLOG_BUFSIZE=1024
|
||||
# CONFIG_RAMLOG_CRLF is not set
|
||||
CONFIG_RAMLOG_NONBLOCKING=y
|
||||
CONFIG_RAMLOG_NPOLLWAITERS=4
|
||||
|
|
|
@ -932,7 +932,7 @@ Where <subdir> is one of the following:
|
|||
|
||||
Logging is currently can be set up to use any amount of memory (here 8KB):
|
||||
|
||||
CONFIG_RAMLOG_CONSOLE_BUFSIZE=8192
|
||||
CONFIG_RAMLOG_BUFSIZE=8192
|
||||
|
||||
STATUS:
|
||||
2013-7-4: This configuration was last verified.
|
||||
|
|
|
@ -43,7 +43,7 @@ config RAMLOG_CONSOLE
|
|||
console. Then in that case, console output from non-Telnet threads will go to
|
||||
the circular buffer and can be viewed using the NSH 'dmesg' command.
|
||||
|
||||
config RAMLOG_CONSOLE_BUFSIZE
|
||||
config RAMLOG_BUFSIZE
|
||||
int "RAMLOG buffer size"
|
||||
default 1024
|
||||
depends on RAMLOG_SYSLOG || RAMLOG_CONSOLE
|
||||
|
|
|
@ -61,4 +61,4 @@ ramlog.c
|
|||
If CONFIG_RAMLOG_CONSOLE or CONFIG_RAMLOG_SYSLOG is selected, then the
|
||||
following may also be provided:
|
||||
|
||||
CONFIG_RAMLOG_CONSOLE_BUFSIZE - Size of the console RAM log. Default: 1024
|
||||
CONFIG_RAMLOG_BUFSIZE - Size of the console RAM log. Default: 1024
|
||||
|
|
|
@ -136,7 +136,7 @@ static const struct file_operations g_ramlogfops =
|
|||
*/
|
||||
|
||||
#if defined(CONFIG_RAMLOG_CONSOLE) || defined(CONFIG_RAMLOG_SYSLOG)
|
||||
static char g_sysbuffer[CONFIG_RAMLOG_CONSOLE_BUFSIZE];
|
||||
static char g_sysbuffer[CONFIG_RAMLOG_BUFSIZE];
|
||||
|
||||
/* This is the device structure for the console or syslogging function. It
|
||||
* must be statically initialized because the RAMLOG syslog_putc function
|
||||
|
@ -154,7 +154,7 @@ static struct ramlog_dev_s g_sysdev =
|
|||
#ifndef CONFIG_RAMLOG_NONBLOCKING
|
||||
SEM_INITIALIZER(0), /* rl_waitsem */
|
||||
#endif
|
||||
CONFIG_RAMLOG_CONSOLE_BUFSIZE, /* rl_bufsize */
|
||||
CONFIG_RAMLOG_BUFSIZE, /* rl_bufsize */
|
||||
g_sysbuffer /* rl_buffer */
|
||||
};
|
||||
#endif
|
||||
|
|
|
@ -82,7 +82,7 @@
|
|||
* If CONFIG_RAMLOG_CONSOLE or CONFIG_RAMLOG_SYSLOG is selected, then the
|
||||
* following may also be provided:
|
||||
*
|
||||
* CONFIG_RAMLOG_CONSOLE_BUFSIZE - Size of the console RAM log. Default: 1024
|
||||
* CONFIG_RAMLOG_BUFSIZE - Size of the console RAM log. Default: 1024
|
||||
*/
|
||||
|
||||
#ifndef CONFIG_DEV_CONSOLE
|
||||
|
@ -105,8 +105,8 @@
|
|||
# undef CONFIG_RAMLOG_SYSLOG
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_RAMLOG_CONSOLE_BUFSIZE
|
||||
# define CONFIG_RAMLOG_CONSOLE_BUFSIZE 1024
|
||||
#ifndef CONFIG_RAMLOG_BUFSIZE
|
||||
# define CONFIG_RAMLOG_BUFSIZE 1024
|
||||
#endif
|
||||
|
||||
/* The normal behavior of the RAM log when used as a SYSLOG is to return
|
||||
|
|
Loading…
Reference in New Issue