Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/google/pprof
/ types & classes
Types & classes
188 in github.com/google/pprof
⨍
Functions
1,045
◇
Types & classes
188
↓ 1 callers
Struct
Frame
A Frame describes a location in a single line in a source file.
internal/plugin/plugin.go:161
↓ 1 callers
Struct
Inst
An Inst is a single instruction in an assembly listing.
internal/plugin/plugin.go:123
↓ 1 callers
Struct
Sym
A Sym describes a single symbol in an object file.
internal/plugin/plugin.go:170
↓ 1 callers
TypeAlias
profileCopier
profileCopier can be used to obtain a fresh copy of a profile. It is useful since reporting code may mutate the profile handed to it.
internal/driver/driver.go:392
↓ 1 callers
TypeAlias
sampleKey
profile/merge.go:248
↓ 1 callers
Struct
source
internal/driver/cli.go:26
Class
browsertests/testdata/testfixture.js:4
Struct
Binutils
A Binutils implements plugin.ObjTool by invoking the GNU binutils.
internal/binutils/binutils.go:40
Struct
DotAttributes
DotAttributes contains details about the graph itself, giving insight into how its elements should be rendered.
internal/graph/dotgraph.go:29
Struct
DotConfig
DotConfig contains attributes about how a graph should be constructed and how it should look.
internal/graph/dotgraph.go:44
Struct
DotNodeAttributes
DotNodeAttributes contains Node specific visualization options.
internal/graph/dotgraph.go:34
Struct
Edge
Edge contains any attributes to be represented about edges in a graph.
internal/graph/graph.go:271
TypeAlias
EdgeMap
EdgeMap is used to represent the incoming/outgoing edges from a node.
internal/graph/graph.go:268
Interface
Fetcher
A Fetcher reads and returns the profile named by src. src can be a local file path or a URL. duration and timeout are units specified by the end user,
internal/plugin/plugin.go:92
Interface
Fetcher
A Fetcher reads and returns the profile named by src, using the specified duration and timeout. It returns the fetched profile and a string indicating
driver/driver.go:121
Interface
FlagSet
A FlagSet creates and parses command-line flags. It is similar to the standard flag.FlagSet.
internal/plugin/plugin.go:56
Interface
FlagSet
A FlagSet creates and parses command-line flags. It is similar to the standard flag.FlagSet.
driver/driver.go:88
Struct
Frame
A Frame describes a single line in a source file.
driver/driver.go:189
Struct
Function
Function corresponds to Profile.Function
profile/profile.go:157
Struct
GoFlags
GoFlags implements the plugin.FlagSet interface.
internal/driver/flags.go:23
Struct
Graph
Graph summarizes a performance profile into a format that is suitable for visualization.
internal/graph/graph.go:50
Struct
HTTPServerArgs
HTTPServerArgs contains arguments needed by an HTTP server that is exporting a pprof web interface.
internal/plugin/plugin.go:208
TypeAlias
HTTPServerArgs
HTTPServerArgs contains arguments needed by an HTTP server that is exporting a pprof web interface.
driver/driver.go:66
Struct
Inst
An Inst is a single instruction in an assembly listing.
driver/driver.go:152
Struct
Line
Line corresponds to Profile.Line
profile/profile.go:148
Struct
Location
Location corresponds to Profile.Location
profile/profile.go:137
Struct
Mapping
Mapping corresponds to Profile.Mapping
profile/profile.go:111
TypeAlias
MappingSources
MappingSources map each profile.Mapping to the source of the profile. The key is either Mapping.File or Mapping.BuildId.
internal/plugin/plugin.go:103
TypeAlias
MappingSources
MappingSources map each profile.Mapping to the source of the profile. The key is either Mapping.File or Mapping.BuildId.
driver/driver.go:132
Struct
Node
Node is an entry on a profiling report. It represents a unique program location.
internal/graph/graph.go:73
Struct
NodeInfo
NodeInfo contains the attributes for a node.
internal/graph/graph.go:151
TypeAlias
NodeMap
NodeMap maps from a node info struct to a node. It is used to merge report entries with the same info.
internal/graph/graph.go:216
TypeAlias
NodeOrder
NodeOrder sets the ordering for a Sort operation
internal/graph/graph.go:1120
TypeAlias
NodePtrSet
NodePtrSet is a collection of nodes. Trimming a graph or tree requires a set of objects which uniquely identify the nodes to keep. In a graph, NodeInf
internal/graph/graph.go:229
TypeAlias
NodeSet
NodeSet is a collection of node info structs.
internal/graph/graph.go:219
TypeAlias
Nodes
Nodes is an ordered collection of graph nodes.
internal/graph/graph.go:69
Interface
ObjFile
An ObjFile is a single object file: a shared library or executable.
internal/plugin/plugin.go:132
Interface
ObjFile
An ObjFile is a single object file: a shared library or executable.
driver/driver.go:161
Interface
ObjTool
An ObjTool inspects shared libraries and executable files.
internal/plugin/plugin.go:109
Interface
ObjTool
An ObjTool inspects shared libraries and executable files.
driver/driver.go:138
Struct
Options
Options groups all the optional plugins into pprof.
internal/plugin/plugin.go:28
Struct
Options
Options encodes the options for constructing a graph
internal/graph/graph.go:55
Struct
Options
Options are the formatting and filtering options used to generate a profile.
internal/report/report.go:56
Struct
Options
Options groups all the optional plugins into pprof.
driver/driver.go:69
FuncType
PostProcessor
PostProcessor is a function that applies post-processing to the report output
internal/driver/commands.go:76
Struct
Profile
Profile is an in-memory representation of profile.proto.
profile/profile.go:35
Struct
Report
Report contains the data and associated routines to extract a report from a profile.
internal/report/report.go:1332
Struct
Sample
Sample corresponds to Profile.Sample
profile/profile.go:75
Struct
Stack
Stack holds a single stack instance.
internal/report/stacks.go:42
Struct
StackSet
StackSet holds a set of stacks corresponding to a profile. Slices in StackSet and the types it contains are always non-nil, which makes Javascript co
internal/report/stacks.go:31
Struct
StackSlot
StackSlot identifies a particular StackSlot.
internal/report/stacks.go:77
Struct
StackSource
StackSource holds function/location info for a stack entry.
internal/report/stacks.go:48
Struct
Sym
A Sym describes a single symbol in an object file.
driver/driver.go:198
Interface
Symbolizer
A Symbolizer introduces symbol information into a profile.
internal/plugin/plugin.go:97
Interface
Symbolizer
A Symbolizer introduces symbol information into a profile.
driver/driver.go:126
Struct
Symbolizer
Symbolizer implements the plugin.Symbolize interface.
internal/symbolizer/symbolizer.go:36
Struct
Tag
Tag represent sample annotations
internal/graph/graph.go:293
TypeAlias
TagMap
TagMap is a collection of tags, classified by their name.
internal/graph/graph.go:320
FuncType
TagMatch
TagMatch selects tags for filtering
profile/filter.go:251
Class
TestFixture
browsertests/testdata/testfixture.js:4
Struct
TestUI
TestUI implements the plugin.UI interface, triggering test failures if more than Ignore errors not matching AllowRx are printed. Also tracks the numbe
internal/proftest/proftest.go:83
Struct
TextItem
TextItem holds a single text report entry.
internal/report/report.go:780
Interface
UI
A UI manages user interactions.
internal/plugin/plugin.go:178
Interface
UI
A UI manages user interactions.
driver/driver.go:206
Struct
Unit
Unit includes a list of aliases representing a specific unit and a factor which one can multiple a value in the specified unit by to get the value in
internal/measurement/measurement.go:184
Struct
UnitType
UnitType includes a list of units that are within the same category (i.e. memory or time units) and a default unit to use for this type of unit.
internal/measurement/measurement.go:192
Struct
ValueType
ValueType corresponds to Profile.ValueType
profile/profile.go:66
Struct
WantSample
internal/driver/fetch_test.go:253
Struct
WebListCall
WebListCall holds the per-inlined-call information for HTML source code listing.
internal/report/source.go:235
Struct
WebListData
WebListData holds the data needed to generate HTML source code listing.
internal/report/source.go:192
Struct
WebListFile
WebListFile holds the per-file information for HTML source code listing.
internal/report/source.go:198
Struct
WebListFunc
WebListFunc holds the per-function information for HTML source code listing.
internal/report/source.go:203
Struct
WebListInstruction
WebListInstruction holds the per-instruction information for HTML source code listing.
internal/report/source.go:223
Struct
WebListLine
WebListLine holds the per-source-line information for HTML source code listing.
internal/report/source.go:213
Interface
Writer
Writer provides a mechanism to write data under a certain name, typically a filename.
internal/plugin/plugin.go:50
Interface
Writer
Writer provides a mechanism to write data under a certain name, typically a filename.
driver/driver.go:82
Struct
addLabelNodesTestcase
internal/driver/tagroot_test.go:179
Struct
addr2Liner
addr2Liner is a connection to an addr2line command for obtaining address and line number information from a binary.
internal/binutils/addr2liner.go:39
Struct
addr2LinerJob
internal/binutils/addr2liner.go:61
Struct
addr2LinerNM
addr2LinerNM is a connection to an nm command for obtaining symbol information from a binary.
internal/binutils/addr2liner_nm.go:34
Struct
addrInfo
addrInfo holds information for an address we are interested in.
internal/report/source.go:145
Struct
addressRange
addressRange is a range of addresses plus the object file that contains it.
internal/report/source.go:184
Struct
aggTest
profile/profile_test.go:648
Struct
assemblyInstruction
internal/report/report.go:604
Struct
binrep
binrep is an immutable representation for Binutils. It is atomically replaced on every mutation to provide thread-safe access.
internal/binutils/binutils.go:54
Struct
buf
internal/binutils/binutils_test.go:842
Struct
buffer
profile/proto.go:42
Struct
builder
builder wraps an io.Writer and understands how to compose DOT formatted elements.
internal/graph/dotgraph.go:101
Struct
callID
internal/report/report.go:616
Struct
command
command describes the actions for a pprof command. Includes a function for command-line completion, the report format to use during report generation,
internal/driver/commands.go:39
TypeAlias
commands
commands describes the commands accepted by pprof.
internal/driver/commands.go:33
Struct
config
config holds settings for a single named config. The JSON tag name for a field is used both for JSON encoding and as a named variable.
internal/driver/config.go:16
Struct
configField
configField contains metadata for a single configuration field.
internal/driver/config.go:94
Struct
configMenuEntry
configMenuEntry holds information for a single config menu entry.
internal/driver/settings.go:73
FuncType
decoder
func(*buffer, message) error
profile/proto.go:51
TypeAlias
edgeList
internal/graph/graph.go:1155
Struct
elfMapping
elfMapping stores the parameters of a runtime mapping that are needed to identify the ELF segment associated with a mapping.
internal/binutils/binutils.go:527
Struct
elfNote
elfNote is the payload of a Note Section in an ELF file.
internal/elfexec/elfexec.go:32
Struct
errorCatcher
errorCatcher is a UI that captures errors for reporting to the browser.
internal/driver/webui.go:67
Struct
expectedNode
internal/graph/graph_test.go:115
next →
1–100 of 188, ranked by callers