Flameshow: A terminal flamegraph viewer
github.com
github.com
Supports Go, Rust, C++, C, Ruby, Python, C#, Java, Julia, Erlang, Nodejs, wasmtime, and more.
I wish it to be compatible with my go-to Ruby tools:
https://github.com/ruby-prof/ruby-prof
https://github.com/rbspy/rbspy
thus replacing this one:
Let me check those tools, thank you very much!
I support if FlameGraph can render those, other tools should be able to interpret the dump as well.
But I am working on other supports.
Is there any common format for flamegraph (stacks), or should I do the work for all tools and languages?
https://www.brendangregg.com/flamegraphs.html
So if you can make your tool eat whatever https://github.com/brendangregg/FlameGraph is fed with you're going to support a lot of existing tooling across OSes and languages.
There appears to be zero documentation on what it needs as input.
I already figure out how to integrate with golang's pprof, seems I need to work with other perf tools as well.
I am thinking about adding a flag like `--input-format=pprof` for different outputs.
> Currently it only supports Golang's pprof dump, I am working on supporting more formats