pub fn ladder(stage: &'static str, extra: &dyn Display)Expand description
Boot-ladder stage (PLAN-phase4 §7.1): appends one line to the trace file
— not tracing (the attach client has no subscriber) and not
stderr (it is the TUI). No-op (one atomic load) unless SYNAPS_MEM_TRACE=1.
Line format: t_ms=<since first call> stage=<stage> rss_anon_kb=… jemalloc_allocated_kb=… active_kb=… resident_kb=… retained_kb=… metadata_kb=… threads=… <extra>.