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<Frame> for Frame
impl PartialEq<Frame> for Frame
source§impl PartialOrd<Frame> for Frame
impl PartialOrd<Frame> 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 StructuralEq for Frame
impl StructuralPartialEq for Frame
Auto Trait Implementations§
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