[PATCH 1/7] [RFC PATCH 1/7] osdump: Add one new os minidump module

ruipeng qi ruipengqi7 at gmail.com
Sat Dec 23 07:30:13 PST 2023


On Sat, Dec 23, 2023 at 11:13 PM ruipeng qi <ruipengqi7 at gmail.com> wrote:

> > I don't see a problem why minidump cannot do it.
> Qcom minidump allows one kernel client to register its region to dump, and then
> driver will create and maintain one elf head for it.
> But osdump will dump thousands of non-continuous regions. If you register one
> by one, and add an elf head for each, it will cause heavy overhead. So it store
> data in binary, and reassemble a standard elf format file offline for debug.
>
Osdump will only dump useful data, which may have been allocated before but
freed now. In a word, useful data are changing all the time. I think this is not
suitable for Qcom minidump's framework。

Best Regards
Ruipeng



More information about the kexec mailing list