bpf

package
v0.7.12 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// IRQ vector to IRQ number
	IRQNetTX = 2
	IRQNetRX = 3
	IRQBlock = 4
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

type Exporter interface {
	SupportedMetrics() SupportedMetrics
	Detach()
	CollectProcesses() ([]ProcessMetrics, error)
}

func NewExporter

func NewExporter() (Exporter, error)

func NewMockExporter

func NewMockExporter(bpfSupportedMetrics SupportedMetrics) Exporter

type ProcessMetrics added in v0.7.11

type ProcessMetrics = keplerProcessMetricsT

type SupportedMetrics added in v0.7.11

type SupportedMetrics struct {
	HardwareCounters sets.Set[string]
	SoftwareCounters sets.Set[string]
}

func DefaultSupportedMetrics added in v0.7.11

func DefaultSupportedMetrics() SupportedMetrics

Jump to

Keyboard shortcuts

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