Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
bork@kiwi~/w/erlang-is-weird> bash list_system_calls.sh c.strace
1 arch_prctl
1 brk
1 execve
1 exit_group
1 munmap
1 read
1 write
2 close
3 access
3 fstat
4 mprotect
4 stat
6 open
9 mmap
bork@kiwi~/w/erlang-is-weird> bash list_system_calls.sh erlang.strace
1 bind
1 getsockname
1 kill
1 setsid
1 set_tid_address
1 statfs
1 vfork
2 connect
2 geteuid
2 getppid
2 getrlimit
2 lseek
2 writev
3 getpid
3 getsockopt
3 rt_sigreturn
3 sched_getaffinity
3 setsockopt
3 socket
4 ioctl
4 select
4 sigaltstack
4 wait4
5 exit_group
6 uname
7 arch_prctl
7 dup2
7 execve
9 pipe
10 _exit
10 madvise
13 openat
18 prctl
19 set_robust_list
23 clone
24 readlink
26 brk
26 getdents
27 fcntl
41 fstat
43 rt_sigprocmask
48 munmap
58 getcwd
76 mprotect
88 rt_sigaction
122 write
184 open
188 mmap
262 access
267 lstat
277 read
354 ppoll
387 stat
1203 close
1597 sched_yield
3754 futex
bork@kiwi~/w/erlang-is-weird> bash list_system_calls.sh python.strace
1 arch_prctl
1 execve
1 exit_group
1 futex
1 getcwd
1 getegid
1 geteuid
1 getgid
1 getrlimit
1 getuid
1 rt_sigprocmask
1 set_robust_list
1 set_tid_address
1 write
3 openat
4 readlink
5 ioctl
6 getdents
9 brk
9 lstat
11 access
20 mprotect
53 munmap
68 rt_sigaction
88 mmap
91 close
144 fstat
186 read
208 stat
217 lseek
414 open
bash list_system_calls.sh java.strace
1 arch_prctl
1 execve
1 exit_group
1 ftruncate
1 getcwd
1 getegid
1 getgid
1 mkdir
1 setrlimit
1 set_tid_address
1 uname
1 unlink
2 clock_getres
2 connect
2 geteuid
2 getuid
2 readlink
2 sched_yield
2 socket
3 brk
3 getrlimit
4 _exit
4 madvise
5 openat
6 fcntl
6 getdents
11 write
12 access
13 clone
14 gettid
14 set_robust_list
25 rt_sigaction
28 sched_getaffinity
33 munmap
40 fstat
44 close
46 stat
47 rt_sigprocmask
58 lstat
64 open
127 futex
128 mprotect
148 mmap
784 lseek
823 read
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment