aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorDavid Rientjes <[email protected]>2018-02-01 00:21:23 +0000
committerLinus Torvalds <[email protected]>2018-02-01 01:18:40 +0000
commitc7905f200225d4257536f19b11d18f598fee5f44 (patch)
tree4eb2efaa0d330e6ed9b53e4f943eb7b776111389 /scripts/gcc-plugins/randomize_layout_plugin.c
parentmm/swap.c: make functions and their kernel-doc agree (diff)
downloadkernel-c7905f200225d4257536f19b11d18f598fee5f44.tar.gz
kernel-c7905f200225d4257536f19b11d18f598fee5f44.zip
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]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions