Re: [PATCH] makedumpfile/arm64: Add '--mem-usage' support

2018-02-19 Thread Bhupesh Sharma
Hello, On Fri, Feb 9, 2018 at 3:06 PM, Bhupesh Sharma wrote: > Its good to have the makedumpfile '--mem-usage' support > for arm64 architecture as well, as it allows one to see the page numbers > of current system (1st kernel) in different use. > > Using this we can know how many pages are dumpab

[PATCH makedumpfile] handle mem_section as either a pointer or an array

2018-02-19 Thread Thadeu Lima de Souza Cascardo
Some kernel versions that have been recently shipped have mem_section point to a pointer to the array, instead of pointing directly to the array. That only happens on SPARSEMEM_EXTREME configurations. As dwarf information might not be present that would have allowed us to detect which type it is,