]> git.baikalelectronics.ru Git - kernel.git/commit
tools/vm/page-types.c: print file offset in hexadecimal
authorNaoya Horiguchi <naoya.horiguchi@nec.com>
Fri, 5 Nov 2021 20:43:04 +0000 (13:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Nov 2021 20:30:40 +0000 (13:30 -0700)
commit6b76c4d8f052ed91ffc57bce60460f7022aa1f9c
tree80adbb0e4375d6773ac0ca422cd0da5db1435023
parent5dd7f96bd33130c07a37f2ee971cfaebc41df5e9
tools/vm/page-types.c: print file offset in hexadecimal

In page list mode (with -l and -L option), virtual address and physical
address are printed in hexadecimal, but file offset is not, which is
confusing, so let's align it.

Link: https://lkml.kernel.org/r/20211004061325.1525902-4-naoya.horiguchi@linux.dev
Signed-off-by: Naoya Horiguchi <naoya.horiguchi@nec.com>
Cc: Bin Wang <wangbin224@huawei.com>
Cc: Changbin Du <changbin.du@intel.com>
Cc: Christian Hansen <chansen3@cisco.com>
Cc: Konstantin Khlebnikov <koct9i@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
tools/vm/page-types.c