diff options
author | Hendrik Brueckner <[email protected]> | 2018-01-19 09:56:15 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-01-23 09:51:37 -0300 |
commit | 0337cf74ccf2a43437bff2e23b278e4f2dc4c6e2 (patch) | |
tree | 8dda4b8e36a86d64c562a2698539778812caa5c7 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 28b8f954003e59dbf0b56be6df0d81f83e64f36b (diff) |
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 <[email protected]>
Reviewed-by: Thomas Richter <[email protected]>
Suggested-by: Arnaldo Carvalho de Melo <[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]
[ 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 <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions