Skip to content

火焰图指定时间生成的html是空的 #2987

@cookiejoo

Description

@cookiejoo
  • 我已经在 issues 里搜索,没有重复的issue。

环境信息

wiki https://arthas.aliyun.com/doc
tutorials https://arthas.aliyun.com/doc/arthas-tutorials.html
version 4.0.4
main_class tech.qifu.jinke.arthas.Application
pid 66518
time 2025-01-23 16:42:05.683

操作系统:macos

重现问题的步骤

profiler collect --duration 30
执行命令生成的文件是0字节。

我使用profiler start然后再profiler stop生成的文件是正常的。
接着在使用profiler collect --duration 30命令又能正常生成火焰图了

另外:用profiler start --timeout 20s命令报错,说没有这个参数。

期望的结果

第一次执行:profiler collect --duration 30命令能生成有内容的火焰图

实际运行的结果

Image

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions