Documentation ¶
Overview ¶
Package driver implements the core pprof functionality. It can be parameterized with a flag implementation, fetch and symbolize mechanisms.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommand ¶
func AddCommand(cmd string, format int, post PostProcessor, desc, usage string)
AddCommand adds an additional command to the set of commands accepted by pprof. This enables extensions to add new commands for specialized visualization formats. If the command specified already exists, it is overwritten.
func PProf ¶
PProf acquires a profile, and symbolizes it using a profile manager. Then it generates a report formatted according to the options selected through the flags package.
func SetVariableDefault ¶
func SetVariableDefault(variable, value string)
SetVariableDefault sets the default value for a pprof variable. This enables extensions to set their own defaults.
Types ¶
Click to show internal directories.
Click to hide internal directories.