]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/scsi/fnic/fnic_main.c
[SCSI] fnic: Fnic Trace Utility
authorHiral Patel <hiralpat@cisco.com>
Wed, 13 Feb 2013 01:01:02 +0000 (17:01 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 22 Feb 2013 17:32:07 +0000 (17:32 +0000)
commit4d7007b49d523d8f954ae047118d82c130f673ce
tree16ce6d74b77020b444a554bc5d63c1c2718df701
parent14eb5d905d16ecd33e5e3113eb44cfa2bb47e7d7
[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>
drivers/scsi/fnic/Makefile
drivers/scsi/fnic/fnic.h
drivers/scsi/fnic/fnic_debugfs.c [new file with mode: 0644]
drivers/scsi/fnic/fnic_main.c
drivers/scsi/fnic/fnic_scsi.c
drivers/scsi/fnic/fnic_trace.c [new file with mode: 0644]
drivers/scsi/fnic/fnic_trace.h [new file with mode: 0644]