[ofa-general] [PATCH] opensm: add --perfmgr to usage
Sasha Khapyorsky
sashak at voltaire.com
Thu Aug 23 05:45:10 PDT 2007
Add PerfMgr options description to usage().
Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
opensm/opensm/main.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/opensm/opensm/main.c b/opensm/opensm/main.c
index 0827f1c..e2541d8 100644
--- a/opensm/opensm/main.c
+++ b/opensm/opensm/main.c
@@ -284,6 +284,12 @@ void show_usage(void)
printf("-I\n"
"--inactive\n"
" Start SM in inactive rather than normal init SM state.\n\n");
+#ifdef ENABLE_OSM_PERF_MGR
+ printf("--perfmgr\n"
+ " Start with PerfMgr enabled.\n\n");
+ printf("--perfmgr_sweep_time_s <sec.>\n"
+ " PerfMgr sweep interval in seconds.\n\n");
+#endif
printf("-v\n"
"--verbose\n"
" This option increases the log verbosity level.\n"
--
1.5.3.rc2.38.g11308
More information about the general
mailing list