model

package
v0.0.0-...-45a9bcf Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package model is the types for the eBPF check

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EBPFMapStats

type EBPFMapStats struct {
	ID         uint32
	MaxEntries uint32
	Name       string
	Module     string
	RSS        uint64
	MaxSize    uint64
	Type       ebpf.MapType
	Entries    int64 // Allow negative values to indicate that the number of entries could not be calculated

	// used only for tests
	NumCPUs uint32
}

EBPFMapStats are the basic statistics for ebpf maps

type EBPFProgramStats

type EBPFProgramStats struct {
	ID              uint32
	XlatedProgLen   uint32
	Name            string
	Module          string
	Tag             string
	RSS             uint64
	RunCount        uint64
	RecursionMisses uint64
	Runtime         time.Duration
	VerifiedInsns   uint32
	Type            ebpf.ProgramType
}

EBPFProgramStats are the basic statistics for ebpf programs

type EBPFStats

type EBPFStats struct {
	Maps     []EBPFMapStats
	Programs []EBPFProgramStats
}

EBPFStats contains the statistics from the ebpf check

Jump to

Keyboard shortcuts

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