Changes committed to git://oss.sgi.com/nathans/pcp.git dev
man/man3/pmgetcontexthostname.3 | 24 ++++
qa/075 | 5
qa/075.out.8 | 213 ++++++++++++++++++++++++++++++++++++++++
qa/145 | 8 +
qa/207 | 5
qa/src/getoptions.c | 6 +
src/include/pcp/impl.h | 11 ++
src/include/pcp/pmapi.h | 35 +++---
src/libpcp/src/check-statics | 38 +++----
src/libpcp/src/context.c | 34 +++---
src/libpcp/src/exports | 8 +
src/libpcp/src/getopt.c | 70 +++++++------
src/pmclient/pmclient.c | 10 +
src/pminfo/pminfo.c | 6 -
src/pmprobe/pmprobe.c | 17 +--
src/pmval/pmval.c | 94 ++++++++---------
16 files changed, 441 insertions(+), 143 deletions(-)
commit db45d643202851bb85f455ace7884296e35ba298
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri Mar 14 17:26:07 2014 +1100
Update to pmGetOptions interfaces, towards QA cleanliness
Address a plethora of issues, particularly in pmval which has
some pathological cases. In particular, pmval allows the use
of metric names via pmParseMetricSpec which can introduce new
sources of metrics after -a/-h/-L parsing. This requires new
modes of interfacing to the option parsing code, delaying the
reporting of errors until well after argument parsing.
Furthermore, its -U option acts like -a, introducing archives
in the middle of other options - shows a need for a way to do
this in general, which is now added into pmGetOptions.
Bunch of small, unrelated bug fixes. And added a thread-safe
pmGetContextHostName_r variant.
|