linux/tools/perf/util
David Howells d2709c7ce4 perf: Make perf build for x86 with UAPI disintegration applied
Make perf build for x86 once the UAPI disintegration patches for that arch
have been applied by adding the appropriate -I flags - in the right order -
and then converting some #includes that use ../.. notation to find main kernel
headerfiles to use <asm/foo.h> and <linux/foo.h> instead.

Note that -Iarch/foo/include/uapi is present _before_ -Iarch/foo/include.
This makes sure we get the userspace version of the pt_regs struct.  Ideally,
we wouldn't have the latter -I flag at all, but unfortunately we want
asm/svm.h and asm/vmx.h in builtin-kvm.c and these aren't part of the UAPI -
at least not for x86.  I wonder if the bits outside of the __KERNEL__ guards
*should* be transferred there.

I note also that perf seems to do its dependency handling manually by listing
all the header files it might want to use in LIB_H in the Makefile.  Can this
be changed to use -MD?

Note that to do make this work, we need to export and UAPI disintegrate
linux/hw_breakpoint.h, which I think should've been exported previously so that
perf can access the bits.  We have to do this in the same patch to maintain
bisectability.

Signed-off-by: David Howells <dhowells@redhat.com>
2012-11-19 22:21:03 +00:00
..
include perf: Fix UAPI fallout 2012-10-14 12:22:52 -07:00
scripting-engines
abspath.c
alias.c
annotate.c
annotate.h perf tools: Convert to NEWT_SUPPORT 2012-10-02 18:36:22 -03:00
bitmap.c
build-id.c
build-id.h
cache.h perf tools: Convert to HAVE_STRLCPY 2012-10-02 18:36:24 -03:00
callchain.c
callchain.h
cgroup.c
cgroup.h
color.c
color.h
config.c
cpumap.c
cpumap.h
ctype.c
debug.c perf tools: Convert to GTK2_SUPPORT 2012-10-02 18:36:23 -03:00
debug.h perf tools: Convert to GTK2_SUPPORT 2012-10-02 18:36:23 -03:00
debugfs.c
debugfs.h
dso-test-data.c
dwarf-aux.c
dwarf-aux.h
environment.c
event.c
event.h
evlist.c perf evlist: Remove some unused methods 2012-10-03 11:52:07 -03:00
evlist.h perf evlist: Remove some unused methods 2012-10-03 11:52:07 -03:00
evsel.c perf: Make perf build for x86 with UAPI disintegration applied 2012-11-19 22:21:03 +00:00
evsel.h perf: Make perf build for x86 with UAPI disintegration applied 2012-11-19 22:21:03 +00:00
exec_cmd.c
exec_cmd.h
generate-cmdlist.sh
header.c perf header: Fix numa topology printing 2012-10-30 10:32:55 -02:00
header.h perf: Make perf build for x86 with UAPI disintegration applied 2012-11-19 22:21:03 +00:00
help.c
help.h
hist.c perf hists: Add more helpers for hist entry stat 2012-10-04 13:36:18 -03:00
hist.h perf diff: Removing the total_period argument from output code 2012-10-04 13:31:30 -03:00
hweight.c
intlist.c
intlist.h
levenshtein.c
levenshtein.h
map.c
map.h
pager.c
parse-events-test.c perf: Make perf build for x86 with UAPI disintegration applied 2012-11-19 22:21:03 +00:00
parse-events.c perf: Make perf build for x86 with UAPI disintegration applied 2012-11-19 22:21:03 +00:00
parse-events.h perf: Make perf build for x86 with UAPI disintegration applied 2012-11-19 22:21:03 +00:00
parse-events.l
parse-events.y
parse-options.c perf tools: Long option completion support for each subcommands 2012-10-02 18:36:44 -03:00
parse-options.h perf tools: Long option completion support for each subcommands 2012-10-02 18:36:44 -03:00
path.c perf tools: Convert to HAVE_STRLCPY 2012-10-02 18:36:24 -03:00
perf_regs.h perf tools: Convert to LIBUNWIND_SUPPORT 2012-10-02 17:56:01 -03:00
PERF-VERSION-GEN
pmu.c
pmu.h perf: Make perf build for x86 with UAPI disintegration applied 2012-11-19 22:21:03 +00:00
pmu.l
pmu.y
probe-event.c
probe-event.h
probe-finder.c
probe-finder.h
pstack.c
pstack.h
python-ext-sources Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2012-10-01 09:06:36 -07:00
python.c perf python: Properly link with libtraceevent 2012-10-20 02:43:08 +02:00
quote.c
quote.h
rblist.c
rblist.h
run-command.c
run-command.h
session.c
session.h perf: Make perf build for x86 with UAPI disintegration applied 2012-11-19 22:21:03 +00:00
setup.py perf python: Properly link with libtraceevent 2012-10-20 02:43:08 +02:00
sigchain.c
sigchain.h
sort.c perf tools: Remove warnings on JIT samples for srcline sort key 2012-10-16 13:05:38 -03:00
sort.h perf hists: Introduce struct he_stat 2012-10-04 13:34:22 -03:00
stat.c
stat.h
strbuf.c perf tools: Fix strbuf_addf() when the buffer needs to grow 2012-10-30 10:32:56 -02:00
strbuf.h
strfilter.c
strfilter.h
string.c
strlist.c
strlist.h
svghelper.c
svghelper.h
symbol-elf.c
symbol-minimal.c
symbol.c
symbol.h
sysfs.c
sysfs.h
target.c
target.h
thread_map.c
thread_map.h
thread.c perf tools: do not flush maps on COMM for perf report 2012-10-22 13:55:53 -02:00
thread.h
tool.h
top.c
top.h
trace-event-info.c
trace-event-parse.c
trace-event-read.c
trace-event-scripting.c
trace-event.h
types.h
unwind.c
unwind.h perf tools: Convert to LIBUNWIND_SUPPORT 2012-10-02 17:56:01 -03:00
usage.c
util.c perf tools: Convert to BACKTRACE_SUPPORT 2012-10-02 18:36:45 -03:00
util.h
values.c
values.h
vdso.c
vdso.h
wrapper.c
xyarray.c
xyarray.h