CONFIG_TRACING_BUFFER_SIZE

Size of tracing buffer

Type: int

Help

Size of tracing buffer. If TRACING_ASYNC is enabled, tracing buffer
is used as a ring buffer to buffer data packet and string packet. If
TRACING_SYNC is enabled, the buffer is used to hold the formated data.

Direct dependencies

TRACING

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definition

At <Zephyr>/subsys/tracing/Kconfig:116

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:44<Zephyr>/subsys/Kconfig:65

Menu path: (Top) → Sub Systems and OS Services → Tracing Support

config TRACING_BUFFER_SIZE
    int "Size of tracing buffer"
    range 32 65536
    default 2048 if TRACING_ASYNC
    default TRACING_PACKET_MAX_SIZE if TRACING_SYNC
    depends on TRACING
    help
      Size of tracing buffer. If TRACING_ASYNC is enabled, tracing buffer
      is used as a ring buffer to buffer data packet and string packet. If
      TRACING_SYNC is enabled, the buffer is used to hold the formated data.

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