-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
增加新选项 --classify #2904
增加新选项 --classify #2904
Conversation
这个需要同步修改文档,增加使用示例。文档在 |
将示例已添加到 中英文档。 |
(推荐使用 --cstack dwarf 选项以提高准确性,可参考[async profiler pr#719](https://github.com/async-profiler/async-profiler/issues/719)) | ||
|
||
```bash | ||
profiler start -e cpu -f /tmp/profile.jfr --cstack dwarf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个示例,并没有看到 --classify
参数。
从具体的 pr 来看: async-profiler/async-profiler@a8f20eb 这个 |
是的,之前没有看清楚位置,classify选项定义在converter中(在代码中的位置),我看arthas之中也没有集成convertor相关,这个pr可以关闭了。 |
根据 async profiler pr#719:
async-profiler 引入了一个新的选项 --classify,可以自动将执行样本分类到特定类别中。这些类别包括垃圾回收、JIT 编译、类加载等。