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

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=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] 6+ messages in thread

end of thread, other threads:[~2008-09-16 23:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-16 23:13 [PATCH 0/5] loglevel=pci:7,acpi:6 support v3 Yinghai Lu
2008-09-16 23:13 ` [PATCH 1/5] add DEFINE_LOGLEVEL_SETUP v4 Yinghai Lu
2008-09-16 23:13 ` [PATCH 2/5] pci: add pci_printk v4 Yinghai Lu
2008-09-16 23:13 ` [PATCH 3/5] pci: using pci_printk v2 Yinghai Lu
2008-09-16 23:13 ` [PATCH 4/5] acpi: add acpi_printk v3 Yinghai Lu
2008-09-16 23:13 ` [PATCH 5/5] apci: dump slit v4 Yinghai Lu

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