linux/drivers/nvme/host
Keith Busch 5d87eb94d9 nvme: use hw qid in trace events
We can not match a command to its completion based on the command
id alone. We need the submitting queue identifier to pair with the
completion, so this patch adds that to the trace buffer.

This patch is also collapsing the admin and IO submission traces into a
single one so we don't need to duplicate this and creating unnecessary
code branches: we know if the command is an admin vs IO based on the qid.

And since we're here, the patch fixes code formatting in the area.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
[hch: move the qid helper to nvme.h and made it an inline function]
Signed-off-by: Christoph Hellwig <hch@lst.de>
2018-07-23 09:35:19 +02:00
..
core.c nvme: use hw qid in trace events 2018-07-23 09:35:19 +02:00
fabrics.c nvme-fabrics: fix and refine state checks in __nvmf_check_ready 2018-06-15 11:21:00 +02:00
fabrics.h nvme-fabrics: handle the admin-only case properly in nvmf_check_ready 2018-06-15 11:21:00 +02:00
fault_inject.c nvme: Add fault injection feature 2018-03-26 08:53:43 -06:00
fc.c nvme: cache struct nvme_ctrl reference to struct nvme_request 2018-07-23 09:35:18 +02:00
Kconfig IB: Revert "remove redundant INFINIBAND kconfig dependencies" 2018-05-28 10:40:16 -06:00
lightnvm.c lightnvm: limit get chunk meta request size 2018-07-13 08:14:41 -06:00
Makefile nvme: Add fault injection feature 2018-03-26 08:53:43 -06:00
multipath.c nvme: add bio remapping tracepoint 2018-06-11 16:17:46 +02:00
nvme.h nvme: use hw qid in trace events 2018-07-23 09:35:19 +02:00
pci.c nvme: cache struct nvme_ctrl reference to struct nvme_request 2018-07-23 09:35:18 +02:00
rdma.c nvme: cache struct nvme_ctrl reference to struct nvme_request 2018-07-23 09:35:18 +02:00
trace.c nvme: add tracepoint for nvme_setup_cmd 2018-01-26 12:34:40 +01:00
trace.h nvme: use hw qid in trace events 2018-07-23 09:35:19 +02:00