package driver
import "cmd/internal/pprof/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.7.1
- Published
- Sep 7, 2016
- Platform
- linux/amd64
- Imports
- 17 packages
- Last checked
- 6 seconds ago –
Tools for package owners.