lkml.org 
[lkml]   [2019]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] tools/vm/page_owner: use page_owner_sort in the use example
Date
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

Signed-off-by: Miles Chen <miles.chen@mediatek.com>
---
tools/vm/page_owner_sort.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

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>
--
2.18.0
\
 
 \ /
  Last update: 2019-01-03 12:36    [W:0.034 / U:5.288 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site