pcp
[Top] [All Lists]

pcp updates: getopt folio support

To: PCP <pcp@xxxxxxxxxxx>
Subject: pcp updates: getopt folio support
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue, 24 Jun 2014 03:42:26 -0400 (EDT)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <2038184075.32330062.1403595715328.JavaMail.zimbra@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: ElRY6q+S+gkWjCko/ublt4Uk+3qw6g==
Thread-topic: pcp updates: getopt folio support
Changes committed to git://git.performancecopilot.org/pcp.git dev

 qa/728.out              |binary
 qa/899                  |   97 ++++++++++++++++
 qa/899.out              |  279 ++++++++++++++++++++++++++++++++++++++++++++++++
 qa/978                  |   14 ++
 qa/978.out              |    8 +
 qa/group                |   12 +-
 qa/src/getoptions.c     |    9 +
 src/include/pcp/impl.h  |    1 
 src/include/pcp/pmapi.h |   11 +
 src/libpcp/src/exports  |    1 
 src/libpcp/src/getopt.c |  128 +++++++++++++++++++++-
 src/pmgetopt/pmgetopt.c |   11 +
 src/python/pcp/pmapi.py |   21 +++
 src/python/pmapi.c      |   84 ++++++++++++++
 14 files changed, 667 insertions(+), 9 deletions(-)

commit 7619d51b43eeabb2a9f6d052565b621b02c9f39b
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Jun 24 14:01:49 2014 +1000

    Add archive folio parsing mechanism into option handling code
    
    After recent discussion with Stan about the needs of python tools
    that read and write archive folios, this commit adds a mechanism
    for automatically opening a folio and setting up struct pmOptions
    with the archive(s) it contains.  While there, the exising host
    and archive list mechanisms are tested further, and added to the
    automatically available set (as long options only to not conflict
    on existing short option characters).
    
    Extensions are made to the pmgetopt shell utility to access this
    functionality, and the python wrapper APIs.  A new qa/899 test is
    tossed into the mix, and other existing tests are updated to make
    sure we have decent functional coverage.  Also, a new QA group is
    added to make it easier to run all the getopts tests at once.

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: getopt folio support, Nathan Scott <=