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

Function printWebList

internal/driver/driver.go:166–176  ·  view source on GitHub ↗
(dst io.Writer, rpt *report.Report, obj plugin.ObjTool)

Source from the content-addressed store, hash-verified

164}
165
166func printWebList(dst io.Writer, rpt *report.Report, obj plugin.ObjTool) error {
167 listing, err := report.MakeWebList(rpt, obj, -1)
168 if err != nil {
169 return err
170 }
171 legend := report.ProfileLabels(rpt)
172 return renderHTML(dst, "sourcelisting", rpt, nil, legend, webArgs{
173 Standalone: true,
174 Listing: listing,
175 })
176}
177
178func applyCommandOverrides(cmd string, outputFormat int, cfg config) config {
179 // Some report types override the trim flag to false below. This is to make

Callers 1

generateReportFunction · 0.85

Calls 3

MakeWebListFunction · 0.92
ProfileLabelsFunction · 0.92
renderHTMLFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…