Gary-Hobson commented on code in PR #8043:
URL: https://github.com/apache/nuttx/pull/8043#discussion_r1063131989


##########
drivers/note/Kconfig:
##########
@@ -226,21 +208,32 @@ config DRIVER_NOTERAM
                sched_note_get() causes several additional entries to be added 
from
                the note buffer in order to remove one entry.
 
-config DRIVER_NOTEARCH
-       bool "Note Arch driver"
+if DRIVER_NOTERAM
+
+config DRIVER_NOTERAM_BUFSIZE
+       int "Note RAM buffer size"
+       default 2048
        ---help---
-               The note driver is provided by arch specific code.
+               The size of the in-memory, circular instrumentation buffer (in 
bytes).
+
+config DRIVER_NOTERAM_DEFAULT_NOOVERWRITE
+       bool "Disable overwrite by default"
+       default n
+       ---help---
+               Disables overwriting old notes in the circular buffer when the 
buffer
+               is full by default. This is useful to keep instrumentation data 
of the
+               beginning of a system boot.
+
+endif
 
 config DRIVER_NOTELOG
        bool "Note syslog driver"
-       select SCHED_INSTRUMENTATION_EXTERNAL
        ---help---
                The note driver output to syslog.
 
 config SEGGER_SYSVIEW

Review Comment:
   done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to