Re: [PATCH] mm/damon: trace: print address range in hex

SeongJae Park
2024-12-30T18:39:17Z

On Mon, 30 Dec 2024 10:28:13 -0800 SeongJae Park <sj@kernel.org> wrote:

> Hello Akinobu,
>
> On Mon, 30 Dec 2024 22:42:20 +0900 Akinobu Mita <akinobu.mita@gmail.com> wrote:
>
> > Currently, the address ranges are displayed in decimal format in
> > tracepoints for DAMON, but hexadecimal format is easier to compare with
> > address ranges in /proc/<pid>/numa_maps.
>
> I agree that it could be easier for the use case. But, I think writing and
> using a script converting formats for DAMON tracepoint output or numa_maps
> could also be a way to resolve the issue.

For example, we can extend 'damo' to optionally do the conversion. Depending
on your use case (if you also use 'damo' for your use case), it might be a way
to move forward?

Thanks,
SJ …