diff options
author | Jiri Olsa <[email protected]> | 2012-05-16 08:59:04 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-05-22 12:50:25 -0300 |
commit | 6a11f92ef449bfb87f93e7cc14cb2a717afc7aa3 (patch) | |
tree | 1be870956fc0f32e4eb45ded9667cf565fc9e695 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | e108c66e2c458f89931189a63a67ad16880d7f51 (diff) |
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/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions