lkml.org 
[lkml]   [2008]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/6] loglevel=pci:8,acpi:8,apic=8 support v6
On Wed, 17 Sep 2008 01:27:41 -0700 Yinghai Lu <yhlu.kernel@gmail.com> wrote:

> KERN_PCI
> KERN_ACPI
> v4: fix some checkpatch error and warning
> v5: add default with DEFINE_LOGLEVE_SETUP_DEF
> KERN_APIC
> v6: set the default only one time
>
> usage:
> in .h to have
> #define KERN_PCI "<pci>"
> in .c to have
> DEFINE_LOGLEVEL_SETUP(pci, KERN_PCI, "pci:");
> then could use
> printk(KERN_DEBUG KERN_PCI fmt, ...);
> and command line
> loglevel=3,pci:8
>
> you can add different printk to different files of one subsys if you like
> not just one susbsys one tag, and don't need to update kernel.h to add more tags

This all looks dreadfully similar to Jason Baron's "dynamic debug v2".

Similar enough that we couldn't justify merging both.


\
 
 \ /
  Last update: 2008-09-17 10:59    [W:0.139 / U:1.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site