kernel: add KERNEL_STACKDEPOT_MAX_FRAMES

When KERNEL_SLUB_DEBUG is enabled, build fails due to the
KERNEL_STACKDEPOT_MAX_FRAMES missing. Add it.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Link: https://github.com/openwrt/openwrt/pull/18676
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
Stijn Tintel 2025-05-01 23:09:49 +03:00 committed by Christian Marangi
parent a8c04725f0
commit 8650a9ee85
No known key found for this signature in database
GPG key ID: AC001D09ADBFEAD7

View file

@ -741,6 +741,11 @@ config KERNEL_SLABINFO
select KERNEL_SLUB_DEBUG_ON
bool "Enable /proc slab debug info"
config KERNEL_STACKDEPOT_MAX_FRAMES
int
default 64
depends on KERNEL_SLUB_DEBUG
config KERNEL_PROC_PAGE_MONITOR
bool "Enable /proc page monitoring"