[webkit-changes] [WebKit/WebKit] 77c606: [JSC] Add stackcollapse-sampling-profiler-output s...
Yusuke Suzuki
noreply at github.com
Thu Nov 2 11:37:16 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 77c606018747ff07dc679f49dce38ed1ff9957e2
https://github.com/WebKit/WebKit/commit/77c606018747ff07dc679f49dce38ed1ff9957e2
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2023-11-02 (Thu, 02 Nov 2023)
Changed paths:
A Tools/Scripts/stackcollapse-sampling-profiler-output
Log Message:
-----------
[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
More information about the webkit-changes
mailing list