Changes committed to git://oss.sgi.com/pcp/pcp.git dev
qa/721 | 1 -
qa/721.out | 8 ++++----
qa/src/test_pcp.python | 6 +++++-
src/dbpmda/src/pmda.c | 2 +-
src/pcp/pcp.sh | 8 ++++++++
src/pmconfig/pmconfig.c | 4 ++--
src/python/pcp/pmapi.py | 13 ++++++++-----
src/python/pmapi.c | 6 +++++-
8 files changed, 33 insertions(+), 15 deletions(-)
commit f704c70f6aec02006139b54b2964568bd99cb279
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon Apr 14 20:03:03 2014 +1000
pcp pmapi: fix pmConvScale parametrization
The python binding to pmConvScale should be given a general pmUnits
struct as a target scale, as at the C PMAPI level, whereas the API
wrapping to date limits us to "1 $space"-units.
[ This commit is a reworked version of Franks earlier fix, but this
time preserving compatibility with earlier versions of the API. ]
commit 2cc49939dcfe291743649aafe689aa66e99163e4
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date: Sat Apr 12 22:00:28 2014 -0400
python pmapi.c: Don't crash on exceptions from options_callback()
In case the python routine being invoked exits with an exception
(result is NULL), we shouldn't try to Py_DECREF the bad boy.
For that matter, we shouldn't clear such exceptions with PyErr_Print()
at all, but pass them through to the calling python VM. This cleanup
is left for later.
commit 33a1899da93b7f8e92eb58c54f1295dfceeb5c8a
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date: Fri Apr 11 18:30:35 2014 -0400
dbpmda: use context#0 for outgoing attr PDUs
The attr command was unique in terms of inventing use of getpid()
as a substitute context# for sending to a pipe-pmda. This makes
it impossible to set the attribute data for the main context #0
across which fetches etc. are performed. Now we hard-code #0,
as the other similar operations do.
commit e488231b3f92ccc716b77ee1e42257715045e5e2
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon Apr 14 12:24:18 2014 +1000
Add the list of commands to pcp(1) usage message output
The wrapped pcp-prefixed system commands will not be on
the standard paths (pcp-free(1) and friends). Thus its
handy to get a list of all that are available using the
pcp(1) command usage message - Make It So.
commit 87c30aed7628c1cac9f731ef5924c4dda2128e5a
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon Apr 14 11:27:10 2014 +1000
Further improvements to the pmconfig string quoting
Frank sagely points out pmconfig was not quoting backslash
itself. Further testing revealed several of the characters
being quoted should not have been (in particular, all forms
of braces), as these would remain in the final string, even
after expansion by the shell. The set there now appears to
be correct after a fair bit of testing of all of the usual
suspect characters.
|