Re: [PATCH v3] tools/mm: Add script to display page state for a given PID and VADDR

SeongJae Park
2025-04-24T03:49:22Z

On Thu, 24 Apr 2025 11:24:33 +0800 Ye Liu <ye.liu@linux.dev> wrote:

[...]
> Regarding compatibility across versions, this is definitely something worth
> paying attention to. Currently, the script is being adapted based on the
> latest drgn and kernel versions. If future changes to kernel structures
> occur, I plan to patch the script accordingly to maintain compatibility.
>
> That said, I’m very open to suggestions — do you have any ideas on how
> we could better detect or guard against these kinds of breakages
> proactively?

No, unfortunately :'( I'm a drgn newbie user and trying to learn ways to use
it better. I therefore thought this problem could also happen to me, and asked
the question to know if you or others have a good solution.

>
> Thanks again for raising this!

I'm so glad to hear this. :)

Thanks,
SJ …