[lkml]   [2012]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRE: RAS trace event proto
    > > > > 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.


     \ /
      Last update: 2012-02-22 02:01    [W:0.055 / U:4.200 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site