Skip to main content

dump_diagnostics

Function dump_diagnostics 

Source
pub fn dump_diagnostics()
Expand description

Dump heap and buddy allocator diagnostics to the serial console.

Safe to call from the shell or debug tooling. Prints:

  • Total/allocated/free pages
  • Per-order buddy free list head counts
  • Buddy allocation failure counts by order (fragmentation indicator)
  • Slab free list head pointers