Collect and report kernel warnings.
A flex-based daemon collects kernel warnings by parsing /var/log/messages
as lines are added to it. For every warning the daemon sends a sample
to a sparse UMA histogram using a hash of the warning as the bucket.
Then, if the warning hasn't been seen before, the daemon invokes the
crash collector to upload the warning stack trace.
TEST=manually tested (for now), automated test on its way
Commit-Queue: Luigi Semenzato <email@example.com>
Reviewed-by: Luigi Semenzato <firstname.lastname@example.org>
Tested-by: Luigi Semenzato <email@example.com>
9 files changed