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

Function checkAddress

internal/binutils/binutils_test.go:234–239  ·  view source on GitHub ↗
(got []plugin.Frame, address uint64, want string)

Source from the content-addressed store, hash-verified

232}
233
234func checkAddress(got []plugin.Frame, address uint64, want string) bool {
235 if len(got) != 1 {
236 return false
237 }
238 return got[0].Func == want
239}
240
241func TestSetTools(t *testing.T) {
242 // Test that multiple calls work.

Callers 1

TestAddr2LinerLookupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…