Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for HasFunctions (0.18 sec)

  1. src/runtime/pprof/proto_test.go

    			}
    
    			for _, m := range prof.Mapping {
    				if miss[m] && m.HasFunctions {
    					t.Errorf("mapping %+v has HasFunctions=true, but contains locations with failed symbolization", m)
    					continue
    				}
    				if !miss[m] && hit[m] && !m.HasFunctions {
    					t.Errorf("mapping %+v has HasFunctions=false, but all referenced locations from this lapping were symbolized successfully", m)
    					continue
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 23:21:53 UTC 2024
    - 17K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/symbolz/symbolz.go

    // symbolize locations from mappings not already marked as HasFunctions. Never
    // attempts symbolization of addresses from unsymbolizable system
    // mappings as those may look negative - e.g. "[vsyscall]".
    func Symbolize(p *profile.Profile, force bool, sources plugin.MappingSources, syms func(string, string) ([]byte, error), ui plugin.UI) error {
    	for _, m := range p.Mapping {
    		if !force && m.HasFunctions {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 15:18:01 UTC 2019
    - 5.4K bytes
    - Viewed (0)
  3. src/internal/profile/profile.go

    		}
    	}
    
    	return nil
    }
    
    // HasFunctions determines if all locations in this profile have
    // symbolized function information.
    func (p *Profile) HasFunctions() bool {
    	for _, l := range p.Location {
    		if l.Mapping == nil || !l.Mapping.HasFunctions {
    			return false
    		}
    	}
    	return true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 17:57:40 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/profile/profile.go

    			fillIdx++
    		}
    	}
    	p.Sample = p.Sample[:fillIdx]
    	return nil
    }
    
    // HasFunctions determines if all locations in this profile have
    // symbolized function information.
    func (p *Profile) HasFunctions() bool {
    	for _, l := range p.Location {
    		if l.Mapping != nil && !l.Mapping.HasFunctions {
    			return false
    		}
    	}
    	return true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/symbolizer/symbolizer.go

    		if len(locs) == 0 {
    			// The mapping is dangling and has no locations pointing to it.
    			continue
    		}
    		// Do not attempt to re-symbolize a mapping that has already been symbolized.
    		if !force && (m.HasFunctions || m.HasFilenames || m.HasLineNumbers) {
    			continue
    		}
    		if m.File == "" {
    			if midx == 0 {
    				ui.PrintErr("Main binary filename not available.")
    				continue
    			}
    			missingBinaries = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. src/internal/profile/merge.go

    		Start:           src.Start,
    		Limit:           src.Limit,
    		Offset:          src.Offset,
    		File:            src.File,
    		BuildID:         src.BuildID,
    		HasFunctions:    src.HasFunctions,
    		HasFilenames:    src.HasFilenames,
    		HasLineNumbers:  src.HasLineNumbers,
    		HasInlineFrames: src.HasInlineFrames,
    	}
    	pm.p.Mapping = append(pm.p.Mapping, m)
    
    	// Update memoization tables.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 17 19:35:56 UTC 2020
    - 11.3K bytes
    - Viewed (0)
  7. src/internal/profile/encode.go

    	encodeUint64Opt(b, 1, p.ID)
    	encodeUint64Opt(b, 2, p.Start)
    	encodeUint64Opt(b, 3, p.Limit)
    	encodeUint64Opt(b, 4, p.Offset)
    	encodeInt64Opt(b, 5, p.fileX)
    	encodeInt64Opt(b, 6, p.buildIDX)
    	encodeBoolOpt(b, 7, p.HasFunctions)
    	encodeBoolOpt(b, 8, p.HasFilenames)
    	encodeBoolOpt(b, 9, p.HasLineNumbers)
    	encodeBoolOpt(b, 10, p.HasInlineFrames)
    }
    
    var mappingDecoder = []decoder{
    	nil, // 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:52:28 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  8. src/runtime/pprof/proto.go

    		locs = b.appendLocsForStack(locs[:0], e.stk)
    
    		b.pbSample(values, locs, labels)
    	}
    
    	for i, m := range b.mem {
    		hasFunctions := m.funcs == lookupTried // lookupTried but not lookupFailed
    		b.pbMapping(tagProfile_Mapping, uint64(i+1), uint64(m.start), uint64(m.end), m.offset, m.file, m.buildID, hasFunctions)
    	}
    
    	// TODO: Anything for tagProfile_DropFrames?
    	// TODO: Anything for tagProfile_KeepFrames?
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 13 20:40:52 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/profile/encode.go

    	encodeUint64Opt(b, 1, p.ID)
    	encodeUint64Opt(b, 2, p.Start)
    	encodeUint64Opt(b, 3, p.Limit)
    	encodeUint64Opt(b, 4, p.Offset)
    	encodeInt64Opt(b, 5, p.fileX)
    	encodeInt64Opt(b, 6, p.buildIDX)
    	encodeBoolOpt(b, 7, p.HasFunctions)
    	encodeBoolOpt(b, 8, p.HasFilenames)
    	encodeBoolOpt(b, 9, p.HasLineNumbers)
    	encodeBoolOpt(b, 10, p.HasInlineFrames)
    }
    
    var mappingDecoder = []decoder{
    	nil, // 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/profile/merge.go

    		Offset:                 src.Offset,
    		File:                   src.File,
    		KernelRelocationSymbol: src.KernelRelocationSymbol,
    		BuildID:                src.BuildID,
    		HasFunctions:           src.HasFunctions,
    		HasFilenames:           src.HasFilenames,
    		HasLineNumbers:         src.HasLineNumbers,
    		HasInlineFrames:        src.HasInlineFrames,
    	}
    	pm.p.Mapping = append(pm.p.Mapping, m)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 17K bytes
    - Viewed (0)
Back to top