Re: RAS trace event proto

From: Borislav Petkov
Date: Tue Feb 21 2012 - 09:59:52 EST


On Tue, Feb 21, 2012 at 09:48:18AM -0500, Steven Rostedt wrote:
> On Tue, 2012-02-21 at 15:12 +0100, Borislav Petkov wrote:
>
> > > Also, folding everything into just one string prevents (or make hard) the usage of
> > > the perf filters, for example, to filter only the errors at the memory controller 1.
> >
> > Huh, because you can't grep through the trace anymore...?
> >
>
> I believe Mauro is talking about the tracing filters used by both perf
> and ftrace that lets you ignore trace events when the contents of the
> event does not match the filter. This is filtering out events before
> they go to the buffer.

Oh ok, in that case we could filter the errors - if needed - before they
get even reported. I say "if needed" because normally we want to collect
all hw errors in the trace, IMHO.

--
Regards/Gruss,
Boris.

Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach
GM: Alberto Bozzo
Reg: Dornach, Landkreis Muenchen
HRB Nr. 43632 WEEE Registernr: 129 19551
--
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/