pub struct TraceHandler { /* private fields */ }Expand description
Trace Handler convert address into proper stacktraces, apply necessary caching
Main entry point for the trace handler that manages symbol resolution and caching for efficient stack trace processing and visualization.
Implementations§
Source§impl TraceHandler
impl TraceHandler
pub fn new() -> Self
pub fn print_stats(&self)
Sourcepub fn get_exp_stacked_frames(
&mut self,
stack_info: &StackInfo,
stack_traces: &StackTraceMap<MapData>,
group_by_cpu: bool,
stacked_pointers: &HashMap<MapData, StackInfoPod, FramePointersPod>,
) -> Vec<StackFrameInfo>
pub fn get_exp_stacked_frames( &mut self, stack_info: &StackInfo, stack_traces: &StackTraceMap<MapData>, group_by_cpu: bool, stacked_pointers: &HashMap<MapData, StackInfoPod, FramePointersPod>, ) -> Vec<StackFrameInfo>
Converts stacks traces into StackFrameInfo structs Uses DWARF-unwound frame pointers from eBPF when available
Sourcepub fn get_stacked_frames(
&mut self,
stack_info: &StackInfo,
stack_traces: &StackTraceMap<MapData>,
group_by_cpu: bool,
) -> Vec<StackFrameInfo>
pub fn get_stacked_frames( &mut self, stack_info: &StackInfo, stack_traces: &StackTraceMap<MapData>, group_by_cpu: bool, ) -> Vec<StackFrameInfo>
Converts stacks traces into StackFrameInfo structs
Auto Trait Implementations§
impl !Freeze for TraceHandler
impl !RefUnwindSafe for TraceHandler
impl !Send for TraceHandler
impl !Sync for TraceHandler
impl Unpin for TraceHandler
impl !UnwindSafe for TraceHandler
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