Live data from Hacker News

Flameshow: A terminal flamegraph viewer

github.com

1–10 of 19 posts

Re: Flameshow: A terminal flamegraph viewer

#3

What format does this support? Would be nice to have more examples, like how do I connect this to node profiling for instance?

URL in example says Go pprof so at least that.

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:

https://github.com/brendangregg/FlameGraph

Re: Flameshow: A terminal flamegraph viewer

#4

What format does this support? Would be nice to have more examples, like how do I connect this to node profiling for instance?

For now, golang only.

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?

Re: Flameshow: A terminal flamegraph viewer

#5
post #3

What format does this support? Would be nice to have more examples, like how do I connect this to node profiling for instance?

URL in example says Go pprof so at least that. 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: https://github.com/brendangregg/FlameGraph

Go pprof for now.

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.

Re: Flameshow: A terminal flamegraph viewer

#6

What format does this support? Would be nice to have more examples, like how do I connect this to node profiling for instance?

Since pprof is supported you could use parca-agent [1], an eBPF-based profiler that I happen to work on, as when you browse the debug UI on port 7071 you can download a pprof formatted profile for any process running on the machine.

Supports Go, Rust, C++, C, Ruby, Python, C#, Java, Julia, Erlang, Nodejs, wasmtime, and more.

[1] https://github.com/parca-dev/parca-agent

[2] https://www.parca.dev/

Re: Flameshow: A terminal flamegraph viewer

#10
post #6

What format does this support? Would be nice to have more examples, like how do I connect this to node profiling for instance?

Since pprof is supported you could use parca-agent [1], an eBPF-based profiler that I happen to work on, as when you browse the debug UI on port 7071 you can download a pprof formatted profile for any process running on the machine. Supports Go, Rust, C++, C, Ruby, Python, C#, Java, Julia, Erlang, Nodejs, wasmtime, and more. [1] https://github.com/parca-dev/parca-agent [2] https://www.parca.dev/

If that's true, you should probably update the docs. Everything I could find implied dotnet, jvm, python were still unsupported. For example, the roadmap section of the readme mentions most of these as future targets but nothing even mentions dotnet. However I did find your tickets and a demo being merged in which makes dotnet seem maybe supported?

Ticket: https://github.com/parca-dev/parca-agent/issues/161

Demo: https://github.com/parca-dev/parca-demo/pull/18

Post reply on HN