diff options
author | Hendrik Brueckner <[email protected]> | 2018-01-19 09:56:16 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-01-23 09:51:38 -0300 |
commit | 092bd3cd7169085b09e4a5307de95e461d0581d7 (patch) | |
tree | ee98a0db4b73cec406d5ef4f127cd5b55731f088 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 0337cf74ccf2a43437bff2e23b278e4f2dc4c6e2 (diff) |
perf trace: Obtain errno strings by using arch_syscalls__strerrno()
Replace the errno_to_name() from the audit-libs with the newly
introduced arch_syscalls__strerrno() function.
With this change:
1. With replacing errno_to_name() from audit-libs, perf trace
does no longer require audit-lib interfaces.
2. In addition to 1, the audit-libs dependency can be removed
for architectures that support syscall tables in perf.
This is achieved in a follow-up commit.
3. With the architecture specific errno number/name mapping,
perf trace reports can work across architectures.
Signed-off-by: Hendrik Brueckner <[email protected]>
Reviewed-by: Thomas Richter <[email protected]>
Tested-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]
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