Bitsize for MAX_STACK_TRACE_ENTRIES

configname: CONFIG_LOCKDEP_STACK_TRACE_BITS

Linux Kernel Configuration
└─>Kernel hacking
└─>Lock Debugging (spinlocks, mutexes, etc...)
└─>Bitsize for MAX_STACK_TRACE_ENTRIES
In linux kernel since version 5.2 (release Date: 2019-07-07)  
Try increasing this value if you hit "BUG: MAX_STACK_TRACE_ENTRIES too low!" message.