choice PERCEPIO_RECORDER_CFG_RECORDER_BUFFER_ALLOCATION: Recorder Allocation Mode

Recorder Allocation Mode

Type: bool

Help

Specifies how the recorder buffer is allocated (also in case of streaming, in
port using the recorder's internal temporary buffer)

Values:
  TRC_RECORDER_BUFFER_ALLOCATION_STATIC  - Static allocation (internal)
  TRC_RECORDER_BUFFER_ALLOCATION_DYNAMIC - Malloc in vTraceEnable
  TRC_RECORDER_BUFFER_ALLOCATION_CUSTOM  - Use vTraceSetRecorderDataBuffer

Static and dynamic mode does the allocation for you, either in compile time
(static) or in runtime (malloc).
The custom mode allows you to control how and where the allocation is made,
for details see TRC_ALLOC_CUSTOM_BUFFER and vTraceSetRecorderDataBuffer().

Direct dependencies

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:56

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

choice PERCEPIO_RECORDER_CFG_RECORDER_BUFFER_ALLOCATION
    bool "Recorder Allocation Mode"
    default PERCEPIO_RECORDER_TRC_RECORDER_BUFFER_ALLOCATION_STATIC
    depends on PERCEPIO_TRACERECORDER
    help
      Specifies how the recorder buffer is allocated (also in case of streaming, in
      port using the recorder's internal temporary buffer)

      Values:
        TRC_RECORDER_BUFFER_ALLOCATION_STATIC  - Static allocation (internal)
        TRC_RECORDER_BUFFER_ALLOCATION_DYNAMIC - Malloc in vTraceEnable
        TRC_RECORDER_BUFFER_ALLOCATION_CUSTOM  - Use vTraceSetRecorderDataBuffer

      Static and dynamic mode does the allocation for you, either in compile time
      (static) or in runtime (malloc).
      The custom mode allows you to control how and where the allocation is made,
      for details see TRC_ALLOC_CUSTOM_BUFFER and vTraceSetRecorderDataBuffer().

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