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.8.7
- Published
- Feb 7, 2018
- Platform
- linux/amd64
- Imports
- 17 packages
- Last checked
- 10 seconds ago –
Tools for package owners.