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

From: ruipeng qi
Date: Sat Dec 23 2023 - 10:30:34 EST


On Sat, Dec 23, 2023 at 11:13 PM ruipeng qi <ruipengqi7@xxxxxxxxx> 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