lib/stackdepot: use fixed-sized slots for stack records
[linux-2.6-microblaze.git] / lib / Kconfig
index 3ea1c83..5ddda7c 100644 (file)
@@ -713,10 +713,20 @@ config ARCH_STACKWALK
 config STACKDEPOT
        bool
        select STACKTRACE
+       help
+         Stack depot: stack trace storage that avoids duplication
 
 config STACKDEPOT_ALWAYS_INIT
        bool
        select STACKDEPOT
+       help
+         Always initialize stack depot during early boot
+
+config STACKDEPOT_MAX_FRAMES
+       int "Maximum number of frames in trace saved in stack depot"
+       range 1 256
+       default 64
+       depends on STACKDEPOT
 
 config REF_TRACKER
        bool