package driver
import "cmd/pprof/internal/driver"
Package driver implements the core pprof functionality. It can be parameterized with a flag implementation, fetch and symbolize mechanisms.
Index ¶
Functions ¶
func PProf ¶
func PProf(flagset plugin.FlagSet, fetch plugin.Fetcher, sym plugin.Symbolizer, obj plugin.ObjTool, ui plugin.UI, overrides commands.Commands) error
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.
Source Files ¶
- Version
- v1.4.0
- Published
- Dec 11, 2014
- Platform
- linux/amd64
- Imports
- 17 packages
- Last checked
- 6 seconds ago –
Tools for package owners.