pub enum IpSkidConstraint {
ArbitrarySkid,
ConstantSkid,
ZeroSkid,
ZeroSkidOrRandomization,
}
Expand description
Specifies how precise the instruction address should be.
With perf record -e
you can set the precision by appending /p to the
event name, with varying numbers of p
s.
Variants
ArbitrarySkid
0 - SAMPLE_IP can have arbitrary skid
ConstantSkid
1 - SAMPLE_IP must have constant skid
ZeroSkid
2 - SAMPLE_IP requested to have 0 skid
ZeroSkidOrRandomization
3 - SAMPLE_IP must have 0 skid, or uses randomization to avoid sample shadowing effects.
Trait Implementations
sourceimpl Clone for IpSkidConstraint
impl Clone for IpSkidConstraint
sourcefn clone(&self) -> IpSkidConstraint
fn clone(&self) -> IpSkidConstraint
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for IpSkidConstraint
impl Debug for IpSkidConstraint
sourceimpl Hash for IpSkidConstraint
impl Hash for IpSkidConstraint
sourceimpl Ord for IpSkidConstraint
impl Ord for IpSkidConstraint
sourceimpl PartialEq<IpSkidConstraint> for IpSkidConstraint
impl PartialEq<IpSkidConstraint> for IpSkidConstraint
sourceimpl PartialOrd<IpSkidConstraint> for IpSkidConstraint
impl PartialOrd<IpSkidConstraint> for IpSkidConstraint
sourcefn partial_cmp(&self, other: &IpSkidConstraint) -> Option<Ordering>
fn partial_cmp(&self, other: &IpSkidConstraint) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for IpSkidConstraint
impl Eq for IpSkidConstraint
impl StructuralEq for IpSkidConstraint
impl StructuralPartialEq for IpSkidConstraint
Auto Trait Implementations
impl RefUnwindSafe for IpSkidConstraint
impl Send for IpSkidConstraint
impl Sync for IpSkidConstraint
impl Unpin for IpSkidConstraint
impl UnwindSafe for IpSkidConstraint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more