pub struct Tracing {
pub name: &'static str,
pub early: bool,
}Expand description
What a profiler’s hook at the top of a function is, in a function that has one.
What -pg asks for. See rucc_target::Trace for why there are two of these and what each of
them lets the hook see. Only the name survives to here, because by this point the flag has been
read against the target and a prologue that has the name has everything it needs.
Fields§
§name: &'static strWhat is called, which is a routine the runtime provides and not one the program wrote.
early: boolWhether the call goes in front of the prologue rather than once the frame is taken.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tracing
impl RefUnwindSafe for Tracing
impl Send for Tracing
impl Sync for Tracing
impl Unpin for Tracing
impl UnsafeUnpin for Tracing
impl UnwindSafe for Tracing
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