[][src]Crate bcc

Rust bindings for the BCC compiler collection to enable eBPF instrumentation

Goals

Examples

Modules

cpuonline
perf_event
symbol
table

Structs

BPF

The BPF struct contains the compiled BPF code, any probes or programs that have been attached, and can provide access to a userspace view of the results of the running BPF programs.

Kprobe

A Kprobe is used to configure and then attach a probe to a kernel function which runs on entry into that function. Must be attached to be useful.

Kretprobe

A Kretprobe is used to configure and then attach a probe to a kernel function which runs on return from that function. Must be attached to be useful.

PerfEvent
PerfEventArray
PerfMap
RawTracepoint
Tracepoint
Uprobe

A Uprobe is used to configure and then attach a uprobe to a userspace function on entry into that function. Must be attached to a BPF struct to be useful.

Uretprobe

A UserspaceReturnProbe is used to configure and then attach a uprobe to a userspace function on return from that function. Must be attached to a BPF struct to be useful.

Enums

BccError