From: Jingbai Ma <jingbai.ma@hp.com>
To: ptesarik@suse.cz, d.hatayama@jp.fujitsu.com,
kumagai-atsushi@mxc.nes.nec.co.jp
Cc: bhe@redhat.com, tom.vaden@hp.com, kexec@lists.infradead.org,
linux-kernel@vger.kernel.org, lisa.mitchell@hp.com,
anderson@redhat.com, ebiederm@xmission.com, vgoyal@redhat.com
Subject: [PATCH 2/3] makedumpfile: hugepage filtering: add excluding hugepage messages
Date: Tue, 05 Nov 2013 21:45:53 +0800 [thread overview]
Message-ID: <20131105134553.32112.58435.stgit@k.asiapacific.hpqcorp.net> (raw)
In-Reply-To: <20131105134532.32112.78008.stgit@k.asiapacific.hpqcorp.net>
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 "
next prev parent reply other threads:[~2013-11-05 13:52 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-05 13:45 [PATCH 0/3] makedumpfile: hugepage filtering for vmcore dump Jingbai Ma
2013-11-05 13:45 ` [PATCH 1/3] makedumpfile: hugepage filtering: add hugepage filtering functions Jingbai Ma
2013-11-05 13:45 ` Jingbai Ma [this message]
2013-11-05 13:46 ` [PATCH 3/3] makedumpfile: hugepage filtering: add new dump levels for manual page Jingbai Ma
2013-11-05 20:26 ` [PATCH 0/3] makedumpfile: hugepage filtering for vmcore dump Vivek Goyal
2013-11-06 1:47 ` Jingbai Ma
2013-11-06 1:53 ` Vivek Goyal
2013-11-06 2:21 ` Atsushi Kumagai
2013-11-06 14:23 ` Vivek Goyal
2013-11-07 8:57 ` Jingbai Ma
2013-11-08 5:12 ` Atsushi Kumagai
2013-11-08 5:21 ` HATAYAMA Daisuke
2013-11-08 5:27 ` Jingbai Ma
2013-11-11 9:06 ` Petr Tesarik
2013-11-07 0:54 ` HATAYAMA Daisuke
2013-11-22 7:16 ` HATAYAMA Daisuke
2013-11-28 7:08 ` Atsushi Kumagai
2013-11-28 7:48 ` HATAYAMA Daisuke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131105134553.32112.58435.stgit@k.asiapacific.hpqcorp.net \
--to=jingbai.ma@hp.com \
--cc=anderson@redhat.com \
--cc=bhe@redhat.com \
--cc=d.hatayama@jp.fujitsu.com \
--cc=ebiederm@xmission.com \
--cc=kexec@lists.infradead.org \
--cc=kumagai-atsushi@mxc.nes.nec.co.jp \
--cc=linux-kernel@vger.kernel.org \
--cc=lisa.mitchell@hp.com \
--cc=ptesarik@suse.cz \
--cc=tom.vaden@hp.com \
--cc=vgoyal@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).