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

Method SourceLine

internal/driver/webui_test.go:167–169  ·  view source on GitHub ↗
(addr uint64)

Source from the content-addressed store, hash-verified

165func (f fakeObj) ObjAddr(addr uint64) (uint64, error) { return addr, nil }
166func (f fakeObj) BuildID() string { return "" }
167func (f fakeObj) SourceLine(addr uint64) ([]plugin.Frame, error) {
168 return nil, fmt.Errorf("SourceLine unimplemented")
169}
170func (f fakeObj) Symbols(r *regexp.Regexp, addr uint64) ([]*plugin.Sym, error) {
171 return []*plugin.Sym{
172 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected