func localMock(mode string, p *profile.Profile, obj plugin.ObjTool, ui plugin.UI) error { p.Comments = append(p.Comments, "local="+mode) return nil }
func symbolzMock(sources plugin.MappingSources, syms func(string, string) ([]byte, error), p *profile.Profile, ui plugin.UI) error { p.Comments = append(p.Comments, "symbolz") return nil }