Changes committed to git://git.pcp.io/pcp.git master
Nathan Scott (5):
libpcp: check-statics updates for new getdate and LLVM compiler
qa: add test 816 to exercise a libpcp pdu-buffer memory issue
libpcp: temporarily revert pdubuf tsearch-based optimisation
libpcp: ensure interp read_cache structs fully initialised
pcp-uptime: cater for archives without needed metrics first up
Marko Myllynen (1):
docs: correct section number for environ(7) references
man/man1/pcpintro.1 | 2
man/man1/pmchart.1 | 2
man/man1/pmclient.1 | 2
man/man1/pmdiff.1 | 2
man/man1/pmdumplog.1 | 2
man/man1/pmdumptext.1 | 4
man/man1/pmevent.1 | 2
man/man1/pmie.1 | 2
man/man1/pminfo.1 | 2
man/man1/pmlc.1 | 6
man/man1/pmlogcheck.1 | 2
man/man1/pmlogextract.1 | 2
man/man1/pmloglabel.1 | 2
man/man1/pmlogreduce.1 | 2
man/man1/pmlogsummary.1 | 2
man/man1/pmprobe.1 | 2
man/man1/pmstat.1 | 2
man/man1/pmval.1 | 2
man/man1/pmview.1 | 4
man/man3/pmgetconfig.3 | 2
man/man3/pmnewcontextzone.3 | 2
man/man3/pmnewzone.3 | 4
qa/742 | 3
qa/742.out | 3
qa/816 | 47 ++++++
qa/816.out | 101 ++++++++++++++
qa/archives/GNUmakefile | 2
qa/archives/pcp-uptime2.0 |binary
qa/archives/pcp-uptime2.index |binary
qa/archives/pcp-uptime2.meta |binary
qa/archives/small.0.xz |binary
qa/archives/small.index |binary
qa/archives/small.meta |binary
src/libpcp/src/check-statics | 9 -
src/libpcp/src/interp.c | 9 -
src/libpcp/src/pdubuf.c | 291 +++++++++++++++++++-----------------------
src/pcp/free/pcp-free.1 | 2
src/pcp/iostat/pcp-iostat.1 | 2
src/pcp/uptime/pcp-uptime.1 | 2
src/pcp/uptime/pcp-uptime.py | 7 +
40 files changed, 334 insertions(+), 198 deletions(-)
commit 200b7402d06eff5c473227db74193bf57ef8c5af
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Tue Sep 15 16:54:43 2015 +1000
docs: correct section number for environ(7) references
commit cc13a582da59aed373a97c7eb096db3bbd058fce
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue Sep 15 16:51:40 2015 +1000
pcp-uptime: cater for archives without needed metrics first up
When pcp-uptime is run against an archive with an initial
result record that does not contain the metrics it wants,
but a later result record does contain 'em, some incorrect
assumptions are made and ultimately a sigsegv results.
Update test qa/742 to exercise this case alongside existing
pcp-uptime archive testing, using a new pcp-uptime2 archive.
Resolves RHBZ #1262721.
commit 22aa668c6723810cd405bc70d66d759644521fbf
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue Sep 15 14:36:08 2015 +1000
libpcp: ensure interp read_cache structs fully initialised
Ensure freshly allocated per-context read_cache interp data
structures are fully initialized to zero - use calloc over
malloc and code is much simpler. Added the requested error
handling in here, and audited all call sites.
commit ab715bd75287187d478e3e27a977b44434d4fef6
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue Sep 15 14:32:44 2015 +1000
libpcp: temporarily revert pdubuf tsearch-based optimisation
As discussed in github issue #35, this commit has inadvertently
caused users of production PCP data much grief on Mac OS X, and
we are none the wiser as to root cause yet. So, revert to the
original pdubuf pinning scheme (circa 1995) while the newer code
is being further diagnosed, and so that we can get a known-good
release out for Mac users once more.
Once figured out, commits 7881fd51d3, 1401c2067a + f0f64be1cd76
all need be reinstated (7881fd51d3 has been git-bisected as the
cause, the others were unrelated followups to that initial one).
See also newly added QA test 816.
commit 17a6ca94e77d471b87e1f1174b0e2e78eb9b9a49
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue Sep 15 13:57:59 2015 +1000
qa: add test 816 to exercise a libpcp pdu-buffer memory issue
Exercise the libpcp pdubuf/interp issue from github issue #35.
This adds a small, anonymised archive based on the production
data sent privately in relation to the above github issue.
The test reproduces the same bug using pmdumptext, which is a
handy development as its more easily automated and it's also
alot easier to follow than the pmchart GUI code.
commit e6b47b83db24b23b0cbf008d653bce616c807fa5
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue Sep 15 13:33:24 2015 +1000
libpcp: check-statics updates for new getdate and LLVM compiler
|