scsi: fnic: added timestamp reporting in fnic debug stats
authorSatish Kharat <satishkh@cisco.com>
Tue, 27 Jun 2017 00:48:08 +0000 (17:48 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 28 Jun 2017 01:40:59 +0000 (21:40 -0400)
commit43caa03fec79d062c5f7a959a823770d72717b24
tree5b576b2b97f8f205d111ab73583934ef1b8af969
parent1cdf8bc18f1ee43a39e543506fff8d5db3020ae1
scsi: fnic: added timestamp reporting in fnic debug stats

Added the timestamps for
1. current timestamp
2. last fnic stats read timestamp
3. last fnic stats reset timestamp
and the deltas since last stats read and last reset in fnic stats.
fnic stats uses debugfs

Signed-off-by: Sesidhar Baddela <sebaddel@cisco.com>
Signed-off-by: Satish Kharat <satishkh@cisco.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/fnic/fnic_debugfs.c
drivers/scsi/fnic/fnic_stats.h
drivers/scsi/fnic/fnic_trace.c