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

Function mappingSources

internal/driver/fetch_test.go:577–586  ·  view source on GitHub ↗

mappingSources creates MappingSources map with a single item.

(key, source string, start uint64)

Source from the content-addressed store, hash-verified

575
576// mappingSources creates MappingSources map with a single item.
577func mappingSources(key, source string, start uint64) plugin.MappingSources {
578 return plugin.MappingSources{
579 key: []struct {
580 Source string
581 Start uint64
582 }{
583 {Source: source, Start: start},
584 },
585 }
586}
587
588type httpTransport struct{}
589

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…