#[repr(C)]pub struct perf_event {Show 84 fields
pub event_entry: list_head,
pub sibling_list: list_head,
pub active_list: list_head,
pub group_node: rb_node,
pub group_index: u64,
pub migrate_entry: list_head,
pub hlist_entry: hlist_node,
pub active_entry: list_head,
pub nr_siblings: i32,
pub event_caps: i32,
pub group_caps: i32,
pub group_generation: u32,
pub group_leader: *mut perf_event,
pub pmu: *mut c_void,
pub pmu_private: *mut c_void,
pub state: perf_event_state,
pub attach_state: u32,
pub count: __anon_25,
pub child_count: __anon_1,
pub total_time_enabled: u64,
pub total_time_running: u64,
pub tstamp: u64,
pub attr: perf_event_attr,
pub header_size: u16,
pub id_header_size: u16,
pub read_size: u16,
pub hw: hw_perf_event,
pub ctx: *mut c_void,
pub pmu_ctx: *mut c_void,
pub refcount: __anon_1,
pub child_total_time_enabled: __anon_1,
pub child_total_time_running: __anon_1,
pub child_mutex: mutex,
pub child_list: list_head,
pub parent: *mut perf_event,
pub oncpu: i32,
pub cpu: i32,
pub owner_entry: list_head,
pub owner: *mut task_struct,
pub mmap_mutex: mutex,
pub mmap_count: __anon_4,
pub __pad_716: [u8; 4],
pub rb: *mut c_void,
pub rb_entry: list_head,
pub rcu_batches: u64,
pub rcu_pending: i32,
pub __pad_756: [u8; 4],
pub waitq: wait_queue_head,
pub fasync: *mut c_void,
pub pending_wakeup: u32,
pub pending_kill: u32,
pub pending_disable: u32,
pub __pad_804: [u8; 4],
pub pending_addr: u64,
pub pending_irq: irq_work,
pub pending_disable_irq: irq_work,
pub pending_task: callback_head,
pub pending_work: u32,
pub __pad_900: [u8; 4],
pub pending_work_wait: rcuwait,
pub event_limit: __anon_4,
pub __pad_916: [u8; 4],
pub addr_filters: perf_addr_filters_head,
pub addr_filter_ranges: *mut c_void,
pub addr_filters_gen: u64,
pub aux_event: *mut perf_event,
pub destroy: *mut c_void,
pub callback_head: callback_head,
pub ns: *mut c_void,
pub id: u64,
pub lost_samples: __anon_1,
pub clock: *mut c_void,
pub overflow_handler: *mut c_void,
pub overflow_handler_context: *mut c_void,
pub prog: *mut c_void,
pub bpf_cookie: u64,
pub tp_event: *mut c_void,
pub filter: *mut c_void,
pub ftrace_ops: ftrace_ops,
pub cgrp: *mut c_void,
pub security: *mut c_void,
pub sb_list: list_head,
pub orig_type: u32,
pub __pad_1324: [u8; 4],
}Fields§
§event_entry: list_head§sibling_list: list_head§active_list: list_head§group_node: rb_node§group_index: u64§migrate_entry: list_head§hlist_entry: hlist_node§active_entry: list_head§nr_siblings: i32§event_caps: i32§group_caps: i32§group_generation: u32§group_leader: *mut perf_event§pmu: *mut c_void§pmu_private: *mut c_void§state: perf_event_state§attach_state: u32§count: __anon_25§child_count: __anon_1§total_time_enabled: u64§total_time_running: u64§tstamp: u64§attr: perf_event_attr§header_size: u16§id_header_size: u16§read_size: u16§hw: hw_perf_event§ctx: *mut c_void§pmu_ctx: *mut c_void§refcount: __anon_1§child_total_time_enabled: __anon_1§child_total_time_running: __anon_1§child_mutex: mutex§child_list: list_head§parent: *mut perf_event§oncpu: i32§cpu: i32§owner_entry: list_head§owner: *mut task_struct§mmap_mutex: mutex§mmap_count: __anon_4§__pad_716: [u8; 4]§rb: *mut c_void§rb_entry: list_head§rcu_batches: u64§rcu_pending: i32§__pad_756: [u8; 4]§waitq: wait_queue_head§fasync: *mut c_void§pending_wakeup: u32§pending_kill: u32§pending_disable: u32§__pad_804: [u8; 4]§pending_addr: u64§pending_irq: irq_work§pending_disable_irq: irq_work§pending_task: callback_head§pending_work: u32§__pad_900: [u8; 4]§pending_work_wait: rcuwait§event_limit: __anon_4§__pad_916: [u8; 4]§addr_filters: perf_addr_filters_head§addr_filter_ranges: *mut c_void§addr_filters_gen: u64§aux_event: *mut perf_event§destroy: *mut c_void§callback_head: callback_head§ns: *mut c_void§id: u64§lost_samples: __anon_1§clock: *mut c_void§overflow_handler: *mut c_void§overflow_handler_context: *mut c_void§prog: *mut c_void§tp_event: *mut c_void§filter: *mut c_void§ftrace_ops: ftrace_ops§cgrp: *mut c_void§security: *mut c_void§sb_list: list_head§orig_type: u32§__pad_1324: [u8; 4]Trait Implementations§
Source§impl Clone for perf_event
impl Clone for perf_event
Source§fn clone(&self) -> perf_event
fn clone(&self) -> perf_event
Returns a duplicate of the value. Read more
1.0.0 · 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 perf_event
impl Debug for perf_event
Source§impl Default for perf_event
impl Default for perf_event
impl Copy for perf_event
Auto Trait Implementations§
impl Freeze for perf_event
impl RefUnwindSafe for perf_event
impl !Send for perf_event
impl !Sync for perf_event
impl Unpin for perf_event
impl UnwindSafe for perf_event
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