top | item 37648849 (no title) masukomi | 2 years 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. discuss order hn newest mburns|2 years ago > Stack samples can be captured using Linux perf_events, FreeBSD pmcstat (hwpmc), DTrace, SystemTap, and many other profilers. See the stackcollapse-* convertershttps://github.com/brendangregg/FlameGraph laixintao|2 years ago Yes, 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. knoebber|2 years ago from the README:> Currently it only supports Golang's pprof dump, I am working on supporting more formats
mburns|2 years ago > Stack samples can be captured using Linux perf_events, FreeBSD pmcstat (hwpmc), DTrace, SystemTap, and many other profilers. See the stackcollapse-* convertershttps://github.com/brendangregg/FlameGraph
laixintao|2 years ago Yes, 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.
knoebber|2 years ago from the README:> Currently it only supports Golang's pprof dump, I am working on supporting more formats
mburns|2 years ago
https://github.com/brendangregg/FlameGraph
laixintao|2 years ago
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.
knoebber|2 years ago
> Currently it only supports Golang's pprof dump, I am working on supporting more formats