[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Patch to add helpful tracing output for driver authors
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] Patch to add helpful tracing output for driver authors in NVMe emulation |
Date: |
Fri, 6 Oct 2017 11:49:56 +0200 |
User-agent: |
Mutt/1.9.1 (2017-09-22) |
Am 06.10.2017 um 01:18 hat Doug Gale geschrieben:
> I added the tracing output in this patch to assist me in implementing
> an NVMe driver. It helped tremendously.
>
> From 1d19086cdef8d492929852d582cb41dcc5026f71 Mon Sep 17 00:00:00 2001
> From: Doug Gale <address@hidden>
> Date: Thu, 5 Oct 2017 19:02:03 -0400
> Subject: [PATCH] Add tracing output to NVMe emulation to help driver authors.
>
> It is off by default, enable it by uncommenting #define DEBUG_NVME
> or through CFLAGS
>
> Signed-off-by: Doug Gale <address@hidden>
I think it's generally preferable to use the actual tracing
infrastructure instead of fprintf. This would allow to enable the trace
points with the command line options instead of only at compile time and
also to get machine-readable output if necessary.
The tracing infrastructure is documented in docs/devel/tracing.txt.
Kevin
- [Qemu-devel] Patch to add helpful tracing output for driver authors in NVMe emulation, Doug Gale, 2017/10/05
- Re: [Qemu-devel] Patch to add helpful tracing output for driver authors in NVMe emulation,
Kevin Wolf <=
- Re: [Qemu-devel] Patch to add helpful tracing output for driver authors in NVMe emulation, Eric Blake, 2017/10/06
- Re: [Qemu-devel] Patch to add helpful tracing output for driver authors in NVMe emulation, Daniel P. Berrange, 2017/10/06
- Re: [Qemu-devel] Patch to add helpful tracing output for driver authors in NVMe emulation, Doug Gale, 2017/10/06
- Re: [Qemu-devel] Patch to add helpful tracing output for driver authors in NVMe emulation, Daniel P. Berrange, 2017/10/06
- Re: [Qemu-devel] Patch to add helpful tracing output for driver authors in NVMe emulation, Doug Gale, 2017/10/07
- Re: [Qemu-devel] Patch to add helpful tracing output for driver authors in NVMe emulation, Eric Blake, 2017/10/09
- Re: [Qemu-devel] Patch to add helpful tracing output for driver authors in NVMe emulation, Doug Gale, 2017/10/09
- Re: [Qemu-devel] Patch to add helpful tracing output for driver authors in NVMe emulation, Markus Armbruster, 2017/10/10
- Re: [Qemu-devel] Patch to add helpful tracing output for driver authors in NVMe emulation, Kevin Wolf, 2017/10/10