piditer

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PidIter

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

func NewTracer

func NewTracer() (iter *PidIter, err error)

func (*PidIter) Close

func (p *PidIter) Close() (err error)

func (*PidIter) DumpPids

func (p *PidIter) DumpPids() ([]*PidIterEntry, error)

DumpPids returns an array of PidIterEntry containing information on which pid (and comm) has an open fd to which eBPF Program ID.

type PidIterEntry

type PidIterEntry struct {
	ProgID uint32
	Pid    uint32
	Comm   string
}

Jump to

Keyboard shortcuts

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