[tip:perf/core] tools include arch: Grab a copy of errno.h for arch's supported by perf
From: tip-bot for Hendrik Brueckner
Date: Wed Jan 24 2018 - 06:26:05 EST
Commit-ID: 95f28190aa012b18eab14799b905b6db3cf31529
Gitweb: https://git.kernel.org/tip/95f28190aa012b18eab14799b905b6db3cf31529
Author: Hendrik Brueckner <brueckner@xxxxxxxxxxxxxxxxxx>
AuthorDate: Fri, 19 Jan 2018 09:56:13 +0100
Committer: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
CommitDate: Tue, 23 Jan 2018 09:51:37 -0300
tools include arch: Grab a copy of errno.h for arch's supported by perf
For each arch in tools/perf/arch, grab a copy of errno.h.
This is a pre-req to generate an architecture specific mapping of errno
numbers to their names. This errno mapping can be used by perf trace to
support cross-architecture trace reports and to get rid of the
audit-libs dependency.
Signed-off-by: Hendrik Brueckner <brueckner@xxxxxxxxxxxxxxxxxx>
Reviewed-by: Thomas Richter <tmricht@xxxxxxxxxxxxxxxxxx>
Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
Cc: Michael Petlan <mpetlan@xxxxxxxxxx>
Cc: linux-s390@xxxxxxxxxxxxxxx
LPU-Reference: 1516352177-11106-2-git-send-email-brueckner@xxxxxxxxxxxxxxxxxx
Link: https://lkml.kernel.org/n/tip-73azjhrzpjsskwi129020i2u@xxxxxxxxxxxxxx
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
---
{arch => tools/arch}/alpha/include/uapi/asm/errno.h | 0
{arch => tools/arch}/mips/include/asm/errno.h | 0
{arch => tools/arch}/mips/include/uapi/asm/errno.h | 0
{arch => tools/arch}/parisc/include/uapi/asm/errno.h | 0
{arch => tools/arch}/powerpc/include/uapi/asm/errno.h | 0
{arch => tools/arch}/sparc/include/uapi/asm/errno.h | 0
{arch => tools/arch}/x86/include/uapi/asm/errno.h | 0
tools/perf/check-headers.sh | 7 +++++++
8 files changed, 7 insertions(+)
diff --git a/arch/alpha/include/uapi/asm/errno.h b/tools/arch/alpha/include/uapi/asm/errno.h
similarity index 100%
copy from arch/alpha/include/uapi/asm/errno.h
copy to tools/arch/alpha/include/uapi/asm/errno.h
diff --git a/arch/mips/include/asm/errno.h b/tools/arch/mips/include/asm/errno.h
similarity index 100%
copy from arch/mips/include/asm/errno.h
copy to tools/arch/mips/include/asm/errno.h
diff --git a/arch/mips/include/uapi/asm/errno.h b/tools/arch/mips/include/uapi/asm/errno.h
similarity index 100%
copy from arch/mips/include/uapi/asm/errno.h
copy to tools/arch/mips/include/uapi/asm/errno.h
diff --git a/arch/parisc/include/uapi/asm/errno.h b/tools/arch/parisc/include/uapi/asm/errno.h
similarity index 100%
copy from arch/parisc/include/uapi/asm/errno.h
copy to tools/arch/parisc/include/uapi/asm/errno.h
diff --git a/arch/powerpc/include/uapi/asm/errno.h b/tools/arch/powerpc/include/uapi/asm/errno.h
similarity index 100%
copy from arch/powerpc/include/uapi/asm/errno.h
copy to tools/arch/powerpc/include/uapi/asm/errno.h
diff --git a/arch/sparc/include/uapi/asm/errno.h b/tools/arch/sparc/include/uapi/asm/errno.h
similarity index 100%
copy from arch/sparc/include/uapi/asm/errno.h
copy to tools/arch/sparc/include/uapi/asm/errno.h
diff --git a/arch/x86/include/uapi/asm/errno.h b/tools/arch/x86/include/uapi/asm/errno.h
similarity index 100%
copy from arch/x86/include/uapi/asm/errno.h
copy to tools/arch/x86/include/uapi/asm/errno.h
diff --git a/tools/perf/check-headers.sh b/tools/perf/check-headers.sh
index f81ca50..83a65d3 100755
--- a/tools/perf/check-headers.sh
+++ b/tools/perf/check-headers.sh
@@ -36,6 +36,13 @@ arch/s390/include/uapi/asm/sie.h
arch/s390/include/uapi/asm/unistd.h
arch/arm/include/uapi/asm/kvm.h
arch/arm64/include/uapi/asm/kvm.h
+arch/alpha/include/uapi/asm/errno.h
+arch/mips/include/asm/errno.h
+arch/mips/include/uapi/asm/errno.h
+arch/parisc/include/uapi/asm/errno.h
+arch/powerpc/include/uapi/asm/errno.h
+arch/sparc/include/uapi/asm/errno.h
+arch/x86/include/uapi/asm/errno.h
include/asm-generic/bitops/arch_hweight.h
include/asm-generic/bitops/const_hweight.h
include/asm-generic/bitops/__fls.h