[tip:perf/core] tools include arch: Grab a copy of x86's prctl.h

From: tip-bot for Arnaldo Carvalho de Melo
Date: Thu Dec 20 2018 - 13:26:49 EST


Commit-ID: c22e2683c0cbfb8dcac84529d29386b094cd78cf
Gitweb: https://git.kernel.org/tip/c22e2683c0cbfb8dcac84529d29386b094cd78cf
Author: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
AuthorDate: Mon, 17 Dec 2018 16:15:27 -0300
Committer: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
CommitDate: Tue, 18 Dec 2018 16:15:18 -0300

tools include arch: Grab a copy of x86's prctl.h

We need it to generate the tables for the 'code' arch_prctl's syscall
argument.

Cc: Adrian Hunter <adrian.hunter@xxxxxxxxx>
Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
Cc: Luis ClÃudio GonÃalves <lclaudio@xxxxxxxxxx>
Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
Cc: Wang Nan <wangnan0@xxxxxxxxxx>
Link: https://lkml.kernel.org/n/tip-vu890pi18fpd4eyz61cazckj@xxxxxxxxxxxxxx
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
---
{arch => tools/arch}/x86/include/uapi/asm/prctl.h | 0
tools/perf/check-headers.sh | 1 +
2 files changed, 1 insertion(+)

diff --git a/arch/x86/include/uapi/asm/prctl.h b/tools/arch/x86/include/uapi/asm/prctl.h
similarity index 100%
copy from arch/x86/include/uapi/asm/prctl.h
copy to tools/arch/x86/include/uapi/asm/prctl.h
diff --git a/tools/perf/check-headers.sh b/tools/perf/check-headers.sh
index 9531f7bd7d9b..10d97dc632da 100755
--- a/tools/perf/check-headers.sh
+++ b/tools/perf/check-headers.sh
@@ -21,6 +21,7 @@ include/uapi/linux/hw_breakpoint.h
arch/x86/include/asm/disabled-features.h
arch/x86/include/asm/required-features.h
arch/x86/include/asm/cpufeatures.h
+arch/x86/include/uapi/asm/prctl.h
arch/arm/include/uapi/asm/perf_regs.h
arch/arm64/include/uapi/asm/perf_regs.h
arch/powerpc/include/uapi/asm/perf_regs.h