any plans to support cpp?
Hi @oak-tree
We currently have support for eBPF profiling — it allows for cpp profiling, but only work on Linux.
Is there any existing tools you (or others) would recommend for cpp profiling?
Lots is going on in kernel space that is a bottleneck. It makes sense to do whole system eBPF tracing instead of just a few user space PIDs. For C/C++/Rust it's a matter of getting the debug symbols to the visualization server.
Apart from eBPF, a specialized C/C++ profiler would also be possible, similar to the rust profiler. A key question here is what the best way to package the C++ agent would be (i.e. there's no Cargo for C++). Suggestions would be welcome here.
A key question here is what the best way to package the C++ agent would be (i.e. there's no Cargo for C++). Suggestions would be welcome here.
You could do this pretty easily with Conan. If you're talking about binary deployment, then you could utilise the VirtualRunEnv generator to provide access to the package's binary directories in the local cache.
closing as we recommend eBPF for this
There is already pretty good ones out there like tracy https://github.com/wolfpld/tracy