public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] loglevel=pci:8,acpi:8,apic=8 support v5
@ 2008-09-17  7:10 Yinghai Lu
  2008-09-17  7:10 ` [PATCH 1/6] add DEFINE_LOGLEVEL_SETUP v6 Yinghai Lu
                   ` (6 more replies)
  0 siblings, 7 replies; 22+ messages in thread
From: Yinghai Lu @ 2008-09-17  7:10 UTC (permalink / raw)
  To: Ingo Molnar, Thomas Gleixner, H. Peter Anvin, Andrew Morton
  Cc: linux-kernel, Yinghai Lu

    KERN_PCI
    KERN_ACPI
v4: fix some checkpatch error and warning
v5: add default with DEFINE_LOGLEVE_SETUP_DEF
    KERN_APIC

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

YH

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [PATCH 0/6] loglevel=pci:8,acpi:8,apic=8 support v6
@ 2008-09-17  8:27 Yinghai Lu
  2008-09-17  8:27 ` [PATCH 6/6] x86: add KERN_APIC Yinghai Lu
  0 siblings, 1 reply; 22+ messages in thread
From: Yinghai Lu @ 2008-09-17  8:27 UTC (permalink / raw)
  To: Ingo Molnar, Thomas Gleixner, H. Peter Anvin, Andrew Morton
  Cc: linux-kernel, Yinghai Lu

    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

YH

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2008-09-17 19:06 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-17  7:10 [PATCH 0/6] loglevel=pci:8,acpi:8,apic=8 support v5 Yinghai Lu
2008-09-17  7:10 ` [PATCH 1/6] add DEFINE_LOGLEVEL_SETUP v6 Yinghai Lu
2008-09-17  7:10 ` [PATCH 2/6] pci: add KERN_PCI Yinghai Lu
2008-09-17  7:10 ` [PATCH 3/6] pci: using printk(KERN_PCI v3 Yinghai Lu
2008-09-17  7:10 ` [PATCH 4/6] acpi: add KERN_ACPI v3 Yinghai Lu
2008-09-17  7:10 ` [PATCH 5/6] apci: dump slit with printk(KERN_ACPI...) Yinghai Lu
2008-09-17  7:10 ` [PATCH 6/6] x86: add KERN_APIC Yinghai Lu
2008-09-17  7:30 ` [PATCH 0/6] loglevel=pci:8,acpi:8,apic=8 support v5 Alexey Dobriyan
2008-09-17  8:47   ` Ingo Molnar
2008-09-17  9:25     ` Alexey Dobriyan
2008-09-17  9:40       ` Ingo Molnar
2008-09-17 16:23     ` Yinghai Lu
2008-09-17 17:07     ` H. Peter Anvin
2008-09-17 18:10       ` Yinghai Lu
2008-09-17 18:17         ` H. Peter Anvin
2008-09-17 19:05           ` Yinghai Lu
  -- strict thread matches above, loose matches on Subject: below --
2008-09-17  8:27 [PATCH 0/6] loglevel=pci:8,acpi:8,apic=8 support v6 Yinghai Lu
2008-09-17  8:27 ` [PATCH 6/6] x86: add KERN_APIC Yinghai Lu
2008-09-17  8:38   ` Ingo Molnar
2008-09-17  8:45     ` Yinghai Lu
2008-09-17  8:52       ` Ingo Molnar
2008-09-17 12:08       ` Frans Pop
2008-09-17 16:30         ` Yinghai Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox