pcp
[Top] [All Lists]

pcp updates: log tools longopts, pmdacisco

To: PCP Mailing List <pcp@xxxxxxxxxxx>
Subject: pcp updates: log tools longopts, pmdacisco
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu, 24 Apr 2014 00:00:56 -0400 (EDT)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <51235430.10178448.1398311553701.JavaMail.zimbra@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: sK/Som4BuLtsVjYP3GZqQuydKAB2Ag==
Thread-topic: pcp updates: log tools longopts, pmdacisco
Changes committed to git://git.performancecopilot.org/pcp.git dev

 qa/.gitignore                   |    2 
 qa/363                          |   13 -
 qa/363.out                      |  134 ++++++++++++++++
 qa/363.out.1                    |  144 -----------------
 qa/363.out.2                    |  134 ----------------
 qa/379                          |    4 
 qa/417.out                      |    2 
 qa/440.out                      |   16 -
 qa/492                          |   10 -
 qa/492.out                      |  122 ++++++++++++++
 qa/492.out.1                    |  128 ---------------
 qa/492.out.2                    |  128 ---------------
 src/pmdas/cisco/.gitignore      |    2 
 src/pmdas/cisco/GNUmakefile     |   20 --
 src/pmdas/cisco/parse.sh        |    3 
 src/pmdas/cisco/pmda.c          |   97 ++++++-----
 src/pmdas/cisco/probe.c         |   15 +
 src/pmlogcheck/.gitignore       |    1 
 src/pmlogcheck/pmlogcheck.c     |   91 +++++-----
 src/pmlogextract/pmlogextract.c |  154 ++++++------------
 src/pmlogger/src/pmlogger.c     |  178 +++++++++++----------
 src/pmloglabel/pmloglabel.c     |   71 ++++----
 src/pmlogreduce/GNUmakefile     |    3 
 src/pmlogreduce/pmlogreduce.c   |  186 +++++++++++++++++-----
 src/pmlogreduce/pmlogreduce.h   |    4 
 src/pmlogreduce/util.c          |  132 ---------------
 src/pmlogrewrite/pmlogrewrite.c |  127 +++++++--------
 src/pmlogsummary/pmlogcheck.c   |  284 +++++++++++----------------------
 src/pmlogsummary/pmlogsummary.c |  335 ++++++++++++++--------------------------
 29 files changed, 1009 insertions(+), 1531 deletions(-)

commit 8da53d2672b84c1221aa4d2aa8f54a8d648cf86d
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Apr 24 11:10:29 2014 +1000

    Rework the parse mode in pmdacisco for QA testing efficiency
    
    Change the Cisco PMDA parse mode to tackle intermittent failure
    in test qa/379.  Simply moving a diagnostic to before a thread
    is started removed the main race.  But, digging into it, found
    the test running significantly longer than it should due to many
    (unresolvable) DNS lookups - so, allow those to be disabled too
    for QA, making it run alot quicker (1 minute -> 1 second).
    
    Instead of building pmdacisco twice (second time for parse), we
    now use a shell script front for pmdacisco and a single binary.

commit 5b9c468bd476be4ab12c1a78566b87ff7f202cca
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Apr 24 11:04:22 2014 +1000

    Convert PCP archive tools over to long options interfaces
    
    This coverts pmlogcheck, pmlogextract, pmlogger, pmloglabel,
    pmlogreduce, pmlogrewrite and pmlogsummary to making use of
    the long option interfaces.

<Prev in Thread] Current Thread [Next in Thread>