pcp
[Top] [All Lists]

pcp updates (Linux)

To: pcp@xxxxxxxxxxx
Subject: pcp updates (Linux)
From: Nathan Scott <nscott@xxxxxxxxxx>
Date: Mon, 12 Jan 2009 16:40:07 +1100
Changes committed to git://oss.sgi.com/nathans/pcp.git

 src/pmdas/linux/pmda.c |   20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

commit 04797e69604ebe23a5f09280e03040ca5235b673
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Mon Jan 12 16:24:44 2009 +1100

    Removal of IB indom in Linux PMDA causes bad indomtab array lookups.
    gcc reports ...
      pmda.c: In function ‘linux_refresh’:
      pmda.c:3344: warning: array subscript is above array bounds
      pmda.c: In function ‘linux_fetchCallBack’:
      pmda.c:4012: warning: array subscript is above array bounds
    ... since there's a hole in the array indexing where IB used to be
    and NET_INET_INDOM (last entry in the array) is the victim.  Added
    in a dummy ("IB, deprecated") entry to fix this up.  Also, cleaned
    up a handful of whitespace abuses in this table while I was there.



<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates (Linux), Nathan Scott <=