Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for parseProcSelfMaps (0.13 sec)

  1. src/runtime/pprof/proto_other.go

    // It saves the address ranges of the mappings in b.mem for use
    // when emitting locations.
    func (b *profileBuilder) readMapping() {
    	data, _ := os.ReadFile("/proc/self/maps")
    	parseProcSelfMaps(data, b.addMapping)
    	if len(b.mem) == 0 { // pprof expects a map entry, so fake one.
    		b.addMappingEntry(0, 0, 0, "", "", true)
    		// TODO(hyangah): make addMapping return *memMap or
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 928 bytes
    - Viewed (0)
Back to top