Re: [patch 1/3] kmsg: Kernel message catalog macros.

From: Tim Hockin
Date: Fri Aug 15 2008 - 01:33:24 EST


On Thu, Aug 14, 2008 at 8:44 PM, Greg KH <gregkh@xxxxxxx> wrote:
>
> What is wrong with what we have already agreed to standardise on here
> people? dev_printk() for devices! It uniquely shows the device, what
> driver is bound to it (if any), the bus id, and everything else.

Part of the problem, imho, is the "if any" part. But I am more than happy to
build on existing solutions. All the world is not a dev, though. I'd like to
be able to report something like an OOM kill in (roughly) the same way as an
ATA error, and I want (though could be talked out of) a way to tell these
"events" (for lack of a better word) apart from plain-old-printk()s.

Tim
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/