CONFIG_OMIT_FRAME_POINTER

Omit frame pointer

Type: bool

Help

Choose Y for best performance. On some architectures (including x86) this will favor code size and performance over debugability.

Choose N in you wish to retain the frame pointer. This option may be useful if your application uses runtime backtracing and does not support parsing unwind tables.

If unsure, disable OVERRIDE_FRAME_POINTER_DEFAULT to allow the compiler to adopt sensible defaults for your architecture.

Direct dependencies

OVERRIDE_FRAME_POINTER_DEFAULT

(Includes any dependencies from if’s and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/debug/Kconfig:143

Included via Kconfig:10Kconfig.zephyr:35subsys/Kconfig:12

Menu path: (top menu) → Debugging Options

config OMIT_FRAME_POINTER
    bool
    prompt "Omit frame pointer" if OVERRIDE_FRAME_POINTER_DEFAULT
    depends on OVERRIDE_FRAME_POINTER_DEFAULT
    help
      Choose Y for best performance. On some architectures (including x86)
      this will favor code size and performance over debugability.

      Choose N in you wish to retain the frame pointer. This option may
      be useful if your application uses runtime backtracing and does not
      support parsing unwind tables.

      If unsure, disable OVERRIDE_FRAME_POINTER_DEFAULT to allow the compiler
      to adopt sensible defaults for your architecture.

(Definitions include propagated dependencies, including from if’s and menus.)