CONFIG_PERCEPIO_RECORDER_TRC_CFG_EVENT_BUFFER_SIZE

Event Buffer Size

Type: int

Help

This defines the capacity of the event buffer, i.e., the number of records
it may store. Most events use one record (4 byte), although some events
require multiple 4-byte records. You should adjust this to the amount of RAM
available in the target system.

Default value is 1000, which means that 4000 bytes is allocated for the
event buffer.

Direct dependencies

PERCEPIO_TRC_RECORDER_MODE_SNAPSHOT && PERCEPIO_TRC_RECORDER_MODE_SNAPSHOT && PERCEPIO_TRACERECORDER

(Includes any dependencies from ifs and menus.)

Default

  • 1000

Kconfig definition

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

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

config PERCEPIO_RECORDER_TRC_CFG_EVENT_BUFFER_SIZE
    int "Event Buffer Size"
    range 1 4194304
    default 1000
    depends on PERCEPIO_TRC_RECORDER_MODE_SNAPSHOT && PERCEPIO_TRC_RECORDER_MODE_SNAPSHOT && PERCEPIO_TRACERECORDER
    help
      This defines the capacity of the event buffer, i.e., the number of records
      it may store. Most events use one record (4 byte), although some events
      require multiple 4-byte records. You should adjust this to the amount of RAM
      available in the target system.

      Default value is 1000, which means that 4000 bytes is allocated for the
      event buffer.

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