Skip to contentSkip to conversation

trace-event: display "%d" instead of "0x%d"

PATCH Applied Laurent Vivier 3 participants 3 messages Jun 22, 2016 – Jul 26, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 trace-event: display "%d" instead of "0x%d"

Display the slot number of mhp_pc_dimm_assigned_slot() using "%d" without the "0x".

---
 hw/i386/trace-events | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/i386/trace-events +1 -1
index ea77bc2..71fc191 100644
@@ -8,5 +8,5 @@ xen_pv_mmio_read(uint64_t addr) "WARNING: read from Xen PV Device MMIO space (ad
 xen_pv_mmio_write(uint64_t addr) "WARNING: write to Xen PV Device MMIO space (address %"PRIx64")"
 
 # hw/i386/pc.c
-mhp_pc_dimm_assigned_slot(int slot) "0x%d"
+mhp_pc_dimm_assigned_slot(int slot) "%d"
 mhp_pc_dimm_assigned_address(uint64_t addr) "0x%"PRIx64
Signature · 1 line
2.5.5
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Laurent Vivier

Display the slot number of mhp_pc_dimm_assigned_slot() using "%d" without the "0x".

---
 hw/i386/trace-events | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 13 lines
hw/i386/trace-events +1 -1
index ea77bc2..71fc191 100644
@@ -8,5 +8,5 @@ xen_pv_mmio_read(uint64_t addr) "WARNING: read from Xen PV Device MMIO space (ad
 xen_pv_mmio_write(uint64_t addr) "WARNING: write to Xen PV Device MMIO space (address %"PRIx64")"
 
 # hw/i386/pc.c
-mhp_pc_dimm_assigned_slot(int slot) "0x%d"
+mhp_pc_dimm_assigned_slot(int slot) "%d"
 mhp_pc_dimm_assigned_address(uint64_t addr) "0x%"PRIx64
Signature · 2 lines
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org