[Crash-utility] [PATCH] Fix "vm -M" option to properly display virtual memory data of the task

lijiang lijiang at redhat.com
Thu Mar 23 02:35:05 UTC 2023


On Thu, Mar 23, 2023 at 8:30 AM HAGIO KAZUHITO(萩尾 一仁) <k-hagio-ab at nec.com>
wrote:

> It's fine to check here, but shall we say why it's wrong?


Sure. I will add it to the patch log, and post v2 later.



I'd prefer something like this.
>
> if (!IS_KVADDR(pc->curcmd_private))
>          error(FATAL, "invalid mm_struct address: %s\n", optarg);
>
>
Also fine to me.

Thanks.
Lianbo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20230323/01120ccf/attachment.htm>


More information about the Crash-utility mailing list