View defs.h.diff
1 2 3 4 5 6 7 8 9 10
diff --git a/defs.h b/defs.h
index 1a3b483..3f4c36c 100644
--- a/defs.h
+++ b/defs.h
@@ -559,6 +559,7 @@ extern cflag_t cflag;
extern bool debug_flag;
extern bool Tflag;
extern bool iflag;
+extern bool jflag;
extern bool count_wallclock;
View json-support.patch
1 2 3 4 5 6 7 8 9 10
diff --git a/defs.h b/defs.h
index 1a3b483..3f4c36c 100644
--- a/defs.h
+++ b/defs.h
@@ -559,6 +559,7 @@ extern cflag_t cflag;
extern bool debug_flag;
extern bool Tflag;
extern bool iflag;
+extern bool jflag;
extern bool count_wallclock;
View clone .json
1 2 3 4 5
{"type": "syscall", "name": "execve", "args": ["./clone", ["./clone"], ["XDG_SESSION_ID=7", "TERM=xterm", "SHELL=/bin/bash", "SSH_CLIENT=192.168.146.1 48542 2", "SSH_TTY=/dev/pts/1", "USER=zym", "LS_COLORS=rs=0:di=01;34:ln=01;36", "MAIL=/var/mail/zym", "PATH=/usr/local/sbin:/usr/local/", "PWD=/home/zym/GSOC/strace_GSOC/t", "LANG=en_US.UTF-8", "SHLVL=1", "HOME=/home/zym", "LANGUAGE=en_US:", "LOGNAME=zym", "SSH_CONNECTION=192.168.146.1 485", "LESSOPEN=| /usr/bin/lesspipe %s", "XDG_RUNTIME_DIR=/run/user/1000", "LESSCLOSE=/usr/bin/lesspipe %s %", "OLDPWD=/home/zym/GSOC/strace_GSO", "_=../strace"]], "ret": 0}
{"type": "syscall", "name": "brk", "args": [0], "ret": 26312704}
{"type": "syscall", "name": "access", "args": ["/etc/ld.so.nohwcap", "F_OK"], "ret": -1, "error": "ENOENT", "strerror": "No such file or directory"}
{"type": "syscall", "name": "mmap", "args": [null, 8192, ["PROT_READ","PROT_WRITE"], "MAP_PRIVATE", "MAP_ANONYMOUS", -1, 0], "ret": 140407451705344}
{"type": "syscall", "name": "access", "args": ["/
View sig.json
1 2 3 4 5
{"type": "syscall", "name": "execve", "args": ["./sig", ["./sig"], ["XDG_SESSION_ID=7", "TERM=xterm", "SHELL=/bin/bash", "SSH_CLIENT=192.168.146.1 48542 2", "SSH_TTY=/dev/pts/1", "USER=zym", "LS_COLORS=rs=0:di=01;34:ln=01;36", "MAIL=/var/mail/zym", "PATH=/usr/local/sbin:/usr/local/", "PWD=/home/zym/GSOC/strace_GSOC/t", "LANG=en_US.UTF-8", "SHLVL=1", "HOME=/home/zym", "LANGUAGE=en_US:", "LOGNAME=zym", "SSH_CONNECTION=192.168.146.1 485", "LESSOPEN=| /usr/bin/lesspipe %s", "XDG_RUNTIME_DIR=/run/user/1000", "LESSCLOSE=/usr/bin/lesspipe %s %", "OLDPWD=/home/zym/GSOC/strace_GSO", "_=../strace"]], "ret": 0}
{"type": "syscall", "name": "brk", "args": [0], "ret": 24158208}
{"type": "syscall", "name": "access", "args": ["/etc/ld.so.nohwcap", "F_OK"], "ret": -1, "error": "ENOENT", "strerror": "No such file or directory"}
{"type": "syscall", "name": "mmap", "args": [null, 8192, ["PROT_READ","PROT_WRITE"], "MAP_PRIVATE", "MAP_ANONYMOUS", -1, 0], "ret": 140641322598400}
{"type": "syscall", "name": "access", "args": ["/etc/
View mtd.json
1 2 3 4 5
{"type": "syscall", "name": "execve", "args": ["./mtd", ["./mtd"], ["XDG_SESSION_ID=7", "TERM=xterm", "SHELL=/bin/bash", "SSH_CLIENT=192.168.146.1 48542 2", "SSH_TTY=/dev/pts/1", "USER=zym", "LS_COLORS=rs=0:di=01;34:ln=01;36", "MAIL=/var/mail/zym", "PATH=/usr/local/sbin:/usr/local/", "PWD=/home/zym/GSOC/strace_GSOC/t", "LANG=en_US.UTF-8", "SHLVL=1", "HOME=/home/zym", "LANGUAGE=en_US:", "LOGNAME=zym", "SSH_CONNECTION=192.168.146.1 485", "LESSOPEN=| /usr/bin/lesspipe %s", "XDG_RUNTIME_DIR=/run/user/1000", "LESSCLOSE=/usr/bin/lesspipe %s %", "OLDPWD=/home/zym/GSOC/strace_GSO", "_=../strace"]], "ret": 0}
{"type": "syscall", "name": "brk", "args": [0], "ret": 12853248}
{"type": "syscall", "name": "access", "args": ["/etc/ld.so.nohwcap", "F_OK"], "ret": -1, "error": "ENOENT", "strerror": "No such file or directory"}
{"type": "syscall", "name": "mmap", "args": [null, 8192, ["PROT_READ","PROT_WRITE"], "MAP_PRIVATE", "MAP_ANONYMOUS", -1, 0], "ret": 139733524750336}
{"type": "syscall", "name": "access", "args": ["/etc/
View childthread .json
1 2 3 4 5
{"type": "syscall", "name": "execve", "args": ["./childthread", ["./childthread"], ["XDG_SESSION_ID=7", "TERM=xterm", "SHELL=/bin/bash", "SSH_CLIENT=192.168.146.1 48542 2", "SSH_TTY=/dev/pts/1", "USER=zym", "LS_COLORS=rs=0:di=01;34:ln=01;36", "MAIL=/var/mail/zym", "PATH=/usr/local/sbin:/usr/local/", "PWD=/home/zym/GSOC/strace_GSOC/t", "LANG=en_US.UTF-8", "SHLVL=1", "HOME=/home/zym", "LANGUAGE=en_US:", "LOGNAME=zym", "SSH_CONNECTION=192.168.146.1 485", "LESSOPEN=| /usr/bin/lesspipe %s", "XDG_RUNTIME_DIR=/run/user/1000", "LESSCLOSE=/usr/bin/lesspipe %s %", "OLDPWD=/home/zym/GSOC/strace_GSO", "_=../strace"]], "ret": 0}
{"type": "syscall", "name": "brk", "args": [0], "ret": 11579392}
{"type": "syscall", "name": "access", "args": ["/etc/ld.so.nohwcap", "F_OK"], "ret": -1, "error": "ENOENT", "strerror": "No such file or directory"}
{"type": "syscall", "name": "mmap", "args": [null, 8192, ["PROT_READ","PROT_WRITE"], "MAP_PRIVATE", "MAP_ANONYMOUS", -1, 0], "ret": 140305716740096}
{"type": "syscall", "name": "access",
View select.json
1 2 3 4 5
{"type": "syscall", "name": "execve", "args": ["./select", ["./select"], ["XDG_SESSION_ID=7", "TERM=xterm", "SHELL=/bin/bash", "SSH_CLIENT=192.168.146.1 48542 2", "SSH_TTY=/dev/pts/1", "USER=zym", "LS_COLORS=rs=0:di=01;34:ln=01;36", "MAIL=/var/mail/zym", "PATH=/usr/local/sbin:/usr/local/", "PWD=/home/zym/GSOC/strace_GSOC/t", "LANG=en_US.UTF-8", "SHLVL=1", "HOME=/home/zym", "LANGUAGE=en_US:", "LOGNAME=zym", "SSH_CONNECTION=192.168.146.1 485", "LESSOPEN=| /usr/bin/lesspipe %s", "XDG_RUNTIME_DIR=/run/user/1000", "LESSCLOSE=/usr/bin/lesspipe %s %", "OLDPWD=/home/zym/GSOC/strace_GSO", "_=../strace"]], "ret": 0}
{"type": "syscall", "name": "brk", "args": [0], "ret": 36253696}
{"type": "syscall", "name": "access", "args": ["/etc/ld.so.nohwcap", "F_OK"], "ret": -1, "error": "ENOENT", "strerror": "No such file or directory"}
{"type": "syscall", "name": "mmap", "args": [null, 8192, ["PROT_READ","PROT_WRITE"], "MAP_PRIVATE", "MAP_ANONYMOUS", -1, 0], "ret": 139722997723136}
{"type": "syscall", "name": "access", "args": [
View json_test.json
1 2 3 4 5
{"type": "syscall", "name": "execve", "args": ["./json_test", ["./json_test"], ["XDG_SESSION_ID=7", "TERM=xterm", "SHELL=/bin/bash", "SSH_CLIENT=192.168.146.1 48542 2", "SSH_TTY=/dev/pts/1", "USER=zym", "LS_COLORS=rs=0:di=01;34:ln=01;36", "MAIL=/var/mail/zym", "PATH=/usr/local/sbin:/usr/local/", "PWD=/home/zym/GSOC/strace_GSOC/t", "LANG=en_US.UTF-8", "SHLVL=1", "HOME=/home/zym", "LANGUAGE=en_US:", "LOGNAME=zym", "SSH_CONNECTION=192.168.146.1 485", "LESSOPEN=| /usr/bin/lesspipe %s", "XDG_RUNTIME_DIR=/run/user/1000", "LESSCLOSE=/usr/bin/lesspipe %s %", "OLDPWD=/home/zym/GSOC/strace_GSO", "_=../strace"]], "ret": 0}
{"type": "syscall", "name": "brk", "args": [0], "ret": 29638656}
{"type": "syscall", "name": "access", "args": ["/etc/ld.so.nohwcap", "F_OK"], "ret": -1, "error": "ENOENT", "strerror": "No such file or directory"}
{"type": "syscall", "name": "mmap", "args": [null, 8192, ["PROT_READ","PROT_WRITE"], "MAP_PRIVATE", "MAP_ANONYMOUS", -1, 0], "ret": 139797794459648}
{"type": "syscall", "name": "access", "ar
Something went wrong with that request. Please try again.