]> git.baikalelectronics.ru Git - kernel.git/commit
netconsole: add oops_only module option
authorAmerigo Wang <amwang@redhat.com>
Thu, 8 Nov 2012 03:42:38 +0000 (03:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Nov 2012 03:06:36 +0000 (22:06 -0500)
commitca1fa034fa08558a75aaeac6025fd73144eb6a3a
tree1811791a89d6880cc692ee7aa2f4f1ef8a7741ce
parent1685f1c5f3b612e10fb0f1bced7fcb26c856f0d2
netconsole: add oops_only module option

Some people wants to log only oops messages via netconsole,
(this is also why netoops was invented)
so add a module option for netconsole. This can be tuned
via /sys/module/netconsole/parameters/oops_only at run time
as well.

Cc: David Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netconsole.c