Enum oxidebpf::ProgramType
source · [−]pub enum ProgramType {
Unspec,
Kprobe,
Kretprobe,
Uprobe,
Uretprobe,
Tracepoint,
RawTracepoint,
}
Expand description
An enum of the different BPF program types.
Variants
Unspec
Unspecified program type.
Kprobe
A kprobe that can be attached at the function (or syscall) start or offset.
Kretprobe
A kprobe that can be attached at the return of a function (or syscall).
Uprobe
A uprobe that can be attached to a function in a program or pid at the start or offset.
Uretprobe
A uprobe that can be attached to the return of a function in a program or pid.
Tracepoint
Stable (in theory) kernel static instrumentation points.
RawTracepoint
A tracepoint with raw arguments accessible, without TP_fast_assign()
applied.
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ProgramType
impl Send for ProgramType
impl Sync for ProgramType
impl Unpin for ProgramType
impl UnwindSafe for ProgramType
Blanket Implementations
Mutably borrows from an owned value. Read more