Skip to main content

read_debug_log_into

Function read_debug_log_into 

Source
pub fn read_debug_log_into(debug_bytes: &[u8], out: &mut Vec<DebugRecord>)
Expand description

Decode PRINTF records into caller-owned storage.

Clears out, then reuses its allocation.

ยงPanics

Panics when the debug-log byte stream is malformed. A partially decoded log would silently drop the records that explain a kernel failure.