77da67160e
- Use od instead xxd - rebase patch fix_boot-time_bonding_interface_cleanup_and_avoid_use_ifcfg - ppc64_cpu --help does not list --version as an option - take care of NUMA topology when removing memory (DLPAR)
27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
commit 366e17553ed647613668678c2d301d369038f41b
|
|
Author: Brahadambal Srinivasan <latha@linux.vnet.ibm.com>
|
|
Date: Thu Nov 12 19:00:47 2020 +0530
|
|
|
|
Update ppc64-cpu usage
|
|
|
|
'ppc64_cpu --help' doesn't list '--version' as an option. This patch
|
|
adds the option in the usage information of ppc64-cpu command.
|
|
|
|
Signed-off-by: Brahadambal Srinivasan <latha@linux.vnet.ibm.com>
|
|
Signed-off-by: Tyrel Datwyler <tyreld@linux.ibm.com>
|
|
|
|
diff --git a/src/ppc64_cpu.c b/src/ppc64_cpu.c
|
|
index 71f4720..2b0f66c 100644
|
|
--- a/src/ppc64_cpu.c
|
|
+++ b/src/ppc64_cpu.c
|
|
@@ -1195,7 +1195,8 @@ static void usage(void)
|
|
"ppc64_cpu --subcores-per-core # Get number of subcores per core\n"
|
|
"ppc64_cpu --subcores-per-core=X # Set subcores per core to X (1 or 4)\n"
|
|
"ppc64_cpu --threads-per-core # Get threads per core\n"
|
|
-"ppc64_cpu --info # Display system state information)\n");
|
|
+"ppc64_cpu --info # Display system state information\n"
|
|
+"ppc64_cpu --version # Display version of ppc64-cpu\n");
|
|
}
|
|
|
|
struct option longopts[] = {
|