grafana / pyroscope

Continuous Profiling Platform. Debug performance issues down to a single line of code
https://grafana.com/oss/pyroscope/
GNU Affero General Public License v3.0
10.07k stars 608 forks source link

Profiling memory of C++ applications #3594

Open kavfixnel opened 1 month ago

kavfixnel commented 1 month ago

Profiling in many languages (like Golang) is supported and documented well, but C++ only has documentation for CPU profiling with eBPF.

Is it possible to profile memory and ingest the profiles with Pyroscope?

luweglarz commented 5 days ago

I think you can use the http api with a customized profiler for memory, currently the eBPF component only profile the CPU for languages such as C++