ebpf

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package ebpf wraps ebpf programs and provides simpler abstraction

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BpfCaptureExec

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

func NewBpfCaptureExec

func NewBpfCaptureExec() (*BpfCaptureExec, error)

func (*BpfCaptureExec) Close

func (b *BpfCaptureExec) Close()

func (*BpfCaptureExec) GetExecEventsChannel

func (b *BpfCaptureExec) GetExecEventsChannel() chan BpfExecEvent

func (*BpfCaptureExec) SetLogger

func (b *BpfCaptureExec) SetLogger(l *zap.SugaredLogger)

func (*BpfCaptureExec) Start

func (b *BpfCaptureExec) Start()

type BpfExecEvent

type BpfExecEvent struct {
	Pid      uint32
	Comm     [80]uint8
	Filename [1024]uint8
}

Jump to

Keyboard shortcuts

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