pcp
[Top] [All Lists]

pcp updates: python modules

To: pcp@xxxxxxxxxxx
Subject: pcp updates: python modules
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu, 18 Apr 2013 03:50:21 -0400 (EDT)
Delivered-to: pcp@xxxxxxxxxxx
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: 2WCZGqUaZTwHC4ti9BcO5Y6bp5grOQ==
Thread-topic: pcp updates: python modules
Changes committed to git://oss.sgi.com/nathans/pcp.git dev

 qa/704                         |    8 +-
 qa/704.out                     |   58 +++++++++-----
 qa/src/test_mmv.python         |  120 ++++++++++++++----------------
 src/libpcp_mmv/src/mmv_stats.c |    3 
 src/pmdas/simple/pmdasimple.py |   46 +++++------
 src/python/pcp/mmv.py          |  161 +++++++++++++++++++++-------------------
 src/python/pcp/pmapi.py        |    8 +-
 src/python/pcp/pmda.py         |   72 +++++++++++-------
 src/python/pmapi.c             |   22 +++--
 src/python/pmda.c              |  162 ++++++++++++++++++++++++-----------------
 10 files changed, 369 insertions(+), 291 deletions(-)

commit a815885ade199e9b31cf4f1d43f543f44cc5b725
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Apr 18 17:48:45 2013 +1000

    Further work on the python PMDA module interface
    
    Manage instance array setup correctly.  Handle namespace refresh
    logic correctly, now able to create domain.h and namespace files
    as part of Install scripts.

commit 607a2aac3dcce2ea098efd6bac453830c61bca30
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Apr 18 13:10:44 2013 +1000

    Further work on the python MMV module interface
    
    This is now functional, and metrics and instances can be created
    from an instrumented python applications.  Hooray.
    
    pylint still has one or two issues, but its giving a pretty high
    score (~9.5) now too, so most of the cleanup work is complete.
    
    In addition, found the MMV behaviour of allowing a non-running
    process-flagged MMV app was not there in the C library (parfait
    allows this for short-lived java apps, and its handy), so added
    it in to use during QA.

commit f3cf1b8e10b5691aaed95f36556a489988d07f8e
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Apr 18 09:49:51 2013 +1000

    Simplify the timeval conversion interfaces and make them work
    
    Makes the python->C calling interface simpler for timevals, which
    nowadays use some __pmtimeval routines.  These were previously not
    converting correctly from ctypes into real C, but now they do.
    
    Also fixed up the pmLookupName comment which was clearly wrong and
    also correct the stringification of timevals which was incorrectly
    converting to floating point number, not string.

commit f78fab83a86904b3c519df2e5b7e69b5251e5e95
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Apr 17 17:39:26 2013 +1000

    Update pmdasimple.py metric/indom init to match newer calling convention

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: python modules, Nathan Scott <=