MCPcopy Create free account

hub / github.com/google/pprof / functions

Functions1,045 in github.com/google/pprof

↓ 1 callersFunctionprintWebList
(dst io.Writer, rpt *report.Report, obj plugin.ObjTool)
internal/driver/driver.go:166
↓ 1 callersFunctionprofileOfType
profileOfType creates an empty profile with only sample types set, for testing purposes only.
profile/legacy_profile_test.go:114
↓ 1 callersFunctionprofileShortcuts
profileShortcuts creates macros for convenience and backward compatibility.
internal/driver/interactive.go:161
↓ 1 callersMethodrawAddrInfo
(addr uint64)
internal/binutils/addr2liner.go:173
↓ 1 callersMethodreadCodeFrames
readCodeFrames parses the llvm-symbolizer CODE output for a single address. It returns a populated plugin.Frame array.
internal/binutils/addr2liner_llvm.go:145
↓ 1 callersMethodreadDataFrames
readDataFrames parses the llvm-symbolizer DATA output for a single address. It returns a populated plugin.Frame array with a single entry.
internal/binutils/addr2liner_llvm.go:115
↓ 1 callersMethodreadFrame
readFrame parses the addr2line output for a single address. It returns a populated plugin.Frame and whether it has reached the end of the data.
internal/binutils/addr2liner.go:125
↓ 1 callersFunctionremoveLoggingInfo
removeLoggingInfo detects and removes log prefix entries generated by the glog package. If no logging prefix is detected, the string is returned unmod
profile/legacy_profile.go:1013
↓ 1 callersFunctionrenderGroup
(depth, xscale, x, y, g, direction)
internal/driver/html/stacks.js:306
↓ 1 callersFunctionsampleFormat
sampleFormat returns a function to extract values out of a profile.Sample, and the type/units of those values.
internal/driver/driver.go:368
↓ 1 callersMethodsampleKey
(sample *Sample)
profile/merge.go:196
↓ 1 callersFunctionsearchValueType
(vts []*ValueType, s string)
profile/merge.go:666
↓ 1 callersFunctionsetAttributes
* Sets attributes of an element.
third_party/svgpan/svgpan.js:138
↓ 1 callersFunctionsetTmpDir
setTmpDir prepares the directory to use to save profiles retrieved remotely. It is selected from PPROF_TMPDIR, defaults to $HOME/pprof, and, if $HOME
internal/driver/fetch.go:301
↓ 1 callersFunctionsettingsFileName
settingsFileName returns the name of the file where settings should be saved.
internal/driver/settings.go:24
↓ 1 callersFunctionsetupHandlers
* Register handlers
third_party/svgpan/svgpan.js:68
↓ 1 callersFunctionshowActionMenu
(e, box)
internal/driver/html/stacks.js:90
↓ 1 callersFunctionskipUnlessDarwinAmd64
(t *testing.T)
internal/binutils/binutils_test.go:261
↓ 1 callersFunctionskipUnlessLinuxAmd64
(t *testing.T)
internal/binutils/binutils_test.go:255
↓ 1 callersFunctionskipUnlessWindowsAmd64
(t *testing.T)
internal/binutils/binutils_test.go:267
↓ 1 callersFunctionsortedKeys1
sortedKeys1 returns the sorted keys found in a string->[]string map. Note: this is currently non-generic since github pprof runs golint, which does n
profile/merge.go:255
↓ 1 callersFunctionsortedKeys2
sortedKeys2 returns the sorted keys found in a string->[]int64 map. Note: this is currently non-generic since github pprof runs golint, which does no
profile/merge.go:272
↓ 1 callersMethodsplitIntoRanges
splitIntoRanges converts the set of addresses we are interested in into a set of address ranges to disassemble. It also returns the set of addresses f
internal/report/source.go:547
↓ 1 callersFunctionstackCollapse
stackCollapse returns a slice of strings where each string represents one profile sample in Brendan Gregg's "Folded Stacks" format: "<root_fn>(filenam
internal/driver/tagroot_test.go:372
↓ 1 callersMethodstart
start generates a title and initial node in DOT format.
internal/graph/dotgraph.go:108
↓ 1 callersFunctionstatusCodeError
(resp *http.Response)
internal/driver/fetch.go:542
↓ 1 callersFunctionstatusCodeError
(resp *http.Response)
internal/symbolizer/symbolizer.go:116
↓ 1 callersFunctionstringToBool
stringToBool is a custom parser for bools. We avoid using strconv.ParseBool to remain compatible with old pprof behavior (e.g., treating "" as true).
internal/driver/commands.go:452
↓ 1 callersFunctionsymbolizeMapping
symbolizeMapping symbolizes locations belonging to a Mapping by querying a symbolz handler. An offset is applied to all addresses to take care of norm
internal/symbolz/symbolz.go:104
↓ 1 callersFunctionsymbolizeOneMapping
(m *profile.Mapping, locs []*profile.Location, obj plugin.ObjFile, addFunction func(*profile.Function) *profil
internal/symbolizer/symbolizer.go:207
↓ 1 callersFunctionsymbolsFromBinaries
symbolsFromBinaries examines the binaries listed on the profile that have associated samples, and returns the identified symbols matching rx.
internal/report/report.go:520
↓ 1 callersMethodtagGroupLabel
(g []*Tag)
internal/graph/dotgraph.go:439
↓ 1 callersFunctiontestProfile
(hasFunctions bool)
internal/symbolz/symbolz_test.go:93
↓ 1 callersFunctiontotalValue
(places)
internal/driver/html/stacks.js:536
↓ 1 callersMethodunmatchedLines
unmatchedLines returns the lines in the location that do not match the regular expression.
profile/filter.go:195
↓ 1 callersMethodupdateLocationMapping
(from, to *Mapping)
profile/profile.go:328
↓ 1 callersFunctionurlPivots
()
internal/driver/html/stacks.js:206
↓ 1 callersFunctionviewer
(baseUrl, nodes, options)
internal/driver/html/common.js:396
FunctionAddCommand
AddCommand adds an additional command to the set of commands accepted by pprof. This enables extensions to add new commands for specialized visualizat
internal/driver/commands.go:65
MethodAddExtraUsage
AddExtraUsage appends additional text to the end of the extra usage message.
internal/plugin/plugin.go:76
MethodAddExtraUsage
(eu string)
internal/driver/driver_test.go:312
MethodAddExtraUsage
AddExtraUsage implements the plugin.FlagSet interface.
internal/driver/flags.go:58
MethodAddExtraUsage
(eu string)
browsertests/testutils.go:179
MethodAddToEdge
AddToEdge increases the weight of an edge between two nodes. If there isn't such an edge one is created.
internal/graph/graph.go:122
FunctionBenchmarkDot
(b *testing.B)
internal/driver/webui_test.go:307
FunctionBenchmarkFlame
(b *testing.B)
internal/driver/webui_test.go:306
FunctionBenchmarkMerge
(b *testing.B)
profile/merge_test.go:204
FunctionBenchmarkParse
(b *testing.B)
profile/profile_test.go:1920
FunctionBenchmarkReportNewTrimmedGraph
(b *testing.B)
internal/report/report_test.go:619
FunctionBenchmarkTop
(b *testing.B)
internal/driver/webui_test.go:305
FunctionBenchmarkWrite
(b *testing.B)
profile/profile_test.go:1931
MethodBool
Bool, Int, Float64, and String define new flags, like the functions of the same name in package flag.
internal/plugin/plugin.go:59
MethodBool
(s string, d bool, c string)
internal/driver/driver_test.go:314
MethodBool
Bool implements the plugin.FlagSet interface.
internal/driver/flags.go:28
MethodBool
(name string, def bool, usage string)
browsertests/testutils.go:163
MethodBuildID
BuildID returns the GNU build ID of the file, or an empty string.
internal/plugin/plugin.go:141
MethodBuildID
()
internal/binutils/binutils.go:631
MethodBuildID
()
internal/driver/fetch_test.go:189
MethodBuildID
()
internal/driver/webui_test.go:166
MethodBuildID
BuildID returns the GNU build ID of the file, or an empty string.
internal/driver/driver_test.go:1675
MethodBuildID
()
internal/symbolizer/symbolizer_test.go:485
MethodBuildID
()
browsertests/testutils.go:70
MethodClose
Close closes the file, releasing associated resources.
internal/plugin/plugin.go:157
MethodClose
()
internal/binutils/binutils.go:643
MethodClose
()
internal/binutils/binutils.go:726
MethodClose
()
internal/driver/fetch_test.go:192
MethodClose
()
internal/driver/webui_test.go:163
MethodClose
Close closes the file, releasing associated resources.
internal/driver/driver_test.go:1756
MethodClose
()
internal/symbolizer/symbolizer_test.go:497
MethodClose
()
browsertests/testutils.go:67
MethodCompact
Compact performs garbage collection on a profile to remove any unreferenced fields. This is useful to reduce the size of a profile after samples or lo
profile/merge.go:29
MethodCumValue
CumValue returns the inclusive value for this node, computing the mean if a divisor is available.
internal/graph/graph.go:113
FunctionDemangle
Demangle updates the function names in a profile with demangled C++ names, simplified according to demanglerMode. If force is set, overwrite any names
internal/symbolizer/symbolizer.go:249
MethodDemangler
(_ string)
internal/driver/fetch_test.go:178
MethodDisasm
Disasm disassembles the named object file, starting at the start address and stopping at (before) the end address.
internal/plugin/plugin.go:119
MethodDisasm
(file string, start, end uint64, intelSyntax bool)
internal/driver/fetch_test.go:181
MethodDisasm
(file string, start, end uint64, intelSyntax bool)
internal/driver/webui_test.go:193
MethodDisasm
(file string, start, end uint64, intelSyntax bool)
internal/driver/driver_test.go:1634
MethodDisasm
(file string, start, end uint64, intelSyntax bool)
internal/symbolizer/symbolizer_test.go:466
MethodDisasm
(file string, start, end uint64, intelSyntax bool)
driver/driver.go:277
MethodDisasm
(file string, start, end uint64, intelSyntax bool)
browsertests/testutils.go:97
MethodExtraUsage
ExtraUsage returns any additional text that should be printed after the standard usage message. The extra usage message returned includes all text add
internal/plugin/plugin.go:73
MethodExtraUsage
()
internal/driver/driver_test.go:310
MethodExtraUsage
ExtraUsage implements the plugin.FlagSet interface.
internal/driver/flags.go:53
MethodExtraUsage
()
browsertests/testutils.go:178
MethodFetch
(src string, duration, timeout time.Duration)
internal/plugin/plugin.go:93
MethodFetch
(s string, d, t time.Duration)
internal/driver/driver_test.go:384
MethodFetch
(s string, d, t time.Duration)
internal/driver/driver_test.go:1532
MethodFetch
(source string, duration, timeout time.Duration)
browsertests/testutils.go:211
MethodFlatValue
FlatValue returns the exclusive value for this node, computing the mean if a divisor is available.
internal/graph/graph.go:104
MethodFloat64
(name string, def float64, usage string)
internal/plugin/plugin.go:61
MethodFloat64
(s string, d float64, c string)
internal/driver/driver_test.go:328
MethodFloat64
Float64 implements the plugin.FlagSet interface.
internal/driver/flags.go:38
MethodFloat64
(name string, def float64, usage string)
browsertests/testutils.go:169
FunctionFuzz
Fuzz can be used with https://github.com/dvyukov/go-fuzz to do fuzz testing on ParseData
fuzz/main.go:24
MethodInt
(name string, def int, usage string)
internal/plugin/plugin.go:60
MethodInt
(s string, d int, c string)
internal/driver/driver_test.go:321
MethodInt
Int implements the plugin.FlagSet interface.
internal/driver/flags.go:33
MethodInt
(name string, def int, usage string)
browsertests/testutils.go:166
MethodIsTerminal
IsTerminal returns whether the UI is known to be tied to an interactive terminal (as opposed to being redirected to a file).
internal/plugin/plugin.go:196
← previousnext →601–700 of 1,045, ranked by callers