~/talk

Efficient On-Device Core Dump Processing for IoT: A Rusty Implementation

links:none on file
slides:none on file

Memfault ships a Rust core-handler that parses ELF cores, extracts PRSTATUS registers and proc maps, copies only program headers and build ID notes, and captures the top N bytes of each stack to produce a JSON of frame PCs. It uses Goblin, Gimly and Clap, parses .eh_frame to perform on-device unwinding, and then resolves addresses with debug infod. Resulting artifacts are ~35× smaller than a trimmed core and >1000× smaller than full cores, and retain symbol resolution without sending heap or locals (stacks only core dumps, PC-only traces).

AI-written summary · about

  1. 0:00On-device core dump intro
  2. 2:07ELF core dumps explained
  3. 8:22C approach to core dumps
  4. 10:29Switching to Rust
  5. 14:40Shrinking core dumps
  6. 24:15Privacy and stack unwinding
  7. 36:56Conclusion trade-offs
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.