The latest development version of this page may be more current than this released 2.6.1-rc1 version.
CONFIG_DEBUG_BLOCK_FREE

Blocks freeing debug

Type: bool

Help

It enables checking if free was called multiple times on
already freed block of memory. Enabling this feature increases
number of memory writes and reads, due to checks for memory patterns
that may be performed on allocation and deallocation.

Direct dependencies

SOF

(Includes any dependencies from ifs and menus.)

Default

  • n

Kconfig definition

At /home/nashif/zephyrproject/modules/audio/sof/zephyr/../Kconfig.sof:188

Included via Kconfig:8Kconfig.zephyr:23modules/Kconfig:6doc/_build/Kconfig/Kconfig.modules:14/home/nashif/zephyrproject/modules/audio/sof/zephyr/Kconfig:2

Menu path: (Top) → Modules → sof (/home/nashif/zephyrproject/modules/audio/sof) → Debug

config DEBUG_BLOCK_FREE
    bool "Blocks freeing debug"
    default n
    depends on SOF
    help
      It enables checking if free was called multiple times on
      already freed block of memory. Enabling this feature increases
      number of memory writes and reads, due to checks for memory patterns
      that may be performed on allocation and deallocation.

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