pcp
[Top] [All Lists]

pcp updates

To: pcp developers <pcp@xxxxxxxxxxx>
Subject: pcp updates
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon, 21 May 2012 16:54:26 +1000 (EST)
In-reply-to: <878034189.304639.1337583167123.JavaMail.root@xxxxxxxxxxxxxxxxxxxxxx>
Changes committed to git://oss.sgi.com/nathans/pcp.git dev

 src/libpcp_pmda/src/queues.c |   19 +
 src/pmdas/bash/.gitignore    |    3
 src/pmdas/bash/GNUmakefile   |   56 ++++
 src/pmdas/bash/Install       |   36 +++
 src/pmdas/bash/README        |   50 ++++
 src/pmdas/bash/Remove        |   23 +
 src/pmdas/bash/event.c       |  222 ++++++++++++++++++
 src/pmdas/bash/event.h       |   51 ++++
 src/pmdas/bash/help          |   45 +++
 src/pmdas/bash/pmda.c        |  503 +++++++++++++++++++++++++++++++++++++++++++
 src/pmdas/bash/pmns          |   37 +++
 src/pmdas/bash/root          |   10
 src/pmdas/bash/test-trace.sh |   46 +++
 13 files changed, 1095 insertions(+), 6 deletions(-)

commit 41cae7e1f0c2328a23877e99499fd20ffbf86cd5
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Mon May 21 16:51:50 2012 +1000

    Initial version of the GNU Bash tracing PMDA
   
    As of bash version 4, the -x trace output can be redirected
    to a file descriptor.  A cooperative shell script can create
    (and then send all trace output to) a fifo, in a well-known
    place, such that pmdabash can receive these events and then
    expose them as event metrics.  This data can include function
    and line number information, parent PID, command details and
    some low-resolution (at this stage) timing information.
   
    Plenty of work still to come, but this initial version has the
    basic mechanism working and most of the code.  Some issues to
    do with multiple-instances event metrics seem to have surfaced
    (probably in my code here), which I'll have to set aside until
    I have some more time again.
   
    Its close to getting useful now, but should still be considered
    highly experimental at this stage.  There are one or two known
    issues and QA tests and man page are still to come, of course,
    as it progresses and the bash/pmdabash interface stabilises.

commit 035074fce2610002280ccc61901fc7b7b258c7f4
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Mon May 21 16:38:38 2012 +1000

    Dodge a null pointer dereference in pmdaEventQueueAppend diagnostics.
   
    Also added some additional diagnostics in the client queue filtering.

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