[pcp] pcp updates: pmTrimNameSpace

Ken McDonell kenj at internode.on.net
Wed Dec 2 18:47:20 CST 2015


Changes committed to git://git.pcp.io/kenj/pcp master

Ken McDonell (1):
      pmTrimNameSpace: cleanup

 man/man3/pmtrimnamespace.3 |  120 +-
 qa/029                     |   86 +
 qa/029.out                 | 2276 +++++++++++++++++++++++++++++++++++++++------
 qa/src/chktrim.c           |   83 +
 src/libpcp/src/pmns.c      |   15 
 src/pminfo/pminfo.c        |    8 
 6 files changed, 2204 insertions(+), 384 deletions(-)

Details ...

commit b222762250d78a74617e4ac93b110d046ab5b788
Author: Ken McDonell <kenj at internode.on.net>
Date:   Thu Dec 3 11:40:59 2015 +1100

    pmTrimNameSpace: cleanup
    
    Thanks to a question from Marko, ...
    
    pmTrimNameSpace() is still needed (sometimes) but it has nothing
    to do with V1 archives, so ...
    
    1. rewrite the man page to match reality
    2. fix pminfo to make the call to pmTrimNameSpace() conditional
       on having previously loaded a local PMNS (not necessarily needed
       as the call is a no-op otherwise)
    3. keep feeding qa/029 and qa/src/chktrim.c steriods until they are
       _really_ checking all the code paths below pmTrimNameSpace()
    4. cosmetic changes in libpcp.



More information about the pcp mailing list