pub struct Syscall {
pub pid: Option<u32>,
pub start: Option<Duration>,
pub call: Call,
pub stop: Option<Duration>,
pub duration: Option<Duration>,
}
Fields§
§pid: Option<u32>
§start: Option<Duration>
When the system call started, if known.
call: Call
§stop: Option<Duration>
When the system call finished_reading, if known. (always inferred from start+ duration).
duration: Option<Duration>
Duration of the system call, if known. Note that duration may be known
without knowing the start and stop as in the following example:
2 execve("foo", ["bar"], 0x7fffedc2f180 /* 20 vars */) = 0 <0.005029>
Implementations§
Trait Implementations§
impl Eq for Syscall
impl StructuralPartialEq for Syscall
Auto Trait Implementations§
impl Freeze for Syscall
impl RefUnwindSafe for Syscall
impl Send for Syscall
impl Sync for Syscall
impl Unpin for Syscall
impl UnwindSafe for Syscall
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