What arch? Try
x86 , but looking for portable solution.
http://lxr.free-electrons.com/source/arch/x86/syscalls/syscall_64.tbl
For my arch this is helpful.
Thank you
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
Found something easier:
syscallent.sh ( similar to used by strace )
-
cat ${1+$@} |
sed -n 's/^#[ ]*define[ ][ ]*SYS_\([^ ]*\)[
]*[^0-9]*\([0-9]*\).*$/\1 \2/p
s/^#[ ]*define[ ][ ]*__NR_\([^ ]*\)[
Hi all
I am looking for an efficient way to convert syscall number to syscall
name. I can get syscall number by enabling profiling using
perf_event_open(), but cant find way to convert it to actual syscall
name.
Thanks
--sahil
___
Kernelnewbies