[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 5/9] qxl-logger: add timestamp to command log
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 5/9] qxl-logger: add timestamp to command log |
Date: |
Mon, 4 Jul 2011 17:14:11 +0200 |
From: Alon Levy <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>
---
hw/qxl-logger.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/hw/qxl-logger.c b/hw/qxl-logger.c
index 76f43e6..74cadba 100644
--- a/hw/qxl-logger.c
+++ b/hw/qxl-logger.c
@@ -19,6 +19,7 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
+#include "qemu-timer.h"
#include "qxl.h"
static const char *qxl_type[] = {
@@ -223,7 +224,8 @@ void qxl_log_command(PCIQXLDevice *qxl, const char *ring,
QXLCommandExt *ext)
if (!qxl->cmdlog) {
return;
}
- fprintf(stderr, "qxl-%d/%s:", qxl->id, ring);
+ fprintf(stderr, "%ld qxl-%d/%s:", qemu_get_clock_ns(vm_clock),
+ qxl->id, ring);
fprintf(stderr, " cmd @ 0x%" PRIx64 " %s%s", ext->cmd.data,
qxl_name(qxl_type, ext->cmd.type),
compat ? "(compat)" : "");
--
1.7.1
- [Qemu-devel] [PULL] spice patch queue, Gerd Hoffmann, 2011/07/04
- [Qemu-devel] [PATCH 2/9] spice: catch spice server initialization failures., Gerd Hoffmann, 2011/07/04
- [Qemu-devel] [PATCH 5/9] qxl-logger: add timestamp to command log,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH 3/9] qxl: set mm_time in vga update, Gerd Hoffmann, 2011/07/04
- [Qemu-devel] [PATCH 7/9] qxl: make sure primary surface is saved on migration, Gerd Hoffmann, 2011/07/04
- [Qemu-devel] [PATCH 8/9] qxl: put QXL_IO_UPDATE_IRQ into vgamode whitelist, Gerd Hoffmann, 2011/07/04
- [Qemu-devel] [PATCH 6/9] qxl: add dev id to guest prints, Gerd Hoffmann, 2011/07/04
- [Qemu-devel] [PATCH 1/9] qxl: device id fixup, Gerd Hoffmann, 2011/07/04
- [Qemu-devel] [PATCH 4/9] qxl: interface_get_command: fix reported mode, Gerd Hoffmann, 2011/07/04
- [Qemu-devel] [PATCH 9/9] qxl: allow QXL_IO_LOG also in vga, Gerd Hoffmann, 2011/07/04
- Re: [Qemu-devel] [PULL] spice patch queue, Gerd Hoffmann, 2011/07/12
- Re: [Qemu-devel] [PULL] spice patch queue, Anthony Liguori, 2011/07/19