2 ms·
this is very cool, but...where does one get the data to visualize? Is there a standard for flamegraph data structures? There appears to be zero documentation o
by masukomi 3y ago
this is very cool, but...where does one get the data to visualize? Is there a standard for flamegraph data structures?
There appears to be zero documentation on what it needs as input.
- mburns 3y ago> Stack samples can be captured using Linux perf_events, FreeBSD pmcstat (hwpmc), DTrace, SystemTap, and many other profilers. See the stackcollapse-* converters https://github.com/brendangregg/FlameGraph https://github.com/brendangregg/FlameGraph
- knoebber 3y agofrom the README: > Currently it only supports Golang's pprof dump, I am working on supporting more formats
- laixintao 3y agoYes, for now I didn't find any standard format of samples dump. 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.