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

Interface Fetcher

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

A Fetcher reads and returns the profile named by src, using the specified duration and timeout. It returns the fetched profile and a string indicating a URL from where the profile was fetched, which may be different than src.

Source from the content-addressed store, hash-verified

119// profile and a string indicating a URL from where the profile
120// was fetched, which may be different than src.
121type Fetcher interface {
122 Fetch(src string, duration, timeout time.Duration) (*profile.Profile, string, error)
123}
124
125// A Symbolizer introduces symbol information into a profile.
126type Symbolizer interface {

Callers 1

grabProfileFunction · 0.65

Implementers 3

testFetcherinternal/driver/driver_test.go
testSymbolzMergeFetcherinternal/driver/driver_test.go
testFetcherbrowsertests/testutils.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…