type internal/profile.Location
47 uses
internal/profile (current package)
encode.go#L160: x := new(Location)
encode.go#L227: locations := make(map[uint64]*Location)
encode.go#L394: func (p *Location) decoder() []decoder {
encode.go#L398: func (p *Location) encode(b *buffer) {
encode.go#L409: func(b *buffer, m message) error { return decodeUint64(b, &m.(*Location).ID) }, // optional uint64 id = 1;
encode.go#L410: func(b *buffer, m message) error { return decodeUint64(b, &m.(*Location).mappingIDX) }, // optional uint64 mapping_id = 2;
encode.go#L411: func(b *buffer, m message) error { return decodeUint64(b, &m.(*Location).Address) }, // optional uint64 address = 3;
encode.go#L413: pp := m.(*Location)
filter.go#L38: var locs []*Location
filter.go#L60: func (loc *Location) matchesName(re *regexp.Regexp) bool {
filter.go#L76: func (loc *Location) unmatchedLines(re *regexp.Regexp) []Line {
filter.go#L96: func focusedAndNotIgnored(locs []*Location, m map[uint64]bool) bool {
legacy_profile.go#L83: locations := make(map[uint64]*Location)
legacy_profile.go#L107: locs := make([]*Location, 0, len(fields))
legacy_profile.go#L117: loc = &Location{
legacy_profile.go#L141: seen := make(map[*Location]bool, len(p.Location))
legacy_profile.go#L142: var locs []*Location
legacy_profile.go#L272: var sloc []*Location
legacy_profile.go#L274: locs := make(map[uint64]*Location)
legacy_profile.go#L295: loc = &Location{
legacy_profile.go#L324: func addTracebackSample(l []*Location, s []string, p *Profile) {
legacy_profile.go#L426: func parseCPUSamples(b []byte, parse func(b []byte) (uint64, []byte), adjust bool, p *Profile) ([]byte, map[uint64]*Location, error) {
legacy_profile.go#L427: locs := make(map[uint64]*Location)
legacy_profile.go#L435: var sloc []*Location
legacy_profile.go#L451: loc = &Location{
legacy_profile.go#L538: locs := make(map[uint64]*Location)
legacy_profile.go#L564: var sloc []*Location
legacy_profile.go#L571: loc = &Location{
legacy_profile.go#L786: locs := make(map[uint64]*Location)
legacy_profile.go#L796: var sloc []*Location
legacy_profile.go#L803: loc = &Location{
legacy_profile.go#L912: locs := make(map[uint64]*Location)
legacy_profile.go#L937: var sloc []*Location
legacy_profile.go#L944: loc = &Location{
merge.go#L33: locations: make(map[locationKey]*Location, len(srcs[0].Location)),
merge.go#L40: pm.locationsByID = make(map[uint64]*Location, len(src.Location))
merge.go#L118: locationsByID map[uint64]*Location
merge.go#L124: locations map[locationKey]*Location
merge.go#L136: Location: make([]*Location, len(src.Location)),
merge.go#L207: func (pm *profileMerger) mapLocation(src *Location) *Location {
merge.go#L218: l := &Location{
merge.go#L242: func (l *Location) key() locationKey {
profile.go#L26: Location []*Location
profile.go#L56: Location []*Location
profile.go#L92: type Location struct {
profile.go#L266: locations := make(map[uint64]*Location, len(p.Location))