aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/types.h')
-rw-r--r--tools/perf/util/types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/perf/util/types.h b/tools/perf/util/types.h
index 5f3689a3d085..c51fa6b70a28 100644
--- a/tools/perf/util/types.h
+++ b/tools/perf/util/types.h
@@ -16,4 +16,9 @@ typedef signed short s16;
typedef unsigned char u8;
typedef signed char s8;
+union u64_swap {
+ u64 val64;
+ u32 val32[2];
+};
+
#endif /* __PERF_TYPES_H */