Conversation
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
9dd46b3 to
72ad5c5
Compare
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
72ad5c5 to
73924e2
Compare
|
@YangKeao I can have a try. Before that , i had to spend some time to be familiar with the whole pprof-rs project. |
|
I'm busy with other projects (actually, two projects 😭 ), so this PR may take several weeks to land. There are a lot of things left:
|
|
Just heads-up: I was playing with a similar approach in https://github.com/mkmik/heappy I'd like to contribute it upstream here once I figure out whether it works well in practice. |
Thanks 👍 . I could provide some thoughts about this PR and I hope it could help you 🍻 .
|
|
What is the status of this? Getting heap profiling to work would be great. |
|
We also have gotten a lot of requests for this at Pyroscope :) -- let us know if there's any way we can help @YangKeao ! |
|
@kwiesmueller have you tried out https://github.com/mkmik/heappy ? |
|
@caiobegotti have you tried heappy? I would love some feedback |
Fix #44. It seems that the protobuf generation still has a lot of bugs :(.
The flamegraph output works as expected. However, the svg generated by
go tool pprofthrough a protobuf is too simple. The recursive part in the example fails to display in the svg.The example code snippet is in
/examples/heap_profiler.rs. @mineralres Are you willing to take a look and find the problem of protobuf? Feel free to ask any questions about this project. I'm not confident about the code quality (as I have found that it's hard to extend this feature without breaking the compatibility), so if you are anxious about the codes, I'm on your side 😭 .pprof.zip is the generate flamegraph and protobuf.
Signed-off-by: Yang Keao keao.yang@yahoo.com