diff options
| author | Jiri Olsa <[email protected]> | 2012-05-16 06:59:04 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-05-22 15:50:25 +0000 |
| commit | 6a11f92ef449bfb87f93e7cc14cb2a717afc7aa3 (patch) | |
| tree | 1be870956fc0f32e4eb45ded9667cf565fc9e695 /tools/perf/builtin-inject.c | |
| parent | perf tools: Carry perf_event_attr bitfield throught different endians (diff) | |
| download | kernel-6a11f92ef449bfb87f93e7cc14cb2a717afc7aa3.tar.gz kernel-6a11f92ef449bfb87f93e7cc14cb2a717afc7aa3.zip | |
perf tools: Add union u64_swap type for swapping u64 data
The following union:
union {
u64 val64;
u32 val32[2];
} u;
is used on more than one place in perf code and will be used more in
upcomming patches.
Adding union u64_swap to have it defined globaly so we dont need to
redefine it all the time.
Signed-off-by: Jiri Olsa <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Tested-by: David Ahern <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-inject.c')
0 files changed, 0 insertions, 0 deletions
