Update Kconfig comments
This commit is contained in:
parent
d20db82fcb
commit
bc325bd597
@ -627,7 +627,7 @@ config SCHED_INSTRUMENTATION_PREEMPTION
|
|||||||
config SCHED_INSTRUMENTATION_CSECTION
|
config SCHED_INSTRUMENTATION_CSECTION
|
||||||
bool "Critical section monitor hooks"
|
bool "Critical section monitor hooks"
|
||||||
default n
|
default n
|
||||||
depends on EXPERIMENTAL
|
depends on EXPERIMENTAL || !SCHED_INSTRUMENTATION_BUFFER
|
||||||
---help---
|
---help---
|
||||||
Enables additional hooks for entry and exit from critical sections.
|
Enables additional hooks for entry and exit from critical sections.
|
||||||
Interrupts are disabled while within a critical section. Board-
|
Interrupts are disabled while within a critical section. Board-
|
||||||
@ -636,11 +636,12 @@ config SCHED_INSTRUMENTATION_CSECTION
|
|||||||
void sched_note_csection(FAR struct tcb_s *tcb, bool state);
|
void sched_note_csection(FAR struct tcb_s *tcb, bool state);
|
||||||
|
|
||||||
NOTE: This option is marked EXPERIMENTAL because there is a logical
|
NOTE: This option is marked EXPERIMENTAL because there is a logical
|
||||||
error in the design. That error is that sched_note_get() calls
|
error in the design when this feature is used with
|
||||||
enter/leave_critical_section. When the buffer note buffer has been
|
CONFIG_SCHED_INSTRUMENTATION_BUFFER. That error is that
|
||||||
filled, each of these calls causes an entry to be removed from the
|
sched_note_get() calls enter_ and leave_critical_section. That
|
||||||
note buffer to make more space. The end result is that every other
|
means that each call to sched_note_get() causes two entries to be
|
||||||
note is lost when dumping the note buffer. Not very useful!
|
added from the note buffer in order to remove one entry. Not
|
||||||
|
very useful in its current state!
|
||||||
|
|
||||||
config SCHED_INSTRUMENTATION_BUFFER
|
config SCHED_INSTRUMENTATION_BUFFER
|
||||||
bool "Buffer instrumentation data in memory"
|
bool "Buffer instrumentation data in memory"
|
||||||
|
Loading…
Reference in New Issue
Block a user