Skip to contentSkip to conversation

tools include asm-generic: Grab errno.h and errno-base.h

tip:perf/core tip-bot for Hendrik Brueckner 1 participant 1 message Jan 24, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw
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.

LPU-Reference: [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(+)
tools/include/uapi/asm-generic/errno-base.h renamed from include/uapi/asm-generic/errno-base.h +0 -0
similarity index 100%
copy from include/uapi/asm-generic/errno-base.h
copy to tools/include/uapi/asm-generic/errno-base.h
tools/include/uapi/asm-generic/errno.h renamed from include/uapi/asm-generic/errno.h +0 -0
similarity index 100%
copy from include/uapi/asm-generic/errno.h
copy to tools/include/uapi/asm-generic/errno.h
tools/perf/check-headers.sh +2 -0
index 83a65d3..51abdb0 100755
@@ -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
 '