[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH v2 04/30] trace: Fix parameter types in block
From: |
Eric Blake |
Subject: |
[Qemu-block] [PATCH v2 04/30] trace: Fix parameter types in block |
Date: |
Mon, 13 Mar 2017 14:55:21 -0500 |
An upcoming patch will let the compiler warn us when we are silently
losing precision in traces; update the trace definitions to pass
through the full value at the callsite.
Signed-off-by: Eric Blake <address@hidden>
---
block/trace-events | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/block/trace-events b/block/trace-events
index 0bc5c0a..acd12f9 100644
--- a/block/trace-events
+++ b/block/trace-events
@@ -57,7 +57,7 @@ paio_submit_co(int64_t offset, int count, int type) "offset
%"PRId64" count %d t
paio_submit(void *acb, void *opaque, int64_t offset, int count, int type) "acb
%p opaque %p offset %"PRId64" count %d type %d"
# block/qcow2.c
-qcow2_writev_start_req(void *co, int64_t offset, int bytes) "co %p offset %"
PRIx64 " bytes %d"
+qcow2_writev_start_req(void *co, int64_t offset, uint64_t bytes) "co %p offset
%" PRIx64 " bytes %"PRIu64
qcow2_writev_done_req(void *co, int ret) "co %p ret %d"
qcow2_writev_start_part(void *co) "co %p"
qcow2_writev_done_part(void *co, int cur_bytes) "co %p cur_bytes %d"
@@ -69,7 +69,7 @@ qcow2_pwrite_zeroes(void *co, int64_t offset, int count) "co
%p offset %" PRIx64
qcow2_alloc_clusters_offset(void *co, uint64_t offset, int bytes) "co %p
offset %" PRIx64 " bytes %d"
qcow2_handle_copied(void *co, uint64_t guest_offset, uint64_t host_offset,
uint64_t bytes) "co %p guest_offset %" PRIx64 " host_offset %" PRIx64 " bytes
%" PRIx64
qcow2_handle_alloc(void *co, uint64_t guest_offset, uint64_t host_offset,
uint64_t bytes) "co %p guest_offset %" PRIx64 " host_offset %" PRIx64 " bytes
%" PRIx64
-qcow2_do_alloc_clusters_offset(void *co, uint64_t guest_offset, uint64_t
host_offset, int nb_clusters) "co %p guest_offset %" PRIx64 " host_offset %"
PRIx64 " nb_clusters %d"
+qcow2_do_alloc_clusters_offset(void *co, uint64_t guest_offset, uint64_t
host_offset, uint64_t nb_clusters) "co %p guest_offset %" PRIx64 " host_offset
%" PRIx64 " nb_clusters %" PRIu64
qcow2_cluster_alloc_phys(void *co) "co %p"
qcow2_cluster_link_l2(void *co, int nb_clusters) "co %p nb_clusters %d"
--
2.9.3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-block] [PATCH v2 04/30] trace: Fix parameter types in block,
Eric Blake <=