tracing: remove cpu_stats in favor of thread runtime stats

Removing CONFIG_TRACING_CPU_STATS in favor of
CONFIG_THREAD_RUNTIME_STATS which provides per thread stats. The same
functionality is also available when Thread analyzer is enabled with the
runtime stats enabled.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2021-04-13 16:08:41 -04:00
commit bc747e7167
9 changed files with 5 additions and 282 deletions

View file

@ -45,16 +45,6 @@ config TRACING_CTF
help
Enable tracing to a Common Trace Format stream.
config TRACING_CPU_STATS
bool "Enable CPU usage tracing"
select TRACING_CORE
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"
select TRACING_CORE
@ -73,20 +63,6 @@ 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"
default TRACING_ASYNC