Most of this is pulling the pcp4 branch up to the same level as the dev
branch.
Changes committed to git://oss.sgi.com/kenj/pcp.git pcp4
(note this is the pcp4 branch)
CHANGELOG | 24
build/rpm/pcp.spec.in | 2
configure.in | 69
debian/changelog | 8
man/man1/GNUmakefile | 2
man/man1/pmdasimple.1 | 4
man/man1/pminfo.1 | 4
man/man1/pmlogconf.1 | 10
man/man1/pmloglabel.1 | 1
man/man1/pmlogrewrite.1 | 915 ++++++
man/man3/GNUmakefile | 5
man/man3/pmdacache.3 | 196 +
man/man3/pmdaevent.3 | 248 -
man/man3/pmdaeventarray.3 | 257 +
man/man3/pmdaeventclient.3 | 98
man/man3/pmdaeventqueue.3 | 180 +
man/man3/pmimport.3 | 307 --
src/GNUmakefile | 6
src/cpan/PMDA/Changes | 6
src/cpan/PMDA/PMDA.pm | 2
src/cpan/PMDA/PMDA.xs | 19
src/cpan/PMDA/local.c | 27
src/cpan/PMDA/local.h | 2
src/dbpmda/src/lex.l | 27
src/include/builddefs.in | 2
src/include/mk_pmdbg | 11
src/include/pcp.conf.in | 3
src/include/platform_header.h.in | 20
src/include/pmda.h | 79
src/libpcp/src/derive.c | 3
src/libpcp/src/events.c | 11
src/libpcp/src/ipc.c | 4
src/libpcp/src/logmeta.c | 18
src/libpcp/src/logutil.c | 15
src/libpcp/src/pmns.c | 3
src/libpcp/src/win32.c | 15
src/libpcp_mmv/src/GNUmakefile | 7
src/libpcp_pmda/src/GNUmakefile | 6
src/libpcp_pmda/src/cache.c | 516 +++
src/libpcp_pmda/src/queues.c | 961 +++++--
src/libpcp_pmda/src/queues.h | 254 +
src/pmcd/rc_pcp | 8
src/pmdas/GNUmakefile | 2
src/pmdas/darwin/pmda.c | 32
src/pmdas/elasticsearch/pmdaelasticsearch.pl | 28
src/pmdas/hotproc/src/lex.l | 3
src/pmdas/linux/cgroups.c | 4
src/pmdas/linux/pmda.c | 10
src/pmdas/linux/proc_partitions.c | 2
src/pmdas/logger/GNUmakefile | 10
src/pmdas/logger/event.c | 590 ++--
src/pmdas/logger/event.h | 94
src/pmdas/logger/logger.c | 509 ---
src/pmdas/logger/percontext.c | 193 -
src/pmdas/logger/percontext.h | 58
src/pmdas/logger/queues.c | 1052 +++----
src/pmdas/logger/queues.h | 174 -
src/pmdas/logger/util.c | 2
src/pmdas/mssql/pmdamssql.pl | 126
src/pmdas/postgresql/.gitignore | 2
src/pmdas/postgresql/GNUmakefile | 51
src/pmdas/postgresql/Install | 33
src/pmdas/postgresql/Remove | 25
src/pmdas/postgresql/pmdapostgresql.pl | 1939 +++++++++++---
src/pmdas/postgresql/pmlogconf.summary | 8
src/pmdas/solaris/data.c | 4
src/pmdas/solaris/help | 206 -
src/pmdas/trace/.gitignore | 1
src/pmdas/trace/GNUmakefile | 22
src/pmdas/trace/GNUmakefile.demos | 72
src/pmdas/trace/GNUmakefile.stub | 7
src/pmdas/trace/Makefile.proto | 74
src/pmie/rc_pmie | 8
src/pmieconf/GNUmakefile | 2
src/pmieconf/xtractnames | 11
src/pmlc/lex.l | 31
src/pmlogconf/pmlogconf-setup.sh | 48
src/pmlogconf/pmlogconf.sh | 50
src/pmlogextract/lex.l | 15
src/pmlogextract/pmlogextract.c | 3
src/pmlogger/callback.c | 11
src/pmlogger/check.c | 7
src/pmlogger/lex.l | 25
src/pmlogger/logger.h | 3
src/pmlogger/pmlogger.c | 9
src/pmlogreduce/rewrite.c | 8
src/pmlogrewrite/.gitignore | 3
src/pmlogrewrite/GNUlocaldefs.coverage | 2
src/pmlogrewrite/GNUmakefile | 59
src/pmlogrewrite/error.c | 76
src/pmlogrewrite/gram.y | 2230 +++++++++++-----
src/pmlogrewrite/indom.c | 396 ++
src/pmlogrewrite/lex.l | 444 ++-
src/pmlogrewrite/logger.h | 363 +-
src/pmlogrewrite/logio.c | 209 +
src/pmlogrewrite/metric.c | 233 +
src/pmlogrewrite/metriclist.c | 634 ++--
src/pmlogrewrite/pmlogrewrite.c | 3648 +++++++++++++++++----------
src/pmlogrewrite/result.c | 1003 ++++++-
src/pmlogrewrite/util.c | 112
src/pmns/stdpmid.pcp | 2
src/pmproxy/rc_pmproxy | 8
src/pmtrace/GNUmakefile | 7
src/win32ctl/include/evntcons.h | 9
src/win32ctl/include/evntrace.h | 9
src/win32ctl/include/guiddef.h | 165 +
src/win32ctl/include/pdh.h | 9
src/win32ctl/include/tdh.h | 10
src/win32ctl/include/wmistr.h | 198 +
109 files changed, 13748 insertions(+), 6000 deletions(-)
commit c8059cdc5ca5f0dd38cc15c4b14c6f2d522ec745
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri Oct 28 19:16:54 2011 +1100
libpcp - cleanup
- last conflict fix for logmeta.c was NQR
- remove an unused variable in pmns.c
commit 228304b723357e005222f4473e71983a766294d6
Merge: e179a67 96b2c40
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri Oct 28 17:37:37 2011 +1100
Merge branch 'dev' into pcp4
Conflicts:
src/libpcp/src/logmeta.c
src/pmcd/rc_pcp
src/pmie/rc_pmie
src/pmproxy/rc_pmproxy
Forward port ... no real issues here.
commit 96b2c40b10897235fef0a91a320810f29c5b88ff
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri Oct 28 17:24:45 2011 +1100
solaris pmda - minor fixups
1. make the kernel.all.load indom the same as other platforms (no
plurals, thanks).
2. clean up some of the help text ... line lengths and typos
commit aac5907887a5fd4e934fbeb682f15bebe4c6f379
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed Oct 26 06:59:18 2011 +1100
libpcp - improve logmeta diagnostic
Helped diagnose QA 479 failure ... which was a QA failure, not
a libpcp failure.
commit e797e8197bc5bb196085a8fe7aa266edb4865a76
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed Oct 26 06:18:33 2011 +1100
trace pmda - fix problem introduced by overlapping commits
Nathan fixed the sed command of non-gnu toolchains, I renamed
the symbolic name of the library for pthreads ... this commit
combines both changes.
commit fc602f6d21fbc63e1c76f27708f431c8ed88ee34
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue Oct 25 21:46:51 2011 +1100
pmlogrewrite - missing initialization for one_name in metricspec
QA 483 and 496 were failing on some platforms.
commit d4a3eb8346f09a48e8e54247bad85772212ff2e3
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue Oct 25 17:26:22 2011 +1100
pmlogrewrite - reduce chance of cpp namespace collisions
Extending Nathan's last fix for MinGW ... all our bison/flex #defined
names now begin with TOK_ to reduce chance of conflicts with macros
defined other headers needed for the builds across various platforms.
commit 601270a17e9477d5bfefb79dd5f0f041caf3ab9b
Merge: ba05d51 af98205
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue Oct 25 14:54:40 2011 +1100
Merge branch 'dev' of git://oss.sgi.com/kenj/pcp into dev
Conflicts (resolved):
src/pmdas/trace/GNUmakefile
commit ba05d51426c55d4cbb452f35800b82b9fd3d441f
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue Oct 25 14:49:34 2011 +1100
Get more things to build under 32 bit Win32 (mingw) again.
In particular:
- recent DELETE and FLOAT macro use conflicts with Win32 headers
- assert.h unavailable
- no symlinks available, recent S_ISLINK addition fails
commit 65492dd06d6ef9adf707b4f6d82eab44db9e762b
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue Oct 25 14:49:22 2011 +1100
Improve diagnostics in PMDA queues, for better QA checking.
commit af98205a0427308716d7ea0feb240c7fcdc4be43
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Mon Oct 24 18:06:15 2011 +1100
trace pmda demos - more repair work needed
Last fix was NQR, and completely missed the fact the /usr/lib64 on
some platforms was confusing the installed Makefile.stub
commit 292b643777ec3ca37fb512018fe26a6c08443e3b
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Sun Oct 23 23:29:48 2011 +1100
Fix order of sed arguments in makefile for non-gnu toolchains
commit 7f013f150dbf3248d661ad74ae28095a84acd1fb
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Sun Oct 23 23:09:40 2011 +1100
Bump version numbers preparing for 3.5.9 release.
commit 62087a69c1b3252ecdce1514652aa95e5e5236bf
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Sun Oct 23 23:08:09 2011 +1100
Simplify queue termination condition for individual clients.
commit 8a2017452c0dbe7c64a5a0eba48f338ea376aa2a
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Sun Oct 23 22:55:37 2011 +1100
Fix some hyphens-as-minus sign warnings from pmlogrewrite man page.
commit faf731d66deb67ce1d10ee6c61ae746bbb5b75c5
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Sun Oct 23 22:53:18 2011 +1100
Resolve lintian error related to init script depenencies.
According to the Debian package checker, use of remote_fs was incorrect:
E: pcp: init.d-script-missing-dependency-on-remote_fs etc/init.d/pmproxy:
required-start
N:
N: The given init script seems to refer to /usr, possibly using a file or
N: binary from there. Without a dependency on $remote_fs in
Required-Start
N: or Required-Stop, as appropriate, the init script might be run before
N: /usr is mounted or after it's unmounted.
N:
N: Using Should-Start or Should-Stop to declare the dependency is
N: conceptually incorrect since the $remote_fs facility is always
N: available. Required-Start or Required-Stop should be used instead
commit 7c26d9268a392a0f61ebac928a646a1577fec28c
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Sun Oct 23 21:41:47 2011 +1100
Fix corner case logic issue in client tailq manipulation
Ensure last event pointer is correctly initialised when a client
arrives before any events.
commit 264b83a05e2d430e9966e1c27be5991966c80542
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Sun Oct 23 13:50:45 2011 +1100
Correct type for filter application callback - size_t not int).
commit f351cab9a29f9b2545bf965c723186f8e9da7591
Merge: 16d76bb 9b66584
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Sun Oct 23 10:06:56 2011 +1100
Merge branch 'dev' of git://oss.sgi.com/kenj/pcp into dev
commit 16d76bb8ba457325156f582fbe3496917b01f04c
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Sun Oct 23 10:04:23 2011 +1100
Add per-queue per-client state.
This allows clients to support event traces of multiple
event metrics at once for the first time. Minor tweaks
to the filtering API (also per-queue per-client now) to
simplify it a bit - removes some unnecessary parameters
that complicated the implementation.
commit 9b665847591f18f99eb6a447f9ef2cd5260503de
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Sat Oct 22 21:09:12 2011 +1100
stdpmid.pcp - reserve 111 for Clustered Trivial Database (CTDB)
At the request of David Disseldorp for the CTDB PMDA that is in
the samba.org tree.
commit 09245d3d8ffe904907de0cab017010934a327da3
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Sat Oct 22 12:08:01 2011 +1100
Ensure appropriate man page links are installed for event man pages.
commit 32fa8d5b999dfbd6954945a3eecb220f60dcef20
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Sat Oct 22 11:43:00 2011 +1100
Use appropriate debug level in libpcp_pmda event queue code.
commit 3ef456128880f4353d33ad6f69f5e44a925fa858
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri Oct 21 20:13:49 2011 +1100
pmtrace demos - rework installed Makefile
On some platforms, need additional library for pthreads in app3.
commit 61fd2ef3d700adde306d963dbaeae4ab30b53eda
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri Oct 21 19:44:54 2011 +1100
src/win32ctl - more steps towards a MinGW build
commit 42e19705823d6568719c7bf4c3917695266d4134
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri Oct 21 08:23:09 2011 +1100
Make libpcp_pmda queues code viable on all platforms.
This is done through direct inclusion of the subset we need.
Removes the backward-compat code for older Linux variants and
includes the correct copyright notice (should have gone in with
the original RHEL build workaround, really).
Removes latest Win32 build workaround too, as this should now
be resolved.
commit 62fd749e54f1fe810276015b045dcdd893c31ff4
Merge: 3f5a1a7 784c6f0
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Oct 20 20:27:53 2011 +1100
Merge branch 'dev' of git://oss.sgi.com/nathans/pcp into dev
commit 3f5a1a7cce555ea1f353e7e1df9bf88d910490a0
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Oct 20 20:25:17 2011 +1100
Assorted Windows build fixes.
We're moving to a new MinGW build environment for Windows, and these
changes get us close to a clean build.
Uglist change is sort -> $PCP_SORT_PROG to dance around the multiple
executables on Windows + MinGW called "sort".
commit 784c6f02d17750989720bbf5221680fddabe0a64
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu Oct 20 16:55:03 2011 +1100
Add an elasticsearch version metric.
commit d574e9e213adb3f4c176aaa8d5409e1cdd9848ab
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu Oct 20 11:51:16 2011 +1100
Correct perl module type detection distinguishing 32/64-bit systems.
Affects pmda_long and pmda_ulong helper routines on 32-bit systems
only, which were misidentified as 64-bit thanks to a thinko.
commit 42473c04ccd5c102f038da33c703654c05b61e06
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed Oct 19 18:31:10 2011 +1100
configure.in & platform_defs - MinGW fine tuning
Starting to build for Windows 8 (and older Windows versions no doubt)
using newer MinGW base.
commit 6b86e40f4b83ade44139bb25783b8bd698d802c5
Merge: 92655da e4072e6
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue Oct 18 18:11:20 2011 +1100
Merge branch 'dev' of git://oss.sgi.com/nathans/pcp into dev
commit e179a67dd3b6e4b36f6a64d5ed40ef7fcc97aac2
Merge: 55f5aab e4072e6
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue Oct 18 18:08:05 2011 +1100
Merge branch 'dev' of git://oss.sgi.com/nathans/pcp into pcp4
commit e4072e6741b6c2f539b526b98b243118c7f127a4
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon Oct 17 17:34:27 2011 +1100
Cull another remnant of the NYI cgroup process stats.
commit 55f5aababc444d5255bdf2c9ad289a501ee6dbb8
Merge: 583d976 92655da
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Mon Oct 17 07:14:51 2011 +1100
Merge branch 'dev' into pcp4
Forward ported changes to resolve conflicts.
Conflicts:
debian/changelog
src/libpcp/src/derive.c
src/libpcp/src/events.c
src/libpcp/src/logmeta.c
src/libpcp_pmda/src/cache.c
src/pmlogrewrite/result.c
commit 92655da70efa2feecdd476689712b7f79fc16781
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Sun Oct 16 09:01:28 2011 +1100
libpcp/derive.c - avoid clobbering pmIDStr() result buffer in diagnostics
commit 6ef3f8892bdd751fa358e391ddc4b237dc7d2827
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Sun Oct 16 08:33:09 2011 +1100
pmlogconf - small changes
Clean up formatting in the man page.
Rework the default "exists" condition handling in pmlogconf-setup (was
broken, as found by the postgresql PMDA's pmlogconf file).
Fix the exit status handling between pmlogconf and pmlogconf-setup.
commit d01208acb90f76fccd86776963abd8cba73b6e81
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Oct 13 21:31:00 2011 +1100
flex - rework changs to get rid of compilation warnings
Different flex versions generate different C code and #defines.
commit c20d0a28745a2d20fbe1cd272b1ce3e5e0a840c0
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Oct 13 15:09:13 2011 +1100
libpcp_pmda/queues.c - fix compilation warnings
Found on Fedora 15.
commit 00a3725d43e71d8e090808e3778acfdb8db912fa
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu Oct 13 11:47:51 2011 +1100
Remove out-dated pmimport docs.
commit f76fd6bbba4c4313d0678390a4c28651036ae869
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu Oct 13 11:39:12 2011 +1100
Fix broken build after renaming man page, add new ones also.
commit 27d2f7c68a21d541b6244bffd97e532bee62c349
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed Oct 12 20:59:46 2011 +1100
Minor pmda event queue API cleanup after docs and qa.
commit 0acca82bd0e88b90c3d14bb29b60d69b4cfe44f1
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed Oct 12 20:41:44 2011 +1100
Manual pages for shared event queue management routines.
commit 2f3f83ce54e86779ceb3efcdfdcdcfa17e57cbc8
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed Oct 12 11:15:41 2011 +1100
Fixup compilation warning from unused variable in logrewrite.
commit ec0cc9e14fbeadf9629e2b9604a54718394699b0
Merge: 4347e24 5c72b4f
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed Oct 12 11:02:04 2011 +1100
Merge branch 'dev' of git://oss.sgi.com/kenj/pcp into dev
commit 5c72b4f8be6d01e2f47c089369a090c5ae1f6c3c
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed Oct 12 10:48:49 2011 +1100
pmlogrewrite - extend -c option
Last of the TODO items.
Support multiple -c options, and if the nameed "file" with -c is
a directory, include all of the files in that directory as config
files containing rewriting rules.
commit 1ccd234a11caae3c2b3cf9eaaf840bd8c6a1c2fb
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Mon Oct 10 22:20:16 2011 +1100
pmlogrewrite - fix alignment problems
Found on IA64 testing. pval->vbuf is _not_ nicely aligned for data
of type long, double or float data types ... replace some in-line
assignments by memcpy() calls to address this, and use some temporary
pmAtomValue variables to accumulate values.
commit 8247d8d1657aa9e266727dda81383a8557564274
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Mon Oct 10 22:18:41 2011 +1100
libpcp - small timezone change for logmeta diagnostics
commit b2605f15b06b96a01f6d0391d8a28e8bc477705d
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Mon Oct 10 22:18:06 2011 +1100
Roll debian builds to 3.5.9
commit 4347e24b2cf36e8a2366684583879da70f0f7545
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu Oct 6 16:53:38 2011 +1100
Add postgres PMDA into build, improve back-compat handling.
commit 18d0a8dd9c9a6f59549b73af882b68055d22ac3b
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu Oct 6 09:53:32 2011 +1100
Remove cgroup proc metrics for now, resolving QA failure the NYI causes.
commit 047fb8ae197f74235252d779f6190896008e6175
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu Oct 6 08:41:08 2011 +1100
Handle differences between postgresql 9 and 9.1.
commit 4b67026e693247bda30de5c9c5b6cbab47a87f81
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Oct 6 07:03:19 2011 +1100
pmlogrewrite - GNUlocaldefs for gcov builds
commit 0fee63c9b362288f3c06286a6b50d7fd5c9ef50d
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed Oct 5 21:26:57 2011 +1100
pmlogrewrite - first version done
Lots of new stuff, all TODOs gone (except the multiple -c options
and -c dir options), heaps of bug fixes.
commit b3a67997a4b75c5cb5fc58c2b875eb32df4e13cf
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed Oct 5 21:25:17 2011 +1100
pmlogrewrite - man page additions
commit dce844d75335e3b5bdb25120ec9ae3795e9232e5
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed Oct 5 21:14:31 2011 +1100
libpcp/ipc.c - memory initialization fix
Found using valgrind on pmlogrewrite ... when expanding
__pmIPCTablePtr, unused entries were not being correctly
initialized.
Unlikely that this has bitten anyone in the past.
commit 1e6d046b9eb04c6316e7b32dab00ddabbf6379c0
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed Oct 5 21:12:28 2011 +1100
pmlogger - minor printf fixes
commit 8194e51a09a8d80a3e484e5483a6027efe333e2b
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed Oct 5 21:10:47 2011 +1100
pmdasimple man page - minor nroff font fix
commit 6d32101e0497ad739f0bc380b941fa4cd1887db3
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed Oct 5 17:23:33 2011 +1100
Migrate generic event queues source files into libpcp_pmda now.
commit 45490e515ab375702adbeb80b5b2927c4c4263c9
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed Oct 5 17:19:36 2011 +1100
Add remaining missing 9.1 tables into pmdapostgresql.
commit bd62768e5aa5bdd5ed649375eb80dd5786ad7090
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed Oct 5 16:39:02 2011 +1100
Add first set postgresql 9.1 stats - replication & db conflicts.
commit dc62d44943b33f85d0437a1386f20763d963e4d7
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed Oct 5 16:01:48 2011 +1100
Fix thinko in refactored event queue initialisation code
commit 64d961d20b10a8db58cb1011a4030451161d653c
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed Oct 5 15:51:41 2011 +1100
Minor cleanup in pmdalogger.
commit c1d6e25b761fef12c2e0dba16f5cdc8f1d640a3a
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed Oct 5 15:47:02 2011 +1100
Fix typo in queues.h.
commit b660d5cb632d0823644a78b6f6f46719d943c201
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed Oct 5 15:46:15 2011 +1100
Improve pmdapostgresql handling of lost database connection.
commit 1337686f91a476d656afd38ff72d19bb14e751dd
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon Oct 3 13:42:06 2011 +1100
Add gitignore file for postgres.
commit 7feb00f16cf5f0e74b109cd1792cb348a69b7359
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon Oct 3 13:30:20 2011 +1100
Next round of postgres metrics - basic functionality now in place.
commit 439a0d264e7bf64777895a41a3ab0920b51e379f
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon Oct 3 10:16:40 2011 +1100
Next set of postgresql monitoring table ... halfway.
commit e3f635302f05e649a8831072a17d55c0449bb326
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Sun Oct 2 20:54:26 2011 +1100
Add client activity stats to pmdapostgresql.
commit b3288e7755c9072c0c5b463365df825d273e09a6
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Sun Oct 2 16:37:10 2011 +1100
Initial version of the postgresql PMDA, with support for 1st two stats
queries.
commit 8102c1becb90bdcbf2f54f5ebc5e0ab454cb230a
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Sun Oct 2 09:00:03 2011 +1100
Add perl interface to allow PMDAs to drop priveleges.
commit ac0e5141233fba9cbd2a49c6588fbf2f0c9241a4
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Sun Oct 2 08:56:26 2011 +1100
Add domain number for postgresql.
commit 6dfcb8c1bea537627c68231ede4ea9d6f1d23858
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Sun Oct 2 08:55:58 2011 +1100
CPU metrics on Darwin have evidently been 64-bit for some time.
commit af92c3a982169cdae32fa448ed58868cf3cc56c7
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri Sep 30 06:50:32 2011 +1000
libpcp events support - fix error code
malloc and PoolAlloc cleanup code for nested or bad event types was
(always?) broken.
QA 404/405 exposed this, not sure how it escaped notice and
detection up to now.
Error is in extremely unlikely error branch for normal use, which
helps explain why no one else has reported it.
commit c60fd24a12d5ba19315a9491511f707a4c78fcdf
Merge: 3671a98 8e1e294
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Sep 29 17:09:23 2011 +1000
Merge branch 'dev' of git://oss.sgi.com/pcp/pcp into dev
commit 3671a98acb42c2200030fc2d028d83fc860cdc48
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Sep 29 17:04:13 2011 +1000
pmlogrewrite - checkpoint and backout
This commits my latest changes (mostly indom metadata rewrite
fixups), but also takes pmlogrewrite out of the build ... the code
is not done yet, and there is no man page, so it is not ready
for escape.
commit f1ac0f474eb0fec769a80c13ac18099400ccbf5d
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Sep 29 16:46:30 2011 +1000
libpcp_pmda - add (long) opaque key support
Specifically pmdaCacheStoreKey() and pmdaCacheLookupKey() may be used to
provide "hints" to be used when assigning an internal instance identifier.
The "hints" are arbitrary sized binary data, so could much longer than
the 2^31-1 limit for an instance identifier.
Hashing ensures the hint -> instance identifier mapping is consistent
across uses and platforms with minimal chance of collisions, so this
provides a convenient way to map N-dimensional, 64-bit and other object
identifier schemes to instance identifiers within an instance domain.
commit 879e3925da03b2b6499256fbdac8967d15c6796c
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed Sep 28 21:36:05 2011 +1000
Fix a typo.
commit be51660163c9c33ce2e95ce69da140b276e40bfd
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed Sep 28 21:35:51 2011 +1000
Preparation for generic event queueing routines.
Tease out all of the common event handling that other PMDAs
with event metrics will need, from the logger PMDA. Once it
is complete (not yet), the intention is to move queues.c and
queues.h into libpcp_pmda of course.
In addition, the logger PMDA code has undergone restructuring
to attempt to keep the log file event handling internals at
arms length from the rest of the PMDA sources. Hopefully its
slightly easier to follow this way.
commit 7e1c9142ebed14ab56cead8ef07633e1e77cbdb3
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri Sep 23 21:33:58 2011 +1000
pmdaCacheStoreInst() added to libpcp_pmda
This variant of pmdaCacheStore() allows the caller to influence the
internal instance identifier allocation. Useful for cases where ...
- a natural identifier exists, but is larger than the 2^31-1 allowed
for an internal instance identifier
- the instance domain naturally spans more than one dimension with
an N-tuple identification scheme
- PMDAs on different hosts wish to allocate the same internal instance
identifiers for objects with some globally known, but larger than
31-bit, identifier, e.g. the IPv6 address or name of a network device
commit c71d3bce8a38cbf856d0eef88587742b2b431697
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri Sep 23 21:31:45 2011 +1000
flex components - remove compilation warinings
commit 8e1e29418fbbbfed956de7db27c6ae289beb8196
Author: Mark Goodwin <mgoodwin@xxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 23 11:37:37 2011 +1000
Updated for hinv.ndisk fix
modified: CHANGELOG
commit fbc8cb817fa06bf892ebc34ddc16d381d49ecf0a
Author: Mark Goodwin <mgoodwin@xxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 23 11:21:43 2011 +1000
Ensure CLUSTER_PARTITIONS is refreshed prior to fetching hinv.ndisk.
modified: src/pmdas/linux/proc_partitions.c
commit 583d9764f905c59d75d7275965b402b475b87d8e
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri Sep 23 06:38:04 2011 +1000
Forward port changes from dev branch.
- stray reference to PM_LOG_VERS02
- PoolAlloc use in pmlogrewrite
- __pmLogRead() API change in pmlogrewrite
commit 8d0defbe689bc0e3ade86acbe2084124101cfd93
Merge: 8cc507b d83da84
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Sep 22 14:36:36 2011 +1000
Merge branch 'dev' into pcp4
commit d83da848d4db4488997ad8b701d7fce6d7bd40d3
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Sep 22 11:58:42 2011 +1000
pmlogrewrite - avoid strndup()
Not supported on all plaforms, rewrite with malloc() and strncpy().
commit 7eab0bcc3c2743942130f294981979bfd344c72c
Merge: 137a83e d11b445
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Sep 22 10:06:50 2011 +1000
Merge branch 'dev' of git://oss.sgi.com/pcp/pcp into dev
commit 137a83e72360040f741acbe1047101528a3bff52
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Sep 22 10:03:22 2011 +1000
pmlogrewrite - initial version done
No man page yet, and multiple config files support is still to be
done.
Otherwise this is functionally complete.
commit d11b445a41039bfa1d31242b5726b5bac1ee48cb
Merge: 93885ef d73e8b7
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri Sep 16 11:40:29 2011 +1000
Merge branch 'joe' of ../joe-pcp into dev
commit ecda9ae0044a5124687ccbe27bd4de9c95895063
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Sep 15 21:35:51 2011 +1000
pmlogrewrite - yet another interim checkin
This commit adds the input archive reading and output archive
writing ... with _no_ config file, pmlogrewrite is now a very
complicated replacement for cp(1) applied to each physical file
of the PCP archive.
commit d9d8d2324d6abe86d0c3d40c52d8b40ca4b899ac
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Sep 15 17:30:22 2011 +1000
pmlogger - small problem with temporal index
As part of the cleanup logic at the end of writing a PCP archive,
pmlogger adds a final entry in the temporal index ... unfortunately
the entry's offset into the log volume was "not quite right"(tm).
The fix is trivial, and in practice I don't believe anything
wrong would have resulted from this.
Found while developing the new pmlogrewrite tool which _does_
write the final temporal index entry with correct offsets.
commit 2a8ea21d30a0417d84083b82d1f2a3e8799033de
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Sep 15 17:27:05 2011 +1000
libpcp/logutil.c - bug and better diagnostics
When the label record in the last volume of a multi-volume archive is
corrupted, we could de-reference a NULL pointer, and the associated
diagnostic messages before this point are less than helpful. Fixed.
Found while debugging the new pmlogrewrite tool.
commit 6a33577c6240256ada53ba84a16e73b5cdce45b4
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Mon Sep 12 22:30:02 2011 +1000
pmlogrewrite - another interim checkin
This commit completes the configuration file parser:
- metric clause
- better error reporting when errors found
- general clean up of lexer
- rework some bits of the parser for the global and indom clauses
Still need some semantic checks after parser is done because semantics
may not be OK until all changes are recorded.
commit d73e8b73b0bcefe09fcdc8bbf4f20527fa1ac883
Merge: 14e08d8 51b0f78
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon Sep 12 16:56:49 2011 +1000
Merge /home/joe/git/pcp into joe
commit 93885ef06e67ead0ee6cfb8633211bc726ae12b8
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon Sep 12 10:50:20 2011 +1000
Fix a couple of typos on the pminfo man page.
commit 8f376e617a2060b80bcff244f63e6c7f04edbd8c
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Sun Sep 11 10:41:56 2011 +1000
pmlogrewrite - interim checkin
A fair chunk of this is stolen from pmlogextract at this stage.
The new (and working) stuff is the lexer and parser for the configuration
file(s) that is complete for the global and indom sections ... the metric
section is still to be done.
commit 51b0f78da06babf3ea4c3e54ceaabb3d15bc1188
Author: Joe Alphonso <jalphonso@xxxxxxxxxx>
Date: Fri Sep 9 14:48:21 2011 +1000
Update mssql PMDA to fix syntax error in comments.
commit 6afc543a0d89a080379ad9f4c645e2d11c0b37dd
Author: Joe Alphonso <jalphonso@xxxxxxxxxx>
Date: Fri Sep 9 14:44:00 2011 +1000
Update mssql PMDA to add comments for the metrics, change data type to 64
bits for virtual_file_stat metrics, fix the values (array offsets) for
virtual_file_size and correct syntax error.
commit f522dd222520a88158096ff7fcae7b268feb46d0
Author: Joe Alphonso <jalphonso@xxxxxxxxxx>
Date: Fri Sep 9 12:02:09 2011 +1000
Update mssql PMDA to correct syntax error due to a typo
commit 01d027fbd0fd9f67772e537ea21ceb18e7bd82a5
Author: Joe Alphonso <jalphonso@xxxxxxxxxx>
Date: Fri Sep 9 12:00:51 2011 +1000
Update mssql PMDA to correct syntax error due to an incorrect structure
call.
commit 259a457039ef65058c696f61610429ad4e0e4da8
Author: Joe Alphonso <jalphonso@xxxxxxxxxx>
Date: Fri Sep 9 11:57:44 2011 +1000
Update mssql PMDA with a instance name to the filestats query definition
and add code to handle the instances.
commit 84d181b1fa5d1811c5f68bdd59e477c6ba19ee14
Author: Joe Alphonso <jalphonso@xxxxxxxxxx>
Date: Tue Sep 6 11:12:55 2011 +1000
Update mssql PMDA with a new metric definition - number of queries waiting
for CPU
|