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§
source§impl Clone for IpSkidConstraint
impl Clone for IpSkidConstraint
source§fn clone(&self) -> IpSkidConstraint
fn clone(&self) -> IpSkidConstraint
Returns a copy 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 IpSkidConstraint
impl Debug for IpSkidConstraint
source§impl Hash for IpSkidConstraint
impl Hash for IpSkidConstraint
source§impl Ord for IpSkidConstraint
impl Ord for IpSkidConstraint
source§fn cmp(&self, other: &IpSkidConstraint) -> Ordering
fn cmp(&self, other: &IpSkidConstraint) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<IpSkidConstraint> for IpSkidConstraint
impl PartialEq<IpSkidConstraint> for IpSkidConstraint
source§fn eq(&self, other: &IpSkidConstraint) -> bool
fn eq(&self, other: &IpSkidConstraint) -> bool
source§impl PartialOrd<IpSkidConstraint> for IpSkidConstraint
impl PartialOrd<IpSkidConstraint> for IpSkidConstraint
source§fn partial_cmp(&self, other: &IpSkidConstraint) -> Option<Ordering>
fn partial_cmp(&self, other: &IpSkidConstraint) -> Option<Ordering>
1.0.0 · source§fn 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