Add messages for print_info. Signed-off-by: Jingbai Ma <jingbai...@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 " -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/