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.
Defaults¶
- 2048 if - TRACING_ASYNC
Kconfig definition¶
At <Zephyr Subsystem>/tracing/Kconfig:116
Included via Kconfig:8 → Kconfig.zephyr:44 → <Zephyr Subsystem>/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.)