Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for remapFunctionIDs (0.11 sec)

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

    			if seen[l] {
    				continue
    			}
    			l.ID = uint64(len(locs) + 1)
    			locs = append(locs, l)
    			seen[l] = true
    		}
    	}
    	p.Location = locs
    }
    
    func (p *Profile) remapFunctionIDs() {
    	seen := make(map[*Function]bool, len(p.Function))
    	var fns []*Function
    
    	for _, l := range p.Location {
    		for _, ln := range l.Line {
    			fn := ln.Function
    			if fn == nil || seen[fn] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 32.8K bytes
    - Viewed (0)
Back to top