pcp
[Top] [All Lists]

pcp updates

To: pcp@xxxxxxxxxxx
Subject: pcp updates
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed, 05 Oct 2011 22:11:35 +1100
This is it for pmlogrewrite for the first time around.

pmlogrewrite was hatched over pizza and beers, after a couple of years
of underground gestation ... it was supposed to be a "small" project,
but did not quite pan out the way ... compared to other PCP components,
pmlogrewrite:

- 22% more lines of flex source than the nearest contender (dbpmda)
- 41% more lines of bison source than the nearest contender (pmie)
- only pmie and pmcd have more words in their man pages
- 1,300+ lines of QA shell scripts
- 12,300+ lines of qualified QA output

Just as well I'm retired ... 8^)>

ps if we want to do it, handling the linux pmda split for proc metrics
really _does_ work


Changes committed to git://oss.sgi.com/kenj/pcp.git dev

 man/man1/GNUmakefile            |    2 
 man/man1/pmdasimple.1           |    4 
 man/man1/pmloglabel.1           |    1 
 man/man1/pmlogrewrite.1         |  885 ++++++++++++++++++++++++++++++++++++++++
 src/GNUmakefile                 |    2 
 src/libpcp/src/ipc.c            |    4 
 src/pmlogger/check.c            |    7 
 src/pmlogger/pmlogger.c         |    2 
 src/pmlogrewrite/GNUmakefile    |    2 
 src/pmlogrewrite/gram.y         |  170 ++++---
 src/pmlogrewrite/indom.c        |   35 -
 src/pmlogrewrite/lex.l          |   20 
 src/pmlogrewrite/logger.h       |    4 
 src/pmlogrewrite/logio.c        |   23 -
 src/pmlogrewrite/metric.c       |   20 
 src/pmlogrewrite/pmlogrewrite.c |  156 ++++++-
 src/pmlogrewrite/result.c       |  376 ++++++++++++----
 src/pmlogrewrite/util.c         |   34 +
 18 files changed, 1486 insertions(+), 261 deletions(-)

commit 0fee63c9b362288f3c06286a6b50d7fd5c9ef50d
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Wed Oct 5 21:26:57 2011 +1100

    pmlogrewrite - first version done
    
    Lots of new stuff, all TODOs gone (except the multiple -c options
    and -c dir options), heaps of bug fixes.

commit b3a67997a4b75c5cb5fc58c2b875eb32df4e13cf
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Wed Oct 5 21:25:17 2011 +1100

    pmlogrewrite - man page additions

commit dce844d75335e3b5bdb25120ec9ae3795e9232e5
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Wed Oct 5 21:14:31 2011 +1100

    libpcp/ipc.c - memory initialization fix
    
    Found using valgrind on pmlogrewrite ... when expanding
    __pmIPCTablePtr, unused entries were not being correctly
    initialized.
    
    Unlikely that this has bitten anyone in the past.

commit 1e6d046b9eb04c6316e7b32dab00ddabbf6379c0
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Wed Oct 5 21:12:28 2011 +1100

    pmlogger - minor printf fixes

commit 8194e51a09a8d80a3e484e5483a6027efe333e2b
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Wed Oct 5 21:10:47 2011 +1100

    pmdasimple man page - minor nroff font fix



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