[PATCH V4] kernel, add bug_on_warn

Andi Kleen ak at linux.intel.com
Tue Oct 28 05:59:27 PDT 2014


> > kdb="on, bp warn_slowpath_common sr c, go" 
> 
> So does it already work or proposal is to make something like this work
> with kdb?

It does not work today, the missing pieces are: 

- extending kdb= to execute a list of kdb commands
- extending bp to define a list of commands to execute

> 
> What about the case of enabling it post boot and using a /sys file for 
> that.

This would be another patch, add a sysfs file to run a list of kdb commands.

-Andi

-- 
ak at linux.intel.com -- Speaking for myself only



More information about the kexec mailing list