#[repr(C)]pub struct _tracedump_stub_data {
pub cti_offs: c_int,
pub stub_pc: app_pc,
pub target: app_pc,
pub linked: bool_,
pub stub_size: c_int,
pub count: _tracedump_stub_data__bindgen_ty_1,
pub stub_code: [byte; 1],
}Expand description
The format of a stub in a trace dump file.
Fields§
§cti_offs: c_int< Offset from the start of the fragment.
stub_pc: app_pc< Code cache address of the stub.
target: app_pc< Target of the stub.
linked: bool_< Whether the stub is linked to its target.
stub_size: c_int< Length of stub_code array
count: _tracedump_stub_data__bindgen_ty_1< Which field is present depends on the first entry in the file, which indicates the linkcount size.
stub_code: [byte; 1]Code for exit stubs. Only present if: stub_pc < cache_start_pc || stub_pc >= cache_start_pc+code_size). The actual size of the array varies and is indicated by the stub_size field.
Trait Implementations§
Source§impl Clone for _tracedump_stub_data
impl Clone for _tracedump_stub_data
Source§fn clone(&self) -> _tracedump_stub_data
fn clone(&self) -> _tracedump_stub_data
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for _tracedump_stub_data
Auto Trait Implementations§
impl Freeze for _tracedump_stub_data
impl RefUnwindSafe for _tracedump_stub_data
impl !Send for _tracedump_stub_data
impl !Sync for _tracedump_stub_data
impl Unpin for _tracedump_stub_data
impl UnsafeUnpin for _tracedump_stub_data
impl UnwindSafe for _tracedump_stub_data
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more