]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitc1a6085195e832a6d14ac1e6cf601b884c38c71f
tree1811791a89d6880cc692ee7aa2f4f1ef8a7741ce
parente949b09b71d975a82f13ac88ce4ad338fed213da
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