[PATCH 0/5] loglevel=pci:7,acpi:6 support v3

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Yinghai Lu
Date: Tuesday, September 16, 2008 - 4:13 pm

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

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/5] loglevel=pci:7,acpi:6 support v3, Yinghai Lu, (Tue Sep 16, 4:13 pm)
[PATCH 1/5] add DEFINE_LOGLEVEL_SETUP v4, Yinghai Lu, (Tue Sep 16, 4:13 pm)
[PATCH 2/5] pci: add pci_printk v4, Yinghai Lu, (Tue Sep 16, 4:13 pm)
[PATCH 3/5] pci: using pci_printk v2, Yinghai Lu, (Tue Sep 16, 4:13 pm)
[PATCH 4/5] acpi: add acpi_printk v3, Yinghai Lu, (Tue Sep 16, 4:13 pm)
[PATCH 5/5] apci: dump slit v4, Yinghai Lu, (Tue Sep 16, 4:13 pm)