tracing: cleanup and split segger/rtt configuration options
Move rtt configuration options to drivers/debug and split the systemview configuration. drivers/debug will service for this class of drivers that are enabled in debug mode only and provide a hardware interface to the system. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
86adcd02af
commit
fad8701748
6 changed files with 36 additions and 24 deletions
|
@ -9,6 +9,7 @@ config TRACING
|
|||
bool "Enabling Tracing"
|
||||
imply THREAD_NAME
|
||||
imply THREAD_STACK_INFO
|
||||
imply THREAD_MONITOR
|
||||
help
|
||||
Enable system tracing. This requires a backend such as SEGGER
|
||||
Systemview to be enabled as well.
|
||||
|
@ -20,9 +21,20 @@ choice
|
|||
prompt "Tracing Format"
|
||||
default TRACING_CTF
|
||||
|
||||
config SEGGER_SYSTEMVIEW
|
||||
bool "Segger SystemView support"
|
||||
select CONSOLE
|
||||
select RTT_CONSOLE
|
||||
select USE_SEGGER_RTT
|
||||
|
||||
config TRACING_SYSTEMVIEW
|
||||
bool "Tracing via SEGGER Systemview support"
|
||||
help
|
||||
Enable tracing using SEGGER Systemview.
|
||||
|
||||
config TRACING_CTF
|
||||
bool "Tracing via Common Trace Format support"
|
||||
select THREAD_MONITOR
|
||||
|
||||
help
|
||||
Enable tracing to a Common Trace Format stream.
|
||||
|
||||
|
@ -165,8 +177,6 @@ endif
|
|||
|
||||
config TRACING_CPU_STATS
|
||||
bool "Enable CPU usage tracing"
|
||||
select THREAD_MONITOR
|
||||
select THREAD_STACK_INFO
|
||||
select TRACING
|
||||
help
|
||||
Module provides information about percent of CPU usage based on
|
||||
|
@ -189,4 +199,4 @@ config TRACING_CPU_STATS_INTERVAL
|
|||
Time period of displaying information about CPU usage.
|
||||
|
||||
|
||||
source "subsys/tracing/Kconfig.segger"
|
||||
source "subsys/tracing/sysview/Kconfig"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue