Enum oxidebpf::PerfChannelMessage
source · [−]pub enum PerfChannelMessage {
Dropped(u64),
Event {
map_name: String,
cpuid: i32,
data: Vec<u8>,
},
}
Expand description
Message format for messages sent back across the channel
Messages could either be dropped in case of messages lost, usually caused by a a filled up perf buffer, or an event with source and data
Variants
Dropped(u64)
A count of how many messages were lost
Event
Fields
map_name: String
The name of the map this message is from.
cpuid: i32
The cpuid of the CPU this message is from.
A received message with information about its source