bonding: add the debugfs facility to the bonding driver
authorTaku Izumi <izumi.taku@jp.fujitsu.com>
Thu, 9 Dec 2010 15:17:13 +0000 (15:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Dec 2010 00:24:33 +0000 (16:24 -0800)
commitf073c7ca29a4a7e14060d9d3ddf09bfbb7cd9cc0
treed545b7e77908ffb101c16d1be8cfe641828fa9b9
parent6c2c9d964e71770e7d6efc1a82f3621005d12185
bonding: add the debugfs facility to the bonding driver

This patch provides the debugfs facility to the bonding driver.
The "bonding" directory is created in the debugfs root and directories of
each bonding interface (like bond0, bond1...) are created in that.

 # mount -t debugfs none /sys/kernel/debug

 # ls /sys/kernel/debug/bonding
 bond0  bond1

Signed-off-by: Taku Izumi <izumi.taku@jp.fujitsu.com>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/Makefile
drivers/net/bonding/bond_debugfs.c [new file with mode: 0644]
drivers/net/bonding/bond_main.c
drivers/net/bonding/bonding.h