Interesting ones are in the first few commits below ... pmcpp replaces
cpp, so no more run-time dependencies on having a C compiler toolchain
installed for basic PCP operation.
Changes committed to git://oss.sgi.com/kenj/pcp.git dev
build/rpm/pcp.spec.in | 2
configure.in | 44 --
debian/control | 2
debian/rules | 11
man/man1/GNUmakefile | 2
man/man1/pmcpp.1 | 196 ++++++++++++
man/man4/pmns.4 | 10
src/GNUmakefile | 2
src/cpan/LogImport/Makefile.PL | 8
src/cpan/MMV/Makefile.PL | 8
src/cpan/PMDA/Makefile.PL | 7
src/genpmda/genpmda | 4
src/include/builddefs.in | 10
src/include/pcp.env | 4
src/libpcp/src/GNUmakefile | 3
src/libpcp/src/pmns.c | 106 ++----
src/libpcp_pmda/src/events.c | 2
src/pmcpp/.gitignore | 1
src/pmcpp/GNUmakefile | 36 ++
src/pmcpp/pmcpp.c | 560 +++++++++++++++++++++++++++++++++++-
src/pmdas/aix/GNUmakefile | 4
src/pmdas/darwin/GNUmakefile | 4
src/pmdas/solaris/GNUmakefile | 4
src/pmdas/solaris/zpool_perdisk.c | 2
src/pmdas/windows/GNUmakefile | 4
src/pmlogctl/GNUmakefile | 7
src/pmlogctl/GNUmakefile.install | 8
src/procmemstat/GNUmakefile | 5
src/procmemstat/GNUmakefile.install | 3
src/procmemstat/pmnsmap.spec | 7
30 files changed, 895 insertions(+), 171 deletions(-)
2a2d9ff90aa58528a4a711de04009679c2002876
commit 8100d3333b071d9d4d463b66a85f17e3ee479715
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri Jul 1 11:48:16 2011 +1000
pmcpp - tweaking following more testing
- dirname() does not behave the same everywhere, ... sigh
- need to extend the search path for #include to include the directory
for the infile from the command line (if any) so that
$ pmcpp /some/path/root
works when /some/path/root contains
#include "pmns"
and pmns is really hiding in /some/path/pmns
commit 397ab4cc2baedbcb08b7ce6982130e72948d230c
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri Jul 1 07:43:41 2011 +1000
pmcpp - fix Mac OS X built breakage
- avoid strndup
- more serious problem with bootstrapping, need to use pmcpp from
the build in the build
commit 3815d1ce9b82d6e19cb94e5b1b2bb2434f387eb7
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Jun 30 17:49:39 2011 +1000
Add pmcpp, retire run-time use of cpp
This commit adds a new preprocessor (pmcpp) that is purpose-built for
processing ASCII PMNS files (and similar tasks).
It allows the PCP run-time to stop using (and indeed stop demanding in the
packaging dependencies) the cpp that comes with the C compuler tool chain.
commit c04166b319c08ff37fa701ce8a033e403f63ec7f
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri Jun 24 17:03:45 2011 +1000
Perl changes for Solaris.
The Perl build environment for Solaris generates Makefiles that hand
off a bogus -KPIC option to gcc. Fixed in the *.PL files.
commit 50451070dd8ccbf0052db61f1843d901e0f110a0
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri Jun 24 17:02:41 2011 +1000
$PATH change for Solaris
Important things end up hidden in /usr/gnu/bin on Solaris, so
conditionally add this to the "blessed" PCP $PATH.
commit bccdea5d29cc0c872faf440f2939c92a45c82398
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri Jun 24 16:58:47 2011 +1000
debian/rules config file tweaking
The set of files marked "config" in the package were just following
the default debian (everything below /etc) rules ... refine this a
little to match the semantics and locations of the PCP config files.
commit 0dfc3ce5dd7e7c52ff9f1008ec047271277a0d86
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Sun Jun 19 10:07:57 2011 +1000
solaris pmda zpool_vdev_name() api change
As of OpenSolaris pkg:/system/header@xxxxxxxxxxxxxxxx the header file
<libzfs.h> definition for zpool_vdev_name() includes an additional
argument (boolean_t verbose). google searching suggests B_FALSE is an
acceptable value to use in the call.
commit 53bbad5de7dbdb7febb9add8357c4d63f38a12c9
Author: David Smith <dsmith@xxxxxxxxxx>
Date: Thu Jun 9 14:03:34 2011 -0500
Be sure that check_buf() updates the event record pointer after a realloc.
Without this change, if realloc() moved the buffer around (instead of
just lengthening it), the current event record pointer will point to
the old address, not the new. This can happen if an event record is
added, then two event parameter are added (the 2nd causing a
realloc()).
|