Re:Logging all C++ destructors, poor mans run-time tracing
by rerdavies on Saturday September 21, 2024 @09:53PM
(#41614063)
Alas, not for Linux. I've been using the unloved and mostly abandoned (and mostly awful) google perf tools on Linux. :-(
[ Parent
| on HN ]
Re:Logging all C++ destructors, poor mans run-time tracing
by jchw on Saturday September 21, 2024 @11:18PM
(#41614386)
Hmm? I haven't used Tracy yet but the demo trace they show at the URL linked on GitHub[1] sure looks like a trace from an application running on Linux. The documentation[2] also seems to reference what you need to run it on Linux, and the NixOS derivation[3] also suggests it runs on at least Linux and macOS, and I was able to run several of the binaries including the UI and capture binary. I still hesitate to doubt you on this because I haven't figured out how one is supposed to actually use it but it surely seems to support Linux. (I will definitely find a use for this, it looks amazing.)
[2]: https://github.com/wolfpld/tracy/releases/latest/download/tr...
[3]: https://github.com/NixOS/nixpkgs/blob/nixos-24.05/pkgs/devel...
Re:Logging all C++ destructors, poor mans run-time tracing
by HellsMaddy on Sunday September 22, 2024 @12:25AM
(#41614613)
Tracy works fine on Linux! Just used it today.
Re:Logging all C++ destructors, poor mans run-time tracing
by rerdavies on Sunday September 22, 2024 @11:01PM
(#41622072)
OK. Thanks for straightening me out. I saw the .msi, but no linux packages. I will definitely check it out!
Re:Logging all C++ destructors, poor mans run-time tracing
by las_balas_tres on Monday September 23, 2024 @02:58AM
(#41623118)
That github repo contains the sources. You can also compile tracy by cloning the repo.