]> Git Repo - linux.git/commit
tools, vm: new option to specify kpageflags file
authorDavid Rientjes <[email protected]>
Thu, 1 Feb 2018 00:21:23 +0000 (16:21 -0800)
committerLinus Torvalds <[email protected]>
Thu, 1 Feb 2018 01:18:40 +0000 (17:18 -0800)
commitc7905f200225d4257536f19b11d18f598fee5f44
tree4eb2efaa0d330e6ed9b53e4f943eb7b776111389
parente02a9f048ef79a411904bef075fd3ce4204052a9
tools, vm: new option to specify kpageflags file

page-types currently hardcodes /proc/kpageflags as the file to parse.
This works when using the tool to examine the state of pageflags on the
same system, but does not allow storing a snapshot of pageflags at a
given time to debug issues nor on a different system.

This allows the user to specify a saved version of kpageflags with a new
page-types -F option.

[[email protected]: add "filename" to fix usage() string]
[[email protected]: fix layout]
Link: http://lkml.kernel.org/r/[email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: David Rientjes <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Reviewed-by: Naoya Horiguchi <[email protected]>
Cc: Konstantin Khlebnikov <[email protected]>
Cc: Vladimir Davydov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
tools/vm/page-types.c
This page took 0.058634 seconds and 4 git commands to generate.