MCPcopy Create free account
hub / github.com/google/pprof / Legend

Method Legend

internal/report/stacks.go:208–210  ·  view source on GitHub ↗

Legend returns the list of lines to display as the legend.

()

Source from the content-addressed store, hash-verified

206
207// Legend returns the list of lines to display as the legend.
208func (s *StackSet) Legend() []string {
209 return reportLabels(s.report, s.report.total, len(s.Sources), len(s.Sources), 0, 0, false)
210}
211
212func addLineInfo(str string, line profile.Line) string {
213 if line.Column != 0 {

Callers 2

stackViewMethod · 0.80
TestLegendFunction · 0.80

Calls 1

reportLabelsFunction · 0.85

Tested by 1

TestLegendFunction · 0.64