[PATCH v3 1/3] tools include: Grab copies of arm64 dependent unistd.h files
From: Kim Phillips
Date: Fri Jul 06 2018 - 17:34:42 EST
Will be used for generating the syscall id/string translation table.
Arm64's unistd.h simply #includes the asm-generic/unistd.h, so,
since we will want to know whether either change, we grab both:
arch/arm64/include/uapi/asm/unistd.h
and
include/uapi/asm-generic/unistd.h
Cc: Ravi Bangoria <ravi.bangoria@xxxxxxxxxxxxxxxxxx>
Cc: Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx>
Cc: Hendrik Brueckner <brueckner@xxxxxxxxxxxxxxxxxx>
Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
Cc: Michael Ellerman <mpe@xxxxxxxxxxxxxx>
Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
Cc: Thomas Richter <tmricht@xxxxxxxxxxxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
Signed-off-by: Kim Phillips <kim.phillips@xxxxxxx>
---
Changes in V3:
- none
Changes in V2:
- used git format-patch --find-copies-harder to show identical copies
are being made of the headers, for easier review.
{arch => tools/arch}/arm64/include/uapi/asm/unistd.h | 0
{include => tools/include}/uapi/asm-generic/unistd.h | 0
tools/perf/check-headers.sh | 2 ++
3 files changed, 2 insertions(+)
copy {arch => tools/arch}/arm64/include/uapi/asm/unistd.h (100%)
copy {include => tools/include}/uapi/asm-generic/unistd.h (100%)
diff --git a/arch/arm64/include/uapi/asm/unistd.h b/tools/arch/arm64/include/uapi/asm/unistd.h
similarity index 100%
copy from arch/arm64/include/uapi/asm/unistd.h
copy to tools/arch/arm64/include/uapi/asm/unistd.h
diff --git a/include/uapi/asm-generic/unistd.h b/tools/include/uapi/asm-generic/unistd.h
similarity index 100%
copy from include/uapi/asm-generic/unistd.h
copy to tools/include/uapi/asm-generic/unistd.h
diff --git a/tools/perf/check-headers.sh b/tools/perf/check-headers.sh
index 10f333e2e825..814aaf269949 100755
--- a/tools/perf/check-headers.sh
+++ b/tools/perf/check-headers.sh
@@ -35,6 +35,7 @@ arch/s390/include/uapi/asm/ptrace.h
arch/s390/include/uapi/asm/sie.h
arch/arm/include/uapi/asm/kvm.h
arch/arm64/include/uapi/asm/kvm.h
+arch/arm64/include/uapi/asm/unistd.h
arch/alpha/include/uapi/asm/errno.h
arch/mips/include/asm/errno.h
arch/mips/include/uapi/asm/errno.h
@@ -53,6 +54,7 @@ include/uapi/asm-generic/errno.h
include/uapi/asm-generic/errno-base.h
include/uapi/asm-generic/ioctls.h
include/uapi/asm-generic/mman-common.h
+include/uapi/asm-generic/unistd.h
'
check_2 () {
--
2.17.1