internal/profile.Sample.Location (field)
35 uses
internal/profile (current package)
encode.go#L64: for _, l := range s.Location {
encode.go#L267: s.Location = nil
encode.go#L269: s.Location = append(s.Location, locations[lid])
filter.go#L36: if focusedAndNotIgnored(sample.Location, focusOrIgnore) {
filter.go#L39: for _, loc := range sample.Location {
filter.go#L48: sample.Location = locs
legacy_profile.go#L126: Location: locs,
legacy_profile.go#L145: for _, l := range s.Location {
legacy_profile.go#L328: Location: l,
legacy_profile.go#L386: if len(p.Sample) > 1 && len(p.Sample[0].Location) > 1 {
legacy_profile.go#L388: id1 := p.Sample[0].Location[1].Address
legacy_profile.go#L390: if len(s.Location) < 2 || id1 != s.Location[1].Address {
legacy_profile.go#L397: s.Location = append(s.Location[:1], s.Location[2:]...)
legacy_profile.go#L462: Location: sloc,
legacy_profile.go#L582: Location: sloc,
legacy_profile.go#L813: Location: sloc,
legacy_profile.go#L955: Location: sloc,
merge.go#L136: Location: make([]*Location, len(src.Location)),
merge.go#L142: for i, l := range src.Location {
merge.go#L143: s.Location[i] = pm.mapLocation(l)
merge.go#L177: ids := make([]string, len(sample.Location))
merge.go#L178: for i, l := range sample.Location {
profile.go#L56: Location []*Location
profile.go#L363: for _, l := range s.Location {
prune.go#L58: for i := len(sample.Location) - 1; i >= 0; i-- {
prune.go#L59: id := sample.Location[i].ID
prune.go#L68: sample.Location = sample.Location[i+1:]
prune.go#L72: sample.Location = sample.Location[i:]