Commit b2f0246d authored by Tobin C. Harding's avatar Tobin C. Harding Committed by Linus Torvalds

tools/vm/slabinfo: clean up usage menu debug items

Attempt to make the usage comment for debug options a little cleaner.

Link: http://lkml.kernel.org/r/20190212001219.27769-5-tobin@kernel.orgSigned-off-by: default avatarTobin C. Harding <tobin@kernel.org>
Acked-by: default avatarChristoph Lameter <cl@linux.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 3c89ff9a
...@@ -114,7 +114,6 @@ static void usage(void) ...@@ -114,7 +114,6 @@ static void usage(void)
"-a|--aliases Show aliases\n" "-a|--aliases Show aliases\n"
"-A|--activity Most active slabs first\n" "-A|--activity Most active slabs first\n"
"-B|--Bytes Show size in bytes\n" "-B|--Bytes Show size in bytes\n"
"-d<options>|--debug=<options> Set/Clear Debug options\n"
"-D|--display-active Switch line format to activity\n" "-D|--display-active Switch line format to activity\n"
"-e|--empty Show empty slabs\n" "-e|--empty Show empty slabs\n"
"-f|--first-alias Show first alias\n" "-f|--first-alias Show first alias\n"
...@@ -136,14 +135,17 @@ static void usage(void) ...@@ -136,14 +135,17 @@ static void usage(void)
"-1|--1ref Single reference\n" "-1|--1ref Single reference\n"
"-X|--Xtotals Show extended summary information\n" "-X|--Xtotals Show extended summary information\n"
"\nValid debug options (FZPUT may be combined)\n" "\n"
"a / A Switch on all debug options (=FZUP)\n" "-d | --debug Switch off all debug options\n"
"- Switch off all debug options\n" "-da | --debug=a Switch on all debug options (--debug=FZPU)\n"
"f / F Sanity Checks (SLAB_CONSISTENCY_CHECKS)\n"
"z / Z Redzoning\n" "\n"
"p / P Poisoning\n" "-d[afzput] | --debug=[afzput]\n"
"u / U Tracking\n" " f | F Sanity Checks (SLAB_CONSISTENCY_CHECKS)\n"
"t / T Tracing\n" " z | Z Redzoning\n"
" p | P Poisoning\n"
" u | U Tracking\n"
" t | T Tracing\n"
); );
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment