[PATCH] makedumpfile: Update help text to indicate --mem-usage is supported on archs other than x86_64

Bhupesh Sharma bhsharma at redhat.com
Wed Oct 24 23:18:27 PDT 2018

Commit 8449bda73ab14516d4bf81d29503c1ea203bb865 ["Documentation:
Update documentation regarding --mem-usage' option"]), updated the
makedumpfile man page to indicate that this option is now
supported on x86_64, arm64, ppc64 and s390x.

However, the help text for makedumpfile (which one can see
by running 'makedumpfile --help'), still reflects the old
support status, i.e. this option is only supported on x86_64.

This patch changes the help text to be in sync with the man
page text.

Signed-off-by: Bhupesh Sharma <bhsharma at redhat.com>
 print_info.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/print_info.c b/print_info.c
index 732d5b806c24..0be12ea8803c 100644
--- a/print_info.c
+++ b/print_info.c
@@ -300,7 +300,7 @@ print_usage(void)
 	MSG("      necessary to specify [-x VMLINUX] or [-i VMCOREINFO].\n");
 	MSG("  [--mem-usage]:\n");
-	MSG("      This option is only for x86_64.\n");
+	MSG("      This option is currently supported on x86_64, arm64, ppc64 and s390x.\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");

More information about the kexec mailing list