pcp
[Top] [All Lists]

pcp updates: kenj merges, pmdazswap

To: pcp@xxxxxxxxxxx
Subject: pcp updates: kenj merges, pmdazswap
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon, 3 Mar 2014 21:45:12 -0500 (EST)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1930823238.20126153.1393901089861.JavaMail.zimbra@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: 3fBVb1K+2BP6WIWPaY1Y72TPe2SX6w==
Thread-topic: pcp updates: kenj merges, pmdazswap
Changes committed to git://oss.sgi.com/pcp/pcp.git dev

 Makepkgs                         |   19 +
 build/tar/postinstall.tail       |   62 ++++--
 build/tar/preinstall.head.in     |    6 
 configure                        |   62 +++++-
 configure.in                     |   65 +++++-
 debian/.gitignore                |    1 
 debian/GNUmakefile               |   15 +
 debian/control                   |  378 ---------------------------------------
 debian/control.master            |  373 ++++++++++++++++++++++++++++++++++++++
 debian/control.webapi            |    8 
 debian/pcp-webapi.dirs           |    4 
 man/man1/GNUmakefile             |    1 
 man/man1/pmdazswap.1             |   66 ++++++
 qa/972                           |   86 ++++++++
 qa/972.out                       |   87 ++++++++
 qa/973                           |   99 ++++++++++
 qa/973.out                       |   28 ++
 qa/admin/check-vm                |    4 
 qa/common.filter                 |    4 
 qa/group                         |    2 
 qa/qa_hosts.master               |   12 +
 src/include/builddefs.in         |   18 +
 src/libpcp/src/check-statics     |    1 
 src/libpcp/src/interp.c          |   52 +++--
 src/libpcp_pmcd/src/GNUmakefile  |    2 
 src/pmdas/GNUmakefile            |    2 
 src/pmdas/freebsd/.gitignore     |    5 
 src/pmdas/freebsd/GNUmakefile    |    1 
 src/pmdas/zswap/.gitignore       |    1 
 src/pmdas/zswap/GNUmakefile      |   37 +++
 src/pmdas/zswap/Install          |   28 ++
 src/pmdas/zswap/Remove           |   25 ++
 src/pmdas/zswap/pmdazswap.python |  188 +++++++++++++++++++
 src/pmie/examples/GNUmakefile    |    3 
 src/pmns/stdpmid.pcp             |    1 
 src/pmwebapi/pmwebapi.c          |    2 
 src/python/pmda.c                |    4 
 37 files changed, 1300 insertions(+), 452 deletions(-)

commit 8ae4278897f45b98ecae8a663fe27a81fdb83f0c
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Mar 4 13:33:38 2014 +1100

    Fix a python module bug for PMDAs without instance domains
    
    The interface to the pmdaInit(3) routine in the python wrapper
    code was not correctly initializing all fields.  This meant in
    the case of a PMDA with no indoms (nindoms == 0) we passed an
    uninitialised buffer pointer in.  This should be harmless, but
    the pmdaInit(3) code is very strict in checking its parameters
    and refuses to proceed in this case when the buffer pointer is
    not NULL.
    
    The actual text of the error produced is:
      "pmdaInit: PMDA xxx: indoms not consistent with nindoms"

commit b37d42d8743863bbc4bb74f84b0bb351ea44e519
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Mar 4 13:15:42 2014 +1100

    Add the zswap PMDA with Linux compressed swap metrics
    
    A new python PMDA exporting the zswap statistics exported
    by the kernel module below /sys/kernel/debug/zswap.  This
    is a nice and simple introductory python PMDA, for anyone
    looking to get started on python PMDA development.
    
    Tests qa/972 and qa/973 exercise the new functionality.

commit 2d96f756deb5a94c5800c26d441a654d157bdb90
Merge: 6ec1d4a 5c2d094
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Mar 4 09:09:22 2014 +1100

    Merge branch 'dev' of git://oss.sgi.com/kenj/pcp into dev

commit 5c2d094bab2190a8d5f410d027d90a7f8031b8cc
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Mar 4 08:29:50 2014 +1100

    tar postinstall - changes to support user/group setup for FreeBSD

commit 34c2b3a8c7071a456802d7c777fef8cba849451c
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Mar 4 07:56:36 2014 +1100

    pmie/examples/GNUmakefile - safer use of sed -i
    
    Safe portable use demands -i<suffix> not simply -i ... and then
    clean up the temporary file that remains.

commit e81ebc96b435217a7a2e823c2e4106fb2da624d5
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Mar 4 07:08:28 2014 +1100

    FreeBSD PMDA - better cleanup during build, add .gitignore

commit e0f5ac56b3c05ea3f52d978fa25b91f43c4f97f5
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Mar 4 06:58:08 2014 +1100

    builddefs.in - Perl packaging does not work for FreeBSD
    
    I've spent 2 days on this and I'm giving up ... for the time
    being it is more important to get the build to finish without
    errors even if I cannot get the Perl pieces into the binary
    tarball.

commit 3f941847d07d5345c797e969f1b6c3d0f7451326
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Mar 4 06:56:10 2014 +1100

    Makepkgs - sniff to find where gmake is hiding
    
    On the *BSD platforms, I got tired of forgetting to set $MAKE, as in
        MAKE=gmake ./Makepkgs
    so, now Makepkgs tries to figure out which of the commands make or
        gmake is really GNU make.

commit 145470738e75428b158fe647ae6502e16ba55943
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Mar 3 16:32:39 2014 +1100

    builddefs.in - FreeBSD gmake WAR
    
    Odd behaviour of gmake on FreeBSD ... default rule for linking
    C apps from .o files does not work with out compilation flags.
    The solution here is a bit of a sledge hammer but it apparently
    works and it ONLY applies to FreeBSD.

commit d6133203100df0957059cb1e392d43533c259742
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Mar 3 16:30:57 2014 +1100

    libpcp_pmcd/src/GNUmakefile - fix for FreeBSD and ENABLE_PROBES
    
    If we're lucky it can be made to work on FreeBSD as well.

commit 2755dfed018e2e01ac5f015561a676d6bd89a603
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Mar 3 16:26:05 2014 +1100

    qa_hosts.master - more Kenj QA hosts

commit 721a3a0d8cf60c5f9520d772422c92644b52a08c
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Mar 3 16:23:48 2014 +1100

    qa/admin/check-vm - more stuff we need
    
    pkg-config for debian builds
    python-all-dev for debian builds

commit 20b00132ff007578169e4e70ec9c49ac75227a70
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Mar 3 16:22:26 2014 +1100

    tar - preinstall guard
    
    If PCP not already installed, trying to stop things is not going to
    be helpful.

commit 2085106f341feee252b6201b2279dce6dbc1fc8f
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Mar 3 16:21:30 2014 +1100

    tar postinstall - be more defensive
    
    Don't assume directories necessarity exist before you try to
    chown them.

commit e6b29a8b139af37aaaab43153703edd36eaca9b0
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Mar 3 16:17:21 2014 +1100

    configure - static probes for freebsd
    
    The existence of <sys/sdt.h> is not enough fo FreeBSD ... the header
    can be there, dtrace can be installed, but if the kernel is not
    configured in the right way, dtrace -h fails and with it goes the
    build.  Be tougher before deciding that HAVE_STATIC_PROBES should
    be set.

commit 74ff09d683c4711acf76199ff846dcd0d7117324
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Mar 3 13:06:30 2014 +1100

    libpcp/interp.c - refactor code
    
    Relax!
    
    This is purely cosmetic to be more transparent about how the
    state of observed values and <mark> records is managed during
    interpolation.
    
    There is no functional change here and with these changes, all
    related QA still pases.
    
    This is a new code baseline that will be used to fix the bad
    performance that Frank has observed in archives with lots of
    <mark> records.

commit ad8ce9862c074d622028f70e94ab5cbcbd75185a
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Mar 3 13:02:51 2014 +1100

    debian build - partial reinstatement of Build-Depends for libmicrohttpd-dev
    
    Following Nathan's comments this half-reverts commit 1c6e30c7 so
    libmicrohttpd-dev is back in the Build-Depends list, but without
    a base version number.  We leave it to the configure and build
    magic in PCP-land to decide if libmicrohttpd-dev is new enough
    to warrant building and packaging pcp-webapi.

commit 6ec1d4a0233cde9e119daa7178ebd31a2abeb856
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Mon Mar 3 11:06:40 2014 +1100

    Trivial comment typo fix in pmwebapi.c

commit f724ae8a097058cd874883eee05dc7e6506cfb5b
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Feb 28 08:11:46 2014 +1100

    qa/admin/check-vm - add g++ to the set of build gadgets we need

commit 847526c31d7d4b5e255831cbdd73fd411c6e30c7
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Feb 28 06:46:48 2014 +1100

    debian build - remove Build-Depends for libmicrohttpd-dev
    
    We handle this in the configure and packaging now ... if the right
    libmicrohttpd-dev is installed we build the pcp-webapi package, otherwise
    it is neither built nor packaged.

commit f878ada6a7a0c72f526facffa5f74475d8decde7
Merge: aa326cf c3ef04e
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Feb 27 19:11:55 2014 +1100

    Merge branch 'dev' of git://oss.sgi.com/pcp/pcp into dev

commit aa326cf2074a56483cf09c94139b3cf477dcdaeb
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Feb 27 19:06:48 2014 +1100

    add debian/control to .gitignore

commit 9c970916176e19e714c93bd45f428dd04995295e
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Feb 27 09:22:21 2014 +1100

    debian packaging - changes for optional packages
    
    Recent problems packaging pcp-webapi have highlighted the fact
    that our Debian packaging does not have a way to include optional
    packages based on what pieces we're able to build.
    
    Splitting debian/control to debian/control.master (the non-optional
    packages) and debian/control.foo files for each optional pcp-foo
    package, then adding configure, build and makefile glue to make this
    all work.  Note debian/control needs to exist _very_ early in the
    Debian packaging workflow, so debian/control is remade at the end
    of the configure script.

commit fe9e3170eda4d45906999d916b4117a300a01d0f
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Feb 27 08:24:33 2014 +1100

    debian packaging - minor dirs control issue
    
    pcp-webapi.dirs contained the wrong directory list ... seems to have
    been copied from pcp-manager.dirs .. fix to match pcp-webapi package.

commit 53c89b60222fe866ed9d89baf13461a29f7ff21a
Merge: 0be246e feb6204
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Feb 25 07:45:38 2014 +1100

    Merge branch 'dev' of git://oss.sgi.com/pcp/pcp into dev

commit 0be246e86e2cf3d0b58888b74b7fedb32f6d091b
Merge: 3011a76 1b7cda1
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Feb 24 18:24:58 2014 +1100

    Merge branch 'dev' of git://oss.sgi.com/pcp/pcp into dev

commit 3011a768de27a3dee8290302365a87fdc959c16a
Merge: 60d1930 ec0ab97
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Wed Feb 19 14:29:30 2014 +1100

    Merge branch 'dev' of git://oss.sgi.com/pcp/pcp into dev

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: kenj merges, pmdazswap, Nathan Scott <=