aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nvme.h
diff options
context:
space:
mode:
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>2021-01-27 02:50:00 +0900
committerChristoph Hellwig <hch@lst.de>2021-02-02 10:26:12 +0100
commit4a407d5ebc7ac1ea8c6e2692bd79320459dc60f6 (patch)
tree1c508ecb833d8f74522517cf9309d77426bf2ac0 /include/linux/nvme.h
parentnvme: parse format nvm command details when tracing (diff)
downloadlinux-dev-4a407d5ebc7ac1ea8c6e2692bd79320459dc60f6.tar.xz
linux-dev-4a407d5ebc7ac1ea8c6e2692bd79320459dc60f6.zip
nvme: add tracing of zns commands
When support for the NVMe ZNS commands was merged, tracing of these has been omitted. Add nvme_cmd_zone_mgmt_send, nvme_cmd_zone_mgmt_recv as well as nvme_cmd_zone_append to the nvme driver's tracing facility. Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/linux/nvme.h')
-rw-r--r--include/linux/nvme.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index 458719544253..b08787cd0881 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -697,7 +697,11 @@ enum nvme_opcode {
nvme_opcode_name(nvme_cmd_resv_register), \
nvme_opcode_name(nvme_cmd_resv_report), \
nvme_opcode_name(nvme_cmd_resv_acquire), \
- nvme_opcode_name(nvme_cmd_resv_release))
+ nvme_opcode_name(nvme_cmd_resv_release), \
+ nvme_opcode_name(nvme_cmd_zone_mgmt_send), \
+ nvme_opcode_name(nvme_cmd_zone_mgmt_recv), \
+ nvme_opcode_name(nvme_cmd_zone_append))
+
/*