choice PERCEPIO_RECORDER_TRC_CFG_SNAPSHOT_MODE: Snapshot Mode

Snapshot Mode

Type: bool

Help

With TRC_CFG_SNAPSHOT_MODE set to TRC_SNAPSHOT_MODE_RING_BUFFER, the
events are stored in a ring buffer, i.e., where the oldest events are
overwritten when the buffer becomes full. This allows you to get the last
events leading up to an interesting state, e.g., an error, without having
to store the whole run since startup.

When TRC_CFG_SNAPSHOT_MODE is TRC_SNAPSHOT_MODE_STOP_WHEN_FULL, the
recording is stopped when the buffer becomes full. This is useful for
recording events following a specific state, e.g., the startup sequence.

Direct dependencies

PERCEPIO_TRC_RECORDER_MODE_SNAPSHOT && PERCEPIO_TRC_RECORDER_MODE_SNAPSHOT && PERCEPIO_TRACERECORDER

(Includes any dependencies from ifs and menus.)

Kconfig definition

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

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 → Snapshot Configuration

choice PERCEPIO_RECORDER_TRC_CFG_SNAPSHOT_MODE
    bool "Snapshot Mode"
    default PERCEPIO_RECORDER_TRC_SNAPSHOT_MODE_RING_BUFFER
    depends on PERCEPIO_TRC_RECORDER_MODE_SNAPSHOT && PERCEPIO_TRC_RECORDER_MODE_SNAPSHOT && PERCEPIO_TRACERECORDER
    help
      With TRC_CFG_SNAPSHOT_MODE set to TRC_SNAPSHOT_MODE_RING_BUFFER, the
      events are stored in a ring buffer, i.e., where the oldest events are
      overwritten when the buffer becomes full. This allows you to get the last
      events leading up to an interesting state, e.g., an error, without having
      to store the whole run since startup.

      When TRC_CFG_SNAPSHOT_MODE is TRC_SNAPSHOT_MODE_STOP_WHEN_FULL, the
      recording is stopped when the buffer becomes full. This is useful for
      recording events following a specific state, e.g., the startup sequence.

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