CONFIG_TRACING_CPU_STATS

Enable CPU usage tracing

Type: bool

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.

Defaults

No defaults. Implicitly defaults to n.

Symbols selected by this symbol

Kconfig definition

At subsys/debug/Kconfig:289

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:12

Menu path: (Top) → Debugging Options

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
      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.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)