pub struct Lbr {
pub target_priv: Option<TargetPriv>,
pub branch_type: BranchType,
pub hw_index: bool,
pub entry_format: EntryFormat,
}
Expand description
LBR options.
Fields§
§target_priv: Option<TargetPriv>
Specifies which branches of target privileges can be included in the branch record.
If the user does not set privilege level explicitly,
the kernel will inherit event’s privilege level
(e.g., compatible options from Opts::exclude
).
branch_type: BranchType
Specifies which branches of types can be included in the branch record.
hw_index: bool
Save hardware index.
Since linux-5.7
: https://github.com/torvalds/linux/commit/bbfd5e4fab63703375eafaf241a0c696024a59e1
entry_format: EntryFormat
Controls the format of LBR entry.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Lbr
impl RefUnwindSafe for Lbr
impl Send for Lbr
impl Sync for Lbr
impl Unpin for Lbr
impl UnwindSafe for Lbr
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