Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 88080ce7 authored by Borislav Petkov's avatar Borislav Petkov Committed by Jiri Olsa
Browse files

perf tools: Move u64_swap union



... to its single user's header, evsel.h.

Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/tip-9os1chjyz12upubfsjc71d99@git.kernel.org


Signed-off-by: default avatarJiri Olsa <jolsa@kernel.org>
parent c0bc8c6d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -91,6 +91,11 @@ struct perf_evsel {
	char			*group_name;
};

union u64_swap {
	u64 val64;
	u32 val32[2];
};

#define hists_to_evsel(h) container_of(h, struct perf_evsel, hists)

struct cpu_map;
+0 −5
Original line number Diff line number Diff line
@@ -16,9 +16,4 @@ typedef signed short s16;
typedef unsigned char	   u8;
typedef signed char	   s8;

union u64_swap {
	u64 val64;
	u32 val32[2];
};

#endif /* __PERF_TYPES_H */