pcp
[Top] [All Lists]

pcp updates

To: pcp@xxxxxxxxxxx
Subject: pcp updates
From: Nathan Scott <nscott@xxxxxxxxxx>
Date: Thu, 25 Jun 2009 17:00:33 +1000 (EST)
Changes committed to git://oss.sgi.com/nathans/pcp.git

 configure.in                     |    4 
 man/man3/mmv_inc_value.3         |    1 
 man/man3/mmv_lookup_value_desc.3 |    1 
 man/man3/mmv_stats_init.3        |    1 
 man/man4/mmv.4                   |   63 ++++++------
 src/cpan/MMV/GNUmakefile         |    2             
 src/cpan/MMV/MANIFEST            |    1             
 src/cpan/MMV/MMV.pm              |   77 +++++++++++----
 src/cpan/MMV/MMV.xs              |   26 +----          
 src/cpan/MMV/server.pl           |   88 +++++++++++++++++
 src/include/mmv_dev.h            |    2                  
 src/include/mmv_stats.h          |  150 +++++------------------------
 src/include/platform_defs.h.in   |   14 +-                           
 src/libpcp/src/util.c            |    4                              
 src/libpcp_gui/src/record.c      |    2                              
 src/libpcp_mmv/src/mmv_stats.c   |  197 ++++++++++++++++++++++++++++++++++-----
 src/pmcd/src/config.c            |    4                                        
 src/pmdas/mmv/GNUmakefile        |    5                                        
 src/pmdas/mmv/mmv.c              |   57 +++++------                            
 src/pmdas/mmv/mmvdump.c          |   88 +++++++++--------                      
 src/pmdas/summary/pmda.c         |    2                                        
 src/pmdas/weblog/pmda.c          |    4                                        
 22 files changed, 487 insertions(+), 306 deletions(-)                          

commit 59cf322f14dfdaaada8985837c937f5dace4b0b5
Author: Nathan Scott <nathans@xxxxxxxxxx>      
Date:   Thu Jun 25 16:57:49 2009 +1000         

    Fix compiler warning on Windows due to pipe() redefinition.

commit 92c08eec2fb953d796b7a0650232d4ed58833450
Author: Nathan Scott <nathans@xxxxxxxxxx>      
Date:   Thu Jun 25 16:32:58 2009 +1000         

    Update mmvdump to also show TOC start offsets.

commit 76cb209350261c63feaa4cabf0227fcf36407db8
Author: Nathan Scott <nathans@xxxxxxxxxx>      
Date:   Thu Jun 25 16:03:45 2009 +1000         

    Build fixes for MMV on Windows and with no PCP installed.

commit c8c7f3322dbe701538ea205120603fa144bff7f6
Author: Nathan Scott <nathans@xxxxxxxxxx>      
Date:   Thu Jun 25 15:20:41 2009 +1000         

    Incorporate doc feedback for MMV man pages.
                                               
    Paul Cowan suggests making the order of MMV section definition
    in mmv.4 match the order in the initial table.  Make it so.   

commit 1a1c985900478e8feb035d8fd7bd68593bae78d8
Author: Nathan Scott <nathans@xxxxxxxxxx>      
Date:   Thu Jun 25 15:08:04 2009 +1000         

    Explicitly set elapsed timer metric semantics in the MMV PMDA.

commit 39b875e58c88ab52a7c78d695ab5feda5e71bdb0
Author: Nathan Scott <nathans@xxxxxxxxxx>      
Date:   Thu Jun 25 15:07:32 2009 +1000         

    Fixes for two MMV client library bugs, found in QA.
                                                       
    The indom help text was being updated using an index
    into the metric table.  Singular metric values weren't
    being accessed correctly if zero used instead of the  
    usual PM_INDOM_NULL.                                  

commit 114caa9ded91ce22835a50a9af6510cadecf6225
Author: Nathan Scott <nathans@xxxxxxxxxx>      
Date:   Thu Jun 25 12:10:12 2009 +1000         

    Fix up handling of elapsed-timers in the MMV PMDA.
                                                      
    There was some redundant code (never ever used AFAICT) that
    allocated extra memory in the PMDA for the "extra" value
    space for each instance - not needed, removed.  Also fix a
    logic issue resulting in timers not exporting correctly.

commit 2b629689b94a50f2c590ed266d2b0b9b3010d9b6
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Jun 25 11:02:56 2009 +1000

    MMV client API improvements.

    This patch:
    - adds an API routine for setting the value directly, which is
      needed for instantaneous values (not just incrementing then);
    - moves the mmv_stats inline wrapper routines into the library,
      simplifying the main API header a whole lot;
    - directly use the pmapi.h macros where they match up with some
      mmv_stats.h macros, ensuring values match & meaning is clear;
    - update the Perl client module to remove the dependence on the
      PMDA module;
    - add a decent Perl example showing how to instrument with this
      module;
    - add an "elapsed time" metric type which correctly handles the
      in-progress timer situation.

    Ondisk format and client APIs are now feature complete for us.

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