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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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 for IpSkidConstraint
impl PartialEq for IpSkidConstraint
Source§impl PartialOrd for IpSkidConstraint
impl PartialOrd for IpSkidConstraint
impl Copy for IpSkidConstraint
impl Eq for IpSkidConstraint
impl StructuralPartialEq for IpSkidConstraint
Auto Trait Implementations§
impl Freeze for IpSkidConstraint
impl RefUnwindSafe for IpSkidConstraint
impl Send for IpSkidConstraint
impl Sync for IpSkidConstraint
impl Unpin for IpSkidConstraint
impl UnwindSafe for IpSkidConstraint
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