diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2017-11-28 11:08:41 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-12-18 11:56:13 -0300 |
commit | 10b9baa701d5023897f70a4acb3bf0235da3dc4f (patch) | |
tree | bcfdcb24102fd1a603f4a15495e43bc4218c7d12 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | ca58d7e64bdfc54f7dfe46713c1e2acc68d7522d (diff) |
tools arch s390: Do not include header files from the kernel sources
Long ago we decided to be verbotten including files in the kernel git
sources from tools/ living source code, to avoid disturbing kernel
development (and perf's and other tools/) when, say, a kernel hacker
adds something, tests everything but tools/ and have tools/ build
broken.
This got broken recently by s/390, fix it by copying
arch/s390/include/uapi/asm/perf_regs.h to tools/arch/s390/include/uapi/asm/,
making this one be used by means of <asm/perf_regs.h> and updating
tools/perf/check_headers.sh to make sure we are notified when the
original changes, so that we can check if anything is needed on the
tooling side.
This would have been caught by the 'tarkpg' test entry in:
$ make -C tools/perf build-test
When run on a s/390 build system or container.
Acked-by: Heiko Carstens <[email protected]>
Cc: Hendrik Brueckner <[email protected]>
Cc: Thomas Richter <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Fixes: f704ef44602f ("s390/perf: add support for perf_regs and libdw")
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions