lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tip-73azjhrzpjsskwi129020i2u@git.kernel.org>
Date:   Wed, 24 Jan 2018 03:23:43 -0800
From:   tip-bot for Hendrik Brueckner <tipbot@...or.com>
To:     linux-tip-commits@...r.kernel.org
Cc:     mingo@...nel.org, brueckner@...ux.vnet.ibm.com, tglx@...utronix.de,
        mpetlan@...hat.com, jolsa@...hat.com, tmricht@...ux.vnet.ibm.com,
        hpa@...or.com, acme@...hat.com, linux-kernel@...r.kernel.org
Subject: [tip:perf/core] tools include arch: Grab a copy of errno.h for
 arch's supported by perf

Commit-ID:  95f28190aa012b18eab14799b905b6db3cf31529
Gitweb:     https://git.kernel.org/tip/95f28190aa012b18eab14799b905b6db3cf31529
Author:     Hendrik Brueckner <brueckner@...ux.vnet.ibm.com>
AuthorDate: Fri, 19 Jan 2018 09:56:13 +0100
Committer:  Arnaldo Carvalho de Melo <acme@...hat.com>
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@...ux.vnet.ibm.com>
Reviewed-by: Thomas Richter <tmricht@...ux.vnet.ibm.com>
Cc: Jiri Olsa <jolsa@...hat.com>
Cc: Michael Petlan <mpetlan@...hat.com>
Cc: linux-s390@...r.kernel.org
LPU-Reference: 1516352177-11106-2-git-send-email-brueckner@...ux.vnet.ibm.com
Link: https://lkml.kernel.org/n/tip-73azjhrzpjsskwi129020i2u@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
 {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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ