panic_sys_info

file: /proc/sys/kernel/panic_sys_info
variable: kernel.panic_sys_info
Official reference

A comma separated list of extra information to be dumped on panic, for example, “tasks,mem,timers,…”. It is a human readable alternative to ‘panic_print’. Possible values are:

=============   ===================================================
tasks           print all tasks info
mem             print system memory info
timer           print timers info
lock            print locks info if CONFIG_LOCKDEP is on
ftrace          print ftrace buffer
all_bt          print all CPUs backtrace (if available in the arch)
blocked_tasks   print only tasks in uninterruptible (blocked) state
=============   ===================================================