perf

package
v0.0.0-...-761de8a Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttachPerfEventSpec

type AttachPerfEventSpec struct {
	Prog       *ebpf.Program
	SampleRate uint64
}

type PerfEvent

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

func New

func New() *PerfEvent

func (*PerfEvent) AttachPerfEvent

func (p *PerfEvent) AttachPerfEvent(spec *AttachPerfEventSpec) error

func (*PerfEvent) Close

func (p *PerfEvent) Close()

func (*PerfEvent) DetachPerfEvent

func (p *PerfEvent) DetachPerfEvent(prodFd int)

Jump to

Keyboard shortcuts

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