#[repr(u32)]pub enum EventType {
Show 13 variants
EVENT_TYPE_UNKNOWN = 0,
EVENT_TYPE_MSG = 1,
EVENT_TYPE_UNIX_STREAM_CONNECT = 2,
EVENT_TYPE_SB_UMOUNT = 3,
EVENT_TYPE_BPF_MAP = 4,
EVENT_TYPE_TASK_KILL = 5,
EVENT_TYPE_KERNEL_MODULE_REQUEST = 6,
EVENT_TYPE_KERNEL_READ_FILE = 7,
EVENT_TYPE_KERNEL_LOAD_DATA = 8,
EVENT_TYPE_PTRACE_ACCESS_CHECK = 9,
EVENT_TYPE_BPF_WRITE_USER = 10,
EVENT_TYPE_TASK_ALLOC = 11,
EVENT_TYPE_FILE_ACCESS = 12,
}Expand description
The link between a program’s log structure and the logging system.
Each program’s log struct will be named here and referred to in the log_hdr structure to give the logging system an idea as to what C binding structure to use when decoding the bytes from the ringbuf.
Variants§
EVENT_TYPE_UNKNOWN = 0
EVENT_TYPE_MSG = 1
EVENT_TYPE_UNIX_STREAM_CONNECT = 2
EVENT_TYPE_SB_UMOUNT = 3
EVENT_TYPE_BPF_MAP = 4
EVENT_TYPE_TASK_KILL = 5
EVENT_TYPE_KERNEL_MODULE_REQUEST = 6
EVENT_TYPE_KERNEL_READ_FILE = 7
EVENT_TYPE_KERNEL_LOAD_DATA = 8
EVENT_TYPE_PTRACE_ACCESS_CHECK = 9
EVENT_TYPE_BPF_WRITE_USER = 10
EVENT_TYPE_TASK_ALLOC = 11
EVENT_TYPE_FILE_ACCESS = 12
Implementations§
Trait Implementations§
impl Copy for EventType
impl Eq for EventType
impl StructuralPartialEq for EventType
Auto Trait Implementations§
impl Freeze for EventType
impl RefUnwindSafe for EventType
impl Send for EventType
impl Sync for EventType
impl Unpin for EventType
impl UnwindSafe for EventType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more