profiling

package
v1.18.10 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CollectInterval = time.Minute
	SampleRate      = 100
	UploadTimeout   = 10 * time.Second
)

Variables

This section is empty.

Functions

func Init

func Init(hostId, hostName string) chan<- containers.ProcessInfo

func Start

func Start()

func Stop

func Stop()

Types

type TargetFinder

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

func (*TargetFinder) DebugInfo

func (tf *TargetFinder) DebugInfo() []string

func (*TargetFinder) FindTarget

func (tf *TargetFinder) FindTarget(pid uint32) *sd.Target

func (*TargetFinder) RemoveDeadPID

func (tf *TargetFinder) RemoveDeadPID(pid uint32)

func (*TargetFinder) Update

func (tf *TargetFinder) Update(_ sd.TargetsOptions)

Jump to

Keyboard shortcuts

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