]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerJack Vogel <jack.vogel@oracle.com>
Wed, 7 Mar 2018 04:09:51 +0000 (20:09 -0800)
commitfe40b5a87a3e65666d0f3c3cc79e9318726c3f21
tree9ece445e4d6521b960ac6c3850bcb6bdd7960fc1
parent73b0504c2680f155286fd29821d6e6b6ea036891
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>
(cherry picked from commit 43caa03fec79d062c5f7a959a823770d72717b24)

Orabug: 27587343
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
Reviewed-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