summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorDov Murik2020-11-03 11:07:45 +0100
committerLaurent Vivier2020-12-13 17:02:42 +0100
commit6f8ddc2a89ba3b4add7aa2b351c04d810795c3df (patch)
treeb95f7353f469f45d3eb68de26087a49f65975795 /target
parentMerge remote-tracking branch 'remotes/vivier/tags/m68k-for-6.0-pull-request' ... (diff)
downloadqemu-6f8ddc2a89ba3b4add7aa2b351c04d810795c3df.tar.gz
qemu-6f8ddc2a89ba3b4add7aa2b351c04d810795c3df.tar.xz
qemu-6f8ddc2a89ba3b4add7aa2b351c04d810795c3df.zip
target/i386: tracing: format length values as hex
Three trace events had a literal "0x" prefix but the 'len' values were formatted in decimal base. Keep the prefix and format the numbers as hex, as is usually the case for length of memory regions. Signed-off-by: Dov Murik <dovmurik@linux.vnet.ibm.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20201103100745.160409-1-dovmurik@linux.vnet.ibm.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'target')
-rw-r--r--target/i386/trace-events6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/i386/trace-events b/target/i386/trace-events
index 9f299e94a2..246158ae1f 100644
--- a/target/i386/trace-events
+++ b/target/i386/trace-events
@@ -8,11 +8,11 @@ kvm_x86_update_msi_routes(int num) "Updated %d MSI routes"
# sev.c
kvm_sev_init(void) ""
-kvm_memcrypt_register_region(void *addr, size_t len) "addr %p len 0x%zu"
-kvm_memcrypt_unregister_region(void *addr, size_t len) "addr %p len 0x%zu"
+kvm_memcrypt_register_region(void *addr, size_t len) "addr %p len 0x%zx"
+kvm_memcrypt_unregister_region(void *addr, size_t len) "addr %p len 0x%zx"
kvm_sev_change_state(const char *old, const char *new) "%s -> %s"
kvm_sev_launch_start(int policy, void *session, void *pdh) "policy 0x%x session %p pdh %p"
-kvm_sev_launch_update_data(void *addr, uint64_t len) "addr %p len 0x%" PRIu64
+kvm_sev_launch_update_data(void *addr, uint64_t len) "addr %p len 0x%" PRIx64
kvm_sev_launch_measurement(const char *value) "data %s"
kvm_sev_launch_finish(void) ""
kvm_sev_launch_secret(uint64_t hpa, uint64_t hva, uint64_t secret, int len) "hpa 0x%" PRIx64 " hva 0x%" PRIx64 " data 0x%" PRIx64 " len %d"