Enum fxprof_processed_profile::Frame
source · pub enum Frame {
InstructionPointer(u64),
ReturnAddress(u64),
RelativeAddressFromInstructionPointer(LibraryHandle, u32),
RelativeAddressFromReturnAddress(LibraryHandle, u32),
Label(StringHandle),
}
Expand description
A part of the information about a single stack frame.
Variants§
InstructionPointer(u64)
A code address taken from the instruction pointer.
This code address will be resolved to a library-relative address using
the library mappings on the process which were specified using
Profile::add_lib_mapping
.
ReturnAddress(u64)
A code address taken from a return address
This code address will be resolved to a library-relative address using
the library mappings on the process which were specified using
Profile::add_lib_mapping
.
RelativeAddressFromInstructionPointer(LibraryHandle, u32)
A relative address taken from the instruction pointer which
has already been resolved to a LibraryHandle
.
RelativeAddressFromReturnAddress(LibraryHandle, u32)
A relative address taken from a return address which
has already been resolved to a LibraryHandle
.
Label(StringHandle)
A string, containing an index returned by
Profile::intern_string
.
Trait Implementations§
source§impl Ord for Frame
impl Ord for Frame
source§impl PartialEq for Frame
impl PartialEq for Frame
source§impl PartialOrd for Frame
impl PartialOrd for Frame
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Frame
impl StructuralPartialEq for Frame
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnwindSafe for Frame
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