Show HN: A simple, pretty alternative to strace written in Rust
1–10 of 10 posts
Re: Show HN: A simple, pretty alternative to strace written in Rust
#2I’d be happy to receive some feedback : )
Re: Show HN: A simple, pretty alternative to strace written in Rust
#3Re: Show HN: A simple, pretty alternative to strace written in Rust
#4Cool project, I really like the new structured output - that will make parsing stuff much easier than with strace! Is the performance overhead of tracing the syscalls comparable to strace?
Re: Show HN: A simple, pretty alternative to strace written in Rust
#5What prompted you to invest your time in this project vs the others that you were probably considering?
Re: Show HN: A simple, pretty alternative to strace written in Rust
#6Cool project, I really like the new structured output - that will make parsing stuff much easier than with strace! Is the performance overhead of tracing the syscalls comparable to strace?
Thanks for your feedback :D! I have actually never tested the performance compared to strace. I just used `time` to try to get a rough estimate and the two were basically taking the same time for the tasks I threw at them. I certainly think that there is _some_ overhead. Either in my _not fully optimized_ implementation or in the libc wrappers the *nix crate provides. Probably the former ;).
Re: Show HN: A simple, pretty alternative to strace written in Rust
#7It's been interesting watching you build this on Twitter. What prompted you to invest your time in this project vs the others that you were probably considering?
Re: Show HN: A simple, pretty alternative to strace written in Rust
#8afaics the wall clock time of the call is not implemented. This is effectively useless to me without that.
The second -ff is critical for following busy multiprocess stuff like a JVM.
If you aren't resolving every known struct then -x and -xx can be useful.
The FD resolution provided by -yy is not critical but can be a real time saver.
The flags I use most often are -ffttTyy -o -s
Re: Show HN: A simple, pretty alternative to strace written in Rust
#9Heavy professional strace user here. afaics the wall clock time of the call is not implemented. This is effectively useless to me without that. The second -ff is critical for following busy multiprocess stuff like a JVM. If you aren't resolving every known struct then -x and -xx can be useful. The FD resolution provided by -yy is not critical but can be a real time saver. The flags I use most often are -ffttTyy -o -s