#1405
RFC: stracy: experimental strace-to-tracy converter
This (stracy) is an attempt to leverage Tracy GUI to visualize and gather statistics around strace logs.
Currently, you'd first capture an strace log with:
strace -ttt -T -f [-k] -o strace.log <program>and then convert it to a Tracy file with:
tracy-import-strace strace.log strace.tracyThere's quite a bit that could be explored further:
- have a piped mode to consume
straceoutput fromstdin - have a "relay" mode where messages are wired to the server as it consumes the
straceoutput/file - have a mode for
stracyto run thestracecommand itself (via pipes)
Resolving callstack (-k) symbols is an issue when debug info for system binaries/libs is not be available.
Here's a screenshot zooming around a syscall for reference. Not super exciting, as I have not decided the best course of action regarding extending/merging common callstack frames, and have just been emitting empty-named zones when no symbol is present for the callstack trace:
Activity
2This pull request is a draft
Merging is unavailable until it is marked ready for review.