Hi,
Here is this new error code as discussed previously:
https://github.com/ubccr/pcp/tree/hotproc_cleanups
Meant to be used when pmstore gets input it doesn't expect. Updated the
appropriate pmdas and I think the correct qa tests. I think only 2 were
affected, but I have a bunch of "notruns" so this needs another look by
somebody else.
While doing this, I found a few existing error codes that hadn't made
their way to the python and perl side, so I added those as well.
Thanks
Martins
commit cb88f602c42ff489be6ea182f17c702bff484b62
Author: Martins Innus <minnus@xxxxxxxxxxx>
Date: Tue May 5 19:14:49 2015 +0000
Add new PM_ERR_BADSTORE error and other error fixups
Add a new error code: PM_ERR_BADSTORE, deal with bad input
to pmstore. Update the relevant pmdas to use this new code
and generate new qa output for relevant tests.
Add this code to the perl and python bindings. In doing
so, I found some missing error codes, so added those.
qa/006.out | 2 +-
qa/982.out | 2 +-
src/include/pcp/pmapi.h | 1 +
src/libpcp/src/err.c | 2 ++
src/perl/PMDA/PMDA.pm | 10 ++++++++--
src/perl/PMDA/cvalue.c | 4 ++++
src/pmdas/linux_proc/contexts.c | 4 ++--
src/pmdas/linux_proc/pmda.c | 4 ++--
src/pmdas/logger/event.c | 2 +-
src/pmdas/logger/logger.c | 2 +-
src/pmdas/mmv/src/mmv.c | 2 +-
src/pmdas/papi/papi.c | 2 +-
src/pmdas/pmcd/src/pmcd.c | 6 +++---
src/pmdas/sample/src/sample.c | 12 ++++++------
src/pmdas/simple/pmdasimple.perl | 6 +++---
src/pmdas/simple/pmdasimple.python | 6 +++---
src/pmdas/simple/simple.c | 6 +++---
src/pmdas/trace/src/trace.c | 2 +-
src/python/pmapi.c | 2 ++
19 files changed, 46 insertions(+), 31 deletions(-)
|