From mailman-bounces@oss.sgi.com Tue May 1 05:01:22 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,BAYES_00, J_CHICKENPOX_25 autolearn=no version=3.4.0-r929098 Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q41A13lU115618 for ; Tue, 1 May 2012 05:01:03 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: oss.sgi.com mailing list memberships reminder From: mailman-owner@oss.sgi.com To: pcp@oss.sgi.com X-No-Archive: yes Message-ID: Date: Tue, 01 May 2012 05:00:31 -0500 Precedence: bulk X-BeenThere: mailman@oss.sgi.com X-Mailman-Version: 2.1.11 List-Id: Mailman mail X-List-Administrivia: yes Sender: mailman-bounces@oss.sgi.com Errors-To: mailman-bounces@oss.sgi.com This is a reminder, sent out once a month, about your oss.sgi.com mailing list memberships. It includes your subscription info and how to use it to change it or unsubscribe from a list. You can visit the URLs to change your membership status or configuration, including unsubscribing, setting digest-style delivery or disabling delivery altogether (e.g., for a vacation), and so on. In addition to the URL interfaces, you can also use email to make such changes. For more info, send a message to the '-request' address of the list (for example, mailman-request@oss.sgi.com) containing just the word 'help' in the message body, and an email message will be sent to you with instructions. If you have questions, problems, comments, etc, send them to mailman-owner@oss.sgi.com. Thanks! Passwords for pcp@oss.sgi.com: List Password // URL ---- -------- pcp-announce@oss.sgi.com xE+IBctR http://oss.sgi.com/mailman/options/pcp-announce/pcp%40oss.sgi.com From kenj@internode.on.net Sat May 12 02:04:01 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q4C741IH160258 for ; Sat, 12 May 2012 02:04:01 -0500 X-ASG-Debug-ID: 1336806238-04cbb06acb177b00001-S8gJnT Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [150.101.137.129]) by cuda.sgi.com with ESMTP id zZZZN6mTEdjATCHN for ; Sat, 12 May 2012 00:03:59 -0700 (PDT) X-Barracuda-Envelope-From: kenj@internode.on.net X-Barracuda-Apparent-Source-IP: 150.101.137.129 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApIBACAKrk920QsG/2dsb2JhbAANN4V5sTyBBQYCJgJTH7BIkkmBL4logmKCDoEYBJV9kzs Received: from ppp118-209-11-6.lns20.mel4.internode.on.net (HELO [192.168.1.100]) ([118.209.11.6]) by ipmail06.adl2.internode.on.net with ESMTP; 12 May 2012 16:33:57 +0930 Message-ID: <1336806309.4509.0.camel@bozo.localdomain> Subject: pcpqa updates From: Ken McDonell X-ASG-Orig-Subj: pcpqa updates To: pcp@oss.sgi.com Date: Sat, 12 May 2012 17:05:09 +1000 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2- Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Barracuda-Connect: ipmail06.adl2.internode.on.net[150.101.137.129] X-Barracuda-Start-Time: 1336806238 X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1.3 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.96709 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcpqa.git 200 | 12 ------------ 282 | 8 +++++++- 448 | 3 ++- 508 | 4 ++++ common | 3 ++- group | 2 +- src-oss/pmdaqueue.c | 13 +++++++------ 7 files changed, 23 insertions(+), 22 deletions(-) commit 8fd55199059c363aef15b09a1b38bb4c72df3fc6 Author: Ken McDonell Date: Sat May 12 17:03:37 2012 +1000 src-oss/pmdaqueue.c - was broken when sizeof(int) != sizeof(size_t) commit 1a7f69d19c2cf28a6012000e8e564f7514eaa723 Author: Ken McDonell Date: Sat May 12 17:02:25 2012 +1000 508 - filter tweak for broken join(1) join(1) on ia64 SuSE SLES 11 is broken and produces gratuitous white space in the output ... sigh! commit f6aba24d687ba270cac1513e0e6b2e04d0f84e3b Author: Ken McDonell Date: Sat May 12 17:02:05 2012 +1000 group - 008 is really local, not remote. commit 5cc2086ae15ca5d0b191a9e12e55804238d1ab84 Author: Ken McDonell Date: Thu May 10 07:10:27 2012 +1000 448 - special handling for \c variant of $PCP_ECHO_C On Mac OS X, $PCP_ECHO_C is \c ... need special magic to handle this in the shell script and sed of this test. commit 2b238ddde81503f9eabf91c62a2a680c78141b78 Author: Ken McDonell Date: Thu May 10 07:02:39 2012 +1000 282 - pick correct 282.out for darwin and PCP >= 3.6 commit 44bcb4fa853c414f8915b24bd1977e4a8690f9bd Author: Ken McDonell Date: Thu May 10 07:01:59 2012 +1000 200 - simplify No need to stop pmlogger. commit 549f724278fd0f36f6cb8673f25e26e40d4de1b5 Author: Ken McDonell Date: Wed May 9 21:17:12 2012 +1000 common - bizarre interaction with 110 Unconditionally removing pmcd.log for a running pmcd is a bad idea if 110 fails, then the re-check is almost guaranteed to fail! From kenj@internode.on.net Thu May 17 01:38:47 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,J_CHICKENPOX_62 autolearn=no version=3.4.0-r929098 Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q4H6clW3118293 for ; Thu, 17 May 2012 01:38:47 -0500 X-ASG-Debug-ID: 1337236725-04cb6c24fb758b30001-S8gJnT Received: from ipmail05.adl6.internode.on.net (ipmail05.adl6.internode.on.net [150.101.137.143]) by cuda.sgi.com with ESMTP id 3yrjiyqQF9pDvbcA for ; Wed, 16 May 2012 23:38:45 -0700 (PDT) X-Barracuda-Envelope-From: kenj@internode.on.net X-Barracuda-Apparent-Source-IP: 150.101.137.143 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApIBAEmctE920QsG/2dsb2JhbAANN4U0sVcEgQEGAiYCUx+xIZJfgSaJbYRCgRUDlXqTOw Received: from ppp118-209-11-6.lns20.mel4.internode.on.net (HELO [192.168.1.100]) ([118.209.11.6]) by ipmail05.adl6.internode.on.net with ESMTP; 17 May 2012 16:08:43 +0930 Message-ID: <1337236807.12791.2.camel@bozo.localdomain> Subject: pcpqa updates From: Ken McDonell X-ASG-Orig-Subj: pcpqa updates To: pcp@oss.sgi.com Date: Thu, 17 May 2012 16:40:07 +1000 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2- Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Barracuda-Connect: ipmail05.adl6.internode.on.net[150.101.137.143] X-Barracuda-Start-Time: 1337236725 X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1.3 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.97186 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcpqa.git 188 | 2 199 | 1 367 | 1 509 | 1 509.out.1 | 2 509.out.2 | 2 510 | 63 ++++++++++++++++++++++++++ 510.out | 108 +++++++++++++++++++++++++++++++++++++++++++++ 565 | 5 -- common.rc | 2 group | 4 - src-oss/arch_maxfd.c | 4 - src-oss/archinst.c | 2 src-oss/chk_memleak.c | 2 src-oss/chk_metric_types.c | 2 src-oss/defctx.c | 2 src-oss/eol.c | 2 src-oss/exertz.c | 4 - src-oss/hp-mib.c | 4 + src-oss/indom.c | 2 src-oss/interp0.c | 2 src-oss/interp1.c | 2 src-oss/interp2.c | 2 src-oss/interp_bug.c | 2 src-oss/interp_bug2.c | 2 src-oss/keycache2.c | 4 - src-oss/mark-bug.c | 2 src-oss/multifetch.c | 2 src-oss/pdu-server.c | 11 ++++ src-oss/pducheck.c | 2 src-oss/permfetch.c | 2 src-oss/pmcdgone.c | 4 - src-oss/pmsocks_objstyle.c | 2 src-oss/proc_test.c | 6 +- src-oss/record.c | 6 +- src-oss/storepast.c | 2 src-oss/template.c | 14 ----- src-oss/torture-eol.c | 2 src-oss/torture_indom.c | 2 src-oss/torture_logmeta.c | 2 src-oss/unpack.c | 3 + src-oss/xarch.c | 4 - src-oss/xlog.c | 4 - src-oss/xval.c | 3 - valgrind-suppress | 17 ++++++- 45 files changed, 256 insertions(+), 63 deletions(-) commit 71c3e8bd8e354f6ddb428cd467f9cf1ec7b1ba8b Author: Ken McDonell Date: Thu May 17 16:36:06 2012 +1000 Assorted compiler warning fixups. Mostly 'foo' might be used uninitialized warnings from gcc, most of which are bogus ... but make these warnings go away so we can see real problems ... all QA apps now compile cleanly. commit fba34f173a8ad860d0569a4f50fd3cea7afccba3 Author: Ken McDonell Date: Thu May 17 15:26:26 2012 +1000 assorted apps changes for improved portability Use FMT_PID from the PCP headers when printing pid_t values. Found and fixed on OpenIndiana. commit 3c6e8d5e17303aaff407c89b8cf7dda38e7f8aa8 Author: Ken McDonell Date: Thu May 17 07:39:04 2012 +1000 common.rc - add /usr/sbin to $PATH Needed to find svcadm on OpenIndiana commit 8b5eb9bcf777950b48870cbc1b89403c6868f2e1 Author: Ken McDonell Date: Thu May 17 07:37:14 2012 +1000 pmcdgone.c - need to wait a bit longer of OpenIndiana Socket resuse for pmcd was not happening ... sleep 10 instead of 5 secs. commit 7f5f0903f0442040f1693b8b929e05ad2cc25fd2 Author: Ken McDonell Date: Thu May 17 07:26:00 2012 +1000 367 - Solaris standard error message mapping Filter change for Not owner -> Operation not permitted commit d04fb9d8d20e3183dd0128e791f8028f012d80fe Author: Ken McDonell Date: Wed May 16 17:39:07 2012 +1000 459, valgrind-suppress - Debian changes QA 459 demonstrates valgrind-3.6.0 is broken for 64-bit Debian 6.0.5 (sneeze), so pulled valgrind-3.7.0 from Debian wheeze release, but this exposes a new uninitialized memory reference in the "dl" routines ... add this one to the suppression list. Also, add QA 459 to the valgrind group. commit cf3f08fda9ef699b86cad1fa7badca4541839022 Author: Ken McDonell Date: Tue May 15 09:23:56 2012 +1000 510 - new - pmlogger failure with diags enabled Odd interaction between pmlogger, pmlc and __pmDumpResult() over the perverse use of pmResults by pmlc and pmlogger for logger state requests and information. commit c7c909052248231a79cec64c90f0dbf4ca23aaf3 Author: Ken McDonell Date: Tue May 15 09:23:06 2012 +1000 565 - tweak for Mac OS X commit 12cb8a49f76ba813bff2f30218958c062fb33a36 Author: Ken McDonell Date: Mon May 14 09:14:48 2012 +1000 188 - glibc version info a little different for Gentoo glibc-2.13-r4 not glibc-2.13.4 as we were expecting commit 5a38698cda4ce7f741bcebe4b2cd611297a72d6d Author: Ken McDonell Date: Mon May 14 06:23:20 2012 +1000 199 - filter tweak for mandrivia compiler commit c5d956512523c5b82142bc9062125bb8fad20a47 Author: Ken McDonell Date: Mon May 14 06:22:39 2012 +1000 509.out.1 - small timezone filter change for pmResult timestamp commit 575096a14b4adf8277b58500ae2e36ced04f899c Author: Ken McDonell Date: Mon May 14 06:13:21 2012 +1000 509 - small timezone filter change for pmResult timestamp From kenj@internode.on.net Sat May 19 22:40:14 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,J_CHICKENPOX_66 autolearn=no version=3.4.0-r929098 Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q4K3eD8o006699 for ; Sat, 19 May 2012 22:40:14 -0500 X-ASG-Debug-ID: 1337485211-04cb6c24fd83adf0001-S8gJnT Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [150.101.137.129]) by cuda.sgi.com with ESMTP id qU2NOMInHViIV08p for ; Sat, 19 May 2012 20:40:12 -0700 (PDT) X-Barracuda-Envelope-From: kenj@internode.on.net X-Barracuda-Apparent-Source-IP: 150.101.137.129 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApIBAGNnuE920QsG/2dsb2JhbAANOIUtsiaBBQYCJgJTH7ITkWaBJolfgi+CCoEUA5Ubkms Received: from ppp118-209-11-6.lns20.mel4.internode.on.net (HELO [192.168.1.100]) ([118.209.11.6]) by ipmail06.adl2.internode.on.net with ESMTP; 20 May 2012 13:09:48 +0930 Message-ID: <1337485274.4583.0.camel@bozo.localdomain> Subject: pcpqa updates From: Ken McDonell X-ASG-Orig-Subj: pcpqa updates To: pcp@oss.sgi.com Date: Sun, 20 May 2012 13:41:14 +1000 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2- Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Barracuda-Connect: ipmail06.adl2.internode.on.net[150.101.137.129] X-Barracuda-Start-Time: 1337485211 X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1.3 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.97453 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcpqa.git 022 | 7 +---- 040 | 3 ++ 044 | 3 +- 062 | 2 - 066 | 7 +++++ 067 | 24 +++++++++++++------- 067.out.1 | 2 - 067.out.2 | 2 - 067.out.3 | 2 - 069 | 2 - 096 | 4 +-- 113 | 9 ++++++- 117 | 4 +-- 128 | 4 +-- 147 | 4 +-- 149 | 4 +-- 172 | 14 +++++------ 172.out | 4 +-- 183 | 5 ++-- 188 | 6 ++++- 188.solaris | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 199 | 1 250 | 2 - 252 | 3 ++ 605 | 2 - common.filter | 7 +++++ 26 files changed, 151 insertions(+), 45 deletions(-) commit b44c3a605e2fba2653183f1be7f284d139c845ab Author: Ken McDonell Date: Sun May 20 13:37:03 2012 +1000 More Solaris (OpenIndiana) changes Second batch of changes to increase QA pass rate on OpenIndiana. All porting fixes, no real functional changes here. commit 522088d7912528e944590a2e2ee819370fcdd44f Author: Ken McDonell Date: Thu May 17 21:04:27 2012 +1000 Solaris (OpenIndiana) changes First batch of changes to increase QA pass rate on OpenIndiana. All porting changes, no functional changes here. From nscott@aconex.com Mon May 21 01:54:35 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=no version=3.4.0-r929098 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q4L6sYvM058030 for ; Mon, 21 May 2012 01:54:34 -0500 X-ASG-Debug-ID: 1337583270-04cbb03c169e9060001-S8gJnT Received: from postoffice2.aconex.com (mail.aconex.com [203.166.49.3]) by cuda.sgi.com with ESMTP id LI5jgaEop7THIEX4 for ; Sun, 20 May 2012 23:54:31 -0700 (PDT) X-Barracuda-Envelope-From: nscott@aconex.com X-Barracuda-Apparent-Source-IP: 203.166.49.3 Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.35.100]) by postoffice2.aconex.com with ESMTP id 0u5WK4XCvsuPsHNd for ; Mon, 21 May 2012 16:54:29 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.35.102]) by postoffice.aconex.com (Postfix) with ESMTP id 1B70C3CE00E5 for ; Mon, 21 May 2012 16:53:57 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 4C74EA40007 for ; Mon, 21 May 2012 16:54:29 +1000 (EST) X-Virus-Scanned: amavisd-new at aconex.com Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cqG-4F7tCiuE for ; Mon, 21 May 2012 16:54:26 +1000 (EST) Received: from acxmail-au2.aconex.com (acxmail-au2.aconex.com [192.168.35.104]) by gatekeeper.aconex.com (Postfix) with ESMTP id DC95FA40006 for ; Mon, 21 May 2012 16:54:26 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by acxmail-au2.aconex.com (Postfix) with ESMTP id D59083B20002 for ; Mon, 21 May 2012 16:54:26 +1000 (EST) X-Virus-Scanned: amavisd-new at aconex.com Received: from acxmail-au2.aconex.com ([127.0.0.1]) by localhost (acxmail-au2.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Womw31C6Z6+P for ; Mon, 21 May 2012 16:54:26 +1000 (EST) Received: from acxmail-au2.aconex.com (acxmail-au2.aconex.com [192.168.35.104]) by acxmail-au2.aconex.com (Postfix) with ESMTP id B9D113B20001 for ; Mon, 21 May 2012 16:54:26 +1000 (EST) Date: Mon, 21 May 2012 16:54:26 +1000 (EST) From: Nathan Scott To: pcp developers Message-ID: <743879342.304652.1337583266687.JavaMail.root@acxmail-au2.aconex.com> In-Reply-To: <878034189.304639.1337583167123.JavaMail.root@acxmail-au2.aconex.com> Subject: pcp updates MIME-Version: 1.0 X-ASG-Orig-Subj: pcp updates Content-Type: multipart/alternative; boundary="----=_Part_304651_1443242201.1337583266685" X-Originating-IP: [192.168.7.164] X-Mailer: Zimbra 7.1.4_GA_2567 (ZimbraWebClient - FF3.0 (Linux)/7.1.4_GA_2555) X-Virus-Scanned: by bsmtpd at aconex.com X-Barracuda-Connect: mail.aconex.com[203.166.49.3] X-Barracuda-Start-Time: 1337583270 X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1.3 tests=HTML_MESSAGE X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.97563 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 HTML_MESSAGE BODY: HTML included in message ------=_Part_304651_1443242201.1337583266685 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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 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 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. ------=_Part_304651_1443242201.1337583266685 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <= div style=3D'font-family: times new roman,new york,times,serif; font-size: = 12pt; color: #000000'>
Changes committed to git://oss.sgi.com/nathans/p= cp.git dev

 src/libpcp_pmda/src/queues.c |   19 +
=  src/pmdas/bash/.gitignore    |    3  src/pmdas/bash/GNUmakefile   |   56 ++++
&nbs= p;src/pmdas/bash/Install       |   = 36 +++
 src/pmdas/bash/README      &n= bsp; |   50 ++++
 src/pmdas/bash/Remove   =      |   23 +
 src/pmdas/bash/event.c=        |  222 ++++++++++++++++++
&nbs= p;src/pmdas/bash/event.h       |   = 51 ++++
 src/pmdas/bash/help      &nb= sp;   |   45 +++
 src/pmdas/bash/pmda.c &n= bsp;      |  503 ++++++++++++++++++++++++++++= +++++++++++++++
 src/pmdas/bash/pmns     &= nbsp;    |   37 +++
 src/pmdas/bash/root&n= bsp;         |   10
&= nbsp;src/pmdas/bash/test-trace.sh |   46 +++
 13 files ch= anged, 1095 insertions(+), 6 deletions(-)

commit 41cae7e1f0c2328a238= 77e99499fd20ffbf86cd5
Author: Nathan Scott <nathans@debian.org>Date:   Mon May 21 16:51:50 2012 +1000

   = Initial version of the GNU Bash tracing PMDA
   
&nb= sp;   As of bash version 4, the -x trace output can be redirected=
    to a file descriptor.  A cooperative shell scri= pt can create
    (and then send all trace output to) a f= ifo, in a well-known
    place, such that pmdabash can re= ceive these events and then
    expose them as event metr= ics.  This data can include function
    and line nu= mber information, parent PID, command details and
    som= e low-resolution (at this stage) timing information.
    =
    Plenty of work still to come, but this initial versi= on has the
    basic mechanism working and most of the co= de.  Some issues to
    do with multiple-instances e= vent metrics seem to have surfaced
    (probably in my co= de here), which I'll have to set aside until
    I have s= ome 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
&n= bsp;   issues and QA tests and man page are still to come, of cou= rse,
    as it progresses and the bash/pmdabash interface= stabilises.

commit 035074fce2610002280ccc61901fc7b7b258c7f4
Auth= or: Nathan Scott <nathans@debian.org>
Date:   Mon May 21= 16:38:38 2012 +1000

    Dodge a null pointer derefer= ence in pmdaEventQueueAppend diagnostics.
   
 &= nbsp;  Also added some additional diagnostics in the client queue filt= ering.

------=_Part_304651_1443242201.1337583266685-- From kenj@internode.on.net Mon May 21 19:17:02 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,J_CHICKENPOX_62 autolearn=no version=3.4.0-r929098 Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q4M0H2Tk055568 for ; Mon, 21 May 2012 19:17:02 -0500 X-ASG-Debug-ID: 1337645818-04cb6c24fc9300d0001-S8gJnT Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by cuda.sgi.com with ESMTP id xLTwbvRkdRBqbUlM for ; Mon, 21 May 2012 17:16:59 -0700 (PDT) X-Barracuda-Envelope-From: kenj@internode.on.net X-Barracuda-Apparent-Source-IP: 150.101.137.145 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApIBADTauk920QsG/2dsb2JhbAANLwIGhS2yMwSBAQYCJgJTHQK0K5J7gSaJXxQBEIQDgRQDlRuBD5FcLIEZ Received: from ppp118-209-11-6.lns20.mel4.internode.on.net (HELO [192.168.1.100]) ([118.209.11.6]) by ipmail06.adl6.internode.on.net with ESMTP; 22 May 2012 09:46:57 +0930 Message-ID: <1337645907.4583.32.camel@bozo.localdomain> Subject: pcp updates From: Ken McDonell X-ASG-Orig-Subj: pcp updates To: pcp@oss.sgi.com Date: Tue, 22 May 2012 10:18:27 +1000 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2- Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Barracuda-Connect: ipmail06.adl6.internode.on.net[150.101.137.145] X-Barracuda-Start-Time: 1337645818 X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1.3 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.97631 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- First round of changes ... the lock-related ones are probably serious enough to be considered as potential 3.6.4 release fodder ... but there will be a second round to come for pmdumplog and pmlogextract (at least) for some really ugly problems (seen on OpenIndiana) associated with arithmetic errors caused by using a double to represent a timestamp ... this has to be excised. Changes committed to git://oss.sgi.com/kenj/pcp.git dev build/sun/pcp.xml | 58 +++++++++++++++ src/dbpmda/src/util.c | 13 +++ src/include/pcp/impl.h | 12 +++ src/libpcp/src/check-statics | 1 src/libpcp/src/context.c | 79 +++++++++++++++++++-- src/libpcp/src/derive.c | 46 +++++++++++- src/libpcp/src/interp.c | 1 src/libpcp/src/lock.c | 142 +++++++++++++++++++++++++++++++++++---- src/libpcp/src/util.c | 19 ++++- src/libpcp_fault/README | 25 ++++++ src/libpcp_fault/src/GNUmakefile | 9 +- src/pmdas/linux/cgroups.c | 31 +++++++- src/pmdas/linux/pmda.c | 5 - src/pmdas/trace/stub.c | 2 src/pmdbg/pmdbg.c | 2 src/pmdumplog/pmdumplog.c | 8 ++ src/pmie/src/show.c | 2 src/pmlogextract/pmlogextract.c | 7 + src/pmlogger/fetch.c | 9 +- src/pmlogger/pmlogger.c | 38 ++++++++-- 20 files changed, 460 insertions(+), 49 deletions(-) commit 3ea8062065e212dcdc3a1dcd993b6b208554f7f6 Author: Ken McDonell Date: Sun May 20 08:49:38 2012 +1000 libpcp_fault.so - make symlink to libpcp.so Only in workarea, not installed. Needed for QA (see 512 for bizarre explanation). commit 12679bfc7e18aeca8c34be37e5b4a17206cf222f Author: Ken McDonell Date: Sat May 19 22:24:36 2012 +1000 Add checks for all pthread_*() calls Check return values for all pthread_*() routines ... mostly related to mutexes. If the call fails report and exit(4) ... it is better to drop dead than blunder on believing we're thread-safe when one of the pthread_*() routines fails. - commit 29dbf1a2fc7bd89014732a47c491508d304c0303 Author: Ken McDonell Date: Sat May 19 21:35:04 2012 +1000 pmlogextract - bad lock recursion Similar to the pmlogger case, this is a 3.6 regression as fallout from making libpcp thread-safe on most platforms. I checked all of the similar cases in libpcp, but missed this one when an application (pmlogextract) is using an internal libpcp API that has locking side-effects. We were calling __pmHandleToPtr() (which returns with the context locked) and not being careful about releasing the context lock (c_lock) ... in the worst case, this was happening once per input log record (data or metadata). The fix is to release the context lock as soon as we've finished poking around with the context. commit 205af1e345a5cac21d58b7acdaf315f2040404ea Author: Ken McDonell Date: Sat May 19 21:32:33 2012 +1000 dbpmda - add comment to explain why context remains locked throughout commit 326ab916b583af358ff6a034793b5a07334a4fe9 Author: Ken McDonell Date: Sat May 19 18:11:03 2012 +1000 pmdumplog - add comment to explain why context remains locked throughout commit 09278bb2b198e47ef333ac4a456069d8c1208aa5 Author: Ken McDonell Date: Sat May 19 17:56:45 2012 +1000 Enable lock debug tracing for libpcp_fault. This variant of libpcp for QA includes both the fault injection infrastructure _and_ the new lock debug tracing features. commit a084372a4f7de89838b1d536dbd39f6d49408a31 Author: Ken McDonell Date: Sat May 19 17:42:17 2012 +1000 Add lock trace debugging for libpcp. This is _not_ enabled by default. Need to #define PM_MULTI_THREAD_DEBUG and rebuild libpcp. When this is done, all PM_LOCK() and PM_UNLOCK() calls are intercepted and optional diagnostics produced to report who is locking/unlocking what and report unusual lock counts (except for recursive locking we expect the lock count to be 0 before PM_LOCK() and 1 before PM_UNLOCK()) ... reporting is enabled by the [new] -Dlock debug option in concert with the -Dappl? options to selectively enable diagnostics for particular lock classes - appl0 for the libpcp global lock, appl1 for the per-context locks and appl2 for everything else (including the ipc channel lock). PCP QA is the only likely consumer of these features, unless we have problems that _really_ look like they are lock-related. commit 9c6c2d5dc430020fc2956aa36d6e14132b29d91a Author: Ken McDonell Date: Sat May 19 17:21:04 2012 +1000 pmlogger - bad lock recursion This is a 3.6 regression as fallout from making libpcp thread-safe on most platforms. I checked all of the similar cases in libpcp, but missed this one when an application (pmlogger) is using an internal libpcp API that has locking side-effects. We were calling __pmHandleToPtr() (which returns with the context locked) and not being careful about releasing the context lock (c_lock) ... in the worst case, this was in pmlogger's special fetch routine, so deeper locking recursion every time we fetch metrics to be logged. For many platforms, recursive locking seems to be allowed without obvious limit (probably 2^32 or 2^64 depending on how the mutex is implemented), but on Solaris (more specifically OpenIndiana) there appears to be a limit of 500 or so ... which we can hit easily in QA. The fix is to release the context lock as soon as we've finished poking around with the context, and if necessary re-acquire the context pointer and context lock later, then release it again ... repeat until bored. commit 324673d77526f113e61af53233c5317e9efdeb1e Author: Ken McDonell Date: Fri May 18 06:51:48 2012 +1000 Solaris init scripts rework. The pcp.xml manifest was missed in the pcp -> pmcd and pmlogger changes for the init scripts in PCP 3.6. commit 71fbef22283e13c008ce4acc524dde4a203a1c83 Author: Ken McDonell Date: Fri May 18 06:51:16 2012 +1000 interp.c - fix small mem leak on unlikely error path commit 686b96525ab3d26a6389ad7da821d4306a98c0ad Author: Ken McDonell Date: Thu May 17 17:22:18 2012 +1000 trace demo stub.c - sys_nerr is not all that portable! commit cd45147c3f60648b1898a785debf74360a93e6dd Author: Ken McDonell Date: Tue May 15 08:32:37 2012 +1000 pmlogger/pmlc/libpcp - fix segv in diag dark corner pmlc and pmlogger use pmResults in a perverse ways to encode logging state ... this was causing pmlogger to dump core when it was running with full diagnostics enabled and pmlc enquired about the logging state for event record metrics! Found by accident when investigating a QA 139 failure on one host, a new QA 510 now checks explicitly for this unusual combination. commit c51adc15849173f65cfba9f1abca6ea7f0d39a2a Author: Ken McDonell Date: Tue May 15 08:31:38 2012 +1000 pmie - NaN fixup Small error in the last round of NaN changes ... conditional code when fpclassify() is not available was wrong. commit 2fc49a724119505d80121fe004b4455f7a63937f Author: Ken McDonell Date: Mon May 14 06:03:43 2012 +1000 linux pmda - fix unaligned memory access for cgroup.subsys.hierarchy Code was incorrectly using opaque pointer to private data with the pmdaCache*() routines causing unaligned memory accesses on ia64 platforms. Although this problem is fixed, this code still seems a bit dodgey and would appear to do the wrong thing if /proc/cgroups ever contained more than one subsystem hierarchy with the same subsystem name in more than one hierarchy (not sure if that is possible). From kenj@internode.on.net Mon May 21 19:17:04 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q4M0H4Zq055577 for ; Mon, 21 May 2012 19:17:04 -0500 X-ASG-Debug-ID: 1337645818-04cb6c24fc9300d0002-S8gJnT Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by cuda.sgi.com with ESMTP id KAASZuP2ISk1arGH for ; Mon, 21 May 2012 17:17:02 -0700 (PDT) X-Barracuda-Envelope-From: kenj@internode.on.net X-Barracuda-Apparent-Source-IP: 150.101.137.145 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApIBADTauk920QsG/2dsb2JhbAANN4UtsjOBBQYCJgJTH7QrknuBJolfgh6CCoEUA5Ubkms Received: from ppp118-209-11-6.lns20.mel4.internode.on.net (HELO [192.168.1.100]) ([118.209.11.6]) by ipmail06.adl6.internode.on.net with ESMTP; 22 May 2012 09:47:01 +0930 Message-ID: <1337645913.4583.33.camel@bozo.localdomain> Subject: pcpqa updates From: Ken McDonell X-ASG-Orig-Subj: pcpqa updates To: pcp@oss.sgi.com Date: Tue, 22 May 2012 10:18:33 +1000 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2- Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Barracuda-Connect: ipmail06.adl6.internode.on.net[150.101.137.145] X-Barracuda-Start-Time: 1337645820 X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1.3 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.97631 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcpqa.git 512 | 143 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 512.out | 28 ++++++++++++ group | 1 3 files changed, 172 insertions(+) commit f9c14204b4be46eaa3228c5bdc871a0effb81399 Author: Ken McDonell Date: Sun May 20 13:41:20 2012 +1000 512 [new] - check for recursive lock leakage To make this work, need new libpcp_fault + -Dlock changes + recent lock rework for PCP. From kenj@internode.on.net Wed May 23 06:05:41 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,J_CHICKENPOX_65 autolearn=no version=3.4.0-r929098 Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q4NB5eB0136954 for ; Wed, 23 May 2012 06:05:41 -0500 X-ASG-Debug-ID: 1337771138-04cb6c24fc9e6200001-S8gJnT Received: from ipmail04.adl6.internode.on.net (ipmail04.adl6.internode.on.net [150.101.137.141]) by cuda.sgi.com with ESMTP id jFNbH0Df8TZBGHG0 for ; Wed, 23 May 2012 04:05:39 -0700 (PDT) X-Barracuda-Envelope-From: kenj@internode.on.net X-Barracuda-Apparent-Source-IP: 150.101.137.141 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApIBADbEvE920QsG/2dsb2JhbAANNoUvskeBBQYCJgJTH7AIknKBJolpgiKCCoEUA6gI Received: from ppp118-209-11-6.lns20.mel4.internode.on.net (HELO [192.168.1.101]) ([118.209.11.6]) by ipmail04.adl6.internode.on.net with ESMTP; 23 May 2012 20:35:37 +0930 Message-ID: <1337771137.17416.0.camel@bozo-laptop.localdomain> Subject: pcpqa updates From: Ken McDonell X-ASG-Orig-Subj: pcpqa updates To: pcp@oss.sgi.com Date: Wed, 23 May 2012 21:05:37 +1000 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2- Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Barracuda-Connect: ipmail04.adl6.internode.on.net[150.101.137.141] X-Barracuda-Start-Time: 1337771138 X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1.3 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.97768 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcpqa.git .gitignore | 2 070 | 16 ++ 070.out | 351 ----------------------------------------------------------- 070.out.1 | 351 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 070.out.2 | 334 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 137 | 2 255 | 27 +++- 261 | 16 ++ 261.out | 285 ----------------------------------------------- 261.out.1 | 285 +++++++++++++++++++++++++++++++++++++++++++++++ 261.out.2 | 286 +++++++++++++++++++++++++++++++++++++++++++++++- 296 | 2 301 | 18 ++- 308 | 4 323 | 23 +++ 326 | 2 344 | 4 597 | 11 + 597.out.1 | 46 ------- 597.out.2 | 46 ------- common.check | 7 - group | 2 22 files changed, 1364 insertions(+), 756 deletions(-) commit 2b96238d64fb980868b1bdca0446882ae3b1a472 Author: Ken McDonell Date: Wed May 23 20:47:45 2012 +1000 More Solaris (OpenIndiana) changes Third batch of changes to increase QA pass rate on OpenIndiana. All porting fixes, no real functional changes here. commit 293246235d0f7620400fe28bcfdd22fc50f96fb2 Author: Ken McDonell Date: Wed May 23 20:46:51 2012 +1000 261 - missed 261.out.2 in last commit commit e9dc416c72eedad9afb64ec140bfc360a707597d Author: Ken McDonell Date: Wed May 23 20:44:50 2012 +1000 261 - new output after recent changes to pmlogextract commit 748d65181f0e987522494ff6189f1b4bcabe8806 Author: Ken McDonell Date: Sun May 20 19:26:20 2012 +1000 070 - slightly different output after 3.6.2