[openib-general] [PATCH]{TRIVIAL] ibdiagnet: Fix another typo
Eitan Zahavi
eitan at mellanox.co.il
Tue Oct 10 00:42:57 PDT 2006
Thanks. Applied
Hal Rosenstock wrote:
>ibdiagnet: Fix another typo
>
>performance rather than performence
>
>Signed-off-by: Hal Rosenstock <halr at voltaire.com>
>
>Index: ibdiag/src/ibdebug_if.tcl
>===================================================================
>--- ibdiag/src/ibdebug_if.tcl (revision 9752)
>+++ ibdiag/src/ibdebug_if.tcl (working copy)
>@@ -15,17 +15,17 @@
> # -deafult "" means that the parameter does have a default value, but it will set later (after ibis is ran, in porc startIBDebug).
> ## TODO: sm_key is a 64-bit integer - will it be correctly cheked in parseArgv ?
> array set InfoArgv {
>- -P,name "query.performence.monitors"
>+ -P,name "query.performance.monitors"
> -P,desc "If any of the provided pm is greater then its provided value, print it to screen"
> -P,param "<PM counter>=<Trash Limit>"
> -P,regexp "pm.name.>=1"
> -P,error "-E-argv:not.legal.PM"
>
>- -pc,name "reset.performence.monitors"
>+ -pc,name "reset.performance.monitors"
> -pc,arglen 0
> -pc,desc "reset all the fabric links pmCounters"
>
>- -pm,name "performence.monitors"
>+ -pm,name "performance.monitors"
> -pm,arglen 0
> -pm,desc "Dumps all pmCounters values into .pm file"
>
>Index: ibdiag/src/ibdebug.tcl
>===================================================================
>--- ibdiag/src/ibdebug.tcl (revision 9752)
>+++ ibdiag/src/ibdebug.tcl (working copy)
>@@ -1745,7 +1745,7 @@ proc PMCounterQuery {} {
> # preparing database for reading PMs
> if {![catch {set tmpLID [GetParamValue LID $directPath -port $entryPort]}]} {
> if { $tmpLID != 0 } {
>- if {[info exists G(argv,reset.performence.monitors)]} {
>+ if {[info exists G(argv,reset.performance.monitors)]} {
> catch {pmClrAllCounters $tmpLID $entryPort}
> }
> set tmpLidPort "$tmpLID:$entryPort"
>@@ -1767,7 +1767,7 @@ proc PMCounterQuery {} {
> unset tmpLidPort
> if {![catch {set tmpLID [GetParamValue LID $directPath -port $entryPort]}]} {
> if { $tmpLID != 0 } {
>- if {[info exists G(argv,reset.performence.monitors)]} {
>+ if {[info exists G(argv,reset.performance.monitors)]} {
> catch {pmClrAllCounters $tmpLID $entryPort}
> }
> set tmpLidPort "$tmpLID:$entryPort"
>@@ -1839,7 +1839,7 @@ proc PMCounterQuery {} {
> inform "-W-ibdiagnet:bad.pm.counter.report" -deviceName $name -listOfErrors $badValues
> }
>
>- if {[info exists G(argv,performence.monitors)]} {
>+ if {[info exists G(argv,performance.monitors)]} {
> lappend PM_DUMP(nodeNames) $name
> set PM_DUMP($name,pmCounterList) $pmCounterList
> set PM_DUMP($name,pmCounterValue) $newValues($tmpLidPort)
>@@ -1848,7 +1848,7 @@ proc PMCounterQuery {} {
> if {$firstPMcounter == 0} {
> inform "-I-ibdiagnet:no.pm.counter.report"
> }
>- if {[info exists G(argv,performence.monitors)]} {
>+ if {[info exists G(argv,performance.monitors)]} {
> writePMFile
> }
> return 1
>@@ -2377,8 +2377,8 @@ proc ComparePMCounters { oldValues newVa
>
> set errList ""
> set pmRequestList ""
>- if {[info exists G(argv,query.performence.monitors)]} {
>- set pmRequestList [split $G(argv,query.performence.monitors) {, =}]
>+ if {[info exists G(argv,query.performance.monitors)]} {
>+ set pmRequestList [split $G(argv,query.performance.monitors) {, =}]
> }
> foreach parameter [array names InfoPm] {
> ParseOptionsList $InfoPm($parameter)
>@@ -2394,7 +2394,7 @@ proc ComparePMCounters { oldValues newVa
> lappend errList "$parameter valueChange $oldValue->$newValue"
> } elseif { ( $oldValue == $overflow ) || ( $newValue == $overflow ) } {
> lappend errList "$parameter overflow $overflow"
>- } elseif {[info exists G(argv,query.performence.monitors)]} {
>+ } elseif {[info exists G(argv,query.performance.monitors)]} {
> if {[lsearch $pmRequestList $parameter] != -1} {
> set pmTrash [WordAfterFlag $pmRequestList $parameter]
> if {$newValue >= $pmTrash} {
>
>
>
>
>_______________________________________________
>openib-general mailing list
>openib-general at openib.org
>http://openib.org/mailman/listinfo/openib-general
>
>To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
>
>
More information about the general
mailing list