Re: [PATCH] perf: Fix compile warnings in tests/attr.c

2013-01-23 Thread Michael Ellerman
On Wed, 2013-01-23 at 10:57 -0800, Sukadev Bhattiprolu wrote: > Michael Ellerman [mich...@ellerman.id.au] wrote: > | > | make: *** [tests/attr.o] Error 1 > | > | > | > | i386 compiles fine > | > > | > __u64 is 'unsigned long long' on x86 and PRIu64 is 'llu' which is fine. > | > > | > __u64 is 'u

Re: [PATCH] perf: Fix compile warnings in tests/attr.c

2013-01-23 Thread Sukadev Bhattiprolu
Michael Ellerman [mich...@ellerman.id.au] wrote: | > | make: *** [tests/attr.o] Error 1 | > | | > | i386 compiles fine | > | > __u64 is 'unsigned long long' on x86 and PRIu64 is 'llu' which is fine. | > | > __u64 is 'unsigned long' on Power and PRIu64 is 'lu' which is again fine. | > | > But __

Re: [PATCH] perf: Fix compile warnings in tests/attr.c

2013-01-22 Thread Michael Ellerman
u > | > Date: Fri, 18 Jan 2013 11:14:28 -0800 > | > Subject: [PATCH] perf: Fix compile warnings in tests/attr.c > | > > | > Replace '%llu' in printf()s with 'PRIu64' in 'tools/perf/tests/attr.c' > | > to fix compile warnings (which bec

Re: [PATCH] perf: Fix compile warnings in tests/attr.c

2013-01-22 Thread Jiri Olsa
On Mon, Jan 21, 2013 at 01:38:23PM -0800, Sukadev Bhattiprolu wrote: > Jiri Olsa [jo...@redhat.com] wrote: > | On Fri, Jan 18, 2013 at 05:30:52PM -0800, Sukadev Bhattiprolu wrote: SNIP > __u64 is 'unsigned long long' on x86 and PRIu64 is 'llu' which is fine. > > __u64 is 'unsigned long' on Power

Re: [PATCH] perf: Fix compile warnings in tests/attr.c

2013-01-21 Thread Sukadev Bhattiprolu
Jiri Olsa [jo...@redhat.com] wrote: | On Fri, Jan 18, 2013 at 05:30:52PM -0800, Sukadev Bhattiprolu wrote: | > From 4d266e5040c33103f5d226b0d16b89f8ef79e3ad Mon Sep 17 00:00:00 2001 | > From: Sukadev Bhattiprolu | > Date: Fri, 18 Jan 2013 11:14:28 -0800 | > Subject: [PATCH] perf:

Re: [PATCH] perf: Fix compile warnings in tests/attr.c

2013-01-21 Thread Jiri Olsa
On Fri, Jan 18, 2013 at 05:30:52PM -0800, Sukadev Bhattiprolu wrote: > From 4d266e5040c33103f5d226b0d16b89f8ef79e3ad Mon Sep 17 00:00:00 2001 > From: Sukadev Bhattiprolu > Date: Fri, 18 Jan 2013 11:14:28 -0800 > Subject: [PATCH] perf: Fix compile warnings in tests/attr.c > >

[PATCH] perf: Fix compile warnings in tests/attr.c

2013-01-18 Thread Sukadev Bhattiprolu
>From 4d266e5040c33103f5d226b0d16b89f8ef79e3ad Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu Date: Fri, 18 Jan 2013 11:14:28 -0800 Subject: [PATCH] perf: Fix compile warnings in tests/attr.c Replace '%llu' in printf()s with 'PRIu64' in 'tools/perf/tests/att