Documentation ¶
Overview ¶
Package ringbuf allows interacting with Linux BPF ring buffer.
BPF allows submitting custom events to a BPF ring buffer map set up by userspace. This is very useful to push things like packet samples from BPF to a daemon running in user space.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrClosed = errors.New("ringbuf reader was closed")
)
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.