summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/fnic/fnic.h
diff options
context:
space:
mode:
authorHiral Patel <hiralpat@cisco.com>2013-02-12 17:01:02 -0800
committerJames Bottomley <JBottomley@Parallels.com>2013-02-22 17:32:07 +0000
commit4d7007b49d523d8f954ae047118d82c130f673ce (patch)
tree16ce6d74b77020b444a554bc5d63c1c2718df701 /drivers/scsi/fnic/fnic.h
parent14eb5d905d16ecd33e5e3113eb44cfa2bb47e7d7 (diff)
downloadop-kernel-dev-4d7007b49d523d8f954ae047118d82c130f673ce.zip
op-kernel-dev-4d7007b49d523d8f954ae047118d82c130f673ce.tar.gz
[SCSI] fnic: Fnic Trace Utility
Fnic Trace utility is a tracing functionality built directly into fnic driver to trace events. The benefit that trace buffer brings to fnic driver is the ability to see what it happening inside the fnic driver. It also provides the capability to trace every IO event inside fnic driver to debug panics, hangs and potentially IO corruption issues. This feature makes it easy to find problems in fnic driver and it also helps in tracking down strange bugs in a more manageable way. Trace buffer is shared across all fnic instances for this implementation. Signed-off-by: Hiral Patel <hiralpat@cisco.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/fnic/fnic.h')
-rw-r--r--drivers/scsi/fnic/fnic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/fnic/fnic.h b/drivers/scsi/fnic/fnic.h
index 9c95a1a..98436c3 100644
--- a/drivers/scsi/fnic/fnic.h
+++ b/drivers/scsi/fnic/fnic.h
@@ -26,6 +26,7 @@
#include <scsi/libfcoe.h>
#include "fnic_io.h"
#include "fnic_res.h"
+#include "fnic_trace.h"
#include "vnic_dev.h"
#include "vnic_wq.h"
#include "vnic_rq.h"
OpenPOWER on IntegriCloud