Hacker News new | past | comments | ask | show | jobs | submit login

I feel stupid, because I didn't know strace can do this, I did it once with a gdb script:

https://gist.github.com/hadrianw/5b8d33a4b353c49e7dbd6eb55f8...

My learning: RTFM.




Older versions of strace (like in RHEL 7) did not have such an option.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: