#[repr(C)]pub struct SysEvent {
pub tgid: u32,
pub kind: u32,
}Expand description
Raw SysEvent ABI — must match eBPF side exactly
ABI note: This layout is mirrored in eBPF at
ghostscope-process/ebpf/sysmon-bpf/src/lib.rs. We intentionally keep
two copies for now to avoid entangling the BPF build with the workspace.
Keep repr(C), field order and sizes identical on both sides. Current
layout (8 bytes): { tgid: u32, kind: u32 }.
Fields§
§tgid: u32§kind: u32Trait Implementations§
Auto Trait Implementations§
impl Freeze for SysEvent
impl RefUnwindSafe for SysEvent
impl Send for SysEvent
impl Sync for SysEvent
impl Unpin for SysEvent
impl UnwindSafe for SysEvent
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