pub struct EventConfig {
pub event: u16,
pub exclude_user: bool,
pub exclude_kernel: bool,
pub include_hypervisor: bool,
}Available on AArch64 and crate feature
pmu only.Expand description
PMUv3 event code and privilege filters.
Fields§
§event: u16Raw architectural or implementation-defined event code.
exclude_user: boolExcludes execution at EL0.
exclude_kernel: boolExcludes execution at EL1.
include_hypervisor: boolIncludes execution at EL2.
Trait Implementations§
Source§impl Clone for EventConfig
impl Clone for EventConfig
Source§fn clone(&self) -> EventConfig
fn clone(&self) -> EventConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EventConfig
Source§impl Debug for EventConfig
impl Debug for EventConfig
impl Eq for EventConfig
Source§impl PartialEq for EventConfig
impl PartialEq for EventConfig
impl StructuralPartialEq for EventConfig
Auto Trait Implementations§
impl Freeze for EventConfig
impl RefUnwindSafe for EventConfig
impl Send for EventConfig
impl Sync for EventConfig
impl Unpin for EventConfig
impl UnsafeUnpin for EventConfig
impl UnwindSafe for EventConfig
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