Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for remapFunctionIDs (0.66 sec)

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

    			p.Function = append(p.Function, fn)
    		}
    		loc.Line = []Line{
    			{
    				Function: fn,
    				Line:     lineNo,
    			},
    		}
    		loc.Address = 0
    	}
    
    	p.remapLocationIDs()
    	p.remapFunctionIDs()
    	p.remapMappingIDs()
    
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. 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