kernel: kconfig: move event logger options into file
Change-Id: I1e80375df583c5a5b6f04b216b54ed5b786e4655 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
bd10845996
commit
666afe5923
2 changed files with 32 additions and 33 deletions
|
@ -113,39 +113,6 @@ config APPLICATION_INIT_PRIORITY
|
|||
This priority level is for end-user drivers such as sensors and display
|
||||
which have no inward dependencies.
|
||||
|
||||
menu "Kernel event logging points"
|
||||
depends on KERNEL_EVENT_LOGGER
|
||||
|
||||
config KERNEL_EVENT_LOGGER_CONTEXT_SWITCH
|
||||
bool
|
||||
prompt "Context switch event logging point"
|
||||
default n
|
||||
depends on KERNEL_EVENT_LOGGER
|
||||
help
|
||||
Enable the context switch event messages.
|
||||
|
||||
config KERNEL_EVENT_LOGGER_INTERRUPT
|
||||
bool
|
||||
prompt "Interrupt event logging point"
|
||||
default n
|
||||
depends on KERNEL_EVENT_LOGGER
|
||||
help
|
||||
Enable interrupt event messages. These messages provide the following
|
||||
information: The time when interrupts occur.
|
||||
|
||||
config KERNEL_EVENT_LOGGER_SLEEP
|
||||
bool
|
||||
prompt "Sleep event logging point"
|
||||
default n
|
||||
depends on KERNEL_EVENT_LOGGER && SYS_POWER_MANAGEMENT
|
||||
help
|
||||
Enable low power condition event messages. These messages provide the
|
||||
following information:
|
||||
|
||||
- When the CPU went to sleep mode.
|
||||
- When the CPU woke up.
|
||||
- The ID of the interrupt that woke the CPU up.
|
||||
endmenu
|
||||
|
||||
menu "Security Options"
|
||||
|
||||
|
|
|
@ -50,4 +50,36 @@ config KERNEL_EVENT_LOGGER_CUSTOM_TIMESTAMP
|
|||
This flag enables the possibility to set the timer function to be used to
|
||||
populate kernel event logger timestamp. This has to be done at runtime by
|
||||
calling sys_k_event_logger_set_timer and providing the function callback.
|
||||
|
||||
menu "Kernel event logging points"
|
||||
|
||||
config KERNEL_EVENT_LOGGER_CONTEXT_SWITCH
|
||||
bool
|
||||
prompt "Context switch event logging point"
|
||||
default n
|
||||
help
|
||||
Enable the context switch event messages.
|
||||
|
||||
config KERNEL_EVENT_LOGGER_INTERRUPT
|
||||
bool
|
||||
prompt "Interrupt event logging point"
|
||||
default n
|
||||
help
|
||||
Enable interrupt event messages. These messages provide the following
|
||||
information: The time when interrupts occur.
|
||||
|
||||
config KERNEL_EVENT_LOGGER_SLEEP
|
||||
bool
|
||||
prompt "Sleep event logging point"
|
||||
default n
|
||||
depends on SYS_POWER_MANAGEMENT
|
||||
help
|
||||
Enable low power condition event messages. These messages provide the
|
||||
following information:
|
||||
|
||||
- When the CPU went to sleep mode.
|
||||
- When the CPU woke up.
|
||||
- The ID of the interrupt that woke the CPU up.
|
||||
endmenu
|
||||
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue