alistair23-linux/tools/perf/tests
Sukadev Bhattiprolu e3541ec752 perf tools, powerpc: Fix compile warnings in tests/attr.c
We print several '__u64' quantities using '%llu'. On powerpc, we by
default include '<asm-generic/int-l64.h> which results in __u64 being an
unsigned long. This causes compile warnings which are treated as errors
due to '-Werror'.

By defining __SANE_USERSPACE_TYPES__ we include <asm-generic/int-ll64.h>
and define __u64 as unsigned long long.

Changelog[v2]:
	[Michael Ellerman] Use __SANE_USERSPACE_TYPES__ and avoid PRIu64
	format specifier - which as Jiri Olsa pointed out, breaks on x86-64.

Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Cc: Anton Blanchard <anton@au1.ibm.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Michael Ellerman <ellerman@au1.ibm.com>
Cc: linuxppc-dev@ozlabs.org
Link: http://lkml.kernel.org/r/20130124054439.GA31588@us.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2013-01-30 10:37:14 -03:00
..
attr perf test: Remove leftover temp file left by one of the attr tests 2013-01-24 16:40:07 -03:00
attr.c perf tools, powerpc: Fix compile warnings in tests/attr.c 2013-01-30 10:37:14 -03:00
attr.py perf tests: Adjust some message log levels to help diagnosing problems in attr tests 2013-01-24 16:40:08 -03:00
builtin-test.c perf test: Allow skipping tests 2013-01-24 16:40:53 -03:00
dso-data.c perf tests: Check for mkstemp return value in dso-data test 2012-11-14 16:50:30 -03:00
evsel-roundtrip-name.c perf tools: Remove unused 'unset' parameter from parse_events 2013-01-24 16:40:40 -03:00
evsel-tp-sched.c perf tests: Move perf_evsel__tp_sched_test into separate object 2012-11-14 16:50:02 -03:00
hists_link.c perf tools: Remove unused 'unset' parameter from parse_events 2013-01-24 16:40:40 -03:00
mmap-basic.c perf evsel: Introduce method to request IDs be used 2012-12-10 15:21:30 -03:00
open-syscall-all-cpus.c perf evsel: Fix memory leaks on evsel->counts 2013-01-30 10:37:04 -03:00
open-syscall-tp-fields.c perf tools: Fix attributes for '{}' defined event groups 2012-11-14 16:51:50 -03:00
open-syscall.c perf test: Use perf_evsel__newtp constructor in the tracepoint tests 2012-12-10 15:11:43 -03:00
parse-events.c perf tools: Fix usage of __ in event parsing struct names 2013-01-24 16:40:51 -03:00
perf-record.c perf tests: Fix leaks on PERF_RECORD_* test 2013-01-30 10:35:02 -03:00
pmu.c perf tests: Use ARRAY_SIZE() were applicable 2013-01-24 16:40:51 -03:00
python-use.c perf tests: Check python path on attr and binding test 2013-01-24 16:40:10 -03:00
rdpmc.c perf tests: Move test__rdpmc into separate object 2012-11-14 16:49:50 -03:00
tests.h perf tests: Add return states enum for tests 2013-01-24 16:40:14 -03:00
vmlinux-kallsyms.c perf tests: Call machine__exit in the vmlinux matches kallsyms test 2013-01-25 12:49:29 -03:00