netconsole using netpoll api
Subsystems (4)
PATCH 3/3 netconsole using netpoll api
This patch uses the netpoll API to transmit kernel printks over UDP
l-mpm/Documentation/networking/netconsole.txt | 57 +++++++++++ l-mpm/drivers/net/Kconfig | 7 + l-mpm/drivers/net/Makefile | 1 l-mpm/drivers/net/netconsole.c | 129 ++++++++++++++++++++++++++ l-mpm/net/Kconfig | 2 5 files changed, 195 insertions(+), 1 deletion(-)
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 +1 -1
@@ -690,6 +690,6 @@ endmenu source "drivers/net/Kconfig" config NETPOLL - def_bool KGDB + def_bool KGDB || NETCONSOLE endmenu
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
@@ -197,3 +197,4 @@ include $(TOPDIR)/drivers/usb/net/Makefi # Must come after all NICs it might use obj-$(CONFIG_KGDB) += kgdb_eth.o +obj-$(CONFIG_NETCONSOLE) += netconsole.o
drivers/net/Kconfig renamed from drivers/net/Kconfig~netconsole +7 -0
@@ -2718,6 +2718,13 @@ config SHAPER config NET_POLL_CONTROLLER def_bool KGDB +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