aboutsummaryrefslogtreecommitdiff
path: root/trace/mem-internal.h
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2018-05-22 18:26:51 -0400
committerStefan Hajnoczi <stefanha@redhat.com>2018-06-27 11:09:24 +0100
commitf9b47999afbf84ddbe7e5649a82f477bb77e3b38 (patch)
tree1872c0a56f63097dc56fedd07837dfaa1463c2b0 /trace/mem-internal.h
parent706485d2e2b1e1770d0fecdae7639dc528d77583 (diff)
downloadqemu-f9b47999afbf84ddbe7e5649a82f477bb77e3b38.zip
qemu-f9b47999afbf84ddbe7e5649a82f477bb77e3b38.tar.gz
qemu-f9b47999afbf84ddbe7e5649a82f477bb77e3b38.tar.bz2
trace: add trace_mem_build_info_no_se_be/le
These will be used by the following commit. Signed-off-by: Emilio G. Cota <cota@braap.org> Message-id: 1527028012-21888-5-git-send-email-cota@braap.org Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'trace/mem-internal.h')
-rw-r--r--trace/mem-internal.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/trace/mem-internal.h b/trace/mem-internal.h
index a9e408e..f6efaf6 100644
--- a/trace/mem-internal.h
+++ b/trace/mem-internal.h
@@ -39,4 +39,16 @@ static inline uint8_t trace_mem_get_info(TCGMemOp op, bool store)
op & MO_BSWAP, store);
}
+static inline
+uint8_t trace_mem_build_info_no_se_be(int size_shift, bool store)
+{
+ return trace_mem_build_info(size_shift, false, MO_BE, store);
+}
+
+static inline
+uint8_t trace_mem_build_info_no_se_le(int size_shift, bool store)
+{
+ return trace_mem_build_info(size_shift, false, MO_LE, store);
+}
+
#endif /* TRACE__MEM_INTERNAL_H */