loglevel=pci:7,acpi:6 support v3
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | add DEFINE_LOGLEVEL_SETUP v4arch/ arch/ include/ +4 more | +133 | 0 replies | |
| 2/5 | pci: add pci_printk v4drivers/ include/ | +4 | 0 replies | |
| 3/5 | pci: using pci_printk v2drivers/ | +5 | 0 replies | |
| 4/5 | acpi: add acpi_printk v3drivers/ include/ | +3 | 0 replies | |
| 5/5 | apci: dump slit v4drivers/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] loglevel=pci:7,acpi:6 support v3
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