KS2011: Structured error logging
KS2011: Structured error logging
Posted Oct 25, 2011 19:21 UTC (Tue) by raven667 (subscriber, #5198)Parent article: KS2011: Structured error logging
Here is a crazy thought; is it possible at compile time to get a hash of the contents of the printk() call (before format string replacements) to generate a unique ID? That should give every unique version of a message a unique identifier that could be a key for searching and parsing. Other kinds of conventions or standards for the contents of a message, especially for multi-line messages, would be useful as well to simplify parsing but anything that requires massive changes all over the kernel is probably no good.
