Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JSC] Add stackcollapse-sampling-profiler-output script
https://bugs.webkit.org/show_bug.cgi?id=264102 rdar://117863428 Reviewed by Justin Michaud. This patch adds stackcollapse-sampling-profiler-output. This is FlameGraph's stackcollapse script for JSC sampling profiler output JSON. We can use this with FlameGraph[1] scripts to generate FrameGraph. The stackcollapse script's purpose is making stack sample to one line per sample in a specific format (as the same to the other stackcollapse scripts in FlameGraph repository). Usage is just like, `cat dump.json | stackcollapse-sampling-profiler-output | ~/dev/FlameGraph/flamegraph.pl > result.svg` [1]: https://github.com/brendangregg/FlameGraph * Tools/Scripts/stackcollapse-sampling-profiler-output: Added. Canonical link: https://commits.webkit.org/270119@main
- Loading branch information