profiler

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 30 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,
	reg prometheus.Registerer,
	ksymCache *ksym.Cache,
	objCache objectfile.Cache,
	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