[PATCH] tools/vm/page_owner_sort.c: Fix the instructions for use

Yixuan Cao posted 1 patch 4 years, 4 months ago
tools/vm/page_owner_sort.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] tools/vm/page_owner_sort.c: Fix the instructions for use
Posted by Yixuan Cao 4 years, 4 months ago
I noticed a discrepancy between the usage method and the code logic.

If we enable the -f option,
it should be
Filter out the information of blocks whose memory has been released.

Signed-off-by: Yixuan Cao <caoyixuan2019@email.szu.edu.cn>
---
 tools/vm/page_owner_sort.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/vm/page_owner_sort.c b/tools/vm/page_owner_sort.c
index de7b547c26aa..c93984eb8c2f 100644
--- a/tools/vm/page_owner_sort.c
+++ b/tools/vm/page_owner_sort.c
@@ -252,7 +252,7 @@ static void usage(void)
 		"-a	Sort by memory allocate time.\n"
 		"-r	Sort by memory release time.\n"
 		"-c	Cull by comparing stacktrace instead of total block.\n"
-		"-f	Filter out the information of blocks whose memory has not been released.\n"
+		"-f	Filter out the information of blocks whose memory has been released.\n"
 	);
 }
 
-- 
2.31.1