Versions in this module Expand all Collapse all v0 v0.0.5 Mar 27, 2023 v0.0.4 Mar 1, 2023 v0.0.3 Jul 20, 2022 v0.0.2 Jul 20, 2022 v0.0.1 Jul 20, 2022 Changes in this version + type Fetcher interface + Fetch func(src string, duration, timeout time.Duration) (*profile.Profile, string, error) + type FlagSet interface + AddExtraUsage func(eu string) + Bool func(name string, def bool, usage string) *bool + ExtraUsage func() string + Float64 func(name string, def float64, usage string) *float64 + Int func(name string, def int, usage string) *int + Parse func(usage func()) []string + String func(name string, def string, usage string) *string + StringList func(name string, def string, usage string) *[]*string + type Frame struct + File string + Func string + Line int + type HTTPServerArgs struct + Handlers map[string]http.Handler + Host string + Hostport string + Port int + type Inst struct + Addr uint64 + File string + Function string + Line int + Text string + type MappingSources map[string][]struct + type ObjFile interface + BuildID func() string + Close func() error + Name func() string + ObjAddr func(addr uint64) (uint64, error) + SourceLine func(addr uint64) ([]Frame, error) + Symbols func(r *regexp.Regexp, addr uint64) ([]*Sym, error) + type ObjTool interface + Disasm func(file string, start, end uint64, intelSyntax bool) ([]Inst, error) + Open func(file string, start, limit, offset uint64, relocationSymbol string) (ObjFile, error) + type Options struct + Fetch Fetcher + Flagset FlagSet + HTTPServer func(args *HTTPServerArgs) error + HTTPTransport http.RoundTripper + Obj ObjTool + Sym Symbolizer + UI UI + Writer Writer + type Sym struct + End uint64 + File string + Name []string + Start uint64 + type Symbolizer interface + Symbolize func(mode string, srcs MappingSources, prof *profile.Profile) error + type UI interface + IsTerminal func() bool + Print func(...interface{}) + PrintErr func(...interface{}) + ReadLine func(prompt string) (string, error) + SetAutoComplete func(complete func(string) string) + WantBrowser func() bool + type Writer interface + Open func(name string) (io.WriteCloser, error)