pcp
[Top] [All Lists]

pcp updates: pmdarpm WIP

To: Stan Cox <scox@xxxxxxxxxx>
Subject: pcp updates: pmdarpm WIP
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon, 9 Dec 2013 05:25:13 -0500 (EST)
Cc: PCP <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1029910049.26571376.1386584574319.JavaMail.root@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: PabsQwUyBQc6e0dpXS4IXRwIoJzmAQ==
Thread-topic: pcp updates: pmdarpm WIP
Changes committed to git://oss.sgi.com/nathans/pcp.git scox/dev

 build/rpm/GNUmakefile     |    1 
 build/rpm/fedora.spec     |    3 
 build/rpm/pcp.spec.in     |    3 
 configure                 |   29 +
 configure.in              |   13 
 qa/750                    |   45 +-
 qa/750.out                |   81 +---
 qa/783                    |    1 
 src/include/builddefs.in  |    1 
 src/pmdas/rpm/.gitignore  |    2 
 src/pmdas/rpm/GNUmakefile |   42 +-
 src/pmdas/rpm/Install     |    6 
 src/pmdas/rpm/help        |   16 
 src/pmdas/rpm/pmns        |   18 -
 src/pmdas/rpm/rpm.c       |  782 ++++++++++++++++++++++------------------------
 src/pmdas/rpm/rpm.h       |  101 +++++
 16 files changed, 623 insertions(+), 521 deletions(-)

commit 21baedd5128d3cf05958880273f097f1a1f1b718
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Mon Dec 9 21:21:33 2013 +1100

    Series of updates to the RPM PMDA and tests
    
    Convert pmdarpm to a fine-grained locking model, where the
    lock is not ever held across RPM API calls.  The fake indom
    discussed onlist has been added to make this work.
    
    Reduce amount of memory required for each package - make use
    of string value sharing (via another pseudo indom) to remove
    string duplication and 32 bit hash table indices are stored
    in place of 64 bit pointers.
    
    The rpm.name metric is removed as this information is already
    available via the instance domain, seems like busy work if we
    dup that as a metric value too.
    
    Correct units for rpm.{buildtime,size,installtime} which has
    the side-effect of rendering the METRICTAB_ENTRY macro not so
    useful anymore - remove it, remove the tag table as thats also
    not needed in the simplified model.
    
    Hide some unconditional diagnostics behind APPL1 debug level.
    
    Add QA test notrun checks for pmdarpm installation, since it
    may not have been built for all platforms.  Both tests need
    further updates, see comments in 750.

commit 7c238c75b29e0ac3213d049b0fb1eda784361ef3
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Mon Dec 9 13:05:04 2013 +1100

    Add rpm.datasize for tracking pmdarpm data segment size

commit d65df6e428780d3da38be800de3659a062abed37
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Mon Dec 9 12:44:16 2013 +1100

    Corrections to pmdarpm help and Install script

commit 3b497d79b5970464f322e12600777069e6c4c00d
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Mon Dec 9 11:23:31 2013 +1100

    Add in the missing parts of pmdarpm build process
    
    Update the configure scripts to detect and enable building
    the RPM components for platforms supporting RPM packages.
    Since we're building both DSO and daemon PMDA variants the
    shiny new DSO exports magic for PMDAs is added in as well.
    
    Add install target for the PMDA Install/Remove script.

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