diff --git a/subsys/tracing/Kconfig b/subsys/tracing/Kconfig index 20b51627782..21ea8308ac9 100644 --- a/subsys/tracing/Kconfig +++ b/subsys/tracing/Kconfig @@ -19,7 +19,12 @@ if TRACING choice prompt "Tracing Format" - default TRACING_CTF + default TRACING_NONE + +config TRACING_NONE + bool "No tracing format selected" + help + None of the available tracing formats is selected. config SEGGER_SYSTEMVIEW bool "Segger SystemView support" @@ -34,10 +39,18 @@ config TRACING_SYSTEMVIEW config TRACING_CTF bool "Tracing via Common Trace Format support" - help Enable tracing to a Common Trace Format stream. +config TRACING_CPU_STATS + bool "Enable CPU usage tracing" + help + Module provides information about percent of CPU usage based on + tracing hooks for threads switching in and out, interrupts enters + and exits (only distinguishes between idle thread, non idle thread + and scheduler). Use provided API or enable automatic logging to + get values. + config TRACING_TEST bool "Tracing for test usage" help @@ -55,6 +68,19 @@ config TRACING_CTF_TIMESTAMP Timestamp prefix will be added to the beginning of CTF event internally. +config TRACING_CPU_STATS_LOG + bool "Enable current CPU usage logging" + depends on TRACING_CPU_STATS + help + Periodically displays information about CPU usage. + +config TRACING_CPU_STATS_INTERVAL + int "Logging interval for CPU measurements [ms]" + default 2000 + depends on TRACING_CPU_STATS_LOG + help + Time period of displaying information about CPU usage. + choice prompt "Tracing Method" @@ -175,28 +201,4 @@ config TRACING_ISR endif -config TRACING_CPU_STATS - bool "Enable CPU usage tracing" - select TRACING - help - Module provides information about percent of CPU usage based on - tracing hooks for threads switching in and out, interrupts enters - and exits (only distinguishes between idle thread, non idle thread - and scheduler). Use provided API or enable automatic logging to - get values. - -config TRACING_CPU_STATS_LOG - bool "Enable current CPU usage logging" - depends on TRACING_CPU_STATS - help - Periodically displays information about CPU usage. - -config TRACING_CPU_STATS_INTERVAL - int "Logging interval for CPU measurements [ms]" - default 2000 - depends on TRACING_CPU_STATS_LOG - help - Time period of displaying information about CPU usage. - - source "subsys/tracing/sysview/Kconfig"