diff options
author | Bean Huo <beanhuo@micron.com> | 2022-02-08 00:28:06 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2022-02-09 14:50:42 +0100 |
commit | 00e757b648c0935d703a9b8042312f4a76ee793b (patch) | |
tree | ddc192288c53d269f149264de0a9ec80a41d8814 /drivers | |
parent | b13e0c71856817fca67159b11abac350e41289f5 (diff) |
nvme: add nvme_complete_req tracepoint for batched completion
Add NVMe request completion trace in nvme_complete_batch_req() because
nvme:nvme_complete_req tracepoint is missing in case of request batched
completion.
Signed-off-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/nvme/host/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c index 961a5f8a44d2..79005ea1a33e 100644 --- a/drivers/nvme/host/core.c +++ b/drivers/nvme/host/core.c @@ -368,6 +368,7 @@ EXPORT_SYMBOL_GPL(nvme_complete_rq); void nvme_complete_batch_req(struct request *req) { + trace_nvme_complete_rq(req); nvme_cleanup_cmd(req); nvme_end_req_zoned(req); } |