linux/tools/perf
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
..
arch
bench perf: Add 'perf bench numa mem' NUMA performance measurement suite 2013-01-30 10:35:36 -03:00
config perf tools: Make numa benchmark optional 2013-01-30 10:36:21 -03:00
Documentation perf stat: Add interval printing 2013-01-30 10:36:53 -03:00
python
scripts perf script: Remove workqueue-stats script 2013-01-24 16:40:53 -03:00
tests perf tools, powerpc: Fix compile warnings in tests/attr.c 2013-01-30 10:37:14 -03:00
ui perf ui browser: Free browser->helpline() on ui_browser__hide() 2013-01-25 12:49:29 -03:00
util perf evsel: Fix memory leaks on evsel->counts 2013-01-30 10:37:04 -03:00
.gitignore
bash_completion
builtin-annotate.c
builtin-bench.c perf tools: Make numa benchmark optional 2013-01-30 10:36:21 -03:00
builtin-buildid-cache.c perf buildid-cache: Add option to show build ids that are missing in the cache 2012-12-09 08:46:08 -03:00
builtin-buildid-list.c perf symbols: Generalize filter in __fprintf_buildid methods 2012-12-09 08:46:07 -03:00
builtin-diff.c perf diff: Use internal rb tree for compute resort 2013-01-24 16:40:06 -03:00
builtin-evlist.c perf evsel: Adopt fprintf routine from 'perf evlist' 2012-12-11 17:19:53 -03:00
builtin-help.c
builtin-inject.c
builtin-kmem.c perf kmem: Use memdup() 2013-01-25 12:49:28 -03:00
builtin-kvm.c perf kvm: Initialize file_name var to fix segfault 2013-01-24 16:40:13 -03:00
builtin-list.c
builtin-lock.c
builtin-probe.c
builtin-record.c perf machine: Simplify accessing the host machine 2013-01-24 16:40:13 -03:00
builtin-report.c perf report: Update documentation for sort keys 2013-01-24 16:40:28 -03:00
builtin-sched.c perf session: There is no need for a per session hists instance 2013-01-24 16:40:12 -03:00
builtin-script.c perf script: Don't display trace info when invoking scripts 2013-01-24 16:40:52 -03:00
builtin-stat.c perf evsel: Fix memory leaks on evsel->counts 2013-01-30 10:37:04 -03:00
builtin-timechart.c
builtin-top.c perf tools: Allow passing a list to intlist__new 2013-01-24 16:40:53 -03:00
builtin-trace.c perf evlist: Set the leader in the perf_evlist__config method 2012-12-11 17:19:01 -03:00
builtin.h
command-list.txt
CREDITS
design.txt
Makefile perf tools: Make numa benchmark optional 2013-01-30 10:36:21 -03:00
MANIFEST perf tools: Fix building from 'make perf-*-src-pkg' tarballs 2013-01-10 16:03:26 -03:00
perf-archive.sh
perf.c perf tools: Remove some needless die() calls from the main routine 2013-01-24 16:40:52 -03:00
perf.h perf tools: Move get_term_dimensions from top to util.c 2013-01-24 16:40:34 -03:00