Changes committed to git://git.pcp.io/nathans/pcp.git master
Nathan Scott (2):
pmie: add quiet mode to suppress default diagnostics
man: correct the pmmktime(3) return code - not a pointer
David Smith (1):
Fix problems in the python PMDA code when returning fetch errors.
man/man1/pmie.1 | 7 ++++++-
man/man3/pmmktime.3 | 2 +-
src/pcp/shping/pcp-shping.sh | 4 ++--
src/pmie/src/dstruct.c | 1 +
src/pmie/src/dstruct.h | 1 +
src/pmie/src/eval.c | 8 ++++++--
src/pmie/src/pmie.c | 7 ++++++-
src/python/pmda.c | 19 +++++++++++++++++++
8 files changed, 42 insertions(+), 7 deletions(-)
commit adcb1dcbcb1054f9fb923461602e8f53fd48b17a
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed May 20 09:29:06 2015 +1000
man: correct the pmmktime(3) return code - not a pointer
commit 9bdd5b644f8f07e45fbd4785ad367551e4252f29
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed May 20 09:28:35 2015 +1000
pmie: add quiet mode to suppress default diagnostics
The 'evaluator exiting' message from pmie is not helpful if
running pmie from a script - this adds a -q/--quiet option
to suppress it, then uses it in pcp-shping(1).
Problem uncovered by QA running in Lukas' buildbot network.
commit 2a9db6a2f9eb03e942c58b1b0cd0db2b4baa7a7a
Author: David Smith <dsmith@xxxxxxxxxx>
Date: Tue May 19 15:31:28 2015 -0500
Fix problems in the python PMDA code when returning fetch errors.
* src/python/pmda.c (fetch_callback): If we got an unsupported metric
type, don't fall into the error code tuple parsing code. In the error
code tuple parsing code, clear out any previous PyArg_Parse() error,
since it isn't an error to return an error. If we got a parse error, but
a tuple code of 1, return an error.
|