pub struct StackTrace {
pub id: u32,
/* private fields */
}Expand description
A kernel or user space stack trace.
See the StackTraceMap documentation for examples.
Fields§
§id: u32The stack trace id as returned by bpf_get_stackid().
Implementations§
Source§impl StackTrace
impl StackTrace
Sourcepub fn frames(&self) -> &[StackFrame]
pub fn frames(&self) -> &[StackFrame]
Returns the frames in this stack trace.
Trait Implementations§
Source§impl<T: Borrow<MapData>> IterableMap<u32, StackTrace> for StackTraceMap<T>
impl<T: Borrow<MapData>> IterableMap<u32, StackTrace> for StackTraceMap<T>
Auto Trait Implementations§
impl Freeze for StackTrace
impl RefUnwindSafe for StackTrace
impl Send for StackTrace
impl Sync for StackTrace
impl Unpin for StackTrace
impl UnsafeUnpin for StackTrace
impl UnwindSafe for StackTrace
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