The patch titled Subject: tools/vm/slabinfo: clean up usage menu debug items has been added to the -mm tree. Its filename is tools-vm-slabinfo-clean-up-usage-menu-debug-items.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/tools-vm-slabinfo-clean-up-usage-menu-debug-items.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/tools-vm-slabinfo-clean-up-usage-menu-debug-items.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: "Tobin C. Harding" <tobin@xxxxxxxxxx> Subject: 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@xxxxxxxxxx Signed-off-by: Tobin C. Harding <tobin@xxxxxxxxxx> Acked-by: Christoph Lameter <cl@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- --- a/tools/vm/slabinfo.c~tools-vm-slabinfo-clean-up-usage-menu-debug-items +++ a/tools/vm/slabinfo.c @@ -114,7 +114,6 @@ static void usage(void) "-a|--aliases Show aliases\n" "-A|--activity Most active slabs first\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" "-e|--empty Show empty slabs\n" "-f|--first-alias Show first alias\n" @@ -136,14 +135,17 @@ static void usage(void) "-1|--1ref Single reference\n" "-X|--Xtotals Show extended summary information\n" - "\nValid debug options (FZPUT may be combined)\n" - "a / A Switch on all debug options (=FZUP)\n" - "- Switch off all debug options\n" - "f / F Sanity Checks (SLAB_CONSISTENCY_CHECKS)\n" - "z / Z Redzoning\n" - "p / P Poisoning\n" - "u / U Tracking\n" - "t / T Tracing\n" + "\n" + "-d | --debug Switch off all debug options\n" + "-da | --debug=a Switch on all debug options (--debug=FZPU)\n" + + "\n" + "-d[afzput] | --debug=[afzput]\n" + " f | F Sanity Checks (SLAB_CONSISTENCY_CHECKS)\n" + " z | Z Redzoning\n" + " p | P Poisoning\n" + " u | U Tracking\n" + " t | T Tracing\n" ); } _ Patches currently in -mm which might be from tobin@xxxxxxxxxx are slub-capitialize-comment-string.patch tools-vm-slabinfo-update-options-in-usage-message.patch tools-vm-slabinfo-put-options-in-alphabetic-order.patch tools-vm-slabinfo-align-usage-output-columns.patch tools-vm-slabinfo-clean-up-usage-menu-debug-items.patch