Skip to contentSkip to conversation

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

PATCH In review Bhupesh Sharma 2 participants 2 messages Oct 25, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

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.

---
 print_info.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
print_info.c +1 -1
index 732d5b806c24..0be12ea8803c 100644
@@ -300,7 +300,7 @@ print_usage(void)
 	MSG("      necessary to specify [-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 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");
Signature · 7 lines
2.7.4


_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
#1 lore raw
Quoted 8 lines · Bhupesh Sharma

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.

Thanks Bhupesh, I couldn't be aware of it.
applied to the devel branch.

Kazu

Quoted 23 lines

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

---
 print_info.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
print_info.c +1 -2
index 732d5b806c24..0be12ea8803c 100644
@@ -300,7 +300,7 @@ print_usage(void)
 	MSG("      necessary to specify [-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 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");
--
Quoted 2 lines

2.7.4

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec