pcp
[Top] [All Lists]

pcp updates

To: pcp@xxxxxxxxxxx
Subject: pcp updates
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu, 12 Jul 2012 20:28:29 +1000 (EST)
In-reply-to: <1184546584.1614514.1342088877736.JavaMail.root@xxxxxxxxxxxxxxxxxxxxxx>
Changes committed to git://oss.sgi.com/pcp/pcp.git dev

 CHANGELOG                      |   17 +++
 VERSION.pcp                    |    2
 debian/changelog               |    6 +
 man/man3/pmdaeventqueue.3      |   20 +++-
 src/cpan/PMDA/Changes          |   13 ++
 src/cpan/PMDA/PMDA.pm          |    4
 src/cpan/PMDA/PMDA.xs          |  181 +++++++++++++++++++++++++++++------------
 src/include/pcp/pmda.h         |    1
 src/libpcp_pmda/src/open.c     |   17 +--
 src/libpcp_pmda/src/queues.c   |    9 +-
 src/pmdas/GNUmakefile          |    2
 src/pmdas/bash/event.c         |   12 +-
 src/pmdas/bash/pmda.c          |    6 -
 src/pmdas/dtsrun/pmdadtsrun.pl |    4
 src/pmdas/simple/pmdasimple.pl |   42 +++------
 15 files changed, 229 insertions(+), 107 deletions(-)

commit 3a1626e2466828c364496b6b7de32f2b3a06fe9a
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Jul 12 20:26:44 2012 +1000

    Add an interface supporting PMDAs doing dynamic queue allocation
   
    The bash pmda creates a disposes of event queues on the fly, as
    processes come and go.  There is a corner case where a client is
    already talking to the PMDA, a new instrumented process starts,
    and no events are delived.  This is because the new queue is not
    aware of existing clients.
   
    While there, cleanup the indom setup in libpcp_pmda open routine
    to use globally available interface rather than open-coding some
    things (around indom setup).  Also, have now added pmdabash into
    default builds.

commit 767022901de6fbd1c95471d2700c559fa1808919
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Jul 12 20:22:40 2012 +1000

    Bump version in dev branch for upcoming point release.

commit 8b093c622d8794240095e645a70009dfdacb2e03
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Jul 12 20:14:52 2012 +1000

    Add PCP::PMDA perl module support for pmdaCache style indoms
   
    This adds support for hash-based indom handling via the PMDA
    cache interfaces in libpcp_pmda.  This introduces a routine
    for looking up opaque PMDA data from instid (pmda_inst_lookup)
    suitable for fetch callback use.
   
    Additionally, it fixes the pmda_inst_name interface used by
    (only) the dtsrun PMDA - was using an incorrect value for indom
    lookup.  This is now consistent with all the other instance
    interfaces, and dtsrun PMDA (not widely used) has been fixed.
   
    Finally, a use-after-free is addressed in the help file handling
    observed when exercising the help text PDUs for pmdasimple.pl.
   
    Roll forward to version 1.14 for PCP::PMDA with these updates.

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