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

At least one record was dropped.

KTR_SYSCALL - system call record

Fields of SystemCall

syscall number

user arguments

KTR_SYSRET - return from system call record

Fields of SystemCallReturn

KTR_NAMEI - namei record

KTR_GENIO - trace generic process I/O

Fields of GenericIO

KTR_PSIG - trace processed signal

Fields of Signal

KTR_CSW - trace context switches

Fields of ContextSwitch

KTR_USER - data coming from userland

KTR_STRUCT - misc. structs

Fields of Struct

KTR_SYSCTL - name of a sysctl MIB

KTR_PROCCTOR - trace process creation (multiple ABI support)

Fields of ProcessCreation

KTR_PROCDTOR - trace process destruction (multiple ABI support)

KTR_CAPFAIL - trace capability check failure

Fields of CapabilityFailure

KTR_FAULT - page fault record

Fields of PageFault

KTR_FAULTEND - end of page fault record

Fields of PageFaultEnd

Methods

impl Record
[src]

Trait Implementations

impl Clone for Record
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Record
[src]

Formats the value using the given formatter.

impl Display for Record
[src]

Formats the value using the given formatter. Read more