extract_stack_symbols

Function extract_stack_symbols 

Source
pub fn extract_stack_symbols(line: &str) -> Vec<StackSymbol>
Expand description

Extract funcname+0xoff/0xsz tokens from one line of kernel output.

Recognized shapes:

  • funcname+0xNN/0xMM — standard %pS with function size
  • funcname+0xNN%pS without function size (older kernels)
  • funcname+0xNN/0xMM [module] — same with module suffix; the module name is currently dropped (the live-host pipeline resolves to the same function regardless of containing module)

Returns the structured frames in encounter order.