On Thu, May 30, 2013 at 02:04:42PM +0000, Ortiz, Lance E wrote: > Steve, you do have a good point here. I am wondering if that is why > we should consider changing the output to match aer_print_error(). > The code path to aer_print_error() is the more common path where not > as many platforms support the cper_print_error() path (firmware first > AER). So it is more likely that any tools written would know how to > parse the output from aer_print_error(). It would be good for those > tools to support firmware first AER when it becomes more common. Of > course this is purely conjecture. I have no idea if there are any > tools that parse this text output.
Whatever you end up doing, just make sure you've hammered out the information going out to userspace to be clear, succinct and complete (as far as possible, of course). Because once you cast it in stone and tools start using it, changing its format is a huge PITA, if at all possible. And if the error formats are compatible, then sharing the format is obviously advantageous. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/