go/src/cmd/pprof/pprof.go

func main() {}

type fetcher

func (f *fetcher) Fetch(src string, duration, timeout time.Duration) (*profile.Profile, string, error) {}

func getProfile(source string, timeout time.Duration) (*profile.Profile, error) {}

func statusCodeError(resp *http.Response) error {}

const cpuProfileHandler

// adjustURL applies the duration/timeout values and Go specific defaults.
func adjustURL(source string, duration, timeout time.Duration) (string, time.Duration) {}

type objTool

func (*objTool) Open(name string, start, limit, offset uint64, relocationSymbol string) (driver.ObjFile, error) {}

func (*objTool) Demangle(names []string) (map[string]string, error) {}

func (t *objTool) Disasm(file string, start, end uint64, intelSyntax bool) ([]driver.Inst, error) {}

func (t *objTool) cachedDisasm(file string) (*objfile.Disasm, error) {}

func (*objTool) SetConfig(config string) {}

type file

func (f *file) Name() string {}

func (f *file) ObjAddr(addr uint64) (uint64, error) {}

func (f *file) BuildID() string {}

func (f *file) SourceLine(addr uint64) ([]driver.Frame, error) {}

// dwarfSourceLine tries to get file/line information using DWARF.
// This is for C functions that appear in the profile.
// Returns nil if there is no information available.
func (f *file) dwarfSourceLine(addr uint64) []driver.Frame {}

// dwarfSourceLineEntry tries to get file/line information from a
// DWARF compilation unit. Returns nil if it doesn't find anything.
func (f *file) dwarfSourceLineEntry(r *dwarf.Reader, entry *dwarf.Entry, addr uint64) []driver.Frame {}

func (f *file) Symbols(r *regexp.Regexp, addr uint64) ([]*driver.Sym, error) {}

func (f *file) Close() error {}

var newUI