pub struct ProcessInfo {
pub pid: u64,
pub ppid: u64,
pub comm: String,
pub state: ProcessState,
pub vaddr: u64,
pub cr3: Option<u64>,
pub start_time: u64,
}Expand description
Information about a Linux process extracted from task_struct.
Fields§
§pid: u64Process ID.
ppid: u64Parent process ID.
comm: StringProcess command name (task_struct.comm, max 16 chars).
state: ProcessStateProcess state.
vaddr: u64Virtual address of the task_struct.
cr3: Option<u64>Page table root (CR3) from mm->pgd, if available.
start_time: u64Process start time in nanoseconds since boot.
Prefers real_start_time (CLOCK_BOOTTIME, includes suspend) for
timeline accuracy; falls back to start_time (CLOCK_MONOTONIC) on
older kernels. Zero if neither field is in the profile.
Trait Implementations§
Source§impl Clone for ProcessInfo
impl Clone for ProcessInfo
Source§fn clone(&self) -> ProcessInfo
fn clone(&self) -> ProcessInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProcessInfo
impl Debug for ProcessInfo
Source§impl IntoForensicEvents for ProcessInfo
impl IntoForensicEvents for ProcessInfo
Source§fn into_forensic_events(self) -> Vec<ForensicEvent>
fn into_forensic_events(self) -> Vec<ForensicEvent>
Consume this value and produce forensic events.
Auto Trait Implementations§
impl Freeze for ProcessInfo
impl RefUnwindSafe for ProcessInfo
impl Send for ProcessInfo
impl Sync for ProcessInfo
impl Unpin for ProcessInfo
impl UnsafeUnpin for ProcessInfo
impl UnwindSafe for ProcessInfo
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