MCPcopy Create free account

hub / github.com/google/pprof / functions

Functions1,045 in github.com/google/pprof

↓ 2 callersFunctiontrimLowFreqTags
(tags TagMap, minValue int64)
internal/graph/graph.go:801
↓ 2 callersFunctionunmarshal
(data []byte, m message)
profile/proto.go:178
↓ 2 callersFunctionunsourceMappings
unsourceMappings iterates over the mappings in a profile and replaces file set to the remote source URL by collectMappingSources back to empty string.
internal/driver/fetch.go:392
↓ 2 callersMethodupdate
update modifies the rep for bu via the supplied function.
internal/binutils/binutils.go:85
↓ 2 callersFunctionvalueExtractor
(ix int)
internal/driver/driver.go:384
↓ 1 callersMethodAddExtraUsage
AddExtraUsage appends additional text to the end of the extra usage message.
driver/driver.go:108
↓ 1 callersFunctionAddSourceTemplates
AddSourceTemplates adds templates used by PrintWebList to t.
internal/report/source_html.go:22
↓ 1 callersMethodDisasm
Disasm returns the assembly instructions for the specified address range of a binary.
internal/binutils/binutils.go:259
↓ 1 callersMethodDiscardLowFrequencyNodePtrs
DiscardLowFrequencyNodePtrs returns a NodePtrSet of nodes at or over a specific cum value cutoff.
internal/graph/graph.go:758
↓ 1 callersMethodDiscardLowFrequencyNodes
DiscardLowFrequencyNodes returns a set of the nodes at or over a specific cum value cutoff.
internal/graph/graph.go:752
↓ 1 callersMethodExtraUsage
ExtraUsage returns any additional text that should be printed after the standard usage message. The extra usage message returned includes all text add
driver/driver.go:105
↓ 1 callersMethodFetch
(src string, duration, timeout time.Duration)
driver/driver.go:122
↓ 1 callersMethodFilterSamplesByTag
FilterSamplesByTag removes all samples from the profile, except those that match focus and do not match the ignore regular expression.
profile/filter.go:256
↓ 1 callersMethodFindOrInsertNode
FindOrInsertNode takes the info for a node and either returns a matching node from the node map if one exists, or adds one to the map if one does not.
internal/graph/graph.go:234
↓ 1 callersFunctionGetBuildID
GetBuildID returns the GNU build-ID for an ELF binary. If no build-ID was found but the binary was read without error, it returns (nil, nil).
internal/elfexec/elfexec.go:121
↓ 1 callersMethodIsTerminal
IsTerminal returns whether the UI is known to be tied to an interactive terminal (as opposed to being redirected to a file).
pprof.go:96
↓ 1 callersFunctionNew
New summarizes performance data from a profile into a graph.
internal/graph/graph.go:330
↓ 1 callersMethodOutputFormat
OutputFormat returns the output format for the report.
internal/report/report.go:1343
↓ 1 callersMethodParseMemoryMap
ParseMemoryMap parses a memory map in the format of proc/self/maps, and overrides the mappings in the current profile. It renumbers the samples and lo
profile/legacy_profile.go:1023
↓ 1 callersFunctionParseProcMaps
ParseProcMaps parses a memory map in the format of /proc/self/maps. ParseMemoryMap should be called after setting on a profile to associate locations
profile/legacy_profile.go:972
↓ 1 callersMethodPrune
Prune removes all nodes beneath a node matching dropRx, and not matching keepRx. If the root node of a Sample matches, the sample will have an empty s
profile/prune.go:56
↓ 1 callersMethodPruneFrom
PruneFrom removes all nodes beneath the lowest node matching dropRx, not including itself. Please see the example below to understand this method as
profile/prune.go:162
↓ 1 callersMethodReadLine
ReadLine returns a line of text (a command) read from the user. prompt is printed before reading the command.
driver/driver.go:209
↓ 1 callersMethodRemoveNumLabel
RemoveNumLabel removes all numerical labels associated with the specified key for all samples in the profile.
profile/profile.go:763
↓ 1 callersFunctionScaleProfiles
ScaleProfiles updates the units in a set of profiles to make them compatible. It scales the profiles to the smallest unit to preserve data.
internal/measurement/measurement.go:31
↓ 1 callersMethodSelectTopNodePtrs
SelectTopNodePtrs returns a set of the top maxNodes *Node in a graph.
internal/graph/graph.go:842
↓ 1 callersMethodSetAutoComplete
SetAutoComplete instructs the UI to call complete(cmd) to obtain the auto-completion of cmd, if the UI supports auto-completion at all.
driver/driver.go:231
↓ 1 callersMethodSetNumLabel
SetNumLabel sets the specified key to the specified value for all samples in the profile. "unit" is a slice that describes the units that each corresp
profile/profile.go:746
↓ 1 callersMethodSort
Sort returns a slice of the edges in the map, in a consistent order. The sort order is first based on the edge weight (higher-to-lower) and then by th
internal/graph/graph.go:1136
↓ 1 callersMethodSymbolize
Symbolize attempts to symbolize profile p. First uses binutils on local binaries; if the source is a URL it attempts to get any missed entries using s
internal/symbolizer/symbolizer.go:50
↓ 1 callersFunctionTestFlame
()
browsertests/testdata/testflame.js:1
↓ 1 callersMethodWantBrowser
WantBrowser indicates whether browser should be opened with the -http option.
driver/driver.go:227
↓ 1 callersFunctionabsoluteURL
(str string)
internal/report/report.go:1354
↓ 1 callersFunctionaddAction
(id, action)
internal/driver/html/common.js:690
↓ 1 callersMethodaddBaseProfiles
addBaseProfiles adds the list of base profiles or diff base profiles to the source. This function will return an error if both base and diff base prof
internal/driver/cli.go:174
↓ 1 callersMethodaddEdge
addEdge generates a graph edge in DOT format.
internal/graph/dotgraph.go:285
↓ 1 callersFunctionaddElem
(src, elem)
internal/driver/html/stacks.js:493
↓ 1 callersMethodaddLegacyFrameInfo
()
profile/legacy_profile.go:1093
↓ 1 callersMethodaddLegend
addLegend generates a legend in DOT format.
internal/graph/dotgraph.go:123
↓ 1 callersMethodaddNode
addNode generates a graph node in DOT format.
internal/graph/dotgraph.go:141
↓ 1 callersMethodaddNodelets
addNodelets generates the DOT boxes for the node tags if they exist.
internal/graph/dotgraph.go:216
↓ 1 callersFunctionaddTemplates
addTemplates adds a set of template definitions to templates.
internal/driver/webhtml.go:47
↓ 1 callersFunctionadjacent
adjacent returns whether two mapping entries represent the same mapping that has been split into two. Check that their addresses are adjacent, and if
profile/profile.go:305
↓ 1 callersFunctionadjustURL
adjustURL validates if a profile source is a URL and returns an cleaned up URL and the timeout to use for retrieval over HTTP. If the source cannot be
internal/driver/fetch.go:595
↓ 1 callersFunctionaggregate
(prof *profile.Profile, cfg config)
internal/driver/driver.go:253
↓ 1 callersFunctionannotateAssembly
annotateAssembly annotates a set of assembly instructions with a set of samples. It returns a set of nodes to display. base is an offset to adjust the
internal/report/report.go:638
↓ 1 callersMethodautoScale
autoScale takes in the value with units of the base unit and returns that value scaled to a reasonable unit if a reasonable unit is found.
internal/measurement/measurement.go:221
↓ 1 callersFunctionbusyLoop
()
internal/report/testdata/sample/sample.go:43
↓ 1 callersFunctioncanonicalizeFileName
(fname string)
internal/report/source.go:1112
↓ 1 callersFunctioncheckAddress
(got []plugin.Frame, address uint64, want string)
internal/binutils/binutils_test.go:234
↓ 1 callersFunctioncheckAggregation
checkAggregation verifies that the profile remained consistent with its aggregation.
profile/profile_test.go:673
↓ 1 callersFunctioncheckSymbol
(got []*plugin.Sym, want []plugin.Sym)
internal/binutils/disasm_test.go:74
↓ 1 callersFunctioncheckSymbolizedLocation
(a uint64, got []profile.Line)
internal/symbolizer/symbolizer_test.go:292
↓ 1 callersFunctioncolorize
colorize the msg using ANSI color escapes.
pprof.go:87
↓ 1 callersFunctioncommandHelp
commandHelp displays help and usage information for all Commands and Variables or a specific Command or Variable.
internal/driver/interactive.go:318
↓ 1 callersFunctioncommitSave
(e)
internal/driver/html/common.js:317
↓ 1 callersFunctioncommonSampleTypes
commonSampleTypes returns sample types that appear in all profiles in the order how they ordered in the first profile.
profile/merge.go:601
↓ 1 callersFunctioncompatibilizeSampleTypes
compatibilizeSampleTypes drops sample types that are not present in sTypes list and reorder them if needed. It sets DefaultSampleType to sType[0] if
profile/merge.go:627
↓ 1 callersFunctioncompatibleValueTypes
(v1, v2 *profile.ValueType)
internal/measurement/measurement.go:105
↓ 1 callersFunctioncompleteConfig
completeConfig returns the list of configurable names starting with prefix.
internal/driver/config.go:284
↓ 1 callersFunctionconcurrentGrab
concurrentGrab fetches multiple profiles concurrently
internal/driver/fetch.go:207
↓ 1 callersFunctionconvertPerfData
convertPerfData converts the file at path which should be in perf.data format using the perf_to_profile tool and returns the file containing the profi
internal/driver/fetch.go:574
↓ 1 callersMethodconvertUnit
convertUnit converts a value from the fromUnit to the toUnit, autoscaling the value if the toUnit is "minimum" or "auto". If the fromUnit is not inclu
internal/measurement/measurement.go:241
↓ 1 callersFunctioncpuProfileSmall
()
internal/driver/driver_test.go:706
↓ 1 callersFunctioncreateTrimTreeTestCases
()
internal/graph/graph_test.go:311
↓ 1 callersFunctiondecodeField
(b *buffer, data []byte)
profile/proto.go:214
↓ 1 callersFunctiondecodeString
(b *buffer, x *string)
profile/proto.go:357
↓ 1 callersFunctiondecodeStrings
(b *buffer, x *[]string)
profile/proto.go:365
↓ 1 callersFunctiondecodeUint64s
(b *buffer, x *[]uint64)
profile/proto.go:331
↓ 1 callersMethoddecoder
()
profile/proto.go:54
↓ 1 callersFunctiondeleteConfig
(e, elem)
internal/driver/html/common.js:338
↓ 1 callersFunctiondetails
(box)
internal/driver/html/stacks.js:560
↓ 1 callersFunctiondisplay
(xscale, posTotal, negTotal, list, showPivotSummary)
internal/driver/html/stacks.js:394
↓ 1 callersFunctiondotToSvg
(dot []byte)
internal/driver/webui.go:347
↓ 1 callersFunctiondrawBox
(xscale, box)
internal/driver/html/stacks.js:418
↓ 1 callersFunctiondrawSep
(y, posTotal, negTotal)
internal/driver/html/stacks.js:482
↓ 1 callersFunctionencodeBool
(b *buffer, tag int, x bool)
profile/proto.go:153
↓ 1 callersFunctionencodeString
(b *buffer, tag int, x string)
profile/proto.go:142
↓ 1 callersFunctionencodeStrings
(b *buffer, tag int, x []string)
profile/proto.go:147
↓ 1 callersFunctionencodeUint64s
(b *buffer, tag int, x []uint64)
profile/proto.go:83
↓ 1 callersFunctionentropyScore
entropyScore computes a score for a node representing how important it is to include this node on a graph visualization. It is used to sort the nodes
internal/graph/graph.go:1075
↓ 1 callersFunctioneval
eval runs the specified javascript in the browser. The javascript must return an [][]any, where each of the []any starts with either "LOG" or "ERROR"
browsertests/browser_test.go:183
↓ 1 callersMethodexpand
(input string)
internal/driver/interactive.go:146
↓ 1 callersMethodexpandAddresses
(rpt *Report, addrs map[uint64]addrInfo, flat map[uint64]int64)
internal/report/source.go:371
↓ 1 callersFunctionexpectedNodesDebugString
(expected []expectedNode)
internal/graph/graph_test.go:63
↓ 1 callersFunctionfakeDemangler
(name string)
internal/driver/driver_test.go:487
↓ 1 callersFunctionfakeELFFile
fakeELFFile generates a minimal valid ELF file, with fake .head.text and .text sections, and their corresponding _text and _stext start symbols, mimic
internal/binutils/binutils_test.go:857
↓ 1 callersFunctionfetchURL
fetchURL fetches a profile from a URL using HTTP.
internal/driver/fetch.go:525
↓ 1 callersMethodfileError
(path string)
internal/report/source.go:969
↓ 1 callersMethodfillPlaces
()
internal/report/stacks.go:186
↓ 1 callersFunctionfilterShowFromLocation
filterShowFromLocation tests a showFrom regex against a location, removes lines after the last match and returns whether a match was found. If the map
profile/filter.go:122
↓ 1 callersMethodfindByAlias
findByAlias returns the unit associated with the specified alias. It returns nil if the unit with such alias is not found.
internal/measurement/measurement.go:199
↓ 1 callersFunctionfindPolygon
(elem)
internal/driver/html/common.js:552
↓ 1 callersMethodfindProgramHeader
findProgramHeader returns the program segment that matches the current mapping and the given address, or an error if it cannot find a unique program h
internal/binutils/binutils.go:537
↓ 1 callersFunctionfindSource
(stacks StackSet, name string)
internal/report/stacks_test.go:203
↓ 1 callersMethodfinish
finish closes the opening curly bracket in the constructed DOT buffer.
internal/graph/dotgraph.go:118
↓ 1 callersFunctionfitText
(t, avail, textList)
internal/driver/html/stacks.js:514
↓ 1 callersFunctionfloatEqual
(a, b float64)
internal/measurement/measurement_test.go:72
↓ 1 callersFunctionfocusedAndNotIgnored
focusedAndNotIgnored looks up a slice of ids against a map of focused/ignored locations. The map only contains locations that are explicitly focused o
profile/filter.go:233
↓ 1 callersFunctionformatLabelValues
formatLabelValues returns all the string and numeric labels in Sample, with the numeric labels formatted according to outputUnit.
internal/driver/tagroot.go:115
← previousnext →401–500 of 1,045, ranked by callers