Skip to main content

Crate profile_bee_common

Crate profile_bee_common 

Source

Structs§

ExecMapping
FramePointers
ProbeEvent
Currently not used, but this would be used for sending events to UserSpace via RingBuf
ProcInfo
ProcInfoKey
StackInfo
Stack trace information shared between eBPF and userspace
UnwindEntry
Compact unwind table entry for eBPF-side stack unwinding.

Constants§

CFA_REG_DEREF_RSP
Signal frame: CFA = *(RSP + offset) (dereference)
CFA_REG_EXPRESSION
CFA_REG_PLT
PLT stub: CFA = RSP + offset + ((RIP & 15) >= 11 ? offset : 0)
CFA_REG_RBP
CFA_REG_RSP
How to compute the CFA (Canonical Frame Address)
MAX_DWARF_STACK_DEPTH
MAX_PROC_MAPS
MAX_SHARD_ENTRIES
Maximum unwind entries per shard (2^16, covered by 16 binary search iterations)
MAX_UNWIND_SHARDS
Number of per-binary Array shard maps in eBPF (shard_0 .. shard_7)
REG_RULE_EXPRESSION
REG_RULE_OFFSET
How to recover a register value
REG_RULE_REGISTER
REG_RULE_SAME_VALUE
REG_RULE_UNDEFINED
SHARD_NONE
Sentinel value: no shard assigned to this mapping

Statics§

EVENT_TRACE_ALWAYS
EVENT_TRACE_NEW
EVENT_TRACE_NONE