Add on-boot instrumentation support for note filter

This commit is contained in:
Nakamura, Yuuichi
2020-09-09 09:06:38 +09:00
committed by Xiang Xiao
parent a373079a94
commit 89ea234af8
4 changed files with 28 additions and 1 deletions
+10
View File
@@ -1000,6 +1000,16 @@ config SCHED_INSTRUMENTATION_FILTER
The filter logic can be configured by sched_note_filter APIs defined in
include/nuttx/sched_note.h.
config SCHED_INSTRUMENTATION_FILTER_DEFAULT_MODE
hex "Default instrumentation filter mode"
depends on SCHED_INSTRUMENTATION_FILTER
default 0x7
---help---
Default mode of the instrumentation filter logic.
Bit 0 = Enable instrumentation
Bit 1 = Enable syscall instrumentation
Bit 2 = Enable IRQ instrumentation
endif # SCHED_INSTRUMENTATION
endmenu # Performance Monitoring