trace: add trace_mem_build_info_no_se_be/le
authorEmilio G. Cota <cota@braap.org>
Tue, 22 May 2018 22:26:51 +0000 (18:26 -0400)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 27 Jun 2018 10:09:24 +0000 (11:09 +0100)
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>
trace/mem-internal.h

index a9e408eb2f068b2485275590fe2bd9ede1b936ee..f6efaf6d6b70e685a9b50d88a2984cabe5729f91 100644 (file)
@@ -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 */