summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/fnic/fnic_trace.h
diff options
context:
space:
mode:
authorHiral Patel <hiralpat@cisco.com>2013-09-12 17:45:42 -0700
committerJames Bottomley <JBottomley@Parallels.com>2013-10-25 09:57:57 +0100
commit67125b0287a9e6506c4f5afca7376667bf6dab5b (patch)
tree2a6e4e38136649cc82762b521248a361919c2a54 /drivers/scsi/fnic/fnic_trace.h
parent441fbd25954c30d821187203f7dc941bf7b6d792 (diff)
downloadlinux-67125b0287a9e6506c4f5afca7376667bf6dab5b.tar.gz
linux-67125b0287a9e6506c4f5afca7376667bf6dab5b.tar.bz2
linux-67125b0287a9e6506c4f5afca7376667bf6dab5b.zip
[SCSI] fnic: Fnic Statistics Collection
This feature gathers active and cumulative per fnic stats for io, abort, terminate, reset, vlan discovery path and it also includes various important stats for debugging issues. It also provided debugfs and ioctl interface for user to retrieve these stats. It also provides functionality to reset cumulative stats through user interface. Signed-off-by: Hiral Patel <hiralpat@cisco.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/fnic/fnic_trace.h')
-rw-r--r--drivers/scsi/fnic/fnic_trace.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/fnic/fnic_trace.h b/drivers/scsi/fnic/fnic_trace.h
index cef42b4c4d6c..d412f2ee3c4f 100644
--- a/drivers/scsi/fnic/fnic_trace.h
+++ b/drivers/scsi/fnic/fnic_trace.h
@@ -84,7 +84,8 @@ fnic_trace_data_t *fnic_trace_get_buf(void);
int fnic_get_trace_data(fnic_dbgfs_t *);
int fnic_trace_buf_init(void);
void fnic_trace_free(void);
+int fnic_debugfs_init(void);
+void fnic_debugfs_terminate(void);
int fnic_trace_debugfs_init(void);
void fnic_trace_debugfs_terminate(void);
-
#endif