Skip to contentSkip to conversation

Tracing patches

GIT PULL Stefan Hajnoczi 2 participants 3 messages Sep 20, 2013

lore
Share & tools
lore
#0 lore raw

The following changes since commit 6c2679fc19560699679200fb42ab4659bcbe7f79:

Merge remote-tracking branch 'kiszka/queues/slirp' into staging (2013-09-17 10:01:24 -0500)

are available in the git repository at:

git://github.com/stefanha/qemu.git tracing

for you to fetch changes up to cbf5b968567dbd5a71165c1d30a0ce351bdca11a:

kvm: fix traces to use %x instead of %d (2013-09-20 19:55:01 +0200)

----------------------------------------------------------------
Alexey Kardashevskiy (1):
kvm: fix traces to use %x instead of %d

 trace-events | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
1.8.3.1
#1 lore raw

[Qemu-devel] [PULL 1/1] kvm: fix traces to use %x instead of %d

From: Alexey Kardashevskiy <[email protected]>

KVM request types are normally defined using hex constants but QEMU traces print decimal values instead, which is not very convenient.

This changes the request type format from %d to %x.

---
 trace-events | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
trace-events +3 -3
index d4dba24..6bbceaf 100644
@@ -1167,9 +1167,9 @@ virtio_ccw_new_device(int cssid, int ssid, int schid, int devno, const char *dev
 migrate_set_state(int new_state) "new state %d"
 
 # kvm-all.c
-kvm_ioctl(int type, void *arg) "type %d, arg %p"
-kvm_vm_ioctl(int type, void *arg) "type %d, arg %p"
-kvm_vcpu_ioctl(int cpu_index, int type, void *arg) "cpu_index %d, type %d, arg %p"
+kvm_ioctl(int type, void *arg) "type 0x%x, arg %p"
+kvm_vm_ioctl(int type, void *arg) "type 0x%x, arg %p"
+kvm_vcpu_ioctl(int cpu_index, int type, void *arg) "cpu_index %d, type 0x%x, arg %p"
 kvm_run_exit(int cpu_index, uint32_t reason) "cpu_index %d, reason %d"
 
 # memory.c
Signature · 1 line
1.8.3.1
#2 lore raw
In reply to Stefan Hajnoczi

Il 20/09/2013 19:58, Stefan Hajnoczi ha scritto:

Quoted 11 lines

The following changes since commit 6c2679fc19560699679200fb42ab4659bcbe7f79:

Merge remote-tracking branch 'kiszka/queues/slirp' into staging (2013-09-17 10:01:24 -0500)

are available in the git repository at:

git://github.com/stefanha/qemu.git tracing

for you to fetch changes up to cbf5b968567dbd5a71165c1d30a0ce351bdca11a:

Quoted 9 lines

kvm: fix traces to use %x instead of %d (2013-09-20 19:55:01 +0200)

----------------------------------------------------------------
Alexey Kardashevskiy (1):
kvm: fix traces to use %x instead of %d

 trace-events | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

This single patch is also in my KVM pull request, so it's not needed.

Paolo