trace-event: display "%d" instead of "0x%d"
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".
Signed-off-by Laurent Vivier <[email protected]>
--- hw/i386/trace-events | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/i386/trace-events +1 -1
@@ -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
Quoted 7 lines · Laurent Vivier
Display the slot number of
mhp_pc_dimm_assigned_slot()using "%d" without the "0x".Signed-off-by Laurent Vivier <[email protected]>--- hw/i386/trace-events | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by Eric Blake <[email protected]>
Quoted 13 lines
hw/i386/trace-events +1
-1@@ -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
Michael Tokarev
AppliedQuoted 2 lines · Laurent Vivier
Display the slot number of
mhp_pc_dimm_assigned_slot()using "%d" without the "0x".
Applied to -trivial, thanks!
/mjt