pcp
[Top] [All Lists]

pcp updates

To: pcp@xxxxxxxxxxx
Subject: pcp updates
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed, 22 Feb 2012 14:36:53 +1100 (EST)
Changes committed to git://oss.sgi.com/nathans/pcp.git dev

 src/libpcp_pmda/src/queues.c      |   18 +++++++++++-------
 src/pmdas/logger/logger.c         |    2 +-
 src/pmdas/sample/src/percontext.c |   15 ++++++++-------
 3 files changed, 20 insertions(+), 15 deletions(-)

commit 6b81ad7e00d9b6b33a2042127f4743e24b93e825
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Feb 22 14:35:11 2012 +1100

    Trivial cleanup in some sample PMDA event code.

commit f5ae443b829401a78a816e4e8b0415935cc52924
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Feb 22 14:34:45 2012 +1100

    logger.numclients metric is of instantaneous type, not discrete

commit 2e950d4adde7970e0fc5e3193b7cca50e94b766c
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Feb 22 14:31:17 2012 +1100

    Fix issues in latest event queue interfaces
    
    This addresses three issues, mainly from the last round of
    event queue interface additions:
    - The return code of several helper routines was inconsistent
      with the QueueRecords fetch routine and as a result wrong
      return codes from fetch would be returned.  Resulted in a
      few no-values returns instead of the actual values.
    - the global event client count was looking at only the first
      client instead of all, thanks to a pointer bug, and would
      have returned incorrect values (if not obscured by another
      issue, above).
    - Leaking context memory, due to incorrect check to see if
      a context exists and is in use rather than always allocing
      a new one.  (this bug has actually been there for awhile)

<Prev in Thread] Current Thread [Next in Thread>