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

Method Symbolize

internal/driver/driver_test.go:441–448  ·  view source on GitHub ↗
(_ string, _ plugin.MappingSources, p *profile.Profile)

Source from the content-addressed store, hash-verified

439type testSymbolizeDemangler struct{}
440
441func (testSymbolizeDemangler) Symbolize(_ string, _ plugin.MappingSources, p *profile.Profile) error {
442 for _, fn := range p.Function {
443 if fn.Name == "" || fn.SystemName == fn.Name {
444 fn.Name = fakeDemangler(fn.SystemName)
445 }
446 }
447 return nil
448}
449
450func testFetchSymbols(source, post string) ([]byte, error) {
451 var buf bytes.Buffer

Callers

nothing calls this directly

Calls 1

fakeDemanglerFunction · 0.85

Tested by

no test coverage detected