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
Method
IsTerminal
IsTerminal indicates if the UI is an interactive terminal.
internal/proftest/proftest.go:133
Method
IsTerminal
()
internal/driver/options.go:75
Method
IsTerminal
()
browsertests/testutils.go:197
Method
Len
()
internal/graph/graph.go:634
Method
Len
()
internal/graph/graph.go:950
Method
Len
()
internal/graph/graph.go:1157
Method
Len
()
internal/report/report.go:586
Method
Less
(i, j int)
internal/graph/graph.go:636
Method
Less
(i, j int)
internal/graph/graph.go:952
Method
Less
(i, j int)
internal/graph/graph.go:1161
Method
Less
(i, j int)
internal/report/report.go:587
Method
Name
Name returns the underlyinf file name, if available
internal/plugin/plugin.go:134
Method
Name
()
internal/binutils/binutils.go:619
Method
Name
()
internal/driver/fetch_test.go:187
Method
Name
()
internal/driver/webui_test.go:164
Method
Name
Name returns the underlyinf file name, if available
internal/driver/driver_test.go:1665
Method
Name
()
internal/symbolizer/symbolizer_test.go:477
Method
Name
()
browsertests/testutils.go:68
Method
ObjAddr
ObjAddr returns the objdump (linker) address corresponding to a runtime address, and an error.
internal/plugin/plugin.go:138
Method
ObjAddr
(addr uint64)
internal/binutils/binutils.go:623
Method
ObjAddr
(addr uint64)
internal/driver/fetch_test.go:188
Method
ObjAddr
(addr uint64)
internal/driver/webui_test.go:165
Method
ObjAddr
ObjAddr returns the objdump address corresponding to a runtime address.
internal/driver/driver_test.go:1670
Method
ObjAddr
(addr uint64)
internal/symbolizer/symbolizer_test.go:481
Method
ObjAddr
(addr uint64)
browsertests/testutils.go:69
Method
Open
(name string)
internal/plugin/plugin.go:51
Method
Open
Open opens the named object file. If the object is a shared library, start/limit/offset are the addresses where it is mapped into memory in the addres
internal/plugin/plugin.go:115
Method
Open
(file string, start, limit, offset uint64, relocationSymbol string)
internal/driver/fetch_test.go:165
Method
Open
(name string)
internal/driver/options.go:97
Method
Open
(file string, start, limit, offset uint64, relocationSymbol string)
internal/driver/webui_test.go:189
Method
Open
(file string, start, limit, offset uint64, relocationSymbol string)
internal/driver/driver_test.go:1630
Method
Open
(file string, start, limit, offset uint64, relocationSymbol string)
internal/symbolizer/symbolizer_test.go:459
Method
Open
Open opens the named object file. If the object is a shared library, start/limit/offset are the addresses where it is mapped into memory in the addres
driver/driver.go:144
Method
Open
(file string, start, limit, offset uint64, relocationSymbol string)
driver/driver.go:240
Method
Open
(file string, start, limit, offset uint64, relocationSymbol string)
browsertests/testutils.go:93
Method
Parse
Parse initializes the flags with their values for this run and returns the non-flag command line arguments. If an unknown flag is encountered or there
internal/plugin/plugin.go:82
Method
Parse
(func())
internal/driver/driver_test.go:354
Method
Parse
Parse implements the plugin.FlagSet interface.
internal/driver/flags.go:63
Method
Parse
(usage func())
browsertests/testutils.go:180
Method
Print
Print shows a message to the user. It is printed over stderr as stdout is reserved for regular output.
pprof.go:65
Method
Print
Print shows a message to the user. It formats the text as fmt.Print would and adds a final \n if not already present. For line-based UI, Print writes
internal/plugin/plugin.go:187
Method
Print
Print messages are discarded by the test UI.
internal/proftest/proftest.go:106
Method
Print
(args ...interface{})
internal/driver/options.go:67
Method
Print
(args ...interface{})
browsertests/testutils.go:200
Method
PrintErr
PrintErr shows a message to the user, colored in red for emphasis. It is printed over stderr as stdout is reserved for regular output.
pprof.go:75
Method
PrintErr
PrintErr shows an error message to the user. It formats the text as fmt.Print would and adds a final \n if not already present. For line-based UI, Pri
internal/plugin/plugin.go:192
Method
PrintErr
PrintErr messages may trigger an error failure. A fixed number of error messages are permitted when appropriate.
internal/proftest/proftest.go:111
Method
PrintErr
(args ...interface{})
internal/driver/options.go:71
Method
PrintErr
(args ...interface{})
internal/driver/webui.go:72
Method
PrintErr
discard
browsertests/testutils.go:201
Method
ReadLine
ReadLine returns a line of text (a command) read from the user. prompt is printed before reading the command.
pprof.go:58
Method
ReadLine
ReadLine returns a line of text (a command) read from the user. prompt is printed before reading the command.
internal/plugin/plugin.go:181
Method
ReadLine
ReadLine returns no input, as no input is expected during testing.
internal/proftest/proftest.go:93
Method
ReadLine
(prompt string)
internal/driver/options.go:62
Method
ReadLine
(_ string)
browsertests/testutils.go:196
Method
RoundTrip
RoundTrip executes a single HTTP transaction, returning a Response for the provided Request.
internal/transport/transport.go:102
Method
RoundTrip
(req *http.Request)
internal/driver/fetch_test.go:590
Method
SetAutoComplete
SetAutoComplete instructs the UI to call complete(cmd) to obtain the auto-completion of cmd, if the UI supports auto-completion at all.
pprof.go:107
Method
SetAutoComplete
SetAutoComplete instructs the UI to call complete(cmd) to obtain the auto-completion of cmd, if the UI supports auto-completion at all.
internal/plugin/plugin.go:203
Method
SetAutoComplete
SetAutoComplete is not supported by the test UI.
internal/proftest/proftest.go:143
Method
SetAutoComplete
(func(string) string)
internal/driver/options.go:83
Method
SetAutoComplete
(_ func(string) string)
browsertests/testutils.go:199
Function
SetVariableDefault
SetVariableDefault sets the default value for a pprof variable. This enables extensions to set their own defaults.
internal/driver/commands.go:71
Method
SourceLine
SourceLine reports the source line information for a given address in the file. Due to inlining, the source line information is in general a list of p
internal/plugin/plugin.go:147
Method
SourceLine
(addr uint64)
internal/binutils/binutils.go:635
Method
SourceLine
(addr uint64)
internal/binutils/binutils.go:666
Method
SourceLine
(addr uint64)
internal/binutils/binutils.go:693
Method
SourceLine
(addr uint64)
internal/driver/fetch_test.go:190
Method
SourceLine
(addr uint64)
internal/driver/webui_test.go:167
Method
SourceLine
SourceLine reports the source line information for a given address in the file. Due to inlining, the source line information is in general a list of p
internal/driver/driver_test.go:1683
Method
SourceLine
(addr uint64)
internal/symbolizer/symbolizer_test.go:489
Method
SourceLine
(frame uint64)
driver/driver.go:252
Method
SourceLine
(addr uint64)
browsertests/testutils.go:71
Method
String
String dumps a text representation of a profile. Intended mainly for debugging purposes.
profile/profile.go:556
Method
String
(name string, def string, usage string)
internal/plugin/plugin.go:62
Method
String
String returns string representation of the binutils state for debug logging.
internal/binutils/binutils.go:99
Method
String
(s, d, c string)
internal/driver/driver_test.go:335
Method
String
String implements the plugin.FlagSet interface.
internal/driver/flags.go:43
Method
String
String returns a text representation of a graph, for debugging purposes.
internal/graph/graph.go:726
Method
String
(name string, def string, usage string)
browsertests/testutils.go:172
Method
StringList
StringList is similar to String but allows multiple values for a single flag
internal/plugin/plugin.go:66
Method
StringList
(s, d, c string)
internal/driver/driver_test.go:342
Method
StringList
StringList implements the plugin.FlagSet interface.
internal/driver/flags.go:48
Method
StringList
(name string, def string, usage string)
browsertests/testutils.go:175
Method
Sum
Sum returns the total weight for a set of nodes.
internal/graph/graph.go:1147
Method
Swap
(i, j int)
internal/graph/graph.go:635
Method
Swap
(i, j int)
internal/graph/graph.go:951
Method
Swap
(i, j int)
internal/graph/graph.go:1178
Method
Swap
(i, j int)
internal/report/report.go:588
Method
Symbolize
(mode string, srcs MappingSources, prof *profile.Profile)
internal/plugin/plugin.go:98
Method
Symbolize
(_ string, _ plugin.MappingSources, _ *profile.Profile)
internal/driver/driver_test.go:435
Method
Symbolize
(_ string, _ plugin.MappingSources, p *profile.Profile)
internal/driver/driver_test.go:441
Method
Symbolize
(variables string, sources plugin.MappingSources, p *profile.Profile)
internal/driver/driver_test.go:483
Method
Symbolize
(mode string, srcs plugin.MappingSources, prof *profile.Profile)
driver/driver.go:295
Method
Symbols
Symbols returns a list of symbols in the object file. If r is not nil, Symbols restricts the list to symbols with names matching the regular expressio
internal/plugin/plugin.go:154
Method
Symbols
(r *regexp.Regexp, addr uint64)
internal/binutils/binutils.go:647
Method
Symbols
(r *regexp.Regexp, addr uint64)
internal/driver/fetch_test.go:191
Method
Symbols
(r *regexp.Regexp, addr uint64)
internal/driver/webui_test.go:170
Method
Symbols
Symbols returns a list of symbols in the object file. If r is not nil, Symbols restricts the list to symbols with names matching the regular expressio
internal/driver/driver_test.go:1738
Method
Symbols
(r *regexp.Regexp, addr uint64)
internal/symbolizer/symbolizer_test.go:493
← previous
next →
701–800 of 1,045, ranked by callers