https://github.com/morj/yjp-flamegraphs
https://github.com/morj/yjp-flamegraphs
flame-charts flamegraph profiling utility yourkit
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/morj/yjp-flamegraphs
- Owner: morj
- Created: 2017-02-24T14:51:28.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-26T08:53:03.000Z (about 8 years ago)
- Last Synced: 2025-03-31T19:21:16.667Z (3 months ago)
- Topics: flame-charts, flamegraph, profiling, utility, yourkit
- Language: Kotlin
- Size: 12.7 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# yjp-flamegraphs
Utility for generating flame graphs from yjp snapshots
Tested with data generated from yjp version 2014Usage:
1. generate csv dump via `java -jar -Dexport.call.tree.cpu -Dexport.csv ~/yjp/lib/yjp.jar -export ~/Snapshots/abc.snapshot ~/TempFolderName/`
2. run this program via `java -jar yjp-flamegraphs.jar [TempFolderName] [ThreadName] > /path/to/stacks-dump.txt`
[ThreadName] is an optional parameter and can be omitted, in this case the flame graph will aggregate all samples
3. generate flame graph with https://github.com/brendangregg/FlameGraph
`./flamegraph.pl --countname=millis --width=1900 /path/to/stacks-dump.txt > /path/to/stacks.svg`
The steps 2-3 can be combined by piping the applications together:
`java -jar ~/dev/yjp-flamegraphs.jar ~/Temp | ./flamegraph.pl --countname=millis --width=1900 > /path/to/stacks.svg`