pub struct Feature(pub u32);
Expand description
A piece of optional data stored in a perf.data file. Its data is contained in a “feature section” at the end of the file.
For each used feature, a bit is set in the feature flags in the file header. The feature sections are stored just after the file’s data section; there’s one section for each enabled feature, ordered from low feature bit to high feature bit.
Tuple Fields§
§0: u32
Implementations§
Source§impl Feature
impl Feature
pub const TRACING_DATA: Self
pub const BUILD_ID: Self
pub const HOSTNAME: Self
pub const OSRELEASE: Self
pub const VERSION: Self
pub const ARCH: Self
pub const NRCPUS: Self
pub const CPUDESC: Self
pub const CPUID: Self
pub const TOTAL_MEM: Self
pub const CMDLINE: Self
pub const EVENT_DESC: Self
pub const CPU_TOPOLOGY: Self
pub const NUMA_TOPOLOGY: Self
pub const BRANCH_STACK: Self
pub const PMU_MAPPINGS: Self
pub const GROUP_DESC: Self
pub const AUXTRACE: Self
pub const STAT: Self
pub const CACHE: Self
pub const SAMPLE_TIME: Self
pub const SAMPLE_TOPOLOGY: Self
pub const CLOCKID: Self
pub const DIR_FORMAT: Self
pub const BPF_PROG_INFO: Self
pub const BPF_BTF: Self
pub const COMPRESSED: Self
pub const CPU_PMU_CAPS: Self
pub const CLOCK_DATA: Self
pub const HYBRID_TOPOLOGY: Self
pub const HYBRID_CPU_PMU_CAPS: Self
pub const SIMPLEPERF_FILE: Self
pub const SIMPLEPERF_META_INFO: Self
pub const SIMPLEPERF_DEBUG_UNWIND: Self
pub const SIMPLEPERF_DEBUG_UNWIND_FILE: Self
pub const SIMPLEPERF_FILE2: Self
Trait Implementations§
Source§impl Ord for Feature
impl Ord for Feature
Source§impl PartialOrd for Feature
impl PartialOrd for Feature
impl Copy for Feature
impl Eq for Feature
impl StructuralPartialEq for Feature
Auto Trait Implementations§
impl Freeze for Feature
impl RefUnwindSafe for Feature
impl Send for Feature
impl Sync for Feature
impl Unpin for Feature
impl UnwindSafe for Feature
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