MCPcopy Create free account
hub / github.com/google/pprof / HasFunctions

Method HasFunctions

profile/profile.go:826–833  ·  view source on GitHub ↗

HasFunctions determines if all locations in this profile have symbolized function information.

()

Source from the content-addressed store, hash-verified

824// HasFunctions determines if all locations in this profile have
825// symbolized function information.
826func (p *Profile) HasFunctions() bool {
827 for _, l := range p.Location {
828 if l.Mapping != nil && !l.Mapping.HasFunctions {
829 return false
830 }
831 }
832 return true
833}
834
835// HasFileLines determines if all locations in this profile have
836// symbolized file and line number information.

Calls

no outgoing calls

Tested by 2

TestLocalSymbolizationFunction · 0.64