periodic

package
v0.0.0-...-5a73fcb Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector struct {
	StoreBundle func(meta *autoprof.ArchiveMeta, buf []byte)
}

A Collector periodically builds a profile bundle for the process.

func (*Collector) Run

func (c *Collector) Run(ctx context.Context) error

Run periodically builds a profile bundle for the processes and passes it to the provided StoreBundle function.

Jump to

Keyboard shortcuts

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