- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for FilterSamplesByTag (0.16 sec)
-
src/internal/profile/filter.go
package profile // TagMatch selects tags for filtering type TagMatch func(key, val string, nval int64) bool // FilterSamplesByTag removes all samples from the profile, except // those that match focus and do not match the ignore regular // expression. func (p *Profile) FilterSamplesByTag(focus, ignore TagMatch) (fm, im bool) { samples := make([]*Sample, 0, len(p.Sample)) for _, s := range p.Sample {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 17:57:40 UTC 2024 - 1.4K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/profile/filter.go
} } } return f } // TagMatch selects tags for filtering type TagMatch func(s *Sample) bool // FilterSamplesByTag removes all samples from the profile, except // those that match focus and do not match the ignore regular // expression. func (p *Profile) FilterSamplesByTag(focus, ignore TagMatch) (fm, im bool) { samples := make([]*Sample, 0, len(p.Sample)) for _, s := range p.Sample {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 18:58:12 UTC 2022 - 7.5K bytes - Viewed (0)