netconsole using netpoll
Subsystems (4)
RFC PATCH 3/3 netconsole using netpoll
This patch uses the netpoll API to transmit kernel printks over UDP
ml-mpm/Documentation/networking/netconsole.txt | 57 +++++++++++ ml-mpm/drivers/net/Kconfig | 7 + ml-mpm/drivers/net/Makefile | 1 ml-mpm/drivers/net/netconsole.c | 129 +++++++++++++++++++++++++ ml-mpm/net/Kconfig | 5 5 files changed, 196 insertions(+), 3 deletions(-)
diff -puN -L net/core/netconsole.c /dev/null /dev/null diff -puN net/core/Makefile~netconsole net/core/Makefile
net/Kconfig renamed from net/Kconfig~netconsole +2 -3
@@ -671,11 +671,10 @@ source "net/irda/Kconfig" source "net/bluetooth/Kconfig" config NETPOLL - bool "Netpoll API" + def_bool NETCONSOLE config NETPOLL_RX - bool "Netpoll receive hooks" - depends on NETPOLL + def_bool NETCONSOLE config NETPOLL_TRAP bool "Netpoll traffic trapping"
Documentation/networking/netconsole.txt new file +57 -0
57 lines not on this page · raw message
drivers/net/Makefile renamed from drivers/net/Makefile~netconsole +1 -0
@@ -188,3 +188,4 @@ obj-$(CONFIG_NET_TULIP) += tulip/ obj-$(CONFIG_HAMRADIO) += hamradio/ obj-$(CONFIG_IRDA) += irda/ +obj-$(CONFIG_NETCONSOLE) += netconsole.o
drivers/net/Kconfig renamed from drivers/net/Kconfig~netconsole +7 -0
@@ -2455,6 +2455,13 @@ config SHAPER To compile this driver as a module, choose M here: the module will be called shaper. If unsure, say N. +config NETCONSOLE + tristate "Network console logging support" + depends on NETDEVICES + ---help--- + If you want to log kernel messages over the network, enable this. + See Documentation/networking/netconsole.txt for details. + source "drivers/net/wan/Kconfig" source "drivers/net/pcmcia/Kconfig"
drivers/net/netconsole.c new file +129 -0
129 lines not on this page · raw message
_
Signature · 1 line
Matt Mackall : http://www.selenic.com : of or relating to the moon