MCPcopy Create free account

hub / github.com/google/pprof / functions

Functions1,045 in github.com/google/pprof

↓ 2 callersFunctionfindExe
findExe looks for an executable command on a set of paths. If it cannot find it, returns cmd.
internal/binutils/binutils.go:247
↓ 2 callersFunctionfindObjdump
findObjdump finds and returns path to preferred objdump binary. Order of preference is: llvm-objdump, objdump. On MacOS only, also looks for gobjdump
internal/binutils/binutils.go:163
↓ 2 callersMethodfindOrAdd
findOrAdd takes a node representing a function, adds the function represented by the node to the map if the function is not already present, and retur
internal/report/report.go:367
↓ 2 callersMethodfindOrInsertLine
(l *profile.Location, li profile.Line, o *Options)
internal/graph/graph.go:595
↓ 2 callersFunctionfindSymbols
(syms []byte, file string, r *regexp.Regexp, address uint64)
internal/binutils/disasm.go:36
↓ 2 callersMethodfprint
(f *os.File, args []interface{})
internal/driver/options.go:86
↓ 2 callersFunctionfunctionCompleter
functionCompleter replaces provided substring with a function name retrieved from a profile if a single match exists. Otherwise, it returns unchanged
internal/driver/interactive.go:400
↓ 2 callersFunctionfunctionNames
(p *profile.Profile)
internal/driver/interactive.go:416
↓ 2 callersFunctiongenLabel
(d int, n, l, f string)
internal/report/report.go:1262
↓ 2 callersFunctiongenerateRawReport
generateRawReport is allowed to modify p.
internal/driver/driver.go:64
↓ 2 callersFunctiongetDisambiguatedNames
getDisambiguatedNames returns a map from each node in the graph to the name to use in the callgrind output. Callgrind merges all functions with the sa
internal/report/report.go:990
↓ 2 callersFunctiongetFromLegend
getFromLegend returns the suffix of an entry in legend that starts with param. It returns def if no such entry is found.
internal/driver/webui.go:473
↓ 2 callersFunctiongetHostAndPort
(hostport string)
internal/driver/webui.go:158
↓ 2 callersFunctiongetNodesAboveCumCutoff
getNodesAboveCumCutoff returns all the nodes which have a Cum value greater than or equal to cutoff.
internal/graph/graph.go:778
↓ 2 callersFunctiongetSelection
()
internal/driver/html/common.js:412
↓ 2 callersFunctiongrabProfile
grabProfile fetches a profile. Returns the profile, sources for the profile mappings, a bool indicating if the profile was fetched remotely, and an er
internal/driver/fetch.go:325
↓ 2 callersFunctiongroupWidth
(xscale, g)
internal/driver/html/stacks.js:302
↓ 2 callersFunctionindentation
(line string)
internal/report/source.go:1066
↓ 2 callersFunctioninteractive
interactive starts a shell to read pprof commands.
internal/driver/interactive.go:34
↓ 2 callersFunctionisBuObjdump
isBuObjdump accepts a string with path to an objdump binary, and returns a boolean indicating if the given binary is a GNU binutils objdump binary. No
internal/binutils/binutils.go:241
↓ 2 callersFunctionisLLVMObjdump
isLLVMObjdump accepts a string with path to an objdump binary, and returns a boolean indicating if the given binary is an LLVM objdump binary of an ac
internal/binutils/binutils.go:209
↓ 2 callersFunctionjoinLabels
(s *profile.Sample)
internal/graph/graph.go:539
↓ 2 callersFunctionkernelBase
kernelBase calculates the base for kernel mappings, which usually require special handling. For kernel mappings, tools (like perf) use the address of
internal/elfexec/elfexec.go:167
↓ 2 callersMethodkey
key generates encoded strings of Mapping to be used as a key for maps.
profile/merge.go:386
↓ 2 callersFunctionlargeProfile
(tb testing.TB)
internal/driver/driver_test.go:1035
↓ 2 callersFunctionleaveTempfile
leaveTempfile leaves |b| in a temporary file on disk and returns the temp filename. This is useful to recover a profile when the test fails.
profile/profile_test.go:199
↓ 2 callersFunctionlegendActiveFilters
(activeFilters []string)
internal/report/report.go:1250
↓ 2 callersFunctionlocateBinaries
locateBinaries searches for binary files listed in the profile and, if found, updates the profile accordingly.
internal/driver/fetch.go:404
↓ 2 callersFunctionlongNameFuncsProfile
longNameFuncsProfile returns a profile with function names which should be shortened in graph and flame views.
internal/driver/driver_test.go:512
↓ 2 callersFunctionmakeLocationIDMap
(n int)
profile/merge.go:554
↓ 2 callersFunctionmakeNodeSet
(nodes Nodes, nodeCutoff int64)
internal/graph/graph.go:767
↓ 2 callersFunctionmakeRect
(cl, x, y, w, h)
internal/driver/html/stacks.js:422
↓ 2 callersFunctionmakeShortcuts
(input []string, seed int64)
internal/driver/interactive_test.go:108
↓ 2 callersFunctionmakeTestServer
(t testing.TB, prof *profile.Profile)
internal/driver/webui_test.go:35
↓ 2 callersMethodmapLocation
(src *Location)
profile/merge.go:284
↓ 2 callersFunctionmassageDotSVG
massageDotSVG invokes the dot tool to generate an SVG image and alters the image to have panning capabilities when viewed in a browser.
internal/driver/commands.go:398
↓ 2 callersMethodmassageMappings
massageMappings applies heuristic-based changes to the profile mappings to account for quirks of some environments.
profile/profile.go:257
↓ 2 callersFunctionmatch
(text)
internal/driver/html/common.js:464
↓ 2 callersFunctionmatchInOrder
matchInOrder is a chromedp.Action that fetches the text of the first node that matched query and checks that the supplied sequence of strings occur in
browsertests/browser_test.go:160
↓ 2 callersFunctionmatchSymbol
matchSymbol checks if a symbol is to be selected by checking its name to the regexp and optionally its address. It returns the name(s) to be used for
internal/binutils/disasm.go:86
↓ 2 callersFunctionmatchVariableOrCommand
matchVariableOrCommand attempts to match a string token to the prefix of a Command.
internal/driver/interactive.go:381
↓ 2 callersFunctionmin64
(a, b int64)
internal/graph/dotgraph.go:473
↓ 2 callersFunctionmultilinePrintableName
(info *NodeInfo)
internal/graph/dotgraph.go:384
↓ 2 callersFunctionnewAddr2LinerNM
newAddr2LinerNM starts the given nm command reporting information about the given executable file. If file is a shared library, base should be the add
internal/binutils/addr2liner_nm.go:62
↓ 2 callersFunctionnewCompleter
newCompleter creates an autocompletion function for a set of commands.
internal/driver/interactive.go:345
↓ 2 callersFunctionnewLLVMSymbolizer
newLLVMSymbolizer starts the given llvmSymbolizer command reporting information about the given executable file. If file is a shared library, base sho
internal/binutils/addr2liner_llvm.go:75
↓ 2 callersFunctionnewSourceReader
(searchPath, trimPath string)
internal/report/source.go:960
↓ 2 callersMethodnodes
()
internal/graph/graph.go:587
↓ 2 callersMethodnumericNodelets
(nts []*Tag, maxNumNodelets int, flatTags bool, source string)
internal/graph/dotgraph.go:265
↓ 2 callersMethodopenMachOCommon
(name string, of *macho.File, start, limit, offset uint64)
internal/binutils/binutils.go:358
↓ 2 callersFunctionopenSourceFile
openSourceFile opens a source file from a name encoded in a profile. File names in a profile after can be relative paths, so search them in each of th
internal/report/source.go:1006
↓ 2 callersFunctionpackageName
packageName returns the package name of the named symbol, or "" if not found.
internal/report/package.go:11
↓ 2 callersFunctionpadStringArray
padStringArray pads arr with enough empty strings to make arr length l when arr's length is less than l.
profile/encode.go:398
↓ 2 callersFunctionpanStart
(x, y)
internal/driver/html/common.js:84
↓ 2 callersFunctionparseAddr2LinerNM
(base uint64, nm io.Reader)
internal/binutils/addr2liner_nm.go:75
↓ 2 callersFunctionparseCPUSamples
parseCPUSamples parses a collection of profilez samples from a profile. profilez samples are a repeated sequence of stack frames of the form: 1st w
profile/legacy_profile.go:423
↓ 2 callersFunctionparseCommandLine
parseCommandLine parses a command and returns the pprof command to execute and the configuration to use for the report.
internal/driver/interactive.go:223
↓ 2 callersFunctionparseJavaLocations
parseJavaLocations parses the location information in a java profile and populates the Locations in a profile. It uses the location addresses from the
profile/legacy_java_profile.go:239
↓ 2 callersFunctionparseNotes
parseNotes returns the notes from a SHT_NOTE section or PT_NOTE segment.
internal/elfexec/elfexec.go:39
↓ 2 callersFunctionparseProcMapsFromScanner
(s *bufio.Scanner)
profile/legacy_profile.go:977
↓ 2 callersFunctionpeekNumVarints
(data []byte)
profile/proto.go:191
↓ 2 callersFunctionpickColor
pickColor picks a color for key.
internal/report/stacks.go:200
↓ 2 callersMethodpostDecode
postDecode takes the unexported fields populated by decode (with suffix X) and populates the corresponding exported fields. The unexported fields are
profile/encode.go:249
↓ 2 callersFunctionpprofUnitText
(value, unit)
internal/driver/html/stacks.js:615
↓ 2 callersFunctionreadProfile
(fname string, t *testing.T)
internal/report/source_test.go:260
↓ 2 callersMethodremapFunctionIDs
()
profile/legacy_profile.go:168
↓ 2 callersMethodremapLocationIDs
remapLocationIDs ensures there is a location for each address referenced by a sample, and remaps the samples to point to the new location ids.
profile/legacy_profile.go:151
↓ 2 callersMethodremapMappingIDs
remapMappingIDs matches location addresses with existing mappings and updates them appropriately. This is O(N*M), if this ever shows up as a bottlenec
profile/legacy_profile.go:190
↓ 2 callersFunctionremoveConfig
removeConfig removes config from fname.
internal/driver/settings.go:148
↓ 2 callersFunctionremoveGlob
(globs ...string)
internal/binutils/testdata/build_binaries.go:83
↓ 2 callersFunctionremoveMatching
removeMatching removes nested instances of start..end from name.
internal/symbolizer/symbolizer.go:334
↓ 2 callersFunctionremoveScripts
removeScripts removes <script > .. </script> pairs from its input
internal/driver/driver_test.go:230
↓ 2 callersFunctionrender
()
internal/driver/html/stacks.js:228
↓ 2 callersFunctionrenderHTML
renderHTML generates html using the named template based on the contents of data.
internal/driver/webui.go:285
↓ 2 callersFunctionreportOptions
(p *profile.Profile, numLabelUnits map[string]string, cfg config)
internal/driver/driver.go:284
↓ 2 callersFunctionrescale
(s, u)
internal/driver/html/common.js:42
↓ 2 callersMethodresetTransient
resetTransient sets all transient fields in *cfg to their currently configured values.
internal/driver/config.go:316
↓ 2 callersFunctionsampleFuncs
sampleFuncs returns a slice of strings where each string represents one profile sample in the format "<fun1> <fun2> <fun3>: <value>". This allows the
profile/filter_test.go:545
↓ 2 callersFunctionsampleTypes
(p *Profile)
profile/index.go:58
↓ 2 callersFunctionscaleHeapSample
scaleHeapSample adjusts the data from a heapz Sample to account for its probability of appearing in the collected data. heapz profiles are a sampling
profile/legacy_profile.go:663
↓ 2 callersFunctionselectNodesForGraph
(nodes Nodes, dropNegative bool)
internal/graph/graph.go:394
↓ 2 callersMethodselectTopNodes
selectTopNodes returns a slice of the top maxNodes nodes in a graph.
internal/graph/graph.go:856
↓ 2 callersFunctionselfSignedCert
selfSignedCert generates a self-signed certificate, and returns the generated certificate, and byte arrays containing the certificate and key associat
internal/driver/fetch_test.go:810
↓ 2 callersFunctionsendURL
(method, url, done)
internal/driver/html/common.js:266
↓ 2 callersFunctionserveWebInterface
(hostport string, p *profile.Profile, o *plugin.Options, disableBrowser bool)
internal/driver/webui.go:98
↓ 2 callersFunctionsetConfig
setConfig saves the config specified in request to fname.
internal/driver/settings.go:125
↓ 2 callersMethodsetContext
(name, ...args)
browsertests/testdata/testfixture.js:19
↓ 2 callersFunctionsetNodeHighlight
(n, set)
internal/driver/html/common.js:526
↓ 2 callersFunctionshortNameList
shortNameList returns a non-empty sequence of shortened names (in decreasing preference) that can be used to represent name.
internal/report/shortnames.go:41
↓ 2 callersFunctionsimplifyFunc
simplifyFunc does some primitive simplification of function names.
profile/prune.go:38
↓ 2 callersFunctionsolutionFilename
solutionFilename returns the name of the solution file for the test
internal/driver/driver_test.go:264
↓ 2 callersFunctionsummary
(pos, neg)
internal/driver/html/stacks.js:553
↓ 2 callersFunctionswitchPivots
(regexp)
internal/driver/html/stacks.js:166
↓ 2 callersFunctionsymbolz
symbolz returns the corresponding symbolz source for a profile URL.
internal/symbolz/symbolz.go:86
↓ 2 callersFunctiontagDistance
(t, u *Tag)
internal/graph/dotgraph.go:431
↓ 2 callersFunctiontagString
(t []*Tag)
internal/graph/dotgraph_test.go:394
↓ 2 callersFunctiontestDisasm
(t *testing.T, intelSyntax bool)
internal/binutils/binutils_test.go:273
↓ 2 callersFunctiontestSourceMapping
testSourceMapping checks that source info is found even when no applicable Mapping/objectFile exists. The locations used in the test are either zero (
internal/report/source_test.go:66
↓ 2 callersFunctiontoSvg
(x, y)
internal/driver/html/common.js:31
↓ 2 callersFunctiontouchGap
(t1, t2)
internal/driver/html/common.js:145
← previousnext →301–400 of 1,045, ranked by callers