CONFIG_PERCEPIO_RECORDER_CFG_STACK_MONITOR

Stack Monitor

Type: bool

Help

If enabled (1), the recorder periodically reports the unused stack space of
all active tasks. The stack monitoring runs in the Tracealyzer Control task,
TzCtrl. This task is always created by the recorder when in streaming mode.
In snapshot mode, the TzCtrl task is only used for stack monitoring and is
not created unless this is enabled.

Direct dependencies

PERCEPIO_TRACERECORDER

(Includes any dependencies from ifs and menus.)

Default

  • y

Symbols selected by this symbol

Kconfig definition

At /home/runner/work/sdk-nrf/sdk-nrf/ncs/modules/debug/TraceRecorder/kernelports/Zephyr/Kconfig:83

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:31<Zephyr>/modules/Kconfig:6<nRF>/doc/_build/kconfig/Kconfig.modules:80

Menu path: (Top) → Modules → TraceRecorder (/home/runner/work/sdk-nrf/sdk-nrf/ncs/modules/debug/TraceRecorder) → Percepio Trace Recorder

menuconfig PERCEPIO_RECORDER_CFG_STACK_MONITOR
    bool "Stack Monitor"
    default y
    select TRACING_STACK
    depends on PERCEPIO_TRACERECORDER
    help
      If enabled (1), the recorder periodically reports the unused stack space of
      all active tasks. The stack monitoring runs in the Tracealyzer Control task,
      TzCtrl. This task is always created by the recorder when in streaming mode.
      In snapshot mode, the TzCtrl task is only used for stack monitoring and is
      not created unless this is enabled.

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