fcoemon now handles SIGUSR1 to dump its
internal states and instances. This patch
changes fcoedump.sh so that it dumps this
information.

Signed-off-by: Robert Love <robert.w.l...@intel.com>
Tested-by: Ross Brattain <ross.b.bratt...@intel.com>
---
 debug/fcoedump.sh |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/debug/fcoedump.sh b/debug/fcoedump.sh
index 1afcc7a..950718a 100755
--- a/debug/fcoedump.sh
+++ b/debug/fcoedump.sh
@@ -196,6 +196,11 @@ fcoe_info()
        fcoeadm -i
        echo -e "#fcoeadm -t "
        fcoeadm -t
+
+       # Trigger fcoemon to dump its internal structures
+       # to the log file that we will capture later in
+       # this script.
+       kill -10 `pidof fcoemon`
 }
 
 bsg_info()

_______________________________________________
devel mailing list
devel@open-fcoe.org
https://lists.open-fcoe.org/mailman/listinfo/devel

Reply via email to