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

Function TestSetMain

profile/profile_test.go:1858–1863  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

1856}
1857
1858func TestSetMain(t *testing.T) {
1859 testProfile1.massageMappings()
1860 if testProfile1.Mapping[0].File != mainBinary {
1861 t.Errorf("got %s for main", testProfile1.Mapping[0].File)
1862 }
1863}
1864
1865func TestParseKernelRelocation(t *testing.T) {
1866 src := testProfile1.Copy()

Callers

nothing calls this directly

Calls 1

massageMappingsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…