pcp
[Top] [All Lists]

pcp updates

To: pcp@xxxxxxxxxxx
Subject: pcp updates
From: Nathan Scott <nscott@xxxxxxxxxx>
Date: Wed, 24 Jun 2009 11:12:03 +1000 (EST)
Changes committed to git://oss.sgi.com/nathans/pcp.git

 debian/libpcp-mmv1-dev.install   |    1 
 man/man3/mmv_inc_value.3         |    5 
 man/man3/mmv_lookup_value_desc.3 |   35 +-
 man/man3/mmv_stats_init.3        |   54 +++-
 man/man4/mmv.4                   |   88 ++++++-
 src/cpan/MMV/MMV.pm              |    7        
 src/cpan/MMV/MMV.xs              |  279 ++++++++++++++++-------
 src/cpan/MMV/typemap             |    6                        
 src/include/GNUmakefile          |    2                        
 src/include/mmv_dev.h            |   86 +++++++                
 src/include/mmv_stats.h          |  275 ++++++++++-------------
 src/libpcp_mmv/src/mmv_stats.c   |  466 ++++++++++++++++++++++-----------------
 src/pmdas/mmv/.gitignore         |    1                                        
 src/pmdas/mmv/GNUmakefile        |    9                                        
 src/pmdas/mmv/mmv.c              |  155 ++++++------                           
 src/pmdas/mmv/mmvdump.c          |  269 ++++++++++++++++++++++                 
 16 files changed, 1171 insertions(+), 567 deletions(-)                         

commit 7a16daeb4ec6b6a4afafac31df5200274f19c47f
Author: Nathan Scott <nathans@xxxxxxxxxx>      
Date:   Wed Jun 24 11:00:20 2009 +1000         

    Add a diagnostic tool for MMV clients and PMDA.
                                                   
    An additional diagnostic tool has been added into the
    set of files installed with the MMV PMDA to aid testing
    and debugging by MMV users and developers.  Was based on
    the mmv_dumpstats QA tool originally, but its basically 
    a complete rewrite at this stage.                       

commit 860d00b6212f0bc51b57a9912e3684140de9b227
Author: Nathan Scott <nathans@xxxxxxxxxx>      
Date:   Wed Jun 24 10:48:55 2009 +1000         

    Final format modifications for MMV PMDA, for instances.
                                                           
    This change reworks the way instance domains are handled
    in the MMV PMDA, to be more consistent with the way it  
    deals with metrics.                                     
                                                            
    mmv_stats_init() now takes extra arguments for instances
    (indoms, nindoms).  The ondisk format has an additional
    TOC type for indoms, separate to instances (paralleling
    the metrics / values separation).  In addition to making
    a more consistent format thats easier to write the Java
    API for, we can also now specify indom help text and can
    thus now support everything that a "regular" PMDA can.

    This change also separates out the ondisk format structs
    from the client interface (mmv_dev.h vs mmv_stats.h) so
    that clients never need to directly access the on-disk
    file.  Values *are* still updated "in-place", of course,
    but this is done via access to a pmAtomValue instead of
    by exposing implementation details at the API level.

    Man pages are updated to document the API tweaks and the
    ondisk format changes.  This is expected to be the final
    format change we need in order to replace 2 of our mmap-
    based production PMDAs (Aconex and Cymetry viewer) - its
    likely some minor PMDA tweaks still remain to completely
    achieve that goal, but the ondisk format is done.

    As an interesting by-product of these changes, the main
    API routine mmv_stats_init() no longer allocates memory
    at all - everything is done in-place in the mmap'd file.

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