Changes committed to git://pcp.io/pcp master
Dave Brolley (5):
pmgetconfig(3): Fix locking problem.
Fix bugs found by coverity.
Fix TOCTOU race discovered by coverity.
Fix resource leaks found by coverity.
Attempt to silence benign coverity warnings.
Nathan Scott (3):
pmdalinux: build fix for platforms without namespace support
build: fix configure.ac order of evaluation of compiler setup
pcp-python: implement, test, document and use pcp-python(1)
Marko Myllynen (1):
docs: add derived metrics section to guide.html
build/rpm/fedora.spec | 9
configure | 5558 ++++++++++--------------
configure.ac | 119
man/html/guide.html | 27
man/man1/pcp-python.1 | 79
man/man1/pcp.1 | 1
qa/1081 | 36
qa/1081.out | 5
qa/group | 1
qa/pmdas/memory_python/pmdamemory_python.python | 1
qa/pmdas/slow_python/pmdaslow_python.python | 1
qa/src/check_import.python | 1
qa/src/multithread9.c | 4
qa/src/pmapi_exceptions.python | 1
qa/src/test_mmv.python | 1
qa/src/test_pcp.python | 1
qa/src/test_pcp_getopts.python | 1
qa/src/test_pcp_options.python | 1
qa/src/test_pcp_time.python | 1
qa/src/test_pmcc.python | 1
qa/src/test_pmi.python | 1
qa/src/test_pmnswalk.python | 1
qa/src/test_webapi.python | 2
qa/src/torture_api.c | 4
qa/src/torture_pmns.c | 1
qa/src/xxx.c | 1
src/collectl2pcp/disk.c | 4
src/dbpmda/src/util.c | 1
src/include/pcp/config.h.in | 8
src/libpcp/src/config.c | 2
src/libpcp/src/context.c | 11
src/libpcp_pmda/src/root.c | 4
src/pcp/GNUmakefile | 1
src/pcp/atop/photosyst.c | 8
src/pcp/atop/showgeneric.c | 3
src/pcp/atop/various.c | 5
src/pcp/collectl/pcp-collectl.py | 7
src/pcp/free/pcp-free.py | 2
src/pcp/iostat/pcp-iostat.py | 2
src/pcp/numastat/pcp-numastat.py | 2
src/pcp/python/GNUmakefile | 29
src/pcp/python/pcp-python.sh | 21
src/pcp/uptime/pcp-uptime.py | 2
src/pcp/verify/pcp-verify.py | 2
src/pcp2graphite/pcp2graphite.py | 2
src/pmchart/chart.cpp | 12
src/pmdas/gluster/GNUmakefile | 3
src/pmdas/gluster/pmdagluster.python | 1
src/pmdas/json/GNUmakefile | 9
src/pmdas/json/pmdajson.python | 1
src/pmdas/linux/namespaces.c | 37
src/pmdas/linux_proc/config.c | 22
src/pmdas/papi/papi.c | 25
src/pmdas/perfevent/perfinterface.c | 1
src/pmdas/perfevent/perfmanager.c | 2
src/pmdas/perfevent/rapl-interface.c | 2
src/pmdas/root/root.c | 6
src/pmdas/simple/GNUmakefile | 6
src/pmdas/simple/pmdasimple.perl | 1
src/pmdas/simple/pmdasimple.python | 1
src/pmdas/unbound/GNUmakefile | 4
src/pmdas/unbound/pmdaunbound.python | 1
src/pmdas/zswap/GNUmakefile | 3
src/pmdas/zswap/pmdazswap.python | 1
src/pmdumplog/pmdumplog.c | 2
src/pmgadgets/pmgsys.py | 2
src/pmlogcheck/pmlogcheck.c | 2
src/pmlogger/src/callback.c | 1
68 files changed, 2926 insertions(+), 3194 deletions(-)
Details ...
commit 9696c6ed59606fadf440923e34f1d1774fa52e4d
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Wed Jul 15 16:44:17 2015 -0400
Attempt to silence benign coverity warnings.
These changes do not fix any bugs or problems, but are an
attempt to show coverity that there are no problems here.
commit 848223da8230c2262a468e40d1a6e893e0970f79
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Wed Jul 15 16:18:22 2015 -0400
Fix resource leaks found by coverity.
commit e1c75f790f2a17b7cb521e47d2af25ceda41cd94
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Wed Jul 15 15:46:40 2015 -0400
Fix TOCTOU race discovered by coverity.
commit 9edb65ba8198d33be050ec2d019520c352bf40dd
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Wed Jul 15 14:57:05 2015 -0400
Fix bugs found by coverity.
- potential buffer overruns
- initialization problem
commit 4f617208940ed6f6672adb2d653c0f17f0c1af7b
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Wed Jul 15 14:27:32 2015 -0400
pmgetconfig(3): Fix locking problem.
commit e8afaddc4617dcb11600c640510944bf95dd5eb9
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Wed Jul 15 16:45:40 2015 +1000
docs: add derived metrics section to guide.html
The patch below adds a quick example of derived metrics to the PCP
Quick Reference Guide. AFAIK the calculations for these metrics are
correct but if you think there's a way to improve them, please feel
free to adjust.
commit a3ea499b3f20d855b456e0b0e723c3aa32d9e1e2
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed Jul 15 16:38:41 2015 +1000
pcp-python: implement, test, document and use pcp-python(1)
Implements Marks idea of a pcp(1) sub-command to help solve
some python versioning problems, particularly related to us
otherwise needing to have specific-python-versioned shebang
lines for (most) platforms that want to default to python3
for Makepkgs-built packages.
This has several advantages including being able to override
python versions via the environment/pcp.conf. IOW, all PCP
python scripts now honour PCP_PYTHON_PROG inherently (before
now, it was only used by PMDAs and QA tests).
This also begins the task of installing perl and python PMDA
scripts with their executable bits correctly set.
commit 7e513192f15be3185e5d42d9c2bab4780a2d0a9a
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu Jul 2 17:28:30 2015 +1000
build: fix configure.ac order of evaluation of compiler setup
We recently begun potentially testing some variables before they were
able to be set. Also, adds in some configure check for some symbols
missing on old-school platforms.
commit 12f89fc972c937dcb9fdf02505dfb04777eadb10
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu Jul 2 11:30:56 2015 +1000
pmdalinux: build fix for platforms without namespace support
|