aboutsummaryrefslogtreecommitdiff
path: root/trace
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2018-05-22 18:26:50 -0400
committerStefan Hajnoczi <stefanha@redhat.com>2018-06-27 11:09:24 +0100
commit706485d2e2b1e1770d0fecdae7639dc528d77583 (patch)
tree6c6fbab2560c81c75382520d5b414acdecb94fd8 /trace
parent3d69b95e5e2ef4c5acfa2b2aaa93e2fad9eeeaa1 (diff)
downloadqemu-706485d2e2b1e1770d0fecdae7639dc528d77583.zip
qemu-706485d2e2b1e1770d0fecdae7639dc528d77583.tar.gz
qemu-706485d2e2b1e1770d0fecdae7639dc528d77583.tar.bz2
trace: expand mem_info:size_shift to 3 bits
This will allow us to trace 16B-long memory accesses. Signed-off-by: Emilio G. Cota <cota@braap.org> Message-id: 1527028012-21888-4-git-send-email-cota@braap.org Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'trace')
-rw-r--r--trace/mem-internal.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/trace/mem-internal.h b/trace/mem-internal.h
index b684e27..a9e408e 100644
--- a/trace/mem-internal.h
+++ b/trace/mem-internal.h
@@ -10,10 +10,10 @@
#ifndef TRACE__MEM_INTERNAL_H
#define TRACE__MEM_INTERNAL_H
-#define TRACE_MEM_SZ_SHIFT_MASK 0x3 /* size shift mask */
-#define TRACE_MEM_SE (1ULL << 2) /* sign extended (y/n) */
-#define TRACE_MEM_BE (1ULL << 3) /* big endian (y/n) */
-#define TRACE_MEM_ST (1ULL << 4) /* store (y/n) */
+#define TRACE_MEM_SZ_SHIFT_MASK 0x7 /* size shift mask */
+#define TRACE_MEM_SE (1ULL << 3) /* sign extended (y/n) */
+#define TRACE_MEM_BE (1ULL << 4) /* big endian (y/n) */
+#define TRACE_MEM_ST (1ULL << 5) /* store (y/n) */
static inline uint8_t trace_mem_build_info(
int size_shift, bool sign_extend, TCGMemOp endianness, bool store)