linux_dsm_epyc7002/tools
Hendrik Brueckner 0337cf74cc perf util: Introduce architecture specific errno/name mapping
Introduce a script that generates a mapping of errno numbers to their
names for each architecture that is supported by perf (i.e.  has a
subdirectory in tools/perf/arch/).

The errno mapping is generated as part of the trace beautifiers and can
be used by including the trace/beauty/arch_errno_names.c file.  Then,
use arch_syscalls__strerrno() to look up an errno value to obtain the
errno name (e.g. ENOENT) for a particular architecture.

Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Reviewed-by: Thomas Richter <tmricht@linux.vnet.ibm.com>
Suggested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: linux-s390@vger.kernel.org
LPU-Reference: 1516352177-11106-4-git-send-email-brueckner@linux.vnet.ibm.com
Link: https://lkml.kernel.org/n/tip-8zlsjnuoep2ww39aq5z41fno@git.kernel.org
[ Make x86 be the first arch, most common, add newline to last line, fixing build on centos:5 ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2018-01-23 09:51:37 -03:00
..
accounting
arch tools include arch: Grab a copy of errno.h for arch's supported by perf 2018-01-23 09:51:37 -03:00
bpf
build
cgroup
firewire
gpio
hv
iio
include tools include asm-generic: Grab errno.h and errno-base.h 2018-01-23 09:51:37 -03:00
kvm/kvm_stat
laptop
leds
lib tools lib traceevent: Fix get_field_str() for dynamic strings 2018-01-17 10:23:21 -03:00
nfsd
objtool
pci
pcmcia
perf perf util: Introduce architecture specific errno/name mapping 2018-01-23 09:51:37 -03:00
power
scripts
spi
testing
thermal/tmon
time
usb
virtio
vm
wmi
Makefile