func init() { … }
func makePos(b *src.PosBase, line, col uint) src.XPos { … }
type profileBuilder …
func newProfileBuilder() *profileBuilder { … }
func (p *profileBuilder) Profile() *pgoir.Profile { … }
func (p *profileBuilder) NewNode(name string, fn *ir.Func) *pgoir.IRNode { … }
func addEdge(caller, callee *pgoir.IRNode, offset int, weight int64) { … }
func makeStructWithMethod(pkg *types.Pkg, structName, methName string) *ir.Func { … }
func TestFindHotConcreteInterfaceCallee(t *testing.T) { … }
func TestFindHotConcreteFunctionCallee(t *testing.T) { … }