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§
impl Eq for DsoKey
impl StructuralPartialEq for DsoKey
Auto Trait Implementations§
impl Freeze for DsoKey
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