diff options
author | Klaus Jensen <k.jensen@samsung.com> | 2020-07-29 21:18:34 +0200 |
---|---|---|
committer | Klaus Jensen <k.jensen@samsung.com> | 2020-09-02 08:48:50 +0200 |
commit | 19012fb898d0a4b3e5999212d01923a5e45cb399 (patch) | |
tree | f6abdb1da9419f19bf61b1338cf863daa37c2d4e /hw/block/nvme.c | |
parent | 794ef1b5a7a6053f5dd1ea20c75c2c292d2a1f51 (diff) |
hw/block/nvme: add tracing to nvme_map_prp
Add tracing to nvme_map_prp.
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Minwoo Im <minwoo.im.dev@gmail.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Diffstat (limited to 'hw/block/nvme.c')
-rw-r--r-- | hw/block/nvme.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/block/nvme.c b/hw/block/nvme.c index 8ec715a29d..2c9fea8ac2 100644 --- a/hw/block/nvme.c +++ b/hw/block/nvme.c @@ -289,6 +289,8 @@ static uint16_t nvme_map_prp(QEMUSGList *qsg, QEMUIOVector *iov, uint64_t prp1, int num_prps = (len >> n->page_bits) + 1; uint16_t status; + trace_pci_nvme_map_prp(trans_len, len, prp1, prp2, num_prps); + if (unlikely(!prp1)) { trace_pci_nvme_err_invalid_prp(); return NVME_INVALID_FIELD | NVME_DNR; |