Messages in this thread |  | | | From | "Luck, Tony" <> | | Subject | RE: RAS trace event proto | | Date | Wed, 22 Feb 2012 00:58:37 +0000 |
| |
> > > > 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.
I'm also struggling to understand an end-user use case where you would want filtering. Mauro - can you expand a bit on why someone would just want to see the errors from memory controller 1?
My mental model of the world is that large systems have some background noise - a trickle of corrected errors that happen in normal operation. User shouldn't care about these errors unless they breach some threshold.
When something goes wrong, you may see a storm of corrected errors, or some uncorrected errors. In either case you'd like to get as much information as possible to identify the component that is at fault. I'd definitely like to see some structure to the error reporting, so that mining for data patterns in a storm isn't hideously platform dependent.
It might be easier to evaluate the competing ideas here with some sample output in addition to the code.
-Tony
|  |