pcp
[Top] [All Lists]

pcp updates: string cache, pmdarpm qa

To: pcp@xxxxxxxxxxx
Subject: pcp updates: string cache, pmdarpm qa
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue, 10 Dec 2013 01:43:48 -0500 (EST)
Delivered-to: pcp@xxxxxxxxxxx
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: omRrBfu+VIJCGszisS/Dd79jFE9Zsg==
Thread-topic: pcp updates: string cache, pmdarpm qa
Changes committed to git://oss.sgi.com/nathans/pcp.git scox/dev

 configure                   |    4 
 configure.in                |    4 
 man/man3/pmdacache.3        |   15 ++
 qa/750                      |   98 ++++++++----------
 qa/750.out                  |  232 ++++++++++++++++++++++++++++++++++----------
 qa/783                      |   78 ++++----------
 qa/GNUmakefile              |    3 
 qa/common.filter            |    3 
 qa/common.rpm               |  169 +++++++++++++++++++++++++++++++-
 src/include/pcp/pmda.h      |    1 
 src/libpcp_pmda/src/cache.c |   30 +++--
 src/pmdas/linux/pmda.c      |    2 
 src/pmdas/linux_proc/pmda.c |    2 
 src/pmdas/rpm/rpm.c         |   21 ++-
 14 files changed, 473 insertions(+), 189 deletions(-)

commit f819230a9f1fe6dec144c9b748f07175a890245c
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Dec 10 17:42:13 2013 +1100

    Initial version of valgrind test for pmdarpm

commit bf4bd2812827c3833a957371fdcd08bedb58a427
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Dec 10 17:40:32 2013 +1100

    Small cleanup to rpm test qa/750 and common code

commit 1ea3eca584cc962e072dfe93729a662bb8ad7595
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Dec 10 16:45:18 2013 +1100

    QA updates for pmdarpm - rejig test 750 in particular
    
    Create a common.rpm script with shell code useful by multiple
    tests, update test 750 to make use of it.  Change test 750 to
    not use python.rpm as its test package but rather now creates
    its own package, with deterministic metadata.
    
    Exercises that an instance domain change is automatically done
    by the pmdarpm background thread on rpm removal as well.

commit 8e2b2908141b04c772ee5327d93acf79840b5969
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Dec 10 12:41:20 2013 +1100

    Add pmdarpm to the common QA PMDA filters

commit f4d6d5dd9ffc4319ea311444792144b8124bed7e
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Dec 10 12:20:46 2013 +1100

    Further updates to pmdarpm - use the string cache mechanism
    
    Use string cache support in pmdaCache (allowing spaces in
    keys).  Also wnsure the string cache has been initialised
    before starting the thread which makes use of it.
    
    Further, Stan investigated rpmtdReset and it turns out we
    don't need to be using it at all - we're just immediately
    undoing what it does every time.

commit b088a8b9717abdf19010ae63b6707f358a2e8d5c
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Dec 10 12:16:45 2013 +1100

    Annotate the linux and linux_proc string caches as such

commit b9b30f3ec269f73a6ce7abfab84345d6fd108285
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Dec 10 12:16:12 2013 +1100

    Add a pmdaCacheOp mechanism for setting a cache as a string cache
    
    Provide an officially supported mechanism for performing string
    de-duplication, now that a third PMDA has found a need for it.  In
    this latest case, for the first time we also see a need for spaces
    in those strings so we need library support for that.

commit 6fb767e2bdeda9cc4998e73a7611747030d3dfbb
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Dec 10 12:11:48 2013 +1100

    Change configure test for rpm header checking, for old versions
    
    Older versions of RHEL (5), predate some of the APIs which pmdarpm
    is making use of.  After chatting to Stan, agreed to configure our
    way out of this little conundrum - so, no pmdarpm will be built or
    installed on those older platforms.

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