KVM: Unify traced vector format
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 23 May 2016 06:43:33 +0000 (08:43 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 24 May 2016 10:11:06 +0000 (12:11 +0200)
Specifically the change from hex to decimal helps correlating events.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/trace/events/kvm.h

index 526fb3d..f28292d 100644 (file)
@@ -108,7 +108,7 @@ TRACE_EVENT(kvm_ioapic_set_irq,
                __entry->coalesced      = coalesced;
        ),
 
-       TP_printk("pin %u dst %x vec=%u (%s|%s|%s%s)%s",
+       TP_printk("pin %u dst %x vec %u (%s|%s|%s%s)%s",
                  __entry->pin, (u8)(__entry->e >> 56), (u8)__entry->e,
                  __print_symbolic((__entry->e >> 8 & 0x7), kvm_deliver_mode),
                  (__entry->e & (1<<11)) ? "logical" : "physical",
@@ -129,7 +129,7 @@ TRACE_EVENT(kvm_ioapic_delayed_eoi_inj,
                __entry->e              = e;
        ),
 
-       TP_printk("dst %x vec=%u (%s|%s|%s%s)",
+       TP_printk("dst %x vec %u (%s|%s|%s%s)",
                  (u8)(__entry->e >> 56), (u8)__entry->e,
                  __print_symbolic((__entry->e >> 8 & 0x7), kvm_deliver_mode),
                  (__entry->e & (1<<11)) ? "logical" : "physical",
@@ -151,7 +151,7 @@ TRACE_EVENT(kvm_msi_set_irq,
                __entry->data           = data;
        ),
 
-       TP_printk("dst %u vec %x (%s|%s|%s%s)",
+       TP_printk("dst %u vec %u (%s|%s|%s%s)",
                  (u8)(__entry->address >> 12), (u8)__entry->data,
                  __print_symbolic((__entry->data >> 8 & 0x7), kvm_deliver_mode),
                  (__entry->address & (1<<2)) ? "logical" : "physical",