在go tool pprof
的web输出中,虚线/虚线是什么?
我发现有人提到它可以表示内联函数,但没有规范引用。
虚线表示节点通过另一个节点的连接,该节点不会在最终输出中呈现。
请参阅https://github.com/google/pprof/blob/master/internal/graph/dotgraph.go#L311
if e.residual {
attr = attr + ` style="dotted"`
}
残差代表
//剩余边连接通过单独的节点,该节点已从报表中删除。
https://github.com/google/pprof/blob/main/internal/graph/graph.go#L255-L257