Enum linux_perf_data::DsoKey
source · pub enum DsoKey {
Kernel,
GuestKernel,
Vdso32,
VdsoX32,
Vdso64,
Vsyscall,
KernelModule {
name: String,
},
User {
file_name: String,
full_path: Vec<u8>,
},
}
Expand description
A canonicalized key which can be used to cross-reference an Mmap record with an entry in the perf file’s build ID list.
This is needed because the entries sometimes don’t have matching path strings.
Examples:
- Mmap path “[kernel.kallsyms]_text” + build ID map entry path “[kernel.kallsyms]”
- Mmap path “[kernel.kallsyms]_text” + build ID map entry path “/full/path/to/vmlinux”
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq<DsoKey> for DsoKey
impl PartialEq<DsoKey> for DsoKey
impl Eq for DsoKey
impl StructuralEq for DsoKey
impl StructuralPartialEq for DsoKey
Auto Trait Implementations§
impl RefUnwindSafe for DsoKey
impl Send for DsoKey
impl Sync for DsoKey
impl Unpin for DsoKey
impl UnwindSafe for DsoKey
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