pub struct EntryFormat {
pub flags: bool,
pub cycles: bool,
pub counter: bool,
pub branch_type: bool,
pub branch_priv: bool,
}
Expand description
Controls the format of LBR entry.
Fields§
§flags: bool
Contains flags (e.g., mis
,
pred
,
in_tx
and
abort
).
Must be enabled before linux-4.5
:
https://github.com/torvalds/linux/commit/b16a5b52eb90d92b597257778e51e1fdc6423e64
cycles: bool
Contains cycles.
Must be enabled before linux-4.5
:
https://github.com/torvalds/linux/commit/b16a5b52eb90d92b597257778e51e1fdc6423e64
counter: bool
Contains counter.
Since linux-6.8
: https://github.com/torvalds/linux/commit/571d91dcadfa3cef499010b4eddb9b58b0da4d24
branch_type: bool
Contains branch type.
Disassemble the branch instruction and record the branch type.
Since linux-4.14
: https://github.com/torvalds/linux/commit/eb0baf8a0d9259d168523b8e7c436b55ade7c546
branch_priv: bool
Contains branch privilege level.
Since linux-6.1
: https://github.com/torvalds/linux/commit/5402d25aa5710d240040f73fb13d7d5c303ef071
Trait Implementations§
Source§impl Clone for EntryFormat
impl Clone for EntryFormat
Source§fn clone(&self) -> EntryFormat
fn clone(&self) -> EntryFormat
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more