[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 4/5] trace: add trace_mem_build_info_no_se_be/le
From: |
Emilio G. Cota |
Subject: |
[Qemu-devel] [PATCH 4/5] trace: add trace_mem_build_info_no_se_be/le |
Date: |
Tue, 22 May 2018 18:26:51 -0400 |
These will be used by the following commit.
Signed-off-by: Emilio G. Cota <address@hidden>
---
trace/mem-internal.h | 12 ++++++++++++
1 file changed, 12 insertions(+)
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 */
--
2.7.4
- [Qemu-devel] [PATCH 0/5] trace-mem fixes, Emilio G. Cota, 2018/05/22
- [Qemu-devel] [PATCH 1/5] trace: fix misreporting of TCG access sizes for user-space, Emilio G. Cota, 2018/05/22
- [Qemu-devel] [PATCH 2/5] trace: simplify trace_mem functions, Emilio G. Cota, 2018/05/22
- [Qemu-devel] [PATCH 3/5] trace: expand mem_info:size_shift to 3 bits, Emilio G. Cota, 2018/05/22
- [Qemu-devel] [PATCH 5/5] trace: enable tracing of TCG atomics, Emilio G. Cota, 2018/05/22
- [Qemu-devel] [PATCH 4/5] trace: add trace_mem_build_info_no_se_be/le,
Emilio G. Cota <=
- Re: [Qemu-devel] [PATCH 0/5] trace-mem fixes, Stefan Hajnoczi, 2018/05/25