Meminspect - Kernel memory selection and inspection mechanism
summary
Meminspect provides a compact table of annotated kernel regions so consumers can produce a tiny core image instead of a full kdump; it implements a compile‑time mespect_entry macro for static symbols, a runtime mark_inspect memblock API for memblock allocations, and register/traverse + notifier hooks so firmware or drivers can copy regions. Qualcomm’s mini‑dump and the Pixel kinfo flow already use it to produce ~2–3 MB dumps that load into crash tool for analysis, and patches are available for upstream review.
AI-written summary · about
chapters (6)
- 0:00Introduction and motivation
- 7:53Static variable annotation
- 18:57Dynamic memory handling
- 24:44Consumer API and table access
- 38:49Upstream acceptance and future
- 42:22Q&A and closing remarks
related talks
28mMinidump to debug end user device crashes
19mKdump memory usage
43mEfficient and Practical Capturing of Crash Data on Embedded Systems
49mKernel dump analysis made quick and easy!
34mPostmortem Debugging with Coresight
40mInspecting and Optimizing Memory Usage in Linux
31mKernel handling of CPU and memory hot un/plug events for crash
24mConsolidating representations of the physical memory
