Versions in this module Expand all Collapse all v1 v1.0.2 May 18, 2023 Changes in this version + var ErrNoDumpersActive = errors.New("there are no dumpers active") + var ErrProfilerAlreadyStarted = errors.New("profiler already started") + var ErrUnknownProfile = errors.New("unknown profile") + func OverrideDumper(name string, dumper Dumper) error + func Run(ctx context.Context, conf *Config) error + type Config struct + DebugLevel int + Frequency int + Profiles []string + RunGCBeforeHeapProfile bool + Tag string + type Dumper interface + Dump func(timestamp string, name string) error + Prepare func() error + Release func() error