source

package
v0.0.0-...-efe2023 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package event defines events, and offers embeddable implementations for the following eBPF program types:

  • BPF_PROG_TYPE_KPROBE

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KprobeSource

type KprobeSource struct {
	events.Streamer

	Module  *bpf.Module
	PerfCh  chan []byte
	PerfMap *bpf.PerfMap
}

func (*KprobeSource) Load

func (s *KprobeSource) Load(stream events.Streamer) error

func (*KprobeSource) Start

func (s *KprobeSource) Start() error

func (*KprobeSource) Stop

func (s *KprobeSource) Stop() error

type Source

type Source interface {
	unit.Unit
	events.Publisher
}

Directories

Path Synopsis
storage
blockdevice
Package main provides an eBPF program that emits block device events.
Package main provides an eBPF program that emits block device events.
io
Package main provides an eBPF program that emits io events.
Package main provides an eBPF program that emits io events.

Jump to

Keyboard shortcuts

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