Re: [RFC/Requirements/Design] h/w error reporting

From: Steven Rostedt
Date: Wed Nov 10 2010 - 13:10:08 EST


On Wed, 2010-11-10 at 18:41 +0100, Ingo Molnar wrote:

> > It would also be cool to be able to allocate those buffers as early as possible,
> > even if before MCA is enabled, so that I won't have to copy MCE data which got
> > logged before the tracing subsystem got enabled to the buffers proper.
>
> We could even have some (small) statically enabled build-time buffer that could be
> enabled straight away before any allocators are enabled.

I'm not sure it needs to be small. We can have a persistent buffer that
may be resized at any time. It can start off small, or with a kernel
command line, be as big as you want it.

Basically, what ftrace has now.

Also, with a way that root user can get a handle on this buffer, and
just trace global events with it.

-- Steve


--
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/