Created
February 6, 2018 01:50
-
-
Save scriptnull/ff2dca78dbb53d72059c85b662c49e85 to your computer and use it in GitHub Desktop.
experimenting strace and rust
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fn main() { | |
| let x = 1; | |
| println!("value of x is {}", x); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| value of x is 1 | |
| % time seconds usecs/call calls errors syscall | |
| ------ ----------- ----------- --------- --------- ---------------- | |
| 0.00 0.000000 0 11 read | |
| 0.00 0.000000 0 1 write | |
| 0.00 0.000000 0 9 open | |
| 0.00 0.000000 0 9 close | |
| 0.00 0.000000 0 7 fstat | |
| 0.00 0.000000 0 21 mmap | |
| 0.00 0.000000 0 11 mprotect | |
| 0.00 0.000000 0 5 munmap | |
| 0.00 0.000000 0 2 brk | |
| 0.00 0.000000 0 5 rt_sigaction | |
| 0.00 0.000000 0 1 rt_sigprocmask | |
| 0.00 0.000000 0 7 7 access | |
| 0.00 0.000000 0 1 execve | |
| 0.00 0.000000 0 1 1 readlink | |
| 0.00 0.000000 0 2 getrlimit | |
| 0.00 0.000000 0 3 sigaltstack | |
| 0.00 0.000000 0 1 arch_prctl | |
| 0.00 0.000000 0 1 sched_getaffinity | |
| 0.00 0.000000 0 1 set_tid_address | |
| 0.00 0.000000 0 1 set_robust_list | |
| ------ ----------- ----------- --------- --------- ---------------- | |
| 100.00 0.000000 100 8 total |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment