[Crash-utility] wrong values shown by kmem -s

Dave Anderson anderson at redhat.com
Tue Apr 12 20:55:01 UTC 2016



----- Original Message -----
> >
> > In your test code, you could simply NOT initialize the total_objects offset
> > and see what happens.
> >
> Yes that shows the negative ALLOCATED values. One more minor change to
> the previous patch was required (attached).
> What I have tested and confirmed now is that, "kmem -s" gives the same
> output for (latest patch + total_objects offset disabled) and (without
> any patch).
> 
> Thanks,
> Vinayak

Vinayak,

This version looks good and tests OK -- queued for crash-7.1.5:

  https://github.com/crash-utility/crash/commit/76a71fed90c6304110dbce61d6c833543f2f1ac8

Thanks,
  Dave





More information about the Crash-utility mailing list