pcp
[Top] [All Lists]

pcp updates: misc

To: PCP Mailing List <pcp@xxxxxxxxxxx>
Subject: pcp updates: misc
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed, 18 Sep 2013 23:27:14 -0400 (EDT)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1343533305.24588866.1379561049324.JavaMail.root@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: mG3DQEqXNP0HMVpdlQN9fRwkpGUoJA==
Thread-topic: pcp updates: misc
Changes committed to git://oss.sgi.com/pcp/pcp.git dev

 build/rpm/GNUmakefile          |    1 
 build/rpm/fedora.spec          |   11 +++
 build/rpm/pcp.spec.in          |   11 +++
 configure                      |   98 +++++++++++++++++-----------------
 configure.in                   |   13 ++--
 debian/pcp.preinst.head.in     |    6 ++
 qa/022.linux.4                 |    1 
 src/libpcp/src/spec.c          |   14 ++--
 src/pmatop/pmatop.py           |    2 
 src/pmcollectl/pmcollectl.py   |    4 -
 src/pmdas/linux_proc/help      |   14 ----
 src/pmdas/linux_proc/pmda.c    |   30 +++-------
 src/pmdas/linux_proc/root_proc |    3 -
 src/pmdas/mmv/src/GNUmakefile  |    4 -
 src/pmdas/process/GNUmakefile  |    3 -
 src/pmdas/systemd/Install      |    4 -
 src/pmdas/systemd/systemd.c    |  117 ++++++++++-------------------------------
 src/pmie/GNUmakefile           |    2 
 src/pmlogger/GNUmakefile       |    2 
 src/python/pcp/pmapi.py        |   17 ++---
 20 files changed, 148 insertions(+), 209 deletions(-)

commit 143a420a5ac5bc911344dd6110a1a684e7718558
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Sep 19 13:21:48 2013 +1000

    Small cleanups to the systemd PMDA and remove DSO form
    
    A number of small code cleanups in pmdasystemd - consistent
    naming for *_PMID defines (recently I made this inconsistent
    by accident); remove unused profile, pmid, and children PDU
    handlers (PMDA has no instances or dynamic metrics); resolve
    minor crimes against whitespace.
    
    Added the descriptor PDU handler, that one appears to have
    been missed earlier - needs NewClient handling like others.
    
    Finally, remove DSO mode of operation - we'll be moving the
    systemd PMDA down the same path pmdaproc took, where it runs
    as root, and uses user credentials for journal access.  The
    groundwork is laid for this here, but its far from complete.

commit 6f1a315b12057b7da70acc5db1d79e42f733e058
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Sep 19 12:22:40 2013 +1000

    Resolve static probe build issue for exotic Debian platforms
    
    The Debian builds for Hurd and kFreeBSD are (not surprisingly)
    not enjoying the presence of static probe support in the build.
    They evidently have found sdt.h somewhere (?) but the lack of a
    dtrace build tool means the build fails.  We tighten configure
    checking in the area of /usr/bin/dtrace, to ensure enable-probes
    is disabled completely if it is absent.

commit ac6f38b063294ce3c73144faf978b27654f1adc5
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Sep 19 12:16:14 2013 +1000

    Update the pmdaproc usage message to match current reality

commit c550a6a2ea87fcee4a0028270dab79103670ab3c
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Sep 19 12:13:39 2013 +1000

    Remove newly added proc.control.all.cgroups metric
    
    On review, we decided proc.control.all.cgroups might be abused,
    and its not likely to be a useful system-wide setting anyway.
    Add a command-line option to allow pmdaproc to default into non
    thread reporting (process indom contains no threads).  Defaults
    to the existing behaviour though, which is to show threads too.

commit 2348c64f9f400e08c8f5018ef13041004d54213a
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Sep 19 12:07:52 2013 +1000

    cgroup functionality now in pmdaproc supercedes pmdaprocess
    
    We should no longer install the old pmdaprocess agent, which
    (like hotproc) has been fairly well superceded by far more
    efficient kernel-based cgroup functionality for controlling
    and monitoring groups of processes.

commit d919553ccc18bb1c3e53ceada3762ccd7cb13e11
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Sep 19 12:05:57 2013 +1000

    Updates after reviewing Fedora crontab packaging guidelines
    
    We were pretty close to correct (had noreplace spec part right)
    but we need to rename the installed files to be package-prefixed
    (i.e. pcp-pmlogger and pcp-pmie).  Make It So, and ensure a neat
    transition via a pre-install script move of any existing files
    into the desired locations.

commit 5283f3fc567a3b131546f515ac1567328b9e1628
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Sep 19 11:55:39 2013 +1000

    Use local: connection by default in pmatop and pmcollectl

commit 4c27cb1a1c7b9bb55b245ce31a65bd8075f1a824
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Sep 19 11:52:54 2013 +1000

    Treat a slash as equivalent to string terminator for hostspec
    
    It was observed that we'll attempt to connect to a host name
    that is not what the user expects with a hostspec along the
    lines of pcps://foo.com/ as a result of the trailing slash.
    Instead of treating this as part of the host name, just end
    parsing at that point and ignore it.  Down the track we may
    want to allow metric names after this slash, perhaps, but we
    can safely ignore it for now.

commit 68fda45b20cc024532e2824e7fef19d6bad41809
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Sep 19 11:05:53 2013 +1000

    Update the python API wrapper to default to local: connection

commit 983fc02e759e82024c3755d49b2b07ddd6905745
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Sep 19 11:05:07 2013 +1000

    Correct the python API wrapper for pmGetContextHostname return
    
    The original python code wrapping pmGetContextHostname(3) was not
    ever correct - this API does not return an integer as assumed, so
    testing the (string) return sign is not useful.  Pass the string
    back to the caller.

commit 525bb7d41f6cb597ed07ad858dc79d3d30e5a0f0
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Sep 19 11:01:48 2013 +1000

    Correct the pmcd.conf path when adding pmdammv into default set
    
    The addition/check of pmdammv in the default pmcd.conf regressed
    when MMV demo programs were added recently, as a result of some
    source code reorganisation.



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