diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-08-02 18:43:01 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-08-02 18:43:01 +0000 |
commit | a9ba8355fbf4dd4a16ae1786167b91e2abd3880c (patch) | |
tree | 7a15a85d8ea3a21cc51f140ac702f9c613df0c66 /nuttx/Documentation | |
parent | 30e820d86135f14ae495598cf5c4e236a4de36b7 (diff) | |
download | px4-firmware-a9ba8355fbf4dd4a16ae1786167b91e2abd3880c.tar.gz px4-firmware-a9ba8355fbf4dd4a16ae1786167b91e2abd3880c.tar.bz2 px4-firmware-a9ba8355fbf4dd4a16ae1786167b91e2abd3880c.zip |
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
Diffstat (limited to 'nuttx/Documentation')
-rw-r--r-- | nuttx/Documentation/NuttxPortingGuide.html | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html index 21212a386..893522358 100644 --- a/nuttx/Documentation/NuttxPortingGuide.html +++ b/nuttx/Documentation/NuttxPortingGuide.html @@ -4101,6 +4101,7 @@ build <li> <code>CONFIG_SYSLOG_CHAR</code>: Enable the generic character device for the SYSLOG. + A disadvantage of using the generic character device for the SYSLOG is that it cannot handle debug output generated from interrupt level handlers. NOTE: No more than one SYSLOG device should be configured. <p> Alternatively, a circular buffer in RAM can be used as the SYSLOGing device. @@ -4118,11 +4119,11 @@ build circular buffer and can be viewed using the NSH 'dmesg' command. </li> <li> - <code>CONFIG_RAMLOG_SYSLOG</code>: Use the RAM logging device for the syslogging - interface. If this feature is enabled (along with <code>CONFIG_SYSLOG</code>), - 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. + <code>CONFIG_RAMLOG_SYSLOG</code>: + Use the RAM logging device for the syslogging interface. + If this feature is enabled (along with <code>CONFIG_SYSLOG</code>), 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 <code>dmesg</code> command. + NOTE: Unlike the limited, generic character driver SYSLOG device, the RAMLOG <i>can</i> be used to generate debug output from interrupt level handlers. </li> <li> <code>CONFIG_RAMLOG_NPOLLWAITERS</code>: The number of threads than can be waiting |