Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/google/pprof
/ functions
Functions
1,045 in github.com/google/pprof
⨍
Functions
1,045
◇
Types & classes
188
↓ 1 callers
Function
printWebList
(dst io.Writer, rpt *report.Report, obj plugin.ObjTool)
internal/driver/driver.go:166
↓ 1 callers
Function
profileOfType
profileOfType creates an empty profile with only sample types set, for testing purposes only.
profile/legacy_profile_test.go:114
↓ 1 callers
Function
profileShortcuts
profileShortcuts creates macros for convenience and backward compatibility.
internal/driver/interactive.go:161
↓ 1 callers
Method
rawAddrInfo
(addr uint64)
internal/binutils/addr2liner.go:173
↓ 1 callers
Method
readCodeFrames
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 callers
Method
readDataFrames
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 callers
Method
readFrame
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 callers
Function
removeLoggingInfo
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 callers
Function
renderGroup
(depth, xscale, x, y, g, direction)
internal/driver/html/stacks.js:306
↓ 1 callers
Function
sampleFormat
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 callers
Method
sampleKey
(sample *Sample)
profile/merge.go:196
↓ 1 callers
Function
searchValueType
(vts []*ValueType, s string)
profile/merge.go:666
↓ 1 callers
Function
setAttributes
* Sets attributes of an element.
third_party/svgpan/svgpan.js:138
↓ 1 callers
Function
setTmpDir
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 callers
Function
settingsFileName
settingsFileName returns the name of the file where settings should be saved.
internal/driver/settings.go:24
↓ 1 callers
Function
setupHandlers
* Register handlers
third_party/svgpan/svgpan.js:68
↓ 1 callers
Function
showActionMenu
(e, box)
internal/driver/html/stacks.js:90
↓ 1 callers
Function
skipUnlessDarwinAmd64
(t *testing.T)
internal/binutils/binutils_test.go:261
↓ 1 callers
Function
skipUnlessLinuxAmd64
(t *testing.T)
internal/binutils/binutils_test.go:255
↓ 1 callers
Function
skipUnlessWindowsAmd64
(t *testing.T)
internal/binutils/binutils_test.go:267
↓ 1 callers
Function
sortedKeys1
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 callers
Function
sortedKeys2
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 callers
Method
splitIntoRanges
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 callers
Function
stackCollapse
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 callers
Method
start
start generates a title and initial node in DOT format.
internal/graph/dotgraph.go:108
↓ 1 callers
Function
statusCodeError
(resp *http.Response)
internal/driver/fetch.go:542
↓ 1 callers
Function
statusCodeError
(resp *http.Response)
internal/symbolizer/symbolizer.go:116
↓ 1 callers
Function
stringToBool
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 callers
Function
symbolizeMapping
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 callers
Function
symbolizeOneMapping
(m *profile.Mapping, locs []*profile.Location, obj plugin.ObjFile, addFunction func(*profile.Function) *profil
internal/symbolizer/symbolizer.go:207
↓ 1 callers
Function
symbolsFromBinaries
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 callers
Method
tagGroupLabel
(g []*Tag)
internal/graph/dotgraph.go:439
↓ 1 callers
Function
testProfile
(hasFunctions bool)
internal/symbolz/symbolz_test.go:93
↓ 1 callers
Function
totalValue
(places)
internal/driver/html/stacks.js:536
↓ 1 callers
Method
unmatchedLines
unmatchedLines returns the lines in the location that do not match the regular expression.
profile/filter.go:195
↓ 1 callers
Method
updateLocationMapping
(from, to *Mapping)
profile/profile.go:328
↓ 1 callers
Function
urlPivots
()
internal/driver/html/stacks.js:206
↓ 1 callers
Function
viewer
(baseUrl, nodes, options)
internal/driver/html/common.js:396
Function
AddCommand
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
Method
AddExtraUsage
AddExtraUsage appends additional text to the end of the extra usage message.
internal/plugin/plugin.go:76
Method
AddExtraUsage
(eu string)
internal/driver/driver_test.go:312
Method
AddExtraUsage
AddExtraUsage implements the plugin.FlagSet interface.
internal/driver/flags.go:58
Method
AddExtraUsage
(eu string)
browsertests/testutils.go:179
Method
AddToEdge
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
Function
BenchmarkDot
(b *testing.B)
internal/driver/webui_test.go:307
Function
BenchmarkFlame
(b *testing.B)
internal/driver/webui_test.go:306
Function
BenchmarkMerge
(b *testing.B)
profile/merge_test.go:204
Function
BenchmarkParse
(b *testing.B)
profile/profile_test.go:1920
Function
BenchmarkReportNewTrimmedGraph
(b *testing.B)
internal/report/report_test.go:619
Function
BenchmarkTop
(b *testing.B)
internal/driver/webui_test.go:305
Function
BenchmarkWrite
(b *testing.B)
profile/profile_test.go:1931
Method
Bool
Bool, Int, Float64, and String define new flags, like the functions of the same name in package flag.
internal/plugin/plugin.go:59
Method
Bool
(s string, d bool, c string)
internal/driver/driver_test.go:314
Method
Bool
Bool implements the plugin.FlagSet interface.
internal/driver/flags.go:28
Method
Bool
(name string, def bool, usage string)
browsertests/testutils.go:163
Method
BuildID
BuildID returns the GNU build ID of the file, or an empty string.
internal/plugin/plugin.go:141
Method
BuildID
()
internal/binutils/binutils.go:631
Method
BuildID
()
internal/driver/fetch_test.go:189
Method
BuildID
()
internal/driver/webui_test.go:166
Method
BuildID
BuildID returns the GNU build ID of the file, or an empty string.
internal/driver/driver_test.go:1675
Method
BuildID
()
internal/symbolizer/symbolizer_test.go:485
Method
BuildID
()
browsertests/testutils.go:70
Method
Close
Close closes the file, releasing associated resources.
internal/plugin/plugin.go:157
Method
Close
()
internal/binutils/binutils.go:643
Method
Close
()
internal/binutils/binutils.go:726
Method
Close
()
internal/driver/fetch_test.go:192
Method
Close
()
internal/driver/webui_test.go:163
Method
Close
Close closes the file, releasing associated resources.
internal/driver/driver_test.go:1756
Method
Close
()
internal/symbolizer/symbolizer_test.go:497
Method
Close
()
browsertests/testutils.go:67
Method
Compact
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
Method
CumValue
CumValue returns the inclusive value for this node, computing the mean if a divisor is available.
internal/graph/graph.go:113
Function
Demangle
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
Method
Demangler
(_ string)
internal/driver/fetch_test.go:178
Method
Disasm
Disasm disassembles the named object file, starting at the start address and stopping at (before) the end address.
internal/plugin/plugin.go:119
Method
Disasm
(file string, start, end uint64, intelSyntax bool)
internal/driver/fetch_test.go:181
Method
Disasm
(file string, start, end uint64, intelSyntax bool)
internal/driver/webui_test.go:193
Method
Disasm
(file string, start, end uint64, intelSyntax bool)
internal/driver/driver_test.go:1634
Method
Disasm
(file string, start, end uint64, intelSyntax bool)
internal/symbolizer/symbolizer_test.go:466
Method
Disasm
(file string, start, end uint64, intelSyntax bool)
driver/driver.go:277
Method
Disasm
(file string, start, end uint64, intelSyntax bool)
browsertests/testutils.go:97
Method
ExtraUsage
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
Method
ExtraUsage
()
internal/driver/driver_test.go:310
Method
ExtraUsage
ExtraUsage implements the plugin.FlagSet interface.
internal/driver/flags.go:53
Method
ExtraUsage
()
browsertests/testutils.go:178
Method
Fetch
(src string, duration, timeout time.Duration)
internal/plugin/plugin.go:93
Method
Fetch
(s string, d, t time.Duration)
internal/driver/driver_test.go:384
Method
Fetch
(s string, d, t time.Duration)
internal/driver/driver_test.go:1532
Method
Fetch
(source string, duration, timeout time.Duration)
browsertests/testutils.go:211
Method
FlatValue
FlatValue returns the exclusive value for this node, computing the mean if a divisor is available.
internal/graph/graph.go:104
Method
Float64
(name string, def float64, usage string)
internal/plugin/plugin.go:61
Method
Float64
(s string, d float64, c string)
internal/driver/driver_test.go:328
Method
Float64
Float64 implements the plugin.FlagSet interface.
internal/driver/flags.go:38
Method
Float64
(name string, def float64, usage string)
browsertests/testutils.go:169
Function
Fuzz
Fuzz can be used with https://github.com/dvyukov/go-fuzz to do fuzz testing on ParseData
fuzz/main.go:24
Method
Int
(name string, def int, usage string)
internal/plugin/plugin.go:60
Method
Int
(s string, d int, c string)
internal/driver/driver_test.go:321
Method
Int
Int implements the plugin.FlagSet interface.
internal/driver/flags.go:33
Method
Int
(name string, def int, usage string)
browsertests/testutils.go:166
Method
IsTerminal
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
← previous
next →
601–700 of 1,045, ranked by callers