jlfwong/speedscope

Support trailing whitespace & floating point values with Brendan Gregg collapsed stack format

开放

#157 创建于 2018年9月5日

 (1 条评论) (0 个反应) (0 位负责人)TypeScript (320 个派生)batch import
feature requesthelp wanted

仓库指标

星标
 (6,728 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

So I have some custom tool that generates data in a output similar to Brendan Gregg's stack format, that works with flamegraph.pl, but is throwing issues with my custom file.

I found there were a few different issues in my file:

  • a trailing newline in the file causing an error
  • my values weren't integers
  • some of my values were negative

Not sure if we could raise a better error message, for those?

Maybe it'd also be useful mentioning that in the docs, I am happy to make a PR, if there is a way to do that in docs?

贡献者指南