[tip:perf/core] tools include asm-generic: Grab errno.h and errno-base.h

From: tip-bot for Hendrik Brueckner
Date: Wed Jan 24 2018 - 06:25:50 EST


Commit-ID: 28b8f954003e59dbf0b56be6df0d81f83e64f36b
Gitweb: https://git.kernel.org/tip/28b8f954003e59dbf0b56be6df0d81f83e64f36b
Author: Hendrik Brueckner <brueckner@xxxxxxxxxxxxxxxxxx>
AuthorDate: Fri, 19 Jan 2018 09:56:14 +0100
Committer: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
CommitDate: Tue, 23 Jan 2018 09:51:37 -0300

tools include asm-generic: Grab errno.h and errno-base.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-3-git-send-email-brueckner@xxxxxxxxxxxxxxxxxx
Link: https://lkml.kernel.org/n/tip-q13ystrw4sjz4wyvd3654cnm@xxxxxxxxxxxxxx
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
---
{include => tools/include}/uapi/asm-generic/errno-base.h | 0
{include => tools/include}/uapi/asm-generic/errno.h | 0
tools/perf/check-headers.sh | 2 ++
3 files changed, 2 insertions(+)

diff --git a/include/uapi/asm-generic/errno-base.h b/tools/include/uapi/asm-generic/errno-base.h
similarity index 100%
copy from include/uapi/asm-generic/errno-base.h
copy to tools/include/uapi/asm-generic/errno-base.h
diff --git a/include/uapi/asm-generic/errno.h b/tools/include/uapi/asm-generic/errno.h
similarity index 100%
copy from include/uapi/asm-generic/errno.h
copy to tools/include/uapi/asm-generic/errno.h
diff --git a/tools/perf/check-headers.sh b/tools/perf/check-headers.sh
index 83a65d3..51abdb0 100755
--- a/tools/perf/check-headers.sh
+++ b/tools/perf/check-headers.sh
@@ -49,6 +49,8 @@ include/asm-generic/bitops/__fls.h
include/asm-generic/bitops/fls.h
include/asm-generic/bitops/fls64.h
include/linux/coresight-pmu.h
+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
'