[Crash-utility] how to use crash utility to parse the binary memory dump

Dave Anderson anderson at redhat.com
Wed Jul 23 13:33:18 UTC 2014



----- Original Message -----
> On Wed, Jul 23, 2014 at 6:37 PM, Dave Anderson <anderson at redhat.com> wrote:
> >
> >
> > ----- Original Message -----
> >>
> >> Here is my counter-proposal, where the invocation would be something
> >> like this:
> >>
> >>   $ crash vmlinux ramdump at address [-o output_file]
> >>
> >> and if there are multiple images, make them a comma-separated list:
> >>
> >>   $ crash vmlinux ramdump1 at address,ramdump2 at address [-o output_file]
> >>
> >
> > FYI, if you view the above in the web archives, it seems that it
> > strips out ampersands, so it looks like "ramdump address" instead
> > of "ramdump at address".
> >
> > So just in case you're confused by that, it's a single argument
> > with an ampersand separating the filename and address.
> >
> 
> Modified patch attached. It is rebased to latest crash version.
> The arguments are in the form of ordered pair as you had mentioned. I
> have tested it with arm and armv8 ramdumps.
> 
> Do we really need  dump_ramdump_def ? As the dump is converted to
> kdump and we use the kdump flag in pc->flags, help -D and help -n
> works fine using kdump dump functions. Did I miss something ?

That's a good point -- there would be no clean way to access
the information anyway.  Forget that... 

> I will send you the link to arm64 ramdump in another email.

Great, thanks!

Dave
 




More information about the Crash-utility mailing list