lkml.org 
[lkml]   [2013]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH 2/3] makedumpfile: hugepage filtering: add excluding hugepage messages
From
Date
Add messages for print_info.

Signed-off-by: Jingbai Ma <jingbai.ma@hp.com>
---
print_info.c | 12 +++++++-----
print_info.h | 2 ++
2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/print_info.c b/print_info.c
index 06939e0..978d9fb 100644
--- a/print_info.c
+++ b/print_info.c
@@ -103,17 +103,19 @@ print_usage(void)
MSG(" The maximum of Dump_Level is 31.\n");
MSG(" Note that Dump_Level for Xen dump filtering is 0 or 1.\n");
MSG("\n");
- MSG(" | cache cache\n");
- MSG(" Dump | zero without with user free\n");
- MSG(" Level | page private private data page\n");
- MSG(" -------+---------------------------------------\n");
+ MSG(" | cache cache free active\n");
+ MSG(" Dump | zero without with user free huge huge\n");
+ MSG(" Level | page private private data page page page\n");
+ MSG(" -------+----------------------------------------------------------\n");
MSG(" 0 |\n");
MSG(" 1 | X\n");
MSG(" 2 | X\n");
MSG(" 4 | X X\n");
MSG(" 8 | X\n");
MSG(" 16 | X\n");
- MSG(" 31 | X X X X X\n");
+ MSG(" 32 | X\n");
+ MSG(" 64 | X X\n");
+ MSG(" 127 | X X X X X X X\n");
MSG("\n");
MSG(" [-E]:\n");
MSG(" Create DUMPFILE in the ELF format.\n");
diff --git a/print_info.h b/print_info.h
index 01e3706..8461df6 100644
--- a/print_info.h
+++ b/print_info.h
@@ -35,6 +35,8 @@ void print_execution_time(char *step_name, struct timeval *tv_start);
#define PROGRESS_HOLES "Checking for memory holes "
#define PROGRESS_UNN_PAGES "Excluding unnecessary pages"
#define PROGRESS_FREE_PAGES "Excluding free pages "
+#define PROGRESS_FREE_HUGE "Excluding free huge pages "
+#define PROGRESS_ACTIVE_HUGE "Excluding active huge pages"
#define PROGRESS_ZERO_PAGES "Excluding zero pages "
#define PROGRESS_XEN_DOMAIN "Excluding xen user domain "



\
 
 \ /
  Last update: 2013-11-05 15:21    [W:2.130 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site