All of lore.kernel.org
 help / color / mirror / Atom feed
From: Baoquan He <bhe@redhat.com>
To: kexec@lists.infradead.org
Cc: kumagai-atsushi@mxc.nes.nec.co.jp, Baoquan He <bhe@redhat.com>,
	vgoyal@redhat.com
Subject: [PATCH 1/2] supplement the description of option --mem-usage
Date: Wed,  3 Sep 2014 17:13:07 +0800	[thread overview]
Message-ID: <1409735588-2430-1-git-send-email-bhe@redhat.com> (raw)

For now option --mem-usage is only used for x86-64, so supplement the
description in man page and help message.

Signed-off-by: Baoquan He <bhe@redhat.com>
---
 makedumpfile.8 | 1 +
 print_info.c   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/makedumpfile.8 b/makedumpfile.8
index e6a2dac..0211cd9 100644
--- a/makedumpfile.8
+++ b/makedumpfile.8
@@ -536,6 +536,7 @@ it is necessary to specfiy [\-x \fIVMLINUX\fR] or [\-i \fIVMCOREINFO\fR].
 
 .TP
 \fB\-\-mem-usage\fR
+This option is only for x86_64.
 This option is used to show the page numbers of current system in different
 use. It should be executed in 1st kernel. By the help of this, user can know
 how many pages is dumpable when different dump_level is specified. It analyzes
diff --git a/print_info.c b/print_info.c
index a1232f4..f6342d3 100644
--- a/print_info.c
+++ b/print_info.c
@@ -268,6 +268,7 @@ print_usage(void)
 	MSG("      necessary to specfiy [-x VMLINUX] or [-i VMCOREINFO].\n");
 	MSG("\n");
 	MSG("  [--mem-usage]:\n");
+	MSG("      This option is only for x86_64.\n");
 	MSG("      This option is used to show the page numbers of current system in different\n");
 	MSG("      use. It should be executed in 1st kernel. By the help of this, user can know\n");
 	MSG("      how many pages is dumpable when different dump_level is specified. It analyzes\n");
-- 
1.8.5.3


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

             reply	other threads:[~2014-09-03  9:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-03  9:13 Baoquan He [this message]
2014-09-03  9:13 ` [PATCH 2/2] message printing cleanup for option --mem-usage Baoquan He
2014-09-03  9:20   ` Baoquan He
2014-09-08  5:51     ` Atsushi Kumagai
2014-09-09  3:02       ` bhe
2014-09-09  3:26   ` [PATCH v2 " Baoquan He
2014-09-10  8:16     ` Atsushi Kumagai

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=1409735588-2430-1-git-send-email-bhe@redhat.com \
    --to=bhe@redhat.com \
    --cc=kexec@lists.infradead.org \
    --cc=kumagai-atsushi@mxc.nes.nec.co.jp \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.