Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FilterTagsByName (0.33 sec)

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

    			if re.MatchString(fn.Name) || re.MatchString(fn.Filename) {
    				return i
    			}
    		}
    	}
    	return -1
    }
    
    // FilterTagsByName filters the tags in a profile and only keeps
    // tags that match show and not hide.
    func (p *Profile) FilterTagsByName(show, hide *regexp.Regexp) (sm, hm bool) {
    	matchRemove := func(name string) bool {
    		matchShow := show == nil || show.MatchString(name)
    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