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

driver.go interactive.go

Version
v1.5.2
Published
Dec 3, 2015
Platform
js/wasm
Imports
17 packages
Last checked
1 minute ago

Tools for package owners.