mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 04:23:34 +08:00
Fix syslog mutual exclusion and interrupt level logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4999 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -73,7 +73,9 @@
|
||||
* interface. If this feature is enabled (along with CONFIG_SYSLOG),
|
||||
* then all debug output (only) will be re-directed to the circular
|
||||
* buffer in RAM. This RAM log can be view from NSH using the 'dmesg'
|
||||
* command.
|
||||
* command. NOTE: Unlike the limited, generic character driver SYSLOG
|
||||
* device, the RAMLOG *can* be used to generate debug output from interrupt
|
||||
* level handlers.
|
||||
* CONFIG_RAMLOG_NPOLLWAITERS - The number of threads than can be waiting
|
||||
* for this driver on poll(). Default: 4
|
||||
*
|
||||
|
||||
@@ -59,7 +59,9 @@
|
||||
* described in the include/nuttx/ramlog.h header file.
|
||||
*
|
||||
* 2. And a generic character device that may be used as the SYSLOG. The
|
||||
* generic device interfaces are described in this file.
|
||||
* generic device interfaces are described in this file. A disadvantage
|
||||
* of using the generic character device for the SYSLOG is that it
|
||||
* cannot handle debug output generated from interrupt level handlers.
|
||||
*
|
||||
* CONFIG_SYSLOG_CHAR - Enable the generic character device for the SYSLOG.
|
||||
* The full path to the SYSLOG device is provided by CONFIG_SYSLOG_DEVPATH.
|
||||
|
||||
Reference in New Issue
Block a user