#[repr(C)]pub struct SysEvent {
pub tgid: u32,
pub host_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 (12 bytes): { tgid: u32, host_tgid: u32, kind: u32 }.
Fields§
§tgid: u32Runtime TGID in the configured sysmon event namespace when available.
host_tgid: u32Host/initial-namespace TGID from bpf_get_current_pid_tgid().
kind: u32Implementations§
Source§impl SysEvent
impl SysEvent
pub fn event_kind(self) -> Option<SysEventKind>
Trait 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 UnsafeUnpin 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