Re: [PATCH V4] kernel, add bug_on_warn

From: Andi Kleen
Date: Tue Oct 28 2014 - 08:59:34 EST


> > 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@xxxxxxxxxxxxxxx -- Speaking for myself only
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/