Struct libbpf_rs::PerfBufferBuilder [−][src]
pub struct PerfBufferBuilder<'a, 'b> { /* fields omitted */ }
Expand description
Builds PerfBuffer
instances.
Implementations
Callback to run when a sample is received.
This callback provides a raw byte slice. You may find libraries such as
plain
helpful.
Callback arguments are: (cpu, data)
.
Callback to run when a sample is received.
Callback arguments are: (cpu, lost_count)
.