1 Star 0 Fork 0

xpbob / jfr-flame-graph

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

jfr support

jdk11+

jdk support

jdk11+

event support

  • cpu
  • allocation-tlab
  • allocation-outside-tlab
  • exceptions
  • monitor-blocked
  • io-socket

Clone FlameGraph repository

Clone Brendan's [FlameGraph] repository and set the environment variable FLAMEGRAPH_DIR to FlameGraph directory

git clone https://github.com/brendangregg/FlameGraph.git
export FLAMEGRAPH_DIR=/path/to/FlameGraph

jfr-flame-graph usage

usage: jfr-flame-graph
 -d,--decompress                                              Decompress
                                                              the JFR file
 -e,--event <Type of event used to generate the flamegraph>   [cpu,
                                                              allocation-t
                                                              lab,
                                                              allocation-o
                                                              utside-tlab,
                                                              exceptions,
                                                              monitor-bloc
                                                              ked,
                                                              io-socket]
 -f,--jfrdump <jfr file path>                                 Java Flight
                                                              Recorder
                                                              Dump
 -h                                                           usage help

How to generate a Flame Graph

java -jar jfr-flame-graph-1.0-SNAPSHOT-jar-with-dependencies.jar -f ~/flight_recording_16eaTest8490.jfr -e allocation-tlab |$FLAMEGRAPH_DIR/flamegraph.pl --title "Flame Graph" > flame.svg

空文件

简介

暂无描述 展开 收起
Java
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/xpbob_admin/jfr-flame-graph.git
git@gitee.com:xpbob_admin/jfr-flame-graph.git
xpbob_admin
jfr-flame-graph
jfr-flame-graph
master

搜索帮助