[PATCH v1 0/3] tools/vm/page-types.c: a few improvements

From: Naoya Horiguchi
Date: Mon Oct 04 2021 - 02:14:16 EST


Hi,

This patchset adds some improvements on tools/vm/page-types.c.
Patch 1/3 makes -a option (specify address range) work with -f
(file cache mode). Patch 2/3 and 3/3 are to fix minor formatting
issues of this tool. These would make life a little easier for
the users of this tool.

Please see individual patches for more details about specific issues.

Thanks,
Naoya Horiguchi
---
Summary:

Naoya Horiguchi (3):
tools/vm/page-types.c: make walk_file() aware of address range option
tools/vm/page-types.c: move show_file() to summary output
tools/vm/page-types.c: print file offset in hexadecimal

tools/vm/page-types.c | 38 +++++++++++++++++++++++++++-----------
1 file changed, 27 insertions(+), 11 deletions(-)