The latest development version of this page may be more current than this released 1.14.0 version.
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:233

Included via Kconfig:10Kconfig.zephyr:39subsys/Kconfig:14

Menu path: (top menu) → Debugging Options

config TRACING_CPU_STATS
    bool
    prompt "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.

(Definitions include propagated dependencies, including from if’s and menus.)