diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2016-04-04 13:32:20 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-04-08 09:58:13 -0300 |
commit | fd0db10268b3729eb466fd726a39ce7d800bb150 (patch) | |
tree | 1c677258cc647bf919e4c58e5cb87b0d080b1fef /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | ba2f22cf9989561c08225f0e88078d5562832313 (diff) |
perf trace: Move syscall table id <-> name routines to separate class
We're using libaudit for doing name to id and id to syscall name
translations, but that makes 'perf trace' to have to wait for newer
libaudit versions supporting recently added syscalls, such as
"userfaultfd" at the time of this changeset.
We have all the information right there, in the kernel sources, so move
this code to a separate place, wrapped behind functions that will
progressively use the kernel source files to extract the syscall table
for use in 'perf trace'.
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions