alistair23-linux/tools
Josh Poimboeuf 00a263902a perf intel-pt: Use shared x86 insn decoder
Now that there's a common version of the decoder for all tools, use it
instead of the local copy.

Also use perf's check-headers.sh script to diff the decoder files to
make sure they remain in sync with the kernel version.  Objtool has a
similar check.

Committer notes:

Had to keep this all pointing explicitely to x86 headers/files, i.e.
instead of asm/isnn.h we had to use ../include/asm/insn.h when the files
were in differemt dirs, or just replace "<asm/foo.h>" with "foo.h".

This way we continue to be able to process perf.data files with Intel PT
traces in distros other than x86.

Also fixed up the awk script paths to use $(srcdir)/tools/arch instead
or relative directories so that we keep detached tarballs (make help |
grep perf) working.

For now the include lines in these headers are being ignored so as not
to flag false reports of kernel/tools out of sync.

Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: x86@kernel.org
Link: http://lore.kernel.org/lkml/8a37e615d2880f039505d693d1e068a009358a2b.1567118001.git.jpoimboe@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2019-08-31 22:27:52 -03:00
..
accounting
arch perf intel-pt: Use shared x86 insn decoder 2019-08-31 22:27:52 -03:00
bpf tools: bpftool: add error message on pin failure 2019-08-09 17:38:53 +02:00
build tools build: Add capability-related feature detection 2019-08-12 17:14:14 -03:00
cgroup
crypto
debugging
firewire
firmware Driver Core and debugfs changes for 5.3-rc1 2019-07-12 12:24:03 -07:00
gpio
hv Tools: hv: kvp: eliminate 'may be used uninitialized' warning 2019-08-20 11:29:53 -04:00
iio
include Linux 5.3-rc6 2019-08-26 11:59:57 +02:00
io_uring
kvm/kvm_stat
laptop
leds
lib libtraceevent: Change users plugin directory 2019-08-31 22:19:28 -03:00
memory-model
nfsd
objtool objtool: Move x86 insn decoder to a common location 2019-08-31 22:27:52 -03:00
pci pci-v5.3-changes 2019-07-15 20:44:49 -07:00
pcmcia
perf perf intel-pt: Use shared x86 insn decoder 2019-08-31 22:27:52 -03:00
power kbuild: create *.mod with full directory path and remove MODVERDIR 2019-07-18 02:19:31 +09:00
scripts perf build: Do not use -Wshadow on gcc < 4.8 2019-07-23 09:04:54 -03:00
spi
testing * A couple bugfixes, and mostly selftests changes. 2019-08-21 11:48:38 -07:00
thermal/tmon
time
usb
virtio
vm tools/vm/slabinfo: add sorting info to help menu 2019-07-12 11:05:46 -07:00
wmi
Makefile tools: Keep list of tools in alphabetical order 2019-08-14 10:59:59 -03:00