[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180706163434.1b64ffbcc0284fb79982f53b@arm.com>
Date: Fri, 6 Jul 2018 16:34:34 -0500
From: Kim Phillips <kim.phillips@....com>
To: Arnaldo Carvalho de Melo <acme@...hat.com>
Cc: Ravi Bangoria <ravi.bangoria@...ux.vnet.ibm.com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Hendrik Brueckner <brueckner@...ux.vnet.ibm.com>,
Jiri Olsa <jolsa@...hat.com>,
Michael Ellerman <mpe@...erman.id.au>,
Namhyung Kim <namhyung@...nel.org>,
Thomas Richter <tmricht@...ux.vnet.ibm.com>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>, linux-kernel@...r.kernel.org
Subject: [PATCH v3 1/3] tools include: Grab copies of arm64 dependent
unistd.h files
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@...ux.vnet.ibm.com>
Cc: Alexander Shishkin <alexander.shishkin@...ux.intel.com>
Cc: Hendrik Brueckner <brueckner@...ux.vnet.ibm.com>
Cc: Jiri Olsa <jolsa@...hat.com>
Cc: Michael Ellerman <mpe@...erman.id.au>
Cc: Namhyung Kim <namhyung@...nel.org>
Cc: Thomas Richter <tmricht@...ux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Ingo Molnar <mingo@...hat.com>
Cc: Arnaldo Carvalho de Melo <acme@...hat.com>
Signed-off-by: Kim Phillips <kim.phillips@....com>
---
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
Powered by blists - more mailing lists