login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
July
»
30
Re: [patch 1/3] kmsg: Kernel message catalog macros.
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Greg KH
Subject:
Re: [patch 1/3] kmsg: Kernel message catalog macros.
Date: Wednesday, July 30, 2008 - 12:39 pm
On Wed, Jul 30, 2008 at 06:56:57PM +0200, Martin Schwidefsky wrote:
quoted text
> From: Michael Holzheu <holzheu@de.ibm.com> > From: Martin Schwidefsky <schwidefsky@de.ibm.com> > > Introduce a new family of printk macros which prefixes each kmsg message > with a component name and allows to tag the printk with a message id. > > The kmsg component name is defined per source file with the KMSG_COMPONENT > macro. The first argument of each kmsg printk is the message id. The > message id "0" is special as it will suppress the message id prefix. > > If the message id will be printed to the console / syslog at all depends > on CONFIG_MSG_IDS. If it is "n" then a kmsg_xxx call is just another > printk wrapper. These macros are intended to be used uniformly in the > s390 architecture and the s390 device drivers. > > Signed-off-by: Michael Holzheu <holzheu@de.ibm.com> > Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> > --- > > arch/s390/Kconfig | 9 +++ > include/linux/kmsg.h | 124 +++++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 133 insertions(+) > > Index: linux-2.6/arch/s390/Kconfig > =================================================================== > --- linux-2.6.orig/arch/s390/Kconfig > +++ linux-2.6/arch/s390/Kconfig > @@ -568,6 +568,15 @@ bool "s390 guest support (EXPERIMENTAL)" > select VIRTIO_CONSOLE > help > Select this option if you want to run the kernel under s390 linux > + > +config KMSG_IDS > + bool "Kernel message numbers" > + default y > + help > + Select this option if you want to include a message number to the > + prefix for kernel messages issued by the s390 architecture and > + driver code. See "Documentation/s390/kmsg.txt" for more details. > + > endmenu > > source "net/Kconfig" > Index: linux-2.6/include/linux/kmsg.h > =================================================================== > --- /dev/null > +++ linux-2.6/include/linux/kmsg.h > @@ -0,0 +1,124 @@ > +#ifndef _LINUX_KMSG_H > +#define _LINUX_KMSG_H > + > +#ifndef __KMSG_CHECKER > +#define __KMSG_CHECK(level, id) KERN_##level > +#endif
What if __KMSG_CHECKER is enabled? What does __KMSG_CHECK resolve to then? And what sets __KMSG_CHECKER? thanks, greg k-h --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[patch 1/3] kmsg: Kernel message catalog macros.
, Martin Schwidefsky
, (Wed Jul 30, 9:56 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Greg KH
, (Wed Jul 30, 12:39 pm)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Kay Sievers
, (Wed Jul 30, 3:02 pm)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Greg KH
, (Wed Jul 30, 3:04 pm)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Martin Schwidefsky
, (Thu Jul 31, 1:35 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Martin Schwidefsky
, (Thu Jul 31, 1:36 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Martin Schwidefsky
, (Thu Jul 31, 2:10 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Greg KH
, (Tue Aug 5, 3:31 pm)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Martin Schwidefsky
, (Wed Aug 6, 1:35 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Greg KH
, (Wed Aug 6, 1:07 pm)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Martin Schwidefsky
, (Thu Aug 7, 1:31 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Joe Perches
, (Thu Aug 7, 8:59 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Greg KH
, (Thu Aug 7, 10:01 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Martin Schwidefsky
, (Sat Aug 9, 5:03 pm)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Martin Schwidefsky
, (Sat Aug 9, 5:08 pm)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Jan Kara
, (Mon Aug 11, 3:54 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Tim Hockin
, (Tue Aug 12, 5:35 pm)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Rusty Russell
, (Tue Aug 12, 9:33 pm)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Tim Hockin
, (Wed Aug 13, 12:04 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Pavel Machek
, (Wed Aug 13, 12:13 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Tim Hockin
, (Wed Aug 13, 7:50 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Rusty Russell
, (Wed Aug 13, 6:53 pm)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Tim Hockin
, (Thu Aug 14, 8:40 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Martin Schwidefsky
, (Thu Aug 14, 10:04 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Martin Schwidefsky
, (Thu Aug 14, 10:07 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Martin Schwidefsky
, (Thu Aug 14, 10:11 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Tim Hockin
, (Thu Aug 14, 11:50 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Rusty Russell
, (Thu Aug 14, 4:22 pm)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Joe Perches
, (Thu Aug 14, 8:08 pm)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Greg KH
, (Thu Aug 14, 8:44 pm)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Tim Hockin
, (Thu Aug 14, 10:33 pm)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Jan Blunck
, (Fri Aug 15, 4:21 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Tim Hockin
, (Fri Aug 15, 8:39 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Greg KH
, (Fri Aug 15, 9:03 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Tim Hockin
, (Fri Aug 15, 10:03 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Rick Troth
, (Fri Aug 15, 1:05 pm)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Martin Schwidefsky
, (Sat Aug 16, 10:45 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Martin Schwidefsky
, (Sat Aug 16, 10:49 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Martin Schwidefsky
, (Sat Aug 16, 11:06 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Joe Perches
, (Sat Aug 16, 12:36 pm)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Tim Hockin
, (Sat Aug 16, 1:40 pm)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Rick Troth
, (Sat Aug 16, 8:39 pm)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Rusty Russell
, (Sat Aug 16, 10:11 pm)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Martin Schwidefsky
, (Sun Aug 17, 10:27 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Martin Schwidefsky
, (Sun Aug 17, 10:28 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Tim Hockin
, (Sun Aug 17, 10:31 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Martin Schwidefsky
, (Sun Aug 17, 10:33 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Pavel Machek
, (Mon Aug 18, 2:23 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Jan Kara
, (Mon Aug 18, 3:39 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Tim Hockin
, (Mon Aug 18, 10:51 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Martin Schwidefsky
, (Mon Aug 25, 8:56 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Rusty Russell
, (Mon Aug 25, 6:38 pm)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Martin Schwidefsky
, (Mon Sep 1, 5:28 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Rusty Russell
, (Tue Sep 2, 6:34 am)
Re: [patch 1/3] kmsg: Kernel message catalog macros.
, Martin Schwidefsky
, (Tue Sep 2, 7:16 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Mel Gorman
Re: [PATCH 1/4] vmstat: remove zone->lock from walk_zones_in_node
Guenter Roeck
Re: [lm-sensors] Location for thermal drivers
David Woodhouse
Re: RFC: Moving firmware blobs out of the kernel.
Siddha, Suresh B
Re: [PATCH 2.6.21 review I] [11/25] x86: default to physical mode on hotplug CPU k...
Peter Zijlstra
Re: [patch 4/6] mm: merge populate and nopage into fault (fixes nonlinear)
git-commits-head
:
Linux Kernel Mailing List
[MIPS] Fix potential latency problem due to non-atomic cpu_wait.
Linux Kernel Mailing List
USB: rename USB_SPEED_VARIABLE to USB_SPEED_WIRELESS
Linux Kernel Mailing List
lib/vsprintf.c: fix bug omitting minus sign of numbers (module_param)
Linux Kernel Mailing List
[Bluetooth] Initiate authentication during connection establishment
Linux Kernel Mailing List
[POWERPC] 4xx: Add ppc40x_defconfig
linux-netdev
:
MERCEDES
Your mail id has won 950,000.00 in the MERCEDES Benz Online Promo.for claims send:
David Miller
Re: [PATCH] xen/netfront: do not mark packets of length < MSS as GSO
David Miller
Re: skb_segment() questions
Shan Wei
[RFC PATCH net-next 2/5]IPv6:netfilter: Send an ICMPv6 "Fragment Reassembly Timeou...
Stanislaw Gruszka
[PATCH 1/4] bnx2x: use smp_mb() to keep ordering of read write operations
git
:
Nicolas Sebrecht
git-svn died of signal 11 (was "3 failures on test t9100 (svn)")
Junio C Hamano
Re: [PATCH 2/2] Add url.<base>.pushInsteadOf: URL rewriting for push only
Martin Langhoff
Re: [PATCH] GIT commit statistics.
Alexandre Julliard
[PATCH] gitweb: Put back shortlog instead of graphiclog in the project list.
Josh Triplett
[PATCH 2/2] Add url.<base>.pushInsteadOf: URL rewriting for push only
openbsd-misc
:
Taisto Qvist XX
Re: AMD GEODE LX-800 just works with kernel from install42.iso and kernelpanics wi...
Nico Meijer
Re: gOS Develop Kit with VIA pc-1 Processor Platform VIA C7-D
Andreas Bihlmaier
Re: jetway board sensors (Fintek F71805F)
admin
Drive a 2009 car from R799p/m
Antti Harri
Re: how to create a sha256 hash
Colocation donated by:
Syndicate