summaryrefslogtreecommitdiff
path: root/mm/thrash.c
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2009-09-24 02:56:16 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-24 18:20:57 +0400
commit0b4b2ad5307c76c7105d6e7c724b1c14b8daf482 (patch)
tree4a86a9638905ebaad32d021da810e61ef09ae272 /mm/thrash.c
parentba36c440ba9486b155c9254ce5e50f5f20eb1fcb (diff)
downloadlinux-0b4b2ad5307c76c7105d6e7c724b1c14b8daf482.tar.xz
page-types: add feature for walking process address space
Introduce "-p|--pid <pid>" for walking the process address space. The default action is to walk raw memory PFNs. Both the virtual address and physical address of each present pages will be listed: # ./tools/vm/page-types -lp $$ | head -3 voffset offset len flags 400 11bebe 1 __RU_lA____M______________________ 402 11bebc 1 __RU_lA____M______________________ Note that voffset/offset/len are now showed as hex numbers. [akpm@linux-foundation.org: coding-style fixes] Cc: Andi Kleen <andi@firstfloor.org> Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/thrash.c')
0 files changed, 0 insertions, 0 deletions