Help us shape the future of Go! Take the 2026 Go Developer Survey

profiler

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CgroupProfiler

type CgroupProfiler struct {
	// contains filtered or unexported fields
}

func NewCgroupProfiler

func NewCgroupProfiler(
	logger log.Logger,
	ksymCache *ksym.KsymCache,
	writeClient profilestorepb.ProfileStoreServiceClient,
	debugInfoClient debuginfo.Client,
	target model.LabelSet,
	profilingDuration time.Duration,
	tmp string,
) *CgroupProfiler

func (*CgroupProfiler) Labels

func (p *CgroupProfiler) Labels() model.LabelSet

func (*CgroupProfiler) LastError

func (p *CgroupProfiler) LastError() error

func (*CgroupProfiler) LastProfileTakenAt

func (p *CgroupProfiler) LastProfileTakenAt() time.Time

func (*CgroupProfiler) Run

func (p *CgroupProfiler) Run(ctx context.Context) error

func (*CgroupProfiler) Stop

func (p *CgroupProfiler) Stop()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL