Enum ktrace::Record
[−]
[src]
pub enum Record { Drop, SystemCall { number: u16, args: Vec<u64>, }, SystemCallReturn { code: u16, eosys: u16, error: u32, retval: u64, }, Namei(String), GenericIO { fd: i32, rw: IODir, data: Vec<u8>, }, Signal { signo: i32, handler: *const SignalHandler, code: i32, mask: Vec<u32>, }, ContextSwitch { out: bool, user: bool, message: String, }, UserData(Vec<u8>), Struct { name: String, content: Vec<u8>, }, Sysctl(String), ProcessCreation { flags: u32, }, ProcessDestruction, CapabilityFailure { fail_type: CapabilityFailureType, rights_needed: CapabilityRights, rights_held: CapabilityRights, }, PageFault { virtual_address: u64, fault_type: u32, }, PageFaultEnd { result: u32, }, }
Variants
Drop
At least one record was dropped.
SystemCall
KTR_SYSCALL - system call record
Fields of SystemCall
number: u16 | syscall number |
args: Vec<u64> | user arguments |
SystemCallReturn
KTR_SYSRET - return from system call record
Fields of SystemCallReturn
code: u16 | |
eosys: u16 | |
error: u32 | |
retval: u64 |
Namei(String)
KTR_NAMEI - namei record
GenericIO
KTR_GENIO - trace generic process I/O
Fields of GenericIO
fd: i32 | |
rw: IODir | |
data: Vec<u8> |
Signal
KTR_PSIG - trace processed signal
Fields of Signal
signo: i32 | |
handler: *const SignalHandler | |
code: i32 | |
mask: Vec<u32> |
ContextSwitch
KTR_CSW - trace context switches
Fields of ContextSwitch
out: bool | |
user: bool | |
message: String |
UserData(Vec<u8>)
KTR_USER - data coming from userland
Struct
KTR_STRUCT - misc. structs
Fields of Struct
name: String | |
content: Vec<u8> |
Sysctl(String)
KTR_SYSCTL - name of a sysctl MIB
ProcessCreation
KTR_PROCCTOR - trace process creation (multiple ABI support)
Fields of ProcessCreation
flags: u32 |
ProcessDestruction
KTR_PROCDTOR - trace process destruction (multiple ABI support)
CapabilityFailure
KTR_CAPFAIL - trace capability check failure
Fields of CapabilityFailure
fail_type: CapabilityFailureType | |
rights_needed: CapabilityRights | |
rights_held: CapabilityRights |
PageFault
KTR_FAULT - page fault record
Fields of PageFault
virtual_address: u64 | |
fault_type: u32 |
PageFaultEnd
KTR_FAULTEND - end of page fault record
Fields of PageFaultEnd
result: u32 |
Methods
impl Record
[src]
Trait Implementations
impl Clone for Record
[src]
fn clone(&self) -> Record
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more