pcp
[Top] [All Lists]

pcp updates

To: pcp@xxxxxxxxxxx
Subject: pcp updates
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue, 26 Jan 2010 11:54:14 +1100
Reply-to: kenj@xxxxxxxxxxxxxxxx
I regression fix (mmv Install) and one late-breaking issue (pmdaCache
LOAD).

Changes committed to git://oss.sgi.com/kenj/pcp.git dev

 man/man1/pmnsadd.1          |   12 +++++++++
 man/man3/pmdacache.3        |   20 ++++++++++++++--
 src/include/pmda.h          |    1 
 src/libpcp_pmda/src/cache.c |   55 +++++++++++++++++++++++++++++++++-----------
 src/pmdas/mmv/GNUmakefile   |    2 -
 src/pmdas/mmv/Install       |    1 
 src/pmns/pmnsadd            |   52 ++++++++++++++++++++++++-----------------
 7 files changed, 106 insertions(+), 37 deletions(-)

commit 3e39dcd55b327dfebd5039238a8ae6e4018dd8cc
Merge: 6a10cc8 775e969
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Jan 26 10:29:44 2010 +1100

    Merge branch 'pmdacache' into dev

commit 6a10cc8f47eff40dfccd7f25a4caf1b774c75087
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Jan 26 10:25:09 2010 +1100

    mmv Install issue fixed
    
    Since the mmv PMDA was promoted to one of the "install by default"
    PMDAs, the Install script comman no longer worked ... a fall out from
    going from root + pmns to describe the PMDA's PMNS to using root_mmv.
    
    The fix is to extend pmnsadd to recognize when it is given a complete
    PMNS to work with, rather than the usual subtree of the PMNS case and
    make sure root_mmv is available in the PMDA directory.

commit 775e969acedb9e41aa1a9f7e030cd321bdc99267
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Jan 26 09:25:48 2010 +1100

    pmdaCache Fix corner case in LOAD logic
    
    Problem identified by Max Matveev.
    
    When the cache is already populated, the LOAD operation needs to
    honour existing cache state and report any inconsistencies (and not
    load the offending entries).
    
    Also added PMDA_CACHE_DUMP to pmdaCacheOp() to aid debugging.


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