Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for remapMappingIDs (0.17 sec)

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

    		}
    		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

    			seen[fn] = true
    		}
    	}
    	p.Function = fns
    }
    
    // remapMappingIDs matches location addresses with existing mappings
    // and updates them appropriately. This is O(N*M), if this ever shows
    // up as a bottleneck, evaluate sorting the mappings and doing a
    // binary search, which would make it O(N*log(M)).
    func (p *Profile) remapMappingIDs() {
    	// Some profile handlers will incorrectly set regions for the main
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 32.8K bytes
    - Viewed (0)
  3. src/runtime/pprof/proto.go

    			// mapped but unpopulated memory as being inode 0.
    			// Don't report that part.
    			// But [vdso] and [vsyscall] are inode 0, so let non-empty file names through.
    			continue
    		}
    
    		// TODO: pprof's remapMappingIDs makes one adjustment:
    		// 1. If there is an /anon_hugepage mapping first and it is
    		// consecutive to a next mapping, drop the /anon_hugepage.
    		// There's no indication why this is needed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 13 20:40:52 UTC 2023
    - 25.7K bytes
    - Viewed (0)
Back to top