[][src]Enum linux_perf_file_reader::Event

pub enum Event {
    MMap {
        pid: u32,
        tid: u32,
        addr: u64,
        len: u64,
        pgoff: u64,
        filename: String,
        sample_id: SampleId,
    },
    MMap2 {
        pid: u32,
        tid: u32,
        addr: u64,
        len: u64,
        pgoff: u64,
        maj: u32,
        min: u32,
        ino: u64,
        ino_generation: u64,
        prot: u32,
        flags: u32,
        filename: String,
        sample_id: SampleId,
    },
    Sample {
        identifier: Option<u64>,
        ip: Option<u64>,
        pid: Option<u32>,
        tid: Option<u32>,
        time: Option<u64>,
        addr: Option<u64>,
        id: Option<u64>,
        stream_id: Option<u64>,
        cpu: Option<u32>,
        res: Option<u32>,
        period: Option<u64>,
        call_chain: Vec<u64>,
    },
    Exit {
        pid: u32,
        ppid: u32,
        tid: u32,
        ptid: u32,
        time: u64,
        sample_id: SampleId,
    },
    Comm {
        pid: u32,
        tid: u32,
        comm: String,
        sample_id: SampleId,
    },
    FinishedRound,
    Unsupported,
}

Variants

MMap

Fields of MMap

pid: u32tid: u32addr: u64len: u64pgoff: u64filename: Stringsample_id: SampleId
MMap2

Fields of MMap2

pid: u32tid: u32addr: u64len: u64pgoff: u64maj: u32min: u32ino: u64ino_generation: u64prot: u32flags: u32filename: Stringsample_id: SampleId
Sample

Fields of Sample

identifier: Option<u64>ip: Option<u64>pid: Option<u32>tid: Option<u32>time: Option<u64>addr: Option<u64>id: Option<u64>stream_id: Option<u64>cpu: Option<u32>res: Option<u32>period: Option<u64>call_chain: Vec<u64>
Exit

Fields of Exit

pid: u32ppid: u32tid: u32ptid: u32time: u64sample_id: SampleId
Comm

Fields of Comm

pid: u32tid: u32comm: Stringsample_id: SampleId
FinishedRound
Unsupported

Trait Implementations

impl Debug for Event[src]

Auto Trait Implementations

impl RefUnwindSafe for Event

impl Send for Event

impl Sync for Event

impl Unpin for Event

impl UnwindSafe for Event

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.