Re: [PATCH v3 2/9] pstore: add debugfs support for causing dumps andpanics

From: Anton Vorontsov
Date: Sat Nov 17 2012 - 20:57:59 EST


On Thu, Oct 18, 2012 at 02:06:00PM +0300, dragos.tatulea@xxxxxxxxx wrote:
> From: Adrian Hunter <adrian.hunter@xxxxxxxxx>
>
> There are 2 debugfs files:
>
> pstore/dump writing a kmsg dump reason code
> will cause a dump to persistent
> storage
>
> pstore/panic writing anything will cause
> a panic
>
> Signed-off-by: Adrian Hunter <adrian.hunter@xxxxxxxxx>
> ---

Um... how is different from /proc/sysrq-trigger?.. At least sysrq has
'panic', and I guess it would be better to extend it if we need something
more than this.

Thanks,
Anton.
--
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/