[Crash-utility] [PATCH] kmem: Show a page's _mapcount value in dump_mem_map()
Dave Anderson
anderson at redhat.com
Mon Apr 13 19:18:56 UTC 2015
----- Original Message -----
> On Fri 2015-04-10 14:47 -0400, Dave Anderson wrote:
> > Maybe an option could be added for use with "kmem -p" only, that supplies
> > a comma-separated list of desired fields, i.e., something like:
> >
> > crash> kmem -p -m member1,member2,member3
> >
> > At least then you could get exactly what you want, and specify how you
> > want it served.
>
> I'll work on this.
>
> Thanks,
>
> --
> Aaron Tomlin
>
OK, nice.
BTW, I updated the pstruct.c extension module so that it compiles again.
And tinkering around with it, I notice that it restricts the structure member
output to only TYPE_CODE_INT and TYPE_CODE_PTR types, but the gdb "printm"
command that it uses returns data for all of the member types.
Thanks,
Dave
More information about the Crash-utility
mailing list