Commit-ID:  28b8f954003e59dbf0b56be6df0d81f83e64f36b
Gitweb:     https://git.kernel.org/tip/28b8f954003e59dbf0b56be6df0d81f83e64f36b
Author:     Hendrik Brueckner <[email protected]>
AuthorDate: Fri, 19 Jan 2018 09:56:14 +0100
Committer:  Arnaldo Carvalho de Melo <[email protected]>
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 <[email protected]>
Reviewed-by: Thomas Richter <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Michael Petlan <[email protected]>
Cc: [email protected]
LPU-Reference: [email protected]
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
---
 {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
 '

Reply via email to