ext/pf2/src/sample.rs in pf2-0.6.0 vs ext/pf2/src/sample.rs in pf2-0.7.0
- old
+ new
@@ -12,9 +12,10 @@
pub ruby_thread: VALUE,
pub timestamp: Instant,
pub line_count: i32,
pub frames: [VALUE; MAX_STACK_DEPTH],
pub linenos: [i32; MAX_STACK_DEPTH],
+ /// First element represents the backtrace depth.
pub c_backtrace_pcs: [usize; MAX_C_STACK_DEPTH + 1],
}
impl Sample {
// Nearly async-signal-safe