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

Function TestParseKernelRelocation

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

Source from the content-addressed store, hash-verified

1863}
1864
1865func TestParseKernelRelocation(t *testing.T) {
1866 src := testProfile1.Copy()
1867 if src.Mapping[len(src.Mapping)-1].KernelRelocationSymbol != "_text" {
1868 t.Errorf("got %s for Mapping.KernelRelocationSymbol", src.Mapping[0].KernelRelocationSymbol)
1869 }
1870}
1871
1872func TestEncodeDecodeDocURL(t *testing.T) {
1873 input := testProfile1.Copy()

Callers

nothing calls this directly

Calls 1

CopyMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…