Re: [RFC][PATCH] New message-logging API (kprint)

From: Randy Dunlap
Date: Thu Oct 04 2007 - 16:26:18 EST


On Thu, 04 Oct 2007 22:04:07 +0200 Vegard Nossum wrote:

> Description: This patch largely implements the kprint API as previously
> posted to the LKML and described in Documentation/kprint.txt (see patch).
>
> The main purpose of this change is provide a unified logging API to the
> kernel and at the same time make it easy to add extensions, now and later.
>
> My changes and additions are as follows:


$ diffstat -p1 -w70 kprint.patch
Documentation/kprint.txt | 238 ++++++++++++++
arch/i386/kernel/traps.c | 2
arch/um/include/user.h | 6
crypto/tcrypt.c | 5
drivers/char/mem.c | 10
drivers/ide/ide-lib.c | 3
drivers/md/md.c | 5
drivers/media/dvb/frontends/tda10021.c | 13
drivers/media/dvb/frontends/tda10023.c | 13
drivers/media/dvb/frontends/ves1820.c | 9
drivers/media/video/em28xx/em28xx-core.c | 16
drivers/media/video/usbvideo/usbvideo.h | 7
drivers/net/e100.c | 10
drivers/net/e1000/e1000.h | 12
drivers/net/irda/ma600.c | 5
drivers/net/ixgb/ixgb.h | 11
drivers/net/lib8390.c | 17 -
drivers/net/pcmcia/axnet_cs.c | 12
drivers/pcmcia/rsrc_nonstatic.c | 10
drivers/scsi/advansys.c | 2
include/asm-generic/pgtable-nopmd.h | 5
include/asm-generic/pgtable-nopud.h | 5
include/linux/args.h | 29 +
include/linux/kernel.h | 27 +
include/linux/kprint-light.h | 25 +
include/linux/kprint.h | 201 ++++++++++++
include/linux/ringbuffer.h | 34 ++
include/net/sctp/sctp.h | 6
include/scsi/scsi_device.h | 14
include/scsi/sd.h | 13
init/Kconfig | 2
init/do_mounts_initrd.c | 2
kernel/Kconfig.kprint | 125 +++++++
kernel/Makefile | 2
kernel/kprint.c | 345 +++++++++++++++++++++
kernel/printk.c | 9
lib/Makefile | 3
lib/ringbuffer.c | 155 +++++++++
lib/vsprintf.c | 321 +++++++++++++++++++
net/tipc/dbg.c | 3
40 files changed, 1660 insertions(+), 72 deletions(-)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/