Re: [PATCH 3/7] perf, tool: Add union u64_swap type for swappingu64 data

From: David Ahern
Date: Mon May 21 2012 - 23:29:13 EST


On 5/16/12 12:59 AM, Jiri Olsa wrote:
The following union:
union {
u64 val64;
u32 val32[2];
} u;

is used on more than single places 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<jolsa@xxxxxxxxxx>
---
tools/perf/util/evsel.c | 10 ++--------
tools/perf/util/types.h | 5 +++++
2 files changed, 7 insertions(+), 8 deletions(-)


Reviewed-by and Tested-by: David Ahern <dsahern@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/