Changes committed to git://git.pcp.io/pcp.git master
Nathan Scott (5):
build: remove all use of dynamic library loading during build
build: add back HOME setting for pmieconf, was thought unused
libpcp: finer-grained manipulation of pmcd timeouts
build: switch Mac OS X packaging to /usr/local over /usr
misc: add the -V option to some commands where it was lacking
Ken McDonell (1):
freebsd PMDA: change hinv.physmem units
Marko Myllynen (1):
build: fix consecutive builds below pcp-atop
GNUmakefile | 12 +--
Makepkgs | 7 ++
qa/344.out | 22 ++++++
qa/877 | 33 ++++++++++
qa/877.out | 21 ++++++
qa/group | 1
qa/src/.gitignore | 1
qa/src/GNUlocaldefs | 2
qa/src/clienttimeout.c | 135 ++++++++++++++++++++++++++++++++++++++++++
src/include/builddefs.in | 22 ++----
src/include/pcp/impl.h | 5 +
src/libpcp/src/GNUlibrarydefs | 31 +++++++++
src/libpcp/src/GNUmakefile | 32 +--------
src/libpcp/src/auxconnect.c | 53 +++++++++-------
src/libpcp/src/check-statics | 9 +-
src/libpcp/src/context.c | 16 +---
src/libpcp/src/exports | 4 +
src/libpcp/src/internal.h | 2
src/libpcp/src/pdu.c | 53 ++++++++++------
src/newhelp/.gitignore | 1
src/newhelp/GNUmakefile | 9 ++
src/pcp/atop/GNUmakefile | 2
src/pcp/pcp.sh | 11 ++-
src/pmcpp/.gitignore | 1
src/pmcpp/GNUmakefile | 9 ++
src/pmdas/freebsd/freebsd.c | 5 -
src/pmieconf/.gitignore | 1
src/pmieconf/GNUmakefile | 16 +++-
src/pminfo/pminfo.c | 8 +-
src/pmval/pmval.c | 5 +
30 files changed, 404 insertions(+), 125 deletions(-)
commit db56afa29fd107620672f91c8a1aa9094d81cbd8
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Wed Nov 25 10:35:48 2015 +1100
build: fix consecutive builds below pcp-atop
commit 0e024c4f13a2eca6d5f2f8036e7ad0625dd831e7
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed Nov 25 10:31:21 2015 +1100
misc: add the -V option to some commands where it was lacking
Expose -V option handling in a few more client commands - pminfo(1),
pmval(1) and pcp(1).
Resolves Fedora BZ #1284411.
commit 0825bfa0ca773146cc2c88219f0e668dbdd3afda
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed Nov 25 10:28:13 2015 +1100
build: switch Mac OS X packaging to /usr/local over /usr
The latest Mac OS X version security changes (El Capitan,
SIP) have introduced problems with the packages not being
able to install files in locations like /usr/include and
/usr/bin ... amongst others. However, /usr/local appears
to be an approved installation target that is working well
here as an alternative.
Package upgrading also tested and works well, moving from
/usr to /usr/local cleanly, so transitioning over to this
scheme permanently for all dmg package builds seems like a
good idea - this commit Makes It So.
commit 43388e804eef5fdc4859d0ada22e3f02db5103df
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed Nov 25 10:02:20 2015 +1100
libpcp: finer-grained manipulation of pmcd timeouts
Marko recently found a situation where the environment
variable approach traditionally used did not suffice for
his Zabbix integration module. Desired timeout settings
may only become available at some point after setting up
initial PMAPI state, and the one-trip guards prevent any
subsequent modification.
This adds some interfaces for querying and setting those
libpcp timeouts, and adds test qa/877 to check 'em.
commit 282f0441650aaff05fb87e3c05111b5895b55f04
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue Nov 24 16:07:24 2015 +1100
build: add back HOME setting for pmieconf, was thought unused
commit 48e5a1d84e4f917f8f6155aa8b235a39e18a2f87
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue Nov 24 15:51:00 2015 +1100
build: remove all use of dynamic library loading during build
Rework RUN_IN_BUILD_ENV so that it no longer uses dynamic loader
mechanisms to insert freshly built PCP libraries in front of the
freshly build PCP utilities it uses. Instead we build variants
(named foo.static) of the few tools needed during the build with
static PCP libraries, which we happened to build already.
This is all brought on by Mac OS X (El Capitan) security changes
which remove DYLD_* variables in SIP mode (the default), and in
particular: https://forums.developer.apple.com/thread/9233
This is the first of a series of fixes for:
https://github.com/performancecopilot/pcp/issues/48
commit 00662545c7f960b71858762d0fb85acf066fec25
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Sun Nov 22 18:16:37 2015 +1100
freebsd PMDA: change hinv.physmem units
Was BYTE (as returned by sysctl()), but this confuses pcp-summary
... so scale the value to MBYTE the same as the other platform
PMDAs.
|