tracenetif

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TXLAT_QDISC_SLOW  = "netiftxlat_qdiscslow100ms"
	TXLAT_NETDEV_SLOW = "netiftxlat_netdevslow100ms"
)

nolint

Variables

View Source
var (
	ModuleName = "insp_netiftxlat" // nolint

)

Functions

This section is empty.

Types

type NetifTxlatencyProbe

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

func GetProbe

func GetProbe() *NetifTxlatencyProbe

func (*NetifTxlatencyProbe) Close

func (p *NetifTxlatencyProbe) Close(probeType proto.ProbeType) error

func (*NetifTxlatencyProbe) Collect

func (p *NetifTxlatencyProbe) Collect(_ context.Context) (map[string]map[uint32]uint64, error)

func (*NetifTxlatencyProbe) GetEventNames

func (p *NetifTxlatencyProbe) GetEventNames() []string

func (*NetifTxlatencyProbe) GetMetricNames

func (p *NetifTxlatencyProbe) GetMetricNames() []string

func (*NetifTxlatencyProbe) Name

func (p *NetifTxlatencyProbe) Name() string

func (*NetifTxlatencyProbe) Ready

func (p *NetifTxlatencyProbe) Ready() bool

func (*NetifTxlatencyProbe) Register

func (p *NetifTxlatencyProbe) Register(receiver chan<- proto.RawEvent) error

Register register sub chan to get perf events

func (*NetifTxlatencyProbe) Start

func (p *NetifTxlatencyProbe) Start(ctx context.Context, probeType proto.ProbeType)

Jump to

Keyboard shortcuts

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