summaryrefslogtreecommitdiffstats
path: root/tools/vm
diff options
context:
space:
mode:
authorMiles Chen <miles.chen@mediatek.com>2019-01-09 00:23:22 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2019-01-09 02:15:11 +0100
commitaff876dcf4461f311adbdf39ce48c134b3f99c49 (patch)
tree9abd27bb579ef2bfb826dbdebfae290dc7141c30 /tools/vm
parentkasan: fix krealloc handling for tag-based mode (diff)
downloadlinux-aff876dcf4461f311adbdf39ce48c134b3f99c49.tar.xz
linux-aff876dcf4461f311adbdf39ce48c134b3f99c49.zip
tools/vm/page_owner: use page_owner_sort in the use example
The example in comment does not useable because the output binary is named "page_owner_sort", not "sort". Also add a reference to Documentation/vm/page_owner.rst Link: http://lkml.kernel.org/r/1546515361-8317-1-git-send-email-miles.chen@mediatek.com Signed-off-by: Miles Chen <miles.chen@mediatek.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/vm')
-rw-r--r--tools/vm/page_owner_sort.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/vm/page_owner_sort.c b/tools/vm/page_owner_sort.c
index 18fc112b65cd..d3a8755c039c 100644
--- a/tools/vm/page_owner_sort.c
+++ b/tools/vm/page_owner_sort.c
@@ -5,7 +5,9 @@
* Example use:
* cat /sys/kernel/debug/page_owner > page_owner_full.txt
* grep -v ^PFN page_owner_full.txt > page_owner.txt
- * ./sort page_owner.txt sorted_page_owner.txt
+ * ./page_owner_sort page_owner.txt sorted_page_owner.txt
+ *
+ * See Documentation/vm/page_owner.rst
*/
#include <stdio.h>