Go 的 pprof 网络输出中的 dashed/dotted 行是什么?
What are the dashed/dotted lines in Go's pprof web output?
在 go tool pprof
的网络输出中,dashed/dotted 行是什么?
我发现有人提到它可以表示内联函数,但没有规范的参考。
虚线表示节点通过另一个节点的连接,未在最终输出中呈现。
见https://github.com/google/pprof/blob/master/internal/graph/dotgraph.go#L311
if e.residual {
attr = attr + ` style="dotted"`
}
残差代表
// residual edges connect nodes that were connected through a
separate node, which has been removed from the report.
https://github.com/google/pprof/blob/master/internal/graph/graph.go#L243
在 go tool pprof
的网络输出中,dashed/dotted 行是什么?
我发现有人提到它可以表示内联函数,但没有规范的参考。
虚线表示节点通过另一个节点的连接,未在最终输出中呈现。
见https://github.com/google/pprof/blob/master/internal/graph/dotgraph.go#L311
if e.residual {
attr = attr + ` style="dotted"`
}
残差代表
// residual edges connect nodes that were connected through a separate node, which has been removed from the report.
https://github.com/google/pprof/blob/master/internal/graph/graph.go#L243