Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for showFromLocs (0.17 sec)

  1. src/cmd/vendor/github.com/google/pprof/profile/filter.go

    func (p *Profile) ShowFrom(showFrom *regexp.Regexp) (matched bool) {
    	if showFrom == nil {
    		return false
    	}
    	// showFromLocs stores location IDs that matched ShowFrom.
    	showFromLocs := make(map[uint64]bool)
    	// Apply to locations.
    	for _, loc := range p.Location {
    		if filterShowFromLocation(loc, showFrom) {
    			showFromLocs[loc.ID] = true
    			matched = true
    		}
    	}
    	// For all samples, strip locations after the highest matching one.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 7.5K bytes
    - Viewed (0)
Back to top