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

Method SetFastSymbolization

internal/binutils/binutils.go:121–123  ·  view source on GitHub ↗

SetFastSymbolization sets a toggle that makes binutils use fast symbolization (using nm), which is much faster than addr2line but provides only symbol name information (no file/line).

(fast bool)

Source from the content-addressed store, hash-verified

119// symbolization (using nm), which is much faster than addr2line but
120// provides only symbol name information (no file/line).
121func (bu *Binutils) SetFastSymbolization(fast bool) {
122 bu.update(func(r *binrep) { r.fast = fast })
123}
124
125// SetTools processes the contents of the tools option. It
126// expects a set of entries separated by commas; each entry is a pair

Callers 2

TestSetFastSymbolizationFunction · 0.95
doLocalSymbolizeFunction · 0.80

Calls 1

updateMethod · 0.95

Tested by 1

TestSetFastSymbolizationFunction · 0.76