Changes committed to git://git.pcp.io/pcp.git master
Ken McDonell (4):
src/libpcp/pdu.c: allow -EINTR to be returned from pduread()
src/pmlogger: fix SIGINT issue
qa/895 (new): exercise pmlogger SIGINT problem
qa/895: small fixup
Nathan Scott (3):
docs: fix up some minor pmdaCache(3) formatting errors
libvirt pmda: use "::" separator for compound instance names
qa: fix kvm test to handle added metrics from newer kernels
Marko Myllynen (1):
libvirt pmda: add per-device metrics
man/man3/pmdacache.3 | 8 +-
qa/348 | 1
qa/895 | 101 +++++++++++++++++++++++++++
qa/895.out | 15 ++++
qa/group | 1
src/libpcp/src/pdu.c | 9 +-
src/pmdas/libvirt/pmdalibvirt.python | 127 ++++++++++++++++++++++++++++++++---
src/pmlogger/src/callback.c | 8 +-
src/pmlogger/src/fetch.c | 6 +
src/pmlogger/src/pmlogger.c | 15 +++-
10 files changed, 267 insertions(+), 24 deletions(-)
commit cd29e18bdff86f8257f7fe9efe0c3ae8bc556bf7
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon Oct 3 07:45:50 2016 +1100
qa: fix kvm test to handle added metrics from newer kernels
commit d006dd58f08624c3ca117483a8f3088c5f67d3e6
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon Oct 3 07:43:57 2016 +1100
libvirt pmda: use "::" separator for compound instance names
commit 276aa80cd6defc296fe3cf2d8406b611b38ab929
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Sun Oct 2 10:43:04 2016 +1100
libvirt pmda: add per-device metrics
Support per-device metrics for VCPU/block/net devices.
commit af44284d79cc55f78f0f699201ddf40764ccbece
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Sun Oct 2 09:20:47 2016 +1100
docs: fix up some minor pmdaCache(3) formatting errors
commit b44536970f13a0238d6143307895de3baac71941
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Sat Oct 1 06:55:24 2016 +1000
qa/895: small fixup
commit 5068924eae6c9f1476806ed9d877f223ae47c432
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Sat Oct 1 06:47:49 2016 +1000
qa/895 (new): exercise pmlogger SIGINT problem
commit f16dcc88bbe6005a95033ba5b1d3a70d5a389796
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Sat Oct 1 06:44:12 2016 +1000
src/pmlogger: fix SIGINT issue
Issue raised as https://github.com/performancecopilot/pcp/issues/116.
This commit (and the earlier pduread() change in libpcp) fixes the
SIGINT part of the issue ... the root trigger is fetching lots of
metrics with a very short (10msec) update interval, which means
there is close to a 100% guarantee that the SIGINT will interrupt
a socket read() and the resulting error was not being propaged back
up the call stack correctly.
The mem leak part of the issue will be addressed separately.
commit bd32862bf6630c604548a0859e641ea97a75fcd2
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Sat Oct 1 06:30:12 2016 +1000
src/libpcp/pdu.c: allow -EINTR to be returned from pduread()
If a SIGINT is received during a socket read of a PDU, we want to
propagate -EINTR back to the caller, not PM_ERR_IPC or -1, so that
the caller can decide what to do.
|