]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: add tracepoint for nvme_complete_rq
authorJohannes Thumshirn <jthumshirn@suse.de>
Fri, 26 Jan 2018 10:21:38 +0000 (11:21 +0100)
committerChristoph Hellwig <hch@lst.de>
Fri, 26 Jan 2018 11:34:40 +0000 (12:34 +0100)
commit305dabfc868b543ceb25b288ca7255f18e304196
tree625bc90db856784abd16721d7552953672979747
parent7398d01c8fbf886bbe751184c1cd64999c592087
nvme: add tracepoint for nvme_complete_rq

Add a tracepoint in nvme_complete_rq() for completions of NVMe commands. An
expmale output of the trace-point is as follows:

<idle>-0     [001] d.h.     3.505266: nvme_complete_rq: cmdid=989, qid=1, res=0, retries=0, flags=0x0, status=0

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/core.c
drivers/nvme/host/trace.h