Messages in this thread | | | Subject | Re: [STATUS 2.5] July 10, 2002 | Date | Wed, 10 Jul 2002 22:15:45 +0100 (BST) | From | Alan Cox <> |
| |
> 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/
| |