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

Method Symbols

internal/plugin/plugin.go:154–154  ·  view source on GitHub ↗

Symbols returns a list of symbols in the object file. If r is not nil, Symbols restricts the list to symbols with names matching the regular expression. If addr is not zero, Symbols restricts the list to symbols containing that address.

(r *regexp.Regexp, addr uint64)

Source from the content-addressed store, hash-verified

152 // If addr is not zero, Symbols restricts the list to symbols
153 // containing that address.
154 Symbols(r *regexp.Regexp, addr uint64) ([]*Sym, error)
155
156 // Close closes the file, releasing associated resources.
157 Close() error

Callers

nothing calls this directly

Implementers 6

fileinternal/binutils/binutils.go
testFileinternal/driver/fetch_test.go
fakeObjinternal/driver/webui_test.go
mockFileinternal/driver/driver_test.go
mockObjFileinternal/symbolizer/symbolizer_test.go
fakeObjbrowsertests/testutils.go

Calls

no outgoing calls

Tested by

no test coverage detected