#[repr(C)]pub struct StackInfo {
pub tgid: u32,
pub user_stack_id: i32,
pub kernel_stack_id: i32,
pub cmd: [u8; 16],
pub cpu: u32,
pub bp: u64,
pub ip: u64,
pub sp: u64,
}Expand description
Stack trace information shared between eBPF and userspace
Contains the process ID, stack trace IDs for both kernel and user stacks, process name, and CPU ID for a single stack sample collected by the profiler.
Fields§
§tgid: u32§user_stack_id: i32§kernel_stack_id: i32§cmd: [u8; 16]§cpu: u32§bp: u64§ip: u64§sp: u64Implementations§
Trait Implementations§
impl Copy for StackInfo
impl Eq for StackInfo
impl StructuralPartialEq for StackInfo
Auto Trait Implementations§
impl Freeze for StackInfo
impl RefUnwindSafe for StackInfo
impl Send for StackInfo
impl Sync for StackInfo
impl Unpin for StackInfo
impl UnwindSafe for StackInfo
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