Messages in this thread | | | Subject | Re: [PATCH] introduce boot_printk() | From | Peter Zijlstra <> | Date | Tue, 16 Sep 2008 16:26:36 +0200 |
| |
On Mon, 2008-09-15 at 10:34 -0700, Yinghai Lu wrote: > On Mon, Sep 15, 2008 at 10:24 AM, H. Peter Anvin <hpa@zytor.com> wrote: > > Yinghai Lu wrote: > >> > >> some guys complained that it is even too verbose with KERN_DEBUG > >> > > > > I can understand the desire to enable filtering on a subsystem-by-subsystem > > basis, but I think rather than doing a subsystem-specific hack we should do > > something that any subsystem can use. > > > > Perhaps we could extend the current <level> hack to include a subsystem, > > something like: > > > > <7><x86>Your blort driver seems to be befudged, trying blarfing. > > > > ... and something like "loglevel=x86:7,acpi:3,..." > > > sounds good. > > every subsystem will have > x86_printk > acpi_printk > pci_printk
doesn't sound like an easily extensible interface, better would be extending printk with a KERN_subsys tag like proposed.
Perhaps Jason has better ideas - iirc he worked on something similar.
| |