Re: [STATUS 2.5] July 10, 2002

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Wed Jul 10 2002 - 16:15:45 EST


> Kurt Garloff wrote:
> > If you want translated kernel messages, use message IDs, that can be parsed
> > and translated in userspace,
>
> Agreed.

> What's been discussed with Rusty Russell (and I believe he has
> discussed this with Alan) is not modifying the printks, but providing
> logging macros that keep the format string separate from the vararg list
> (but written to a log file as a single event record).

You need a bit more than that. You need a consistent way to report
an IRQ number, a device name, a PCI object etc. That does mean tidying up
printk but not in a bad way. One can imagine either

        "%s", irq_name(irq)

or
        "%I", irq

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



This archive was generated by hypermail 2b29 : Mon Jul 15 2002 - 22:00:18 EST