From mailman-bounces@oss.sgi.com Sun Apr 1 05:30:40 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 q31AGDBB143535 for ; Sun, 1 Apr 2012 05:16:13 -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: Sun, 01 Apr 2012 05:00:34 -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 mgoodwin@redhat.com Sun Apr 1 23:54:49 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_64 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 q324snpZ086239 for ; Sun, 1 Apr 2012 23:54:49 -0500 X-ASG-Debug-ID: 1333342486-04cbb05c3b8199a0001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id C4g1kFejmUSRpFDc for ; Sun, 01 Apr 2012 21:54:47 -0700 (PDT) X-Barracuda-Envelope-From: mgoodwin@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q324skFn000865 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 2 Apr 2012 00:54:46 -0400 Received: from fletch.usersys.redhat.com (vpn1-49-161.bne.redhat.com [10.64.49.161]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q324sijn010462 for ; Mon, 2 Apr 2012 00:54:45 -0400 Message-ID: <4F793113.5000102@redhat.com> Date: Mon, 02 Apr 2012 14:54:43 +1000 From: Mark Goodwin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120209 Thunderbird/10.0.1 MIME-Version: 1.0 To: pcp Subject: pcp updates Content-Type: multipart/mixed; boundary="------------030901020600090009020404" X-ASG-Orig-Subj: pcp updates X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1333342487 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.92940 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- This is a multi-part message in MIME format. --------------030901020600090009020404 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Changes committed to git://oss.sgi.com/pcp/pcp.git dev commit d92e5e17b1d9338a86e2211972bd9a7c8d1f1bd6 Author: Mark Goodwin Date: Mon Apr 2 14:48:49 2012 +1000 Keep /proc/stat open to avoid open/close overheads on the most commonly fetched metric subtree. modified: src/pmdas/linux/proc_stat.c Signed-off-by: Mark Goodwin --------------030901020600090009020404 Content-Type: text/plain; name="coverity_2nd_batch_mgoodwin.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="coverity_2nd_batch_mgoodwin.txt" Coverity Errors ID Checker File Function Classification 3 BAD_FREE /src2/git/pcp/src/pmdumplog/pmdumplog.c dumpresult UNINSPECTED commit 915fb200651a3f3f68abbee3480a4981e310ca39 Author: Mark Goodwin Date: Tue Feb 14 16:18:20 2012 +1100 Minor code clarification for Coverity #3 modified: src/pmdumplog/pmdumplog.c 21 CONSTANT_EXPRESSION_RESULT /src2/git/pcp/src/pmlogreduce/dometric.c dometric UNINSPECTED 22 CONSTANT_EXPRESSION_RESULT /src2/git/pcp/src/pmlogreduce/indom.c doindom UNINSPECTED 23 CONSTANT_EXPRESSION_RESULT /src2/git/pcp/src/pmlogreduce/scan.c doscan UNINSPECTED -- (above 3) already fixed by someone else 34 DEADCODE /src2/git/pcp/src/libpcp_trace/src/trace.c _pmauxtraceconnect UNINSPECTED - harmless, ignored 37 FORWARD_NULL /src2/git/pcp/src/pmlogreduce/dometric.c dometric UNINSPECTED - already fixed 38 FORWARD_NULL /src2/git/pcp/src/pmlc/ yy_get_next_buffer UNINSPECTED - yacc or lex, ignored 58 FORWARD_NULL /src2/git/pcp/src/pmlc/actions.c Status UNINSPECTED commit 1f3d63c62bafda3907b387012c7611a5df7a0703 Author: Mark Goodwin Date: Tue Feb 14 16:30:44 2012 +1100 Fix NULL dereference for IPC version < LOG_PDU_VERSION2, Coverity #58 modified: src/pmlc/actions.c 61 FORWARD_NULL /src2/git/pcp/src/pmlc/actions.c Status UNINSPECTED commit d94748ecc72f68bd3fd5f122d8c631e413c00ba6 Author: Mark Goodwin Date: Tue Feb 14 16:37:04 2012 +1100 No support for logger IPC version < LOG_PDU_VERSION2 modified: src/pmlc/actions.c 65 FORWARD_NULL /src2/git/pcp/src/pmns/pmnsdel.c delpmns UNINSPECTED -- needs another look TODO 71 FORWARD_NULL /src2/git/pcp/src/pmstat/pmstat.c main UNINSPECTED - OK, ignored 74 FORWARD_NULL /src2/git/pcp/src/pmcpp/pmcpp.c directive UNINSPECTED commit 80eddbcbe47fcc024699530029e926664c43f204 Author: Mark Goodwin Date: Tue Feb 14 16:59:11 2012 +1100 Guard against dereferencing a zero length macro value, coverity #74 modified: src/pmcpp/pmcpp.c 85 NEGATIVE_RETURNS /src2/git/pcp/src/cpan/PMDA/PMDA.c XS_PCP__PMDA_put_sock UNINSPECTED -- TODO 86 NEGATIVE_RETURNS /src2/git/pcp/src/libpcp_mmv/src/mmv_stats.c mmv_stats_stop UNINSPECTED -- need to somehow handle munmap(addr, (size_t)-1) ... TODO 106 NEGATIVE_RETURNS /src2/git/pcp/src/pmdumplog/pmdumplog.c rawdump UNINSPECTED -- not a problem, ignored 107 NEGATIVE_RETURNS /src2/git/pcp/src/libpcp_gui/src/record.c pmRecordSetup UNINSPECTED commit a2a7f04689b1fbd677b088f1e40c93d99dc92522 Author: Mark Goodwin Date: Tue Feb 14 15:29:39 2012 +1100 Check return of mkstemp. modified: src/libpcp_gui/src/record.c 111 NEGATIVE_RETURNS /src2/git/pcp/src/pmlogreduce/logio.c _pmLogGet UNINSPECTED -- ignore 123 NO_EFFECT /src2/git/pcp/src/cpan/MMV/MMV.xs list_to_indom UNINSPECTED commit 19915b5592f384dc3ecd009b316fba63fc069b6b Author: Mark Goodwin Date: Mon Feb 27 12:00:32 2012 +1100 Fix error handling in return from list_to_instances(). Coverity #123 modified: src/cpan/MMV/MMV.xs 126 NULL_RETURNS /src2/git/pcp/src/cpan/PMDA/PMDA.xs pmns_write UNINSPECTED -- already fixed 134 OVERRUN_DYNAMIC /src2/git/pcp/src/libpcp_http/src/http_fetcher.c http_parseFilename UNINSPECTED -- already fixed 135 OVERRUN_DYNAMIC /src2/git/pcp/src/dbpmda/src/pmda.c fillResult UNINSPECTED -- already fixed 136 OVERRUN_DYNAMIC /src2/git/pcp/src/libpcp_http/src/http_fetcher.c http_setReferer UNINSPECTED -- already fixed 137 OVERRUN_DYNAMIC /src2/git/pcp/src/libpcp_http/src/http_fetcher.c http_setUserAgent UNINSPECTED -- already fixed 145 RESOURCE_LEAK /src2/git/pcp/src/libpcp_trace/src/hash.c __pmhashinsert UNINSPECTED commit 33720167d138827f40a8b048e80c43aca5dee581 Author: Mark Goodwin Date: Mon Feb 27 12:17:15 2012 +1100 Fix resource leak on failed malloc. Coverity #145 modified: src/libpcp_trace/src/hash.c 151 RESOURCE_LEAK /src2/git/pcp/src/pmevent/pmevent.c myeventdump UNINSPECTED 152 RESOURCE_LEAK /src2/git/pcp/src/pminfo/pminfo.c myeventdump UNINSPECTED -- TODO, (above two): needs another look - resource leak on err handling path. 171 RESOURCE_LEAK /src2/git/pcp/src/cpan/PMDA/PMDA.xs list_to_indom UNINSPECTED commit f729697fd619384a2be32c5ac856b68a1f418279 Author: Mark Goodwin Date: Mon Feb 27 12:30:40 2012 +1100 Plug resource leak in error handling path. modified: src/cpan/PMDA/PMDA.xs And also : commit 9cd1702ba67daa61f778cb15afb97001d33211cc Author: Mark Goodwin Date: Mon Feb 27 14:03:55 2012 +1100 Fix minor build issue after the last Coverity change. modified: src/cpan/PMDA/PMDA.xs 186 RESOURCE_LEAK /src2/git/pcp/src/pmlogreduce/logio.c _pmLogGet UNINSPECTED commit 833a41070e56cc2396090ffc2c3de07832931a85 Author: Mark Goodwin Date: Mon Feb 27 12:39:39 2012 +1100 Plug resource leak in error handling path when log record read fails. Coverity #186 modified: src/pmlogreduce/logio.c 195 RESOURCE_LEAK /src2/git/pcp/src/pmevent/pmevent.c getvals UNINSPECTED commit 94c772c71bc13079f1f05cd113909f9d62e593b1 Author: Mark Goodwin Date: Mon Feb 27 12:45:12 2012 +1100 Plug resource leak in err handling path, coverity #195 modified: src/pmevent/pmevent.c 202 RESOURCE_LEAK /src2/git/pcp/src/pmns/pmnsmerge.c sortargs UNINSPECTED commit 7e2632db0dfe61c37e5c1f31fc70de833ceb5ae5 Author: Mark Goodwin Date: Mon Feb 27 12:49:25 2012 +1100 Free temp memory used by qsort. modified: src/pmns/pmnsmerge.c 206 RESOURCE_LEAK /src2/git/pcp/src/pmlc/actions.c LogCtl UNINSPECTED -- ignore - if this happens, memory leak is the least of our worries 236 RESOURCE_LEAK /src2/git/pcp/src/pminfo/pminfo.c report UNINSPECTED 237 RESOURCE_LEAK /src2/git/pcp/src/pminfo/pminfo.c report UNINSPECTED - ignore (above two) - leaked memory is freed on exit and we don't iterate 254 REVERSE_INULL /src2/git/pcp/src/newhelp/newhelp.c main UNINSPECTED commit 56b77c33a117d323e20138a262f2587a9420c2f9 Author: Mark Goodwin Date: Mon Feb 27 13:00:35 2012 +1100 Check what bp points to, not bp itself. Coverity #254. modified: src/newhelp/newhelp.c 255 REVERSE_INULL /src2/git/pcp/src/libpcp_trace/src/trace.c _pmlibdel UNINSPECTED 273 SIZECHECK /src2/git/pcp/src/libpcp_http/src/http_fetcher.c http_setUserAgent UNINSPECTED 274 SIZECHECK /src2/git/pcp/src/libpcp_http/src/http_fetcher.c http_setReferer UNINSPECTED 275 SIZECHECK /src2/git/pcp/src/libpcp_http/src/http_fetcher.c http_parseFilename UNINSPECTED 300 UNINIT /src2/git/pcp/src/pmlc/actions.c ConnectPMCD UNINSPECTED commit c794f207f36a4a743104babaca29b6653e891fce Author: Mark Goodwin Date: Mon Feb 27 11:53:06 2012 +1100 Fix possible uninitialized reference to pdu buffer. Coverity #300. modified: src/pmlc/actions.c 314 UNUSED_VALUE /src2/git/pcp/src/libpcp_trace/src/trace.c _pmauxtraceconnect UNINSPECTED 315 UNUSED_VALUE /src2/git/pcp/src/libpcp_trace/src/trace.c _pmauxtraceconnect UNINSPECTED Above two: commit 6e35cebc703a9683ec071479af717d849e98d572 Author: Mark Goodwin Date: Mon Feb 27 13:06:58 2012 +1100 use the correct variable for the trace port from the environment, Coverity 314 and 315. modified: src/libpcp_trace/src/trace.c 323 USE_AFTER_FREE /src2/git/pcp/src/pmdumplog/pmdumplog.c dumpDesc UNINSPECTED -- ignore - I think Coverity is wrong. 336 USE_AFTER_FREE /src2/git/pcp/src/libpcp_import/src/archive.c _pmi_put_result UNINSPECTED -- TODO -- needs a closer look. 344 USE_AFTER_FREE /src2/git/pcp/src/pmevent/pmevent.c getvals UNINSPECTED -- should also be fixed by 94c772c71bc13079f1f05cd113909f9d62e593b1 for Coverity #195 346 USE_AFTER_FREE /src2/git/pcp/src/libpcp_import/src/archive.c _pmi_put_result UNINSPECTED -- TODO - needs another pair of eyes 352 USE_AFTER_FREE /src2/git/pcp/src/pmlogreduce/scan.c doscan UNINSPECTED -- TODO - I think this is OK, but needs another pair of eyes 353 USE_AFTER_FREE /src2/git/pcp/src/pmdumplog/pmdumplog.c dumpresult UNINSPECTED -- OK I think after changes for Coverity #3 --------------030901020600090009020404-- From scox@redhat.com Wed Apr 4 11:29:17 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_33 autolearn=no version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q34GTGHJ181363 for ; Wed, 4 Apr 2012 11:29:17 -0500 X-ASG-Debug-ID: 1333556955-04bdf04aa08c0750001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id GcIuqiXcEwadMRLN for ; Wed, 04 Apr 2012 09:29:15 -0700 (PDT) X-Barracuda-Envelope-From: scox@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q34GTFig008403 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 4 Apr 2012 12:29:15 -0400 Received: from [10.11.230.58] (unused [10.11.230.58] (may be forged)) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q34GTEwa031003 for ; Wed, 4 Apr 2012 12:29:14 -0400 Message-ID: <4F7C76E2.2010507@redhat.com> Date: Wed, 04 Apr 2012 12:29:22 -0400 From: Stan Cox User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1 MIME-Version: 1.0 To: pcp@oss.sgi.com Subject: python pmapi interface Content-Type: multipart/mixed; boundary="------------030103030304080705080504" X-ASG-Orig-Subj: python pmapi interface X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1333556955 X-Barracuda-URL: http://192.48.157.11: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.93177 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- This is a multi-part message in MIME format. --------------030103030304080705080504 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I am in the process of adding a python pmapi interface. In the sourceware.org/git/pcpfans.git repository I added src/src/python/py-pmapi.c. Currently I have equivalents for pmNewContext, pmLookupName, pmLookupDesc, pmFetch, pmExtractValue and am adding other functionality in a similar manner. Attached is a small python sample that is doing nothing in particular but gives the flavor of how the interface works. Suggestions? --------------030103030304080705080504 Content-Type: text/x-python; name="tst.py" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="tst.py" import pcp import time pm_code = pcp.pmNewContext() if (pm_code < 0): print "PCP is not running" exit cpu_name = pcp.pmLookupName("hinv.ncpu") cpu_desc = pcp.pmLookupDesc(cpu_name) cpu_result = pcp.pmFetch(cpu_name) ncpu = pcp.pmExtractValue(cpu_result, cpu_desc, cpu_name[0], 0, "PM_TYPE_U32") print "#cpus is " + str(ncpu) previous_cpu_user = [0,0,0,0] previous_cpu_sys = [0,0,0,0] metrics = ("kernel.all.load", "kernel.percpu.cpu.user", "kernel.percpu.cpu.sys", "mem.freemem", "disk.all.total") metric_names = pcp.pmLookupName(metrics) metric_descs = pcp.pmLookupDesc(metric_names) n = 0 while n < 2: metric_results = pcp.pmFetch(metric_names) cpu = 0 while cpu < ncpu: pm_result = pcp.pmFetch(metric_names[1]) val = pcp.pmExtractValue(metric_results, metric_descs, metric_names[1], cpu, "PM_TYPE_FLOAT") print "cpu user val = " + str(val - previous_cpu_user[cpu]) previous_cpu_user[cpu] = val pm_result = pcp.pmFetch(metric_names[2]) val = pcp.pmExtractValue(metric_results, metric_descs, metric_names[2], cpu, "PM_TYPE_FLOAT") print "cpu sys val = " + str(val - previous_cpu_sys[cpu]) previous_cpu_sys[cpu] = val cpu = cpu + 1 print "SLEEP" time.sleep(3) n = n + 1 --------------030103030304080705080504-- From fche@redhat.com Wed Apr 4 11:47:20 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 (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q34GlJN5184033 for ; Wed, 4 Apr 2012 11:47:19 -0500 X-ASG-Debug-ID: 1333558037-04bdf04aa08c1810001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id Cwj5tJf661FhdBr0 for ; Wed, 04 Apr 2012 09:47:17 -0700 (PDT) X-Barracuda-Envelope-From: fche@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q34GlHqs003142 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 4 Apr 2012 12:47:17 -0400 Received: from fche.csb (vpn-9-146.rdu.redhat.com [10.11.9.146]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q34GlGE8023182; Wed, 4 Apr 2012 12:47:16 -0400 Received: by fche.csb (Postfix, from userid 2569) id 09B2A58126; Wed, 4 Apr 2012 12:47:15 -0400 (EDT) To: Stan Cox Cc: pcp@oss.sgi.com Subject: Re: python pmapi interface References: <4F7C76E2.2010507@redhat.com> X-ASG-Orig-Subj: Re: python pmapi interface From: fche@redhat.com (Frank Ch. Eigler) Date: Wed, 04 Apr 2012 12:47:15 -0400 In-Reply-To: <4F7C76E2.2010507@redhat.com> (Stan Cox's message of "Wed, 04 Apr 2012 12:29:22 -0400") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1333558037 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.01 X-Barracuda-Spam-Status: No, SCORE=0.01 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1.3 tests=BSF_SC0_SA_TO_FROM_DOMAIN_MATCH X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.93177 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.01 BSF_SC0_SA_TO_FROM_DOMAIN_MATCH Sender Domain Matches Recipient Domain Hi, Stan - scox wrote: > [...] > pm_code = pcp.pmNewContext() > if (pm_code < 0): > print "PCP is not running" > exit Some encoding of the error would be nice. Is the context value hidden inside the pm_code object, or inside the pcp library? If the latter, this would be a problem for apps that want to juggle between multiple contexts. Could pcp.pmNewContext() return a python context object upon which further calls would be made? > cpu_name = pcp.pmLookupName("hinv.ncpu") > cpu_desc = pcp.pmLookupDesc(cpu_name) > cpu_result = pcp.pmFetch(cpu_name) > ncpu = pcp.pmExtractValue(cpu_result, cpu_desc, cpu_name[0], 0, "PM_TYPE_U32") I wonder if it should be necessary to do all that LookupDesc/Fetch/ExtractValue as separate steps. Could these be combined into a single ncpu = pcp.pmFetch("hinv.ncpu" /* or array of same */, [0] /* instances */, PM_TYPE_U32 /* requested format */) and have pmFetch internally do the pmLookupDesc / pmFetch / pmExtractValue? (Or else have another combined function that does the same?) > [...] > metrics = ("kernel.all.load", "kernel.percpu.cpu.user", "kernel.percpu.cpu.sys", "mem.freemem", "disk.all.total") > metric_names = pcp.pmLookupName(metrics) > metric_descs = pcp.pmLookupDesc(metric_names) This vectorish approach looks nice! - FChE From wwwrun@oss.sgi.com Wed Apr 4 12:51:30 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.7 required=5.0 tests=ALL_TRUSTED,BAYES_00, J_CHICKENPOX_35,J_CHICKENPOX_66 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 q34HpTWd192640 for ; Wed, 4 Apr 2012 12:51:29 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id q34HpTcZ192639; Wed, 4 Apr 2012 12:51:29 -0500 Date: Wed, 4 Apr 2012 12:51:29 -0500 From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 918] New: pcpqa execution with less manual setup X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: fche@redhat.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: kenj@internode.on.net X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=918 Summary: pcpqa execution with less manual setup Product: pcp Version: unspecified Platform: All OS/Version: Linux Status: NEW Severity: major Priority: P5 Component: pcp AssignedTo: kenj@internode.on.net ReportedBy: fche@redhat.com CC: pcp@oss.sgi.com Estimated Hours: 0.0 Classification: Unclassified It would be desirable if pcpqa had a script - beyond chk.setup and its kind - that would perform all the setup required on a host, including: - pcpqa user setup - pcp logger setup - remote-host setup, for localhost - common.config and qa_hosts.master filling in so that a root sysadmin, having just built/installed pcp from sources, and pcpqa freshly downloaded, could run the testsuite. This would help handing off of pcpqa as a testuite to qa folks who are not also pcp developers / administrators. -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From wwwrun@oss.sgi.com Wed Apr 4 12:53:54 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.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham 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 q34Hrsjl192865 for ; Wed, 4 Apr 2012 12:53:54 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id q34HrrH5192864; Wed, 4 Apr 2012 12:53:53 -0500 Date: Wed, 4 Apr 2012 12:53:53 -0500 From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 919] New: ipv6 support X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: fche@redhat.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: brolley@redhat.com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=919 Summary: ipv6 support Product: pcp Version: unspecified Platform: All OS/Version: Linux Status: NEW Severity: major Priority: P5 Component: pcp AssignedTo: brolley@redhat.com ReportedBy: fche@redhat.com CC: pcp@oss.sgi.com Estimated Hours: 0.0 Classification: Unclassified It would be desirable if ipv6 was better supported in pcp. This includes at least: - teaching libpcp to take ipv6 addresses as remote host names - teaching pcpd / pmproxy to listen on ipv6 addresses - teaching various ip-address-related pmdas to pass them -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From wwwrun@oss.sgi.com Wed Apr 4 12:55:18 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.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham 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 q34HtI4w193215 for ; Wed, 4 Apr 2012 12:55:18 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id q34HtIFT193214; Wed, 4 Apr 2012 12:55:18 -0500 Date: Wed, 4 Apr 2012 12:55:18 -0500 From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 920] New: python bindings for PMAPI X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: fche@redhat.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: scox@redhat.com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=920 Summary: python bindings for PMAPI Product: pcp Version: unspecified Platform: All OS/Version: Linux Status: NEW Severity: major Priority: P5 Component: pcp AssignedTo: scox@redhat.com ReportedBy: fche@redhat.com CC: pcp@oss.sgi.com Estimated Hours: 0.0 Classification: Unclassified At present, there is only a C binding for PMAPI, not even perl. A python client binding would be helpful in environments where sysadmin tooling is routinely written in python. -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From fche@redhat.com Wed Apr 4 15:25:54 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 q34KPsLL211454 for ; Wed, 4 Apr 2012 15:25:54 -0500 X-ASG-Debug-ID: 1333571152-04cbb05c3b924590001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id 2EEX4wrLYigpBOKy for ; Wed, 04 Apr 2012 13:25:53 -0700 (PDT) X-Barracuda-Envelope-From: fche@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q34KPqoX021505 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 4 Apr 2012 16:25:52 -0400 Received: from fche.csb (vpn-9-146.rdu.redhat.com [10.11.9.146]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q34KPqiN031660 for ; Wed, 4 Apr 2012 16:25:52 -0400 Received: by fche.csb (Postfix, from userid 2569) id 8FBB858126; Wed, 4 Apr 2012 16:25:51 -0400 (EDT) Date: Wed, 4 Apr 2012 16:25:51 -0400 From: "Frank Ch. Eigler" To: pcp developers Subject: PMNS scope globality Message-ID: <20120404202551.GA29020@redhat.com> X-ASG-Orig-Subj: PMNS scope globality Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1333571153 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.93194 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Hi - Can someone explain how come PMNS data is stored in libpcp on a per-process basis (in libpcp/src/pmns.c:curr_pmns) rather than per-context? Does this not make it impossible to operate with different PMNS setups with different contexts, e.g. if one makes one connection to a remote server, and another to a local archive-v2 file? - FChE From kenj@internode.on.net Wed Apr 4 19:06: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.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 q3506lB8238671 for ; Wed, 4 Apr 2012 19:06:47 -0500 X-ASG-Debug-ID: 1333584404-04cb6c40f179ce90001-S8gJnT Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by cuda.sgi.com with ESMTP id jfU2YGDaT4gmTOhS for ; Wed, 04 Apr 2012 17:06:45 -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: ApMBALbhfE9ukWEx/2dsb2JhbAANOIVNtXkBAQEEIwRSEAsNCwICJgICVwawZJFQgS+OCIEYBJt1jRc Received: from unknown (HELO [10.247.74.35]) ([110.145.97.49]) by ipmail06.adl6.internode.on.net with ESMTP; 05 Apr 2012 09:36:42 +0930 Message-ID: <1333584398.2439.13.camel@bozo-laptop.localdomain> Subject: Re: [pcp] PMNS scope globality From: Ken McDonell X-ASG-Orig-Subj: Re: [pcp] PMNS scope globality To: "Frank Ch. Eigler" Cc: pcp developers Date: Thu, 05 Apr 2012 10:06:38 +1000 In-Reply-To: <20120404202551.GA29020@redhat.com> References: <20120404202551.GA29020@redhat.com> 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: 1333584404 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.93208 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- On Wed, 2012-04-04 at 16:25 -0400, Frank Ch. Eigler wrote: > Hi - > > Can someone explain how come PMNS data is stored in libpcp on a > per-process basis (in libpcp/src/pmns.c:curr_pmns) rather than > per-context? Does this not make it impossible to operate with > different PMNS setups with different contexts, e.g. if one makes one > connection to a remote server, and another to a local archive-v2 file? OK Frank, brace yourself for some ancient history ... In current versions of the protocols (aka with the distributed namespace), for live use the only person to load the PMNS is pmcd and pmcd is single-threaded and pmcd presents the _same_ PMNS to all clients irrespective of the context they are using ... this one PMNS is loaded and reloaded into the address space of pmcd as PMDAs come and go. If a client calls pmLoadNameSpace (this is the old style and generally does not happen these days outside QA), then there is a single PMNS that is loaded and this is used for _all_ non-archive contexts ... so very bizarre results may happen if you use more than one host context and call pmLoadNameSpace() ... unless all the hosts have the same real namespace. If the client does not call pmLoadNameSpace() and uses a local context then the default PMNS is loaded when the context is created using the same logic as the old style, i.e. the one global PMNS is setup for the local context. For an archive context there is one PMNS per archive (accessed via ctxp->c_archctl->ac_log->l_pmns) ... this PMNS comes from the metadata in the archive. As a result curr_pmns is serving multiple purposes - _the_ PMNS for pmcd - _the_ PMNS for local contexts - _the_ PMNS for all host contexts if pmLoadNameSpace() is explicitly called So the scenario you foreshadow does work ... with one PMNS from each the remote pmcd context (in pmcd) and one PMNS for each archive context (in the client). I know this is a convoluted answer, the short verion is that for all "normal" (tm) uses, there is one PMNS per context. Hope this helps ... 8^)> From mgoodwin@redhat.com Wed Apr 4 19:07:44 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 q3507h7U238793 for ; Wed, 4 Apr 2012 19:07:44 -0500 X-ASG-Debug-ID: 1333584462-04cb6c40f479cf40001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id sdbJj3LMjnCXwDvy for ; Wed, 04 Apr 2012 17:07:42 -0700 (PDT) X-Barracuda-Envelope-From: mgoodwin@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q3507g1g016134 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 4 Apr 2012 20:07:42 -0400 Received: from fletch.usersys.redhat.com (dhcp-176-234.mel.redhat.com [10.64.176.234]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q3507f4F002227 for ; Wed, 4 Apr 2012 20:07:41 -0400 Message-ID: <4F7CE24C.1060402@redhat.com> Date: Thu, 05 Apr 2012 10:07:40 +1000 From: Mark Goodwin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120209 Thunderbird/10.0.1 MIME-Version: 1.0 To: pcp@oss.sgi.com Subject: Re: [pcp] PMNS scope globality References: <20120404202551.GA29020@redhat.com> X-ASG-Orig-Subj: Re: [pcp] PMNS scope globality In-Reply-To: <20120404202551.GA29020@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1333584462 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.93208 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- On 04/05/2012 06:25 AM, Frank Ch. Eigler wrote: > Hi - > > Can someone explain how come PMNS data is stored in libpcp on a > per-process basis (in libpcp/src/pmns.c:curr_pmns) rather than > per-context? Does this not make it impossible to operate with > different PMNS setups with different contexts, e.g. if one makes one > connection to a remote server, and another to a local archive-v2 file? Live/host mode uses a distributed pmns, so a host-mode connection to a remote server uses the remote pmns (loaded by the remote pmcd) via the PCP IPC protocol. An archive-mode context uses the local PMNS from the archive. make sense?? Cheers -- Mark From ndsco1@student.monash.edu Thu Apr 5 05:11:24 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 (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q35ABNTD020399 for ; Thu, 5 Apr 2012 05:11:24 -0500 X-ASG-Debug-ID: 1333620680-04cb6c40f17bfc70001-S8gJnT Received: from kyle.its.monash.edu.au (kyle.its.monash.edu.au [130.194.13.163]) by cuda.sgi.com with ESMTP id 8egLe0eIGHbdBndl for ; Thu, 05 Apr 2012 03:11:21 -0700 (PDT) X-Barracuda-Envelope-From: ndsco1@student.monash.edu X-Barracuda-Apparent-Source-IP: 130.194.13.163 Received: from jones.its.monash.edu.au ([130.194.13.86]) by kyle.its.monash.edu.au (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0M2000AQS4AVGEB0@kyle.its.monash.edu.au> for pcp@oss.sgi.com; Thu, 05 Apr 2012 20:11:19 +1000 (EST) Received: from jones.its.monash.edu.au (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 485DC8BDDB7 for ; Thu, 05 Apr 2012 20:11:19 +1000 (EST) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by jones.its.monash.edu.au (Postfix) with ESMTPS id CA53D8BDDA8 for ; Thu, 05 Apr 2012 20:11:18 +1000 (EST) Received: by mail-pb0-f54.google.com with SMTP id wz17so1350170pbc.41 for ; Thu, 05 Apr 2012 03:11:18 -0700 (PDT) Received: by 10.68.132.99 with SMTP id ot3mr5661282pbb.160.1333620678416; Thu, 05 Apr 2012 03:11:18 -0700 (PDT) Received: by 10.68.59.74 with HTTP; Thu, 05 Apr 2012 03:11:18 -0700 (PDT) Date: Thu, 05 Apr 2012 20:11:18 +1000 From: Nathan Scott Subject: Re: [pcp] python pmapi interface In-reply-to: X-ASG-Orig-Subj: Re: [pcp] python pmapi interface Sender: ndsco1@student.monash.edu To: Stan Cox , "Frank Ch. Eigler" Cc: pcp@oss.sgi.com Message-id: MIME-version: 1.0 Content-type: multipart/alternative; boundary=047d7b15a68bcd584504bcebc29d X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=Ef3twzkNlZBFOEkPsqk/2JXrS3CGfVxVahzqv0IDmio=; b=ehRRsm/MQEamUWFdLUL93d5uCGxAgWBux2pZiNY4pJSCL30yObUOjMP10s9GodjHWY 7UuC1MBhaTCOxHbXG4I/S+GSLbyUQusUwL96g0eWDNvM6vhvE40lYNtWyDFxlk+MgO1W UOCVUQfAwyGNIq965klxX2xnMsyz8t47hnksAJZW2jhb97sHyaBuQUX0xLa3oQIpVGCk qFRbyI9ojvUSCHUsT02/8c0UkPHb7flUjqynyhthlq2W6LmUjD/wctfvdqn3NavdFxYW LmB/dchF0qGp06GhiwnSc24x5GU13lb/0ku4B6JaY/y8baBWLqrGgnL7vdSHk4XHXNZ0 dHJA== X-Google-Sender-Auth: lmYRzrfL7oIVpBBLlhsEHkvWYiM X-Gm-Message-State: ALoCoQlAsPWwDQi+xqbUfyEOa3RX/eSJYGEmTjIs3aX9dkY1bKcgxdERfwsmXR56luyYL05CCByg References: <4F7C76E2.2010507@redhat.com> X-Barracuda-Connect: kyle.its.monash.edu.au[130.194.13.163] X-Barracuda-Start-Time: 1333620681 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=HTML_MESSAGE X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.93248 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 HTML_MESSAGE BODY: HTML included in message --047d7b15a68bcd584504bcebc29d Content-Type: text/plain; charset=ISO-8859-1 Hi guys, On 5 April 2012 02:47, Frank Ch. Eigler wrote: > > Hi, Stan - > > > scox wrote: > > [...] > > pm_code = pcp.pmNewContext() > > if (pm_code < 0): > > print "PCP is not running" > > exit > > Some encoding of the error would be nice. Is the context value hidden > inside the pm_code object, or inside the pcp library? If the latter, > Its in the result returned from pmNewContext (for the C API, that is - and pmErrStr converts it to something more human readable). Also, not clear how the args to pmNewContext (to enter archive mode, for example, or a remote host) can be passed in? This seems to assume live-host mode only at the moment. > > cpu_name = pcp.pmLookupName("hinv.ncpu") > > cpu_desc = pcp.pmLookupDesc(cpu_name) > > cpu_result = pcp.pmFetch(cpu_name) > > ncpu = pcp.pmExtractValue(cpu_result, cpu_desc, cpu_name[0], 0, > "PM_TYPE_U32") > > I wonder if it should be necessary to do all that > LookupDesc/Fetch/ExtractValue as separate steps. Could these be > combined into a single > > ncpu = pcp.pmFetch("hinv.ncpu" /* or array of same */, > [0] /* instances */, > PM_TYPE_U32 /* requested format */) > > and have pmFetch internally do the pmLookupDesc / pmFetch / pmExtractValue? > (Or else have another combined function that does the same?) > > I don't know enough about python to know if that kind of overloading is supported, I'd punt that it is ... but, you probably would want both forms I think (exposing the C API pmid fetch still as well). cheers. -- Nathan --047d7b15a68bcd584504bcebc29d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi guys,

On 5 April 2012 02:47, Frank Ch.= Eigler <fche@redha= t.com> wrote:

Hi, Stan -


scox wrote:
> [...]
> pm_code =3D pcp.pmNewContext()
> if (pm_code < 0):
> =A0 =A0 print "PCP is not running"
> =A0 =A0 exit

Some encoding of the error would be nice. =A0Is the context value hidden inside the pm_code object, or inside the pcp library? =A0If the latter,
=

Its in the result returned from pmNewConte= xt (for the C API, that is - and
pmErrStr converts it to somethin= g more human readable).

Also, not clear how the args to pmNewContext (to enter = archive mode, for
example, or a remote host) can be passed in? = =A0This seems to assume
live-host mode only=A0at the moment.


> cpu_name =3D pcp.pmLookupName("hinv.ncpu")
> cpu_desc =3D pcp.pmLookupDesc(cpu_name)
> cpu_result =3D pcp.pmFetch(cpu_name)
> ncpu =3D pcp.pmExtractValue(cpu_result, cpu_desc, cpu_name[0], 0, &quo= t;PM_TYPE_U32")

I wonder if it should be necessary to do all that
LookupDesc/Fetch/ExtractValue as separate steps. =A0Could these be
combined into a single

ncpu =3D pcp.pmFetch("hinv.ncpu" /* or array of same */,
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [0] /* instances */,
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 PM_TYPE_U32 /* requested format */)
and have pmFetch internally do the pmLookupDesc / pmFetch / pmExtractValue?=
(Or else have another combined function that does the same?)


I don't know enough about python t= o know if that kind of overloading is supported,
I'd punt tha= t it is ... but, you probably would want both forms I think (exposing the
C API pmid fetch still as well).
=A0
cheers.
=

--
Nathan
--047d7b15a68bcd584504bcebc29d-- From wwwrun@oss.sgi.com Thu Apr 5 10:53:40 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.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham 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 q35FrdWE050535 for ; Thu, 5 Apr 2012 10:53:39 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id q35Frd0f050527; Thu, 5 Apr 2012 10:53:39 -0500 Date: Thu, 5 Apr 2012 10:53:39 -0500 From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 921] New: permit configure --prefix=.... to override $pcp_var_dir X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: fche@redhat.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: mort@sgi.com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=921 Summary: permit configure --prefix=.... to override $pcp_var_dir Product: pcp Version: unspecified Platform: All OS/Version: Linux Status: NEW Severity: major Priority: P5 Component: pcp AssignedTo: mort@sgi.com ReportedBy: fche@redhat.com CC: pcp@oss.sgi.com Estimated Hours: 0.0 Classification: Unclassified The current configure.in code computes pcp_var_dir as essentially independent of $prefix, so that it is not possible to build/install a private copy of the tree without write access to /var or /usr. -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From fche@redhat.com Thu Apr 5 11:39:05 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 q35Gd4ob055241 for ; Thu, 5 Apr 2012 11:39:05 -0500 X-ASG-Debug-ID: 1333643943-04cbb05c3b968280001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id aSfXw9dRkX7FZz6P for ; Thu, 05 Apr 2012 09:39:03 -0700 (PDT) X-Barracuda-Envelope-From: fche@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q35Gcw9c002488 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 5 Apr 2012 12:38:58 -0400 Received: from fche.csb (vpn-9-146.rdu.redhat.com [10.11.9.146]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q35GcvRQ031407; Thu, 5 Apr 2012 12:38:58 -0400 Received: by fche.csb (Postfix, from userid 2569) id 76A2858154; Thu, 5 Apr 2012 12:38:57 -0400 (EDT) To: Ken McDonell Cc: pcp developers Subject: Re: PMNS scope globality References: <20120404202551.GA29020@redhat.com> <1333584398.2439.13.camel@bozo-laptop.localdomain> X-ASG-Orig-Subj: Re: PMNS scope globality From: fche@redhat.com (Frank Ch. Eigler) Date: Thu, 05 Apr 2012 12:38:57 -0400 In-Reply-To: <1333584398.2439.13.camel@bozo-laptop.localdomain> (Ken McDonell's message of "Thu, 05 Apr 2012 10:06:38 +1000") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1333643943 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.93273 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- kenj wrote: > [...] > OK Frank, brace yourself for some ancient history ... Awesome, thanks. > [...] > As a result curr_pmns is serving multiple purposes > - _the_ PMNS for pmcd > - _the_ PMNS for local contexts > - _the_ PMNS for all host contexts if pmLoadNameSpace() is explicitly > called > [...] > I know this is a convoluted answer, the short verion is that for all > "normal" (tm) uses, there is one PMNS per context. OK, I wonder whether my hypothetical usage is normal (tm) for your purposes. For pmwebapi, the program may have a motley crew of pmapi contexts open concurrently, some local, some to various remote pmcds, some to local sundry archives. Periodically, it'd like to run pmTraversePMNS_r to enumerate the namespace associated with a particular context. But said function doesn't take the context as a parameter. So which PMNS would it choose from its stable of possible alternatives? - FChE From fche@redhat.com Thu Apr 5 14:44:36 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 (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q35JiZhI066622 for ; Thu, 5 Apr 2012 14:44:36 -0500 X-ASG-Debug-ID: 1333655073-04bdf03b148529a0001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id km7EfW9OCxLtIg1E for ; Thu, 05 Apr 2012 12:44:34 -0700 (PDT) X-Barracuda-Envelope-From: fche@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q35JiX8V020123 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 5 Apr 2012 15:44:33 -0400 Received: from fche.csb (vpn-9-146.rdu.redhat.com [10.11.9.146]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q35JiXYK030218 for ; Thu, 5 Apr 2012 15:44:33 -0400 Received: by fche.csb (Postfix, from userid 2569) id 78CBA58154; Thu, 5 Apr 2012 15:44:32 -0400 (EDT) Date: Thu, 5 Apr 2012 15:44:32 -0400 From: "Frank Ch. Eigler" To: pcp developers Subject: ASCII forever? Message-ID: <20120405194432.GC31675@redhat.com> X-ASG-Orig-Subj: ASCII forever? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1333655074 X-Barracuda-URL: http://192.48.157.11: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.93286 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Hi - PMAPI says in a few places that text strings (metric names? PM_TYPE_STRING metrics?) are limited to ASCII. Do you foresee the need to generalize that to pass Unicode/UTF-8 strings, or general charset/encodings? Similarly, any thought as to mime-typing the binary PM_TYPE_AGGREGATE metrics? - FChE From kenj@internode.on.net Thu Apr 5 15:45:31 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 q35KjVH5071015 for ; Thu, 5 Apr 2012 15:45:31 -0500 X-ASG-Debug-ID: 1333658728-04cbb05c3a984a90001-S8gJnT Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by cuda.sgi.com with ESMTP id v1cCb5UVV7SsKDmF for ; Thu, 05 Apr 2012 13:45:28 -0700 (PDT) X-Barracuda-Envelope-From: kenj@internode.on.net X-Barracuda-Apparent-Source-IP: 150.101.137.131 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBALIDfk920Y7g/2dsb2JhbAANOIVvthQBAQEDASNWBQsLGAICJgICVwaIHKdyklmBL44TgRgElWuTLQ Received: from ppp118-209-142-224.lns20.mel6.internode.on.net (HELO [192.168.1.100]) ([118.209.142.224]) by ipmail07.adl2.internode.on.net with ESMTP; 06 Apr 2012 06:15:27 +0930 Message-ID: <1333658735.1721.10.camel@bozo.localdomain> Subject: Re: PMNS scope globality From: Ken McDonell X-ASG-Orig-Subj: Re: PMNS scope globality To: "Frank Ch. Eigler" Cc: pcp developers Date: Fri, 06 Apr 2012 06:45:35 +1000 In-Reply-To: References: <20120404202551.GA29020@redhat.com> <1333584398.2439.13.camel@bozo-laptop.localdomain> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2- Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Barracuda-Connect: ipmail07.adl2.internode.on.net[150.101.137.131] X-Barracuda-Start-Time: 1333658728 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.93290 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- On Thu, 2012-04-05 at 12:38 -0400, Frank Ch. Eigler wrote: > ... > OK, I wonder whether my hypothetical usage is normal (tm) for your > purposes. For pmwebapi, the program may have a motley crew of pmapi > contexts open concurrently, some local, some to various remote pmcds, > some to local sundry archives. This usage would not be historically normal (except for on infamous product at SGI), but is supported. > Periodically, it'd like to run pmTraversePMNS_r to enumerate the > namespace associated with a particular context. But said function > doesn't take the context as a parameter. So which PMNS would it > choose from its stable of possible alternatives? Finally, a simple answer ... the current context defines the PMNS to be used ... 8^)> From fche@redhat.com Thu Apr 5 15:48:03 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 q35Km2BK071201 for ; Thu, 5 Apr 2012 15:48:03 -0500 X-ASG-Debug-ID: 1333658881-04cbb05c38984c80001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id v0xYC7inf8Nig0lE for ; Thu, 05 Apr 2012 13:48:01 -0700 (PDT) X-Barracuda-Envelope-From: fche@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q35KlvfY003334 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 5 Apr 2012 16:47:57 -0400 Received: from fche.csb (vpn-9-146.rdu.redhat.com [10.11.9.146]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q35Klvae030523; Thu, 5 Apr 2012 16:47:57 -0400 Received: by fche.csb (Postfix, from userid 2569) id 8DB4A58154; Thu, 5 Apr 2012 16:47:56 -0400 (EDT) Date: Thu, 5 Apr 2012 16:47:56 -0400 From: "Frank Ch. Eigler" To: Ken McDonell Cc: pcp developers Subject: Re: PMNS scope globality Message-ID: <20120405204756.GD31675@redhat.com> X-ASG-Orig-Subj: Re: PMNS scope globality References: <20120404202551.GA29020@redhat.com> <1333584398.2439.13.camel@bozo-laptop.localdomain> <1333658735.1721.10.camel@bozo.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1333658735.1721.10.camel@bozo.localdomain> User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1333658881 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.93290 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Hi - On Fri, Apr 06, 2012 at 06:45:35AM +1000, Ken McDonell wrote: > [...] > Finally, a simple answer ... the current context defines the PMNS to be > used ... 8^)> That is, pmUseContext(). Sorry for missing it earlier. - FChE From kenj@internode.on.net Thu Apr 5 15:51:21 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 q35KpKrR071549 for ; Thu, 5 Apr 2012 15:51:21 -0500 X-ASG-Debug-ID: 1333659078-04cbb05c3b97e6b0001-S8gJnT Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by cuda.sgi.com with ESMTP id 1X4jlxl57SvBVLV5 for ; Thu, 05 Apr 2012 13:51:19 -0700 (PDT) X-Barracuda-Envelope-From: kenj@internode.on.net X-Barracuda-Apparent-Source-IP: 150.101.137.131 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBANMEfk920Y7g/2dsb2JhbAANNYV8thQBAQEEI1YQCxgCAiYCAlcGtFaKcoEvjhOBGASVa5Mt Received: from ppp118-209-142-224.lns20.mel6.internode.on.net (HELO [192.168.1.100]) ([118.209.142.224]) by ipmail07.adl2.internode.on.net with ESMTP; 06 Apr 2012 06:21:18 +0930 Message-ID: <1333659086.1721.13.camel@bozo.localdomain> Subject: Re: PMNS scope globality From: Ken McDonell X-ASG-Orig-Subj: Re: PMNS scope globality To: "Frank Ch. Eigler" Cc: pcp developers Date: Fri, 06 Apr 2012 06:51:26 +1000 In-Reply-To: <20120405204756.GD31675@redhat.com> References: <20120404202551.GA29020@redhat.com> <1333584398.2439.13.camel@bozo-laptop.localdomain> <1333658735.1721.10.camel@bozo.localdomain> <20120405204756.GD31675@redhat.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2- Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Barracuda-Connect: ipmail07.adl2.internode.on.net[150.101.137.131] X-Barracuda-Start-Time: 1333659078 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.93292 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- On Thu, 2012-04-05 at 16:47 -0400, Frank Ch. Eigler wrote: > Hi - > > On Fri, Apr 06, 2012 at 06:45:35AM +1000, Ken McDonell wrote: > > [...] > > Finally, a simple answer ... the current context defines the PMNS to be > > used ... 8^)> > > That is, pmUseContext(). Sorry for missing it earlier. Yep, pmNewContext() and pmDupContext() set the current context, pmUseContext() allows the caller to change the current context. If you're not sure, pmWhichContext() returns the current context. From kenj@internode.on.net Thu Apr 5 16:03:49 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 q35L3nfY073018 for ; Thu, 5 Apr 2012 16:03:49 -0500 X-ASG-Debug-ID: 1333659826-04cb6c40f17eb010001-S8gJnT Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by cuda.sgi.com with ESMTP id zrFdLd8QZigp5Ujq for ; Thu, 05 Apr 2012 14:03:47 -0700 (PDT) X-Barracuda-Envelope-From: kenj@internode.on.net X-Barracuda-Apparent-Source-IP: 150.101.137.131 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBAB4Ifk920Y7g/2dsb2JhbAANNYV8thQBAQEEI1YQCxgCAiYCAlcGMrQoinGBL4lphCqBGASVa5MtgUI Received: from ppp118-209-142-224.lns20.mel6.internode.on.net (HELO [192.168.1.100]) ([118.209.142.224]) by ipmail07.adl2.internode.on.net with ESMTP; 06 Apr 2012 06:33:46 +0930 Message-ID: <1333659834.1721.22.camel@bozo.localdomain> Subject: Re: [pcp] ASCII forever? From: Ken McDonell X-ASG-Orig-Subj: Re: [pcp] ASCII forever? To: "Frank Ch. Eigler" Cc: pcp developers Date: Fri, 06 Apr 2012 07:03:54 +1000 In-Reply-To: <20120405194432.GC31675@redhat.com> References: <20120405194432.GC31675@redhat.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2- Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Barracuda-Connect: ipmail07.adl2.internode.on.net[150.101.137.131] X-Barracuda-Start-Time: 1333659826 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.93292 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- On Thu, 2012-04-05 at 15:44 -0400, Frank Ch. Eigler wrote: > Hi - > > PMAPI says in a few places that text strings (metric names? > PM_TYPE_STRING metrics?) are limited to ASCII. Do you foresee the > need to generalize that to pass Unicode/UTF-8 strings, or general > charset/encodings? ... Internally PM_TYPE_STRING values are treated as a container with a length prefix, supporting non-ASCII strings would involve: - adding PM_TYPE_UNICODE and/or PM_TYPE_UTF_8 - piggy-backing on the PM_TYPE_STRING cases in most places, except where we compute the length, strlen() would need to be replaced by the Unicode/UTF-8 equivalents. Not a big deal, just that no one has asked for it before ... remember, PCP was conceived in an era in which ASCII encoding for characters has only "recently" won the 8-bit encoding battle between BSD, EBCDIC and ASCII ... 8^)> > ... > Similarly, any thought as to mime-typing the > binary PM_TYPE_AGGREGATE metrics? OK this is might get messier. PM_TYPE_AGGREGATE is a blob, i.e. a length and an array of arbitrary bytes. If a PMDA and a PMAPI client agree on how to encode mime type and value info within the array of bytes, then it would just work (tm), but if PCP needs to be taught about mime-types, that's a whole can of worms I'd rather not open. From fche@redhat.com Thu Apr 5 17:19:55 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 q35MJsmS079808 for ; Thu, 5 Apr 2012 17:19:55 -0500 X-ASG-Debug-ID: 1333664392-04cb6c102973e3c0001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id hRxiuArksvFEAcgq for ; Thu, 05 Apr 2012 15:19:53 -0700 (PDT) X-Barracuda-Envelope-From: fche@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q35MJq5o023841 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 5 Apr 2012 18:19:52 -0400 Received: from fche.csb (vpn-9-146.rdu.redhat.com [10.11.9.146]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q35MJpSZ025531 for ; Thu, 5 Apr 2012 18:19:52 -0400 Received: by fche.csb (Postfix, from userid 2569) id 61D5F58154; Thu, 5 Apr 2012 18:19:51 -0400 (EDT) Date: Thu, 5 Apr 2012 18:19:51 -0400 From: "Frank Ch. Eigler" To: pcp developers Subject: developer installs outside /usr Message-ID: <20120405221951.GG31675@redhat.com> X-ASG-Orig-Subj: developer installs outside /usr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1333664393 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.93298 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Hi - While hacking on pmwebapi today (yey, it can enumerate metrics now!), I came across an apparently designed-in limitation of the autoconf system used in pcp. It is that unprivileged developers appear unable to install the entire build under some random user directory for testing: a lot of paths get hard-coded to /var or /etc or whatnot, despite configure's --prefix option. (I opened BZ921 about this.) Would you welcome improving this, so that pcp's pcp.conf files etc. all start to respect --prefix, and the various tools become willing to run out of any particular installation tree? Among other things, this would involve being able to bypass stuff like this in configure.in: pcp_var_dir=`eval echo $localstatedir` pcp_var_dir=`eval echo $pcp_var_dir` if test -z "`echo $pcp_var_dir | sed 's;/.*\$;;'`" then if test $target_os = mingw then pcp_var_dir= elif test -d /var/lib then pcp_var_dir=/var/lib/pcp elif test -d /var then pcp_var_dir=/var/pcp elif test -d /usr/local then pcp_var_dir=/usr/local/pcp else pcp_var_dir=/usr fi fi - FChE From kenj@internode.on.net Thu Apr 5 20:32:16 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 q361WGB5105290 for ; Thu, 5 Apr 2012 20:32:16 -0500 X-ASG-Debug-ID: 1333675934-04cbb05c3998ede0001-S8gJnT Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by cuda.sgi.com with ESMTP id 03E3NxUTybm5WFSA for ; Thu, 05 Apr 2012 18:32:14 -0700 (PDT) X-Barracuda-Envelope-From: kenj@internode.on.net X-Barracuda-Apparent-Source-IP: 150.101.137.131 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApIBAKhGfk920Y7g/2dsb2JhbAANOIVvtk6BBQYCJgJTH69skmGBL4t4ggyBGASVa5Mt Received: from ppp118-209-142-224.lns20.mel6.internode.on.net (HELO [192.168.1.100]) ([118.209.142.224]) by ipmail07.adl2.internode.on.net with ESMTP; 06 Apr 2012 11:02:12 +0930 Message-ID: <1333675941.1721.26.camel@bozo.localdomain> Subject: pcp updates From: Ken McDonell X-ASG-Orig-Subj: pcp updates To: pcp@oss.sgi.com Date: Fri, 06 Apr 2012 11:32:21 +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: ipmail07.adl2.internode.on.net[150.101.137.131] X-Barracuda-Start-Time: 1333675934 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.93310 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- This set of commits retires my pcp4 branch, and syncs my dev branch with the official pcp tree. I've nuked the diffstat output and culled the commit messages to just show the things that I've done recently that are not in the official tree .... Changes committed to git://oss.sgi.com/kenj/pcp.git dev commit d25a68bdc211b3c0fd282df8921b91e671efafb2 Author: Ken McDonell Date: Fri Apr 6 10:55:33 2012 +1000 libpcp - check-statics - lower the bar We _really_ want to run this on as many architectures as possible (it found a multi-thread bug on MinGW!). It works for me on Mac OS X ... if others have problems on Mac OS X, let me know and let's fix the script rather than not run it. commit cde390cbbdbe3852e683f46ebe84dbfa61f0fe9d Author: Ken McDonell Date: Fri Apr 6 06:19:14 2012 +1000 libpcp check-statics more hand feeding Changes made for MinGW break Linux builds ... fixed. commit f882dd8ae9632913df7ffc0ecbf55d5500f05176 Merge: d92e5e1 e4820f0 Author: Ken McDonell Date: Thu Apr 5 21:01:28 2012 +1000 Merge branch 'pcp4' of ../pcp-ace into pcp4 commit e4820f0914d628733cc51623abd300976300743a Author: Ken McDonell Date: Mon Apr 2 06:39:37 2012 +1000 MinGW build fixups Assorted files that were not being included in the src-link step, and causing Makepkgs to fail. commit a1f4a545e92507698b0dcd59ca40c0c1719023d8 Merge: b0cb8fe 06c1e59 Author: Ken McDonell Date: Wed Mar 28 20:49:33 2012 +1100 Merge branch 'dev' into pcp4 Conflicts: src/include/pcp/platform_header.h.in commit b0cb8fe911159284d498a555955cdbea3f319bdc Author: Ken McDonell Date: Wed Mar 28 20:42:00 2012 +1100 win32ctl - fixes Replase some of the headers with more current versions to match the current state of MinGW. commit e8506e2754bf374d6061dcd3c8f020608738f48e Author: unknown Date: Wed Mar 28 20:34:22 2012 +1100 libpcp/check-statics - make it work for MinGW commit 6a75f23ff2daf8fee92d68834c370829de8d7fc8 Author: unknown Date: Wed Mar 28 20:32:55 2012 +1100 include/platform_defs.h - MinGW fix Fix prototype for wsastrerror(). commit eabe58be7996cc117f44ac617510d0cb9b087033 Author: unknown Date: Wed Mar 28 20:30:41 2012 +1100 libpcp/AF.c - MinGW thread-safe change Make AFsetup() thread-safe. commit 362eb99b86853caf2951c9122c0009ea742246b8 Author: unknown Date: Wed Mar 28 20:23:08 2012 +1100 libpcp/err.c - MinGW thread-safe change Fix pmErrStr_r() for MinGW where there is no strerror_r() ... needs the libpcp globla lock to be acquired and released around the strerror() call. From wwwrun@oss.sgi.com Thu Apr 5 23:25:15 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.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham 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 q364PFUc125618 for ; Thu, 5 Apr 2012 23:25:15 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id q364PFje125617; Thu, 5 Apr 2012 23:25:15 -0500 Date: Thu, 5 Apr 2012 23:25:15 -0500 Message-Id: <201204060425.q364PFje125617@oss.sgi.com> From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 921] permit configure --prefix=.... to override $pcp_var_dir X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: kenj@internode.on.net X-Bugzilla-Status: NEW X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: kenj@internode.on.net X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC AssignedTo In-Reply-To: References: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=921 Ken McDonell changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kenj@internode.on.net AssignedTo|mort@sgi.com |kenj@internode.on.net -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From kenj@internode.on.net Mon Apr 9 05:42:56 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_33 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 q39Agu2C093417 for ; Mon, 9 Apr 2012 05:42:56 -0500 X-ASG-Debug-ID: 1333968171-04cbb05c3ba61f50001-S8gJnT Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by cuda.sgi.com with ESMTP id y67ZF0rIuFVPOqrz for ; Mon, 09 Apr 2012 03:42:52 -0700 (PDT) X-Barracuda-Envelope-From: kenj@internode.on.net X-Barracuda-Apparent-Source-IP: 150.101.137.131 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApIBAF+8gk920Y7g/2dsb2JhbAANN4VmtwYEfwIGAiYCSwgfGYgApwqSMoEvjhOBGASWfZIe Received: from ppp118-209-142-224.lns20.mel6.internode.on.net (HELO [192.168.1.101]) ([118.209.142.224]) by ipmail07.adl2.internode.on.net with ESMTP; 09 Apr 2012 20:12:50 +0930 Message-ID: <1333968154.31923.6.camel@bozo-laptop.localdomain> Subject: pcp updates From: Ken McDonell X-ASG-Orig-Subj: pcp updates To: pcp@oss.sgi.com Date: Mon, 09 Apr 2012 20:42:34 +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: ipmail07.adl2.internode.on.net[150.101.137.131] X-Barracuda-Start-Time: 1333968172 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.93617 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Frank, this addresses your configure --prefix=... request. Also the changes necessary to install and run a non-default (non-root) installation (see the new last section of the INSTALL file for notes on how to do this). If $PCP_DIR is set in the environment, then we assume we're running a non-default install. Nathan, I'd appreciate a review of the pmapi.h and libpcp changes ... these are for an unrelated matter where I've chosen to rollback some of the unsigned changes for the event records data structures (ea_nrecords and er_nparams) which were causing QA failures. Changes committed to git://oss.sgi.com/kenj/pcp.git dev INSTALL | 34 ++++++++-- configure.in | 110 ++++++++++++++++++++-------------- src/bashrc/GNUmakefile | 2 src/include/GNUmakefile | 8 +- src/include/buildrules | 8 +- src/include/pcp.conf.in | 4 + src/include/pcp.env | 10 ++- src/include/pcp/pmapi.h | 4 - src/libpcp/src/err.c | 3 src/libpcp/src/events.c | 23 ++++--- src/pmcd/pmdaproc.sh | 25 +++---- src/pmcd/rc-proc.sh | 9 ++ src/pmcd/rc_pmcd | 9 ++ src/pmcd/src/config.c | 20 ------ src/pmdas/simple/GNUmakefile.install | 8 ++ src/pmdas/trivial/GNUmakefile.install | 8 ++ src/pmdas/txmon/GNUmakefile.install | 7 ++ src/pmie/rc_pmie | 9 ++ src/pmlogger/rc_pmlogger | 9 ++ src/pmns/Make.stdpmid | 10 ++- src/pmpost/pmpost.c | 20 ++++-- src/pmproxy/rc_pmproxy | 9 ++ 22 files changed, 228 insertions(+), 121 deletions(-) commit 4ab91528fb146f40c3da4fcef4c7c3004caaecdc Author: Ken McDonell Date: Mon Apr 9 20:23:30 2012 +1000 Non-default install ... final fixups This batch of changes completes the configure --prefix=... work so that non-default installations can be run without root privileges. As evidence, with a small number of matching QA changes, the QA group of "sanity" tests can be run using a non-default installation. commit a254f049f088a0345bdca299abe066268c60351d Author: Ken McDonell Date: Mon Apr 9 14:40:51 2012 +1000 event records - unwind recent unsigned changes (part 2) Revert to the previous code now that ea_nrecords and er_nparams are back to being signed. commit 2cc267d99144cc47c41231685fc6cca361cae969 Author: Ken McDonell Date: Mon Apr 9 08:36:03 2012 +1000 pmcd.conf - pathname silliness As a result of the long and convoluted set of changes from early Irix versions to the present day, we were not being consistent about how pathnames for executables and DSOs are specified in pmcd.conf. It all broke when $PCP_DIR was set in the aftermath of trying to run a non-default installation after a configure --prefix=... build. Now we're using absolute pathnames in the initial pmcd.conf with the default PMDAs, in pmcd's parsing of pmcd.conf and in all the PMDA Install procedures. commit 96eaec4b0c818e45499210c6fb3ae6459ed59a52 Author: Ken McDonell Date: Mon Apr 9 08:33:26 2012 +1000 libpcp strerror_x - avoid overlapping dst and src in strcpy() Found by accident. strerror_r may return the input buffer, which makes the strcpy not only redundant, but dangerous on some architectures. commit 54d9672e1d91473e43fe501ce4729df312f06eab Author: Ken McDonell Date: Mon Apr 9 08:30:36 2012 +1000 pcp.env - fix search logic for pcp.conf Logic was broken, and would not work with a non-default install using $PCP_DIR as the base of the installation. The (now) correct algorithm is: - if $PCP_CONF is set, use that value - else if $PCP_DIR, use $PCP_DIR/etc/etc.conf - else, use /etc/etc.conf commit 9997565036185de0d2124509c7cb76b1cd3fad69 Author: Ken McDonell Date: Mon Apr 9 08:22:28 2012 +1000 pmapi.h - unwind some of the recent unsigned changes For event records, a couple of "array size" counts were changed from int to unsigned int in commit acd24f294f20719f8838ad62042b33d246f8c15e and this is not quite correct (these are not bit fields or flag fields). The original design (although we may not have a use case yet in the code base) was that these counters could be used to encode (negative) error codes, similar to numpmid in a pmResult or numval in a pmValueSet. But also, the expression p->ea_nrecords-1 became unsigned as a by product of the change, which broke some of the code. So revert ea_nrecords in pmEventArray and er_nparams in pmEventRecord back to an int. commit 9f1f62ea057037b3288d0369af86becfd2cc0c30 Author: Ken McDonell Date: Mon Apr 9 08:19:44 2012 +1000 rc scripts - relax "are you running as root?" test If $PCP_DIR is set, then the check for uid == 0 is skipped. This is another piece of the configure --prefix=... fixups, so that a private PCP installation can be made and run, in which case nothing is required to be done as the user "root". commit e8c295369742253fafcafb58b0709e959ac1e276 Author: Ken McDonell Date: Sun Apr 8 08:57:47 2012 +1000 pmpost - refine environment handling In an earlier life, pmpost was setuid root and we had an issue with possible bogus environment variables. The fix for that issue would not allow $PCP_DIR nor $PCP_CONF to be passed in the environment, meaning the relocation of the /var/log/pcp/NOTICES file via pcp.conf did not work. pmpost is no longer setuid so allowing $PCP_CONF and $PCP_DIR to be retained should be OK ... in the process fixed a bug where the special case handling of $TZ was totally broken! commit fc6ba2411088f7c1e00a59d8950d6745c7988835 Author: Ken McDonell Date: Sun Apr 8 06:20:56 2012 +1000 Support configure --prefix=... and --exec-prefix=... Changes as requested in http://oss.sgi.com/bugzilla/show_bug.cgi?id=921 Running $ configure --prefix=/home/frank/mypcp will setup to move all the PCP related files into a directory tree below /home/frank/mypcp (--exec-prefix will setup to only move the architecture-specific binaries and libraries, which is less useful but comes for free in the autoconf wrappers). After configure has been run by hand, $ make install will install everything as expected below /home/frank/mypcp Note that none of the Makepkgs support understands any of this, so you cannot build installable packages (on any platform) using the --prefix= features of configure. commit 6b8a983dfd68e4b75c1a1ba73ea867c9b5c4c332 Author: Ken McDonell Date: Sun Apr 8 06:19:26 2012 +1000 buildrules - make clean fixup After the include files were moved to src/include/pcp, some final cleanup logic here needed some tweaking. From wwwrun@oss.sgi.com Mon Apr 9 05:49:57 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.7 required=5.0 tests=ALL_TRUSTED,BAYES_00, J_CHICKENPOX_33,J_CHICKENPOX_63 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 q39AnvkQ094986 for ; Mon, 9 Apr 2012 05:49:57 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id q39AnvjG094985; Mon, 9 Apr 2012 05:49:57 -0500 Date: Mon, 9 Apr 2012 05:49:57 -0500 Message-Id: <201204091049.q39AnvjG094985@oss.sgi.com> From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 921] permit configure --prefix=.... to override $pcp_var_dir X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: kenj@internode.on.net X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: kenj@internode.on.net X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Resolution In-Reply-To: References: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=921 Ken McDonell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Ken McDonell 2012-04-09 05:49:56 CST --- Fixed by a bunch of commits in Ken's PCP tree (dev branch) 4ab9152... Non-default install ... final fixups 2cc267d... pmcd.conf - pathname silliness 54d9672... pcp.env - fix search logic for pcp.conf 9f1f62e... rc scripts - relax "are you running as root?" test e8c2953... pmpost - refine environment handling fc6ba24... Support configure --prefix=... and --exec-prefix=... -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From wwwrun@oss.sgi.com Mon Apr 9 06:58:07 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.7 required=5.0 tests=ALL_TRUSTED,BAYES_00, J_CHICKENPOX_42,J_CHICKENPOX_93 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 q39Bw7k5112634 for ; Mon, 9 Apr 2012 06:58:07 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id q39Bw7Se112633; Mon, 9 Apr 2012 06:58:07 -0500 Date: Mon, 9 Apr 2012 06:58:07 -0500 Message-Id: <201204091158.q39Bw7Se112633@oss.sgi.com> From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 921] permit configure --prefix=.... to override $pcp_var_dir X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: fche@redhat.com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: kenj@internode.on.net X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=921 --- Comment #2 from Frank Ch. Eigler 2012-04-09 06:58:06 CST --- Thanks a lot, Ken, it's a lot better. Not a huge problem, but is the $PCP_DIR requirement unavoidable? Could the tools compile in a default based upon the $prefix? The perl modules don't quite seem to support it. perl should be able to look for them under any random spot, using $PERL5DIR or similar mechanisms (paralleling the reasonable custom $PATH / $LD_LIBRARY_PATH requirements). gzip --best PCP-PMDA-1.13.tar /usr/bin/gmake -f Makefile install DESTDIR=$DIST_ROOT; find $DIST_ROOT -name .packlist -exec mv '{}' ../../../perl-pcp-pmda.list ';' ; if [ -s ../../../perl-pcp-pmda.list ] ; then _sfx=.gz; false && _sfx=.bz2; false && _sfx=.lzma; false && _sfx=.xz; sed -n -e '/\.bs$/d' -e 's/\.[0-9]pm$/&'"$_sfx/" -e "s@^$DIST_ROOT@@p" -i.tmp ../../../perl-pcp-pmda.list || exit 1; else echo "Arrgh ... no files to include in package via ../../../perl-pcp-pmda.list"; exit 1; fi; find $DIST_ROOT -name perllocal.pod -exec rm -f '{}' ';' ; find $DIST_ROOT -name \*.bs -exec rm -f '{}' ';' ; find $DIST_ROOT -name PMDA.so -exec chmod 755 '{}' ';' Files found in blib/arch: installing files in blib/lib into architecture dependent library tree !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ERROR: Can't create '/usr/lib64/perl5/vendor_perl/PCP' mkdir /usr/lib64/perl5/vendor_perl/PCP: Permission denied at /usr/share/perl5/ExtUtils/Install.pm line 494 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From wwwrun@oss.sgi.com Mon Apr 9 17:01:59 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.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham 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 q39M1xpD214365 for ; Mon, 9 Apr 2012 17:01:59 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id q39M1xbK214364; Mon, 9 Apr 2012 17:01:59 -0500 Date: Mon, 9 Apr 2012 17:01:59 -0500 Message-Id: <201204092201.q39M1xbK214364@oss.sgi.com> From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 921] permit configure --prefix=.... to override $pcp_var_dir X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: kenj@internode.on.net X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: kenj@internode.on.net X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Resolution In-Reply-To: References: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=921 Ken McDonell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #3 from Ken McDonell 2012-04-09 17:01:57 CST --- Frank, I think $PCP_DIR is unavoidable ... it is more than a compile-time issue because at run-time arbitrary PCP apps need to be able to find pcp.conf ... without $PCP_DIR in the envronment I can't see how to achieve this. I did notice the Perly bits did not work, but forgot to fix this. I'll investigate, but Perl is not my long suit (not even close), so if someone else knows how to fix this easily, please speak up. First problem I can see is "make install" below src/cpan seems to install _nothing_ and I know the Perl packaging has been a constant source of frustration across the platforms we're trying to support. -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From kenj@internode.on.net Tue Apr 10 06:46:15 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 q3ABkFxA106538 for ; Tue, 10 Apr 2012 06:46:15 -0500 X-ASG-Debug-ID: 1334058371-04cbb05c39acc950001-S8gJnT Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by cuda.sgi.com with ESMTP id 6DwxLHvSOtSsqWzd for ; Tue, 10 Apr 2012 04:46:11 -0700 (PDT) X-Barracuda-Envelope-From: kenj@internode.on.net X-Barracuda-Apparent-Source-IP: 150.101.137.131 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApIBADUchE920Y7g/2dsb2JhbAANNoVmtn2BBQYCJgJTH4gZp1STPoEvjA6CDIEYBJVsgRGSHg Received: from ppp118-209-142-224.lns20.mel6.internode.on.net (HELO [192.168.1.100]) ([118.209.142.224]) by ipmail07.adl2.internode.on.net with ESMTP; 10 Apr 2012 21:16:10 +0930 Message-ID: <1334058382.4033.4.camel@bozo.localdomain> Subject: pcp updates From: Ken McDonell X-ASG-Orig-Subj: pcp updates To: pcp@oss.sgi.com Date: Tue, 10 Apr 2012 21:46:22 +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: ipmail07.adl2.internode.on.net[150.101.137.131] X-Barracuda-Start-Time: 1334058371 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.93717 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Second round of changes for non-default installs and Perly bits as per http://oss.sgi.com/bugzilla/show_bug.cgi?id=921 Changes committed to git://oss.sgi.com/kenj/pcp.git dev INSTALL | 14 +++++++++++--- configure.in | 3 +++ src/cpan/LogImport/GNUmakefile | 8 ++++++-- src/cpan/LogSummary/GNUmakefile | 7 ++++++- src/cpan/MMV/GNUmakefile | 7 ++++++- src/cpan/PMDA/GNUmakefile | 8 ++++++-- src/include/builddefs.in | 3 +++ src/pmcd/rc_pcp | 2 +- 8 files changed, 42 insertions(+), 10 deletions(-) commit 8b8c64309f82a0fac31b30e27362392e8f9f1b5a Author: Ken McDonell Date: Tue Apr 10 21:35:28 2012 +1000 INSTALL - more non-default installation hints Document the secret sauce needed for Perl pieces and man pages to be usable for non-default installs. commit c5e260d74dd9b75967eaed6ce24869342e291544 Author: Ken McDonell Date: Tue Apr 10 21:34:16 2012 +1000 make install does something for Perl when non-default installation If configure --prefix=... is used, then make install in the Perl directories will really install files in the non-default root. commit ccb40d79da7451deb58daf62b2c757d9c70516ea Author: Ken McDonell Date: Tue Apr 10 21:32:17 2012 +1000 make --prefix=... from configure known to Makefiles Makefiles can test $(PREFIX) ... it is the path to $PCP_DIR from configure's --prefix-..., else an empty string if configure was run without a --prefix=... option. commit ceefb6cf577667a3e764cb4aefff9a9755ea88bf Author: Ken McDonell Date: Tue Apr 10 21:31:07 2012 +1000 pmcd rc script - fix minor typo (change in PCP 3.6 not 4.0) From wwwrun@oss.sgi.com Tue Apr 10 06:46:26 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.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham 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 q3ABkQMN106617 for ; Tue, 10 Apr 2012 06:46:26 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id q3ABkQXh106616; Tue, 10 Apr 2012 06:46:26 -0500 Date: Tue, 10 Apr 2012 06:46:26 -0500 Message-Id: <201204101146.q3ABkQXh106616@oss.sgi.com> From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 921] permit configure --prefix=.... to override $pcp_var_dir X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: kenj@internode.on.net X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: kenj@internode.on.net X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Resolution In-Reply-To: References: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=921 Ken McDonell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #4 from Ken McDonell 2012-04-10 06:46:24 CST --- Second round of changes to address the Perl part of the puzzle: 8b8c643... INSTALL - more non-default installation hints c5e260d... make install does something for Perl when non-default installation ccb40d7... make --prefix=... from configure known to Makefiles -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From ndsco1@student.monash.edu Wed Apr 11 00:22:10 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=3.8 required=5.0 tests=BAYES_50,HTML_MESSAGE autolearn=no version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q3B5M9Tu022146 for ; Wed, 11 Apr 2012 00:22:10 -0500 X-ASG-Debug-ID: 1334121726-04bdf05d3235ad0001-S8gJnT Received: from stan.its.monash.edu.au (stan.its.monash.edu.au [130.194.13.165]) by cuda.sgi.com with ESMTP id dvExrCyzsaJAA7xE for ; Tue, 10 Apr 2012 22:22:07 -0700 (PDT) X-Barracuda-Envelope-From: ndsco1@student.monash.edu X-Barracuda-Apparent-Source-IP: 130.194.13.165 Received: from idle.its.monash.edu.au ([130.194.13.84]) by stan.its.monash.edu.au (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0M2A00IIJUWU1Q60@stan.its.monash.edu.au> for pcp@oss.sgi.com; Wed, 11 Apr 2012 15:22:06 +1000 (EST) Received: from idle.its.monash.edu.au (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 0E5FD1008E for ; Wed, 11 Apr 2012 15:22:06 +1000 (EST) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by idle.its.monash.edu.au (Postfix) with ESMTPS id 8C1AD1007C for ; Wed, 11 Apr 2012 15:22:05 +1000 (EST) Received: by mail-pb0-f54.google.com with SMTP id wz17so826962pbc.41 for ; Tue, 10 Apr 2012 22:22:05 -0700 (PDT) Received: by 10.68.135.40 with SMTP id pp8mr34960126pbb.13.1334121725209; Tue, 10 Apr 2012 22:22:05 -0700 (PDT) Received: by 10.68.59.74 with HTTP; Tue, 10 Apr 2012 22:22:05 -0700 (PDT) Date: Wed, 11 Apr 2012 15:22:05 +1000 From: Nathan Scott Subject: Re: [pcp] pcp updates In-reply-to: <1333968154.31923.6.camel@bozo-laptop.localdomain> X-ASG-Orig-Subj: Re: [pcp] pcp updates Sender: ndsco1@student.monash.edu To: Ken McDonell Cc: pcp@oss.sgi.com Message-id: MIME-version: 1.0 Content-type: multipart/alternative; boundary=047d7b10d17b84ab5d04bd606be6 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=C/NUhQxKRytytasaX1qL7QavgkTA3cObVBX9kroG6PQ=; b=MwplcJGlDxNLxt/JQrmjDzNu7NaBkdyqtKEh+pKjG3iTRcOC/+3dq3DAHBf2mkHk++ Khc5Xi0yrjejhboTachJMHuSJYXkbtYRHtrafA4IKMsDk1SV9wWYViEM3brLgEraRWBF Du0E/T54Qu+jKH0Ci8hT4Uh8MTFZ/WRbwytC/tX7N0M4mO1QwBrjphayqDYi2FbAN448 WvKXzxm3aPQNP3Ma4VWW7Jeizf6kTtkLPBFr1EfESyBxOfK+/WXP/bHjbrxO/9IhwquM II/x+7y3+1sPe/dIBijMK5F8PS3Tck28kSP6zZbMGX31razWyEq7MvYyBQ+Jwf/iFXMh B6fQ== X-Google-Sender-Auth: YhdGIBQU8qR-JuVgEeFi_UqebUM X-Gm-Message-State: ALoCoQmFMAGw8EZK3MY+tLEPAVaNP7GbzU1H15si9sR20fL+vIxmKROpTuK59SnW0d8XNyNCVtVg References: <1333968154.31923.6.camel@bozo-laptop.localdomain> X-Barracuda-Connect: stan.its.monash.edu.au[130.194.13.165] X-Barracuda-Start-Time: 1334121727 X-Barracuda-URL: http://192.48.157.11: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.93780 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 HTML_MESSAGE BODY: HTML included in message --047d7b10d17b84ab5d04bd606be6 Content-Type: text/plain; charset=ISO-8859-1 Hi Ken, On 9 April 2012 20:42, Ken McDonell wrote: > ... Nathan, I'd appreciate a review of the pmapi.h and libpcp changes ... > these are for an unrelated matter where I've chosen to rollback some of > the unsigned changes for the event records data structures (ea_nrecords > and er_nparams) which were causing QA failures. > > Ah - those became unsigned to resolve a build failure Max was seeing on Solaris. We'll need to have at least some of those for a working build there... or alternatively we'll need to rejig the failing QA test. cheers. -- Nathan --047d7b10d17b84ab5d04bd606be6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Ken,

On 9 April 2012 20:42, Ken McDone= ll <kenj@inte= rnode.on.net> wrote:
...
Nathan, I'd appreciate a review of the pmapi.h and libpcp changes ... these are for an unrelated matter where I've chosen to rollback some of=
the unsigned changes for the event records data structures (ea_nrecords
and er_nparams) which were causing QA failures.

Ah - those became unsigned to resolve a build failure Max was = seeing on Solaris.
We'll need to have at least some of those = for a working build there... or alternatively we'll need to rejig the f= ailing QA test.

cheers.

--
Nathan
--047d7b10d17b84ab5d04bd606be6-- From kenj@internode.on.net Wed Apr 11 01:56:42 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 q3B6ug6x031309 for ; Wed, 11 Apr 2012 01:56:42 -0500 X-ASG-Debug-ID: 1334127400-04cbb05c39b17490001-S8gJnT Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by cuda.sgi.com with ESMTP id OxJsAdvzDc6izEqG for ; Tue, 10 Apr 2012 23:56:40 -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: ApMBAGkqhU920Y7g/2dsb2JhbAANOIVmtmsBAQEEI1YQCxgCAiYCAlcGE69wkxyBL454gRgElWyTLw Received: from ppp118-209-142-224.lns20.mel6.internode.on.net (HELO [192.168.1.100]) ([118.209.142.224]) by ipmail06.adl6.internode.on.net with ESMTP; 11 Apr 2012 16:26:39 +0930 Message-ID: <1334127413.4033.32.camel@bozo.localdomain> Subject: Re: [pcp] pcp updates From: Ken McDonell X-ASG-Orig-Subj: Re: [pcp] pcp updates To: Nathan Scott Cc: pcp@oss.sgi.com Date: Wed, 11 Apr 2012 16:56:53 +1000 In-Reply-To: References: <1333968154.31923.6.camel@bozo-laptop.localdomain> 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: 1334127400 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.93786 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- On Wed, 2012-04-11 at 15:22 +1000, Nathan Scott wrote: > Hi Ken, > > On 9 April 2012 20:42, Ken McDonell wrote: > ... > Nathan, I'd appreciate a review of the pmapi.h and libpcp > changes ... > these are for an unrelated matter where I've chosen to > rollback some of > the unsigned changes for the event records data structures > (ea_nrecords > and er_nparams) which were causing QA failures. > > > > Ah - those became unsigned to resolve a build failure Max was seeing > on Solaris. > We'll need to have at least some of those for a working build there... > or alternatively we'll need to rejig the failing QA test. I'd like to see the details of the Solaris build failures ... these counters are not the bit fields (I've left them unsigned). My Solaris builds are using gcc, so I suspect this may be specific to the Sun compilers. >From an API perspective I think ea_nrecords and er_nparams should be signed, and I can't imagine what build failures these might trigger, but if there is an issue we should look to a coding change, not a data structure change as the first plan of attack. Max, can you provide details? From ndsco1@student.monash.edu Wed Apr 11 04:36:33 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=3.8 required=5.0 tests=BAYES_50,HTML_MESSAGE 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 q3B9aWo2045693 for ; Wed, 11 Apr 2012 04:36:32 -0500 X-ASG-Debug-ID: 1334136990-04cb6c10298d96d0001-S8gJnT Received: from stan.its.monash.edu.au (stan.its.monash.edu.au [130.194.13.165]) by cuda.sgi.com with ESMTP id vitBbVXJVzYyAOm7 for ; Wed, 11 Apr 2012 02:36:31 -0700 (PDT) X-Barracuda-Envelope-From: ndsco1@student.monash.edu X-Barracuda-Apparent-Source-IP: 130.194.13.165 Received: from jones.its.monash.edu.au ([130.194.13.86]) by stan.its.monash.edu.au (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0M2B00IMS6OU1QB0@stan.its.monash.edu.au> for pcp@oss.sgi.com; Wed, 11 Apr 2012 19:36:30 +1000 (EST) Received: from jones.its.monash.edu.au (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 138618BDD98 for ; Wed, 11 Apr 2012 19:36:30 +1000 (EST) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by jones.its.monash.edu.au (Postfix) with ESMTPS id 942C98BDDA4 for ; Wed, 11 Apr 2012 19:36:29 +1000 (EST) Received: by pbcwz17 with SMTP id wz17so1042456pbc.41 for ; Wed, 11 Apr 2012 02:36:26 -0700 (PDT) Received: by 10.68.219.200 with SMTP id pq8mr30408302pbc.55.1334136986574; Wed, 11 Apr 2012 02:36:26 -0700 (PDT) Received: by 10.68.59.74 with HTTP; Wed, 11 Apr 2012 02:36:26 -0700 (PDT) Date: Wed, 11 Apr 2012 19:36:26 +1000 From: Nathan Scott Subject: Re: [pcp] pcp updates In-reply-to: <1334127413.4033.32.camel@bozo.localdomain> X-ASG-Orig-Subj: Re: [pcp] pcp updates Sender: ndsco1@student.monash.edu To: Ken McDonell Cc: pcp@oss.sgi.com Message-id: MIME-version: 1.0 Content-type: multipart/alternative; boundary=e89a8ff24a252a9efd04bd63f92d X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=JDNB1dOrB+NeEw2wLD/Q3mWM9PeWGnLfyrUyoJJG2RE=; b=abN/XgpoEk/i+0AeiuGzHfmNl9N9hJHbN78J1HqtwntVpGfPxEXVgW6MjKTMJfB1cw dKgRtib6qFRIAU/IR8QfjOtbnGcGGO0X7DgG985SlpPWA5rCDOMlbxKz50dxmY75csp0 g7gM6pRGpkno+Yw0in2yOMGmrHE552MpWUXk+X4leoceOk55nw1VkStcZMGao+7Qg93w 0UFyom+AKzy6pVlfbIDvBaAbcW1rWx/rmEZdFdjtRZukA7dh52YTlouqhPelq6EDZGmd t5n+24/jL2phDKH35RFNZ3EeTDkBo/7uu+TWO0cz+vXCoUEayAb0EZnxt4nni/I6SLF4 7FLw== X-Google-Sender-Auth: X3xOflHZzvaxckGrPwD0FZtBKv4 X-Gm-Message-State: ALoCoQmSAIAW29BA8anRlbaPxaCFl8dR66EbyIgMbSBGQdB4x6LxhXmxqYhdAGGwDQ+TfN1mc1fy References: <1333968154.31923.6.camel@bozo-laptop.localdomain> <1334127413.4033.32.camel@bozo.localdomain> X-Barracuda-Connect: stan.its.monash.edu.au[130.194.13.165] X-Barracuda-Start-Time: 1334136990 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=HTML_MESSAGE X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.93796 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 HTML_MESSAGE BODY: HTML included in message --e89a8ff24a252a9efd04bd63f92d Content-Type: text/plain; charset=ISO-8859-1 IIRC, it was the bitfields ... so we should be fine. Once Max confirms, will start pulling all the bits together for 3.6.1 (hopefully tomorrow). cheers. -- Nathan --e89a8ff24a252a9efd04bd63f92d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable IIRC, it was the bitfields ... so we should be fine. =A0Once Max confirms,<= div>will start pulling all the bits together for 3.6.1 (hopefully tomorrow)= .

cheers.

--
Nathan --e89a8ff24a252a9efd04bd63f92d-- From kenj@internode.on.net Wed Apr 11 04:58:52 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 q3B9wqQV047183 for ; Wed, 11 Apr 2012 04:58:52 -0500 X-ASG-Debug-ID: 1334138329-04cb6c40f398a4b0001-S8gJnT Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by cuda.sgi.com with ESMTP id IifyATi2Ximg6E8a for ; Wed, 11 Apr 2012 02:58:50 -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: ApIBANJUhU920Y7g/2dsb2JhbAANOIVmtxqBBQYCJgJTH69rkyCBL4xsggyBGASVbJMv Received: from ppp118-209-142-224.lns20.mel6.internode.on.net (HELO [192.168.1.100]) ([118.209.142.224]) by ipmail06.adl6.internode.on.net with ESMTP; 11 Apr 2012 19:28:49 +0930 Message-ID: <1334138343.4033.35.camel@bozo.localdomain> Subject: pcp updates From: Ken McDonell X-ASG-Orig-Subj: pcp updates To: pcp@oss.sgi.com Date: Wed, 11 Apr 2012 19:59:03 +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: 1334138330 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.93798 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/kenj/pcp.git dev debian/pcp.postinst | 2 +- debian/pcp.postrm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit f1160e173583167b20624c398ade5a488f407217 Author: Ken McDonell Date: Wed Apr 11 19:58:02 2012 +1000 debian lintian fix - for pcp rc script From kenj@internode.on.net Thu Apr 12 20:56:49 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 q3D1un4f239681 for ; Thu, 12 Apr 2012 20:56:49 -0500 X-ASG-Debug-ID: 1334282207-04cbb0056904cc0001-S8gJnT Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by cuda.sgi.com with ESMTP id wGhocCJeUJKMIlG2 for ; Thu, 12 Apr 2012 18:56:47 -0700 (PDT) X-Barracuda-Envelope-From: kenj@internode.on.net X-Barracuda-Apparent-Source-IP: 150.101.137.131 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApIBAKaHh0920Y7g/2dsb2JhbAANOIVmt1CBBQYCJgJTH69FknGBL40AggyBGASVbJMv Received: from ppp118-209-142-224.lns20.mel6.internode.on.net (HELO [192.168.1.100]) ([118.209.142.224]) by ipmail07.adl2.internode.on.net with ESMTP; 13 Apr 2012 11:26:19 +0930 Message-ID: <1334282196.4033.79.camel@bozo.localdomain> Subject: pcp updates From: Ken McDonell X-ASG-Orig-Subj: pcp updates To: pcp@oss.sgi.com Date: Fri, 13 Apr 2012 11:56:36 +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: ipmail07.adl2.internode.on.net[150.101.137.131] X-Barracuda-Start-Time: 1334282207 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.93958 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/kenj/pcp.git dev debian/pcp.lintian | 4 ++++ debian/pcp.postinst | 1 - debian/pcp.postrm | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) commit 772e6186bfb23908ca99039b38d7d0aa2777c9f4 Author: Ken McDonell Date: Fri Apr 13 11:49:51 2012 +1000 Debian post ops and lintian for /etc/init.d/pcp This one (/etc/init.d/pcp) is a legacy script from the pre-3.6 days and _really_ should not be integrated with update-rc.d, insserv, sysv init, etc. From helpdesk@srishtinetwork.com Thu Apr 12 22:40:05 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=3.8 required=5.0 tests=BAYES_50,HTML_MESSAGE autolearn=no version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q3D3e5kI247449 for ; Thu, 12 Apr 2012 22:40:05 -0500 X-ASG-Debug-ID: 1334288401-04bdf07a6d099f0001-S8gJnT Received: from smtp.net4india.com (smtp.net4india.com [118.67.248.11]) by cuda.sgi.com with ESMTP id kzyC5eqGQE6puM9w for ; Thu, 12 Apr 2012 20:40:02 -0700 (PDT) X-Barracuda-Envelope-From: helpdesk@srishtinetwork.com X-Barracuda-Apparent-Source-IP: 118.67.248.11 Received: from [14.97.237.23] (helo=celeron210) by smtp.net4india.com with esmtp (Exim 4.69) (envelope-from ) id 1SIXMc-0004LQ-Mm for pcp@oss.sgi.com; Fri, 13 Apr 2012 09:10:00 +0530 From: "Goa Travels" Subject: Pleasant tour at Goa To: pcp@oss.sgi.com X-ASG-Orig-Subj: Pleasant tour at Goa Content-Type: multipart/alternative; boundary="rmdD4lQPhCpY=_JcsVAWsCL5fhiarFvMwL0" MIME-Version: 1.0 Reply-To: info@goatripsandtours.com Date: Fri, 13 Apr 2012 09:09:44 +0530 X-Barracuda-Connect: smtp.net4india.com[118.67.248.11] X-Barracuda-Start-Time: 1334288401 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.14 X-Barracuda-Spam-Status: No, SCORE=0.14 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1.3 tests=HTML_MESSAGE, MISSING_MID X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.93964 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.14 MISSING_MID Missing Message-Id: header 0.00 HTML_MESSAGE BODY: HTML included in message Message-Id: <20120413034005.09E90A4211F@cuda.sgi.com> This is a multi-part message in MIME format --rmdD4lQPhCpY=_JcsVAWsCL5fhiarFvMwL0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable - This mail is a HTML mail. Not all elements could be shown in plain = text mode. - Hi, Planning for a vacation to goa. Visit http://goatripsandtours.com to know the places you can visit at Goa. Regards ... Khushi --rmdD4lQPhCpY=_JcsVAWsCL5fhiarFvMwL0 Content-Type: text/html Content-Transfer-Encoding: quoted-printable

Hi,

Planning for a vacation to goa. Visit http://goatripsandtours.com to know the places you can = visit at Goa.

Regards ...

Khushi

 

--rmdD4lQPhCpY=_JcsVAWsCL5fhiarFvMwL0-- From kenj@internode.on.net Mon Apr 16 02:07:40 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 q3G77eme180727 for ; Mon, 16 Apr 2012 02:07:40 -0500 X-ASG-Debug-ID: 1334560058-04cb6c0855104800001-S8gJnT Received: from ipmail05.adl6.internode.on.net (ipmail05.adl6.internode.on.net [150.101.137.143]) by cuda.sgi.com with ESMTP id JQbiiVWtPpXGKXyd for ; Mon, 16 Apr 2012 00:07:38 -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: ApIBAOnEi0920S5Z/2dsb2JhbAANNoVysQqBBQYCJgJTH7MOihCBL4l5gn2CDIEYBJVtky6BQg Received: from ppp118-209-46-89.lns20.mel4.internode.on.net (HELO [192.168.1.100]) ([118.209.46.89]) by ipmail05.adl6.internode.on.net with ESMTP; 16 Apr 2012 16:37:35 +0930 Message-ID: <1334560076.3889.16.camel@bozo.localdomain> Subject: pcp updates From: Ken McDonell X-ASG-Orig-Subj: pcp updates To: pcp@oss.sgi.com Date: Mon, 16 Apr 2012 17:07:56 +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: 1334560058 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.94266 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/kenj/pcp.git dev src/pmdas/freebsd/root_freebsd | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit f003ad8a1956b63de8bacd253981a8002b51d77a Author: Ken McDonell Date: Mon Apr 16 17:01:57 2012 +1000 freebsd PMDA - fix build failure If PCP is not installed, then the build fails. Make the root PMNS for the FreeBSD PMDA match the other unconditionally installed PMDAs with the domain number being hard coded in root_freebsd, rather than relying on . From Robert.Verkerk@sara.nl Tue Apr 17 02:50:40 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 q3H7oe5s032096 for ; Tue, 17 Apr 2012 02:50:40 -0500 X-ASG-Debug-ID: 1334649037-04cbb005681726a0001-S8gJnT Received: from smtp.sara.nl (sara-exch-fe1.ka.sara.nl [145.100.8.49]) by cuda.sgi.com with ESMTP id 0KG6JUZvtgmUBFqv (version=TLSv1 cipher=AES128-SHA bits=128 verify=NO) for ; Tue, 17 Apr 2012 00:50:38 -0700 (PDT) X-Barracuda-Envelope-From: Robert.Verkerk@sara.nl X-Barracuda-Apparent-Source-IP: 145.100.8.49 Received: from [145.100.6.84] (145.100.6.84) by smtp.sara.nl (145.100.8.55) with Microsoft SMTP Server (TLS) id 14.2.247.3; Tue, 17 Apr 2012 09:50:37 +0200 Message-ID: <4F8D20CD.8020404@sara.nl> Date: Tue, 17 Apr 2012 09:50:37 +0200 From: Robert verkerk User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.28) Gecko/20120313 Lightning/1.0b2 Thunderbird/3.1.20 MIME-Version: 1.0 To: Subject: fibre adapter counters in pcp? Content-Type: text/plain; charset="ISO-8859-1"; format=flowed X-ASG-Orig-Subj: fibre adapter counters in pcp? Content-Transfer-Encoding: 7bit X-Barracuda-Connect: sara-exch-fe1.ka.sara.nl[145.100.8.49] X-Barracuda-Start-Time: 1334649038 X-Barracuda-Encrypted: AES128-SHA 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.94358 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Hi, We are using pcp 3.5.5.-1 on SLESS11 SP1. Are there parameters in pcp with which I can see the transmits and receives on our scsi fibre channels? Or are there ways to get this info? We have for instance a node with 4 fibre interfaces. 2 interfaces are used for disk access, 2 interfaces are used for tape access. We want to see how much data is transported over each interface. greetings, Robert Verkerk systeem programmeur Data Services From mgoodwin@redhat.com Tue Apr 17 19:22: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.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q3I0MfbD121992 for ; Tue, 17 Apr 2012 19:22:41 -0500 X-ASG-Debug-ID: 1334708559-04bdf07a6e1a45f0001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id WoztduLBKM0VkRGP for ; Tue, 17 Apr 2012 17:22:39 -0700 (PDT) X-Barracuda-Envelope-From: mgoodwin@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q3I0Mc14023128 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 17 Apr 2012 20:22:38 -0400 Received: from fletch.usersys.redhat.com (vpn1-49-248.bne.redhat.com [10.64.49.248]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q3I0Ma7O023828; Tue, 17 Apr 2012 20:22:37 -0400 Message-ID: <4F8E094C.5090208@redhat.com> Date: Wed, 18 Apr 2012 10:22:36 +1000 From: Mark Goodwin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120209 Thunderbird/10.0.1 MIME-Version: 1.0 To: robert.verkerk@sara.nl CC: pcp@oss.sgi.com Subject: Re: [pcp] fibre adapter counters in pcp? References: <4F8D20CD.8020404@sara.nl> X-ASG-Orig-Subj: Re: [pcp] fibre adapter counters in pcp? In-Reply-To: <4F8D20CD.8020404@sara.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1334708559 X-Barracuda-URL: http://192.48.157.11: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.94423 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- On 04/17/2012 05:50 PM, Robert verkerk wrote: > Hi, > > We are using pcp 3.5.5.-1 on SLESS11 SP1. Are there parameters in pcp with which > I can see the transmits and receives on our scsi fibre channels? Or are there > ways to get this info? There are two ways to monitor FC stats, neither of which is currently supported in PCP out-of-the-box. (a) each HBA in the system has an entry below /sys/class/scsi_host and for most HBA vendors, there are per-channel packet counters such as transmit, receive and various error counters. These are mostly vendor specific and different vendors support different counters related to their hardware (especially the error statistics). Or, (b) collect these stats on the switch/port side, and import into PCP. A proprietary PCP PMDA was developed for (b) but AFAIK it was never released as open-source .. and it only supported Brocade switches. > > We have for instance a node with 4 fibre interfaces. 2 interfaces are used for > disk access, 2 interfaces are used for tape access. We want to see how much data > is transported over each interface. We could create a new PMDA to do (a) without too much trouble, or we could extend the Linux PMDA to support host side FC stats. Would you be willing to collaborate on the development work to get this implemented? Cheers -- Mark From kenj@internode.on.net Tue Apr 17 19:33:25 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 q3I0XPrB122797 for ; Tue, 17 Apr 2012 19:33:25 -0500 X-ASG-Debug-ID: 1334709202-04cb6c0857193820001-S8gJnT Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by cuda.sgi.com with ESMTP id M0K6AmGlHbDFEUWp for ; Tue, 17 Apr 2012 17:33:23 -0700 (PDT) X-Barracuda-Envelope-From: kenj@internode.on.net X-Barracuda-Apparent-Source-IP: 150.101.137.131 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBAJ0Ljk8BjiL0/2dsb2JhbAANN4VmrmgBAQEEI1YQCw0LAgImAgJXBi6Fdqkdkl2BL44cgRgEnAONG4FK Received: from unknown (HELO [10.138.86.202]) ([1.142.34.244]) by ipmail07.adl2.internode.on.net with ESMTP; 18 Apr 2012 10:03:16 +0930 Message-ID: <1334709179.3156.3.camel@bozo-laptop.localdomain> Subject: Re: [pcp] fibre adapter counters in pcp? From: Ken McDonell X-ASG-Orig-Subj: Re: [pcp] fibre adapter counters in pcp? To: Robert verkerk Cc: pcp@oss.sgi.com Date: Wed, 18 Apr 2012 10:32:59 +1000 In-Reply-To: <4F8D20CD.8020404@sara.nl> References: <4F8D20CD.8020404@sara.nl> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2- Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Barracuda-Connect: ipmail07.adl2.internode.on.net[150.101.137.131] X-Barracuda-Start-Time: 1334709202 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.94423 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- G'day Robert, On Tue, 2012-04-17 at 09:50 +0200, Robert verkerk wrote: > Hi, > > We are using pcp 3.5.5.-1 on SLESS11 SP1. Are there parameters in pcp > with which I can see the transmits and receives on our scsi fibre > channels? Or are there ways to get this info? > > We have for instance a node with 4 fibre interfaces. 2 interfaces are > used for disk access, 2 interfaces are used for tape access. We want to > see how much data is transported over each interface. [mark has responded more fully, but this may help on the short term] Unfortunately, we (the PCP developers) don't have access to any large SGI systems any more, but ... I think you'll find the disk stats in disk.dev.* ... Tape stats have always been problematic ... they have been in, out, in and now out again. I don't remember all of the issues, but I can feel a dull pain developing in the back of my brain. As Mark said, if we could get some collaboration, or even guest access to your system, we could probably progress a solution here. From Robert.Verkerk@sara.nl Wed Apr 18 02:57:29 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 q3I7vS95167873 for ; Wed, 18 Apr 2012 02:57:29 -0500 X-ASG-Debug-ID: 1334735846-04cb6c08571a4d30001-S8gJnT Received: from smtp.sara.nl (sara-exch-fe1.ka.sara.nl [145.100.8.49]) by cuda.sgi.com with ESMTP id uMOiUnHE0gckEi9x (version=TLSv1 cipher=AES128-SHA bits=128 verify=NO) for ; Wed, 18 Apr 2012 00:57:27 -0700 (PDT) X-Barracuda-Envelope-From: Robert.Verkerk@sara.nl X-Barracuda-Apparent-Source-IP: 145.100.8.49 Received: from [145.100.6.84] (145.100.6.84) by smtp.sara.nl (145.100.8.55) with Microsoft SMTP Server (TLS) id 14.2.247.3; Wed, 18 Apr 2012 09:57:25 +0200 Message-ID: <4F8E73E5.4070203@sara.nl> Date: Wed, 18 Apr 2012 09:57:25 +0200 From: Robert verkerk User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.28) Gecko/20120313 Lightning/1.0b2 Thunderbird/3.1.20 MIME-Version: 1.0 To: Mark Goodwin , CC: , Services Subject: Re: [pcp] fibre adapter counters in pcp? References: <4F8D20CD.8020404@sara.nl> <4F8E094C.5090208@redhat.com> X-ASG-Orig-Subj: Re: [pcp] fibre adapter counters in pcp? In-Reply-To: <4F8E094C.5090208@redhat.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Barracuda-Connect: sara-exch-fe1.ka.sara.nl[145.100.8.49] X-Barracuda-Start-Time: 1334735847 X-Barracuda-Encrypted: AES128-SHA 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.94454 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Hi, We are happy to assist to get these parameters in pcp again. Granting you access to the systems is problematic. The systems where we have pcp installed are our production systems. greetings, Robert Verkerk On 04/18/2012 02:22 AM, Mark Goodwin wrote: > On 04/17/2012 05:50 PM, Robert verkerk wrote: >> Hi, >> >> We are using pcp 3.5.5.-1 on SLESS11 SP1. Are there parameters in pcp >> with which >> I can see the transmits and receives on our scsi fibre channels? Or >> are there >> ways to get this info? > > There are two ways to monitor FC stats, neither of which is currently > supported in PCP out-of-the-box. (a) each HBA in the system has an > entry below /sys/class/scsi_host and for most HBA vendors, there > are per-channel packet counters such as transmit, receive and various > error counters. These are mostly vendor specific and different vendors > support different counters related to their hardware (especially > the error statistics). Or, (b) collect these stats on the switch/port > side, and import into PCP. > > A proprietary PCP PMDA was developed for (b) but AFAIK it was > never released as open-source .. and it only supported Brocade > switches. > >> >> We have for instance a node with 4 fibre interfaces. 2 interfaces are >> used for >> disk access, 2 interfaces are used for tape access. We want to see >> how much data >> is transported over each interface. > > We could create a new PMDA to do (a) without too much trouble, > or we could extend the Linux PMDA to support host side FC stats. > Would you be willing to collaborate on the development work to > get this implemented? > > Cheers > -- Mark From ndsco1@student.monash.edu Wed Apr 18 05:40:31 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=3.8 required=5.0 tests=BAYES_50,HTML_MESSAGE 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 q3IAeVpA180483 for ; Wed, 18 Apr 2012 05:40:31 -0500 X-ASG-Debug-ID: 1334745628-04cb6c08571af9b0001-S8gJnT Received: from kyle.its.monash.edu.au (kyle.its.monash.edu.au [130.194.13.163]) by cuda.sgi.com with ESMTP id 6OGvo10jgkSO4yDp for ; Wed, 18 Apr 2012 03:40:29 -0700 (PDT) X-Barracuda-Envelope-From: ndsco1@student.monash.edu X-Barracuda-Apparent-Source-IP: 130.194.13.163 Received: from cleese.its.monash.edu.au ([130.194.13.85]) by kyle.its.monash.edu.au (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0M2O005MN8BGJRC0@kyle.its.monash.edu.au> for pcp@oss.sgi.com; Wed, 18 Apr 2012 20:40:28 +1000 (EST) Received: from cleese.its.monash.edu.au (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 0B4E47662FC for ; Wed, 18 Apr 2012 20:40:28 +1000 (EST) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by cleese.its.monash.edu.au (Postfix) with ESMTPS id 87E8A766287 for ; Wed, 18 Apr 2012 20:40:27 +1000 (EST) Received: by pbcwz17 with SMTP id wz17so8702478pbc.41 for ; Wed, 18 Apr 2012 03:40:24 -0700 (PDT) Received: by 10.68.240.135 with SMTP id wa7mr5718956pbc.7.1334745624474; Wed, 18 Apr 2012 03:40:24 -0700 (PDT) Received: by 10.68.60.10 with HTTP; Wed, 18 Apr 2012 03:40:24 -0700 (PDT) Date: Wed, 18 Apr 2012 20:40:24 +1000 From: Nathan Scott Subject: Re: [pcp] fibre adapter counters in pcp? In-reply-to: <4F8E73E5.4070203@sara.nl> X-ASG-Orig-Subj: Re: [pcp] fibre adapter counters in pcp? Sender: ndsco1@student.monash.edu To: Robert verkerk Cc: Mark Goodwin , kenj@internode.on.net, Services , pcp@oss.sgi.com Message-id: MIME-version: 1.0 Content-type: multipart/alternative; boundary=047d7b15a12fcff4cd04bdf1ae27 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=vryn2t01xiCSDhtO6XGTW9wWoWxqQqDB9LkTa8hBOBY=; b=kKtPX7m+QfiCxvKsNYAcHySmWe5yxNHmUXXAYSqVhny2j4RHW1vNDfMG7iWn6JNoDA oMtsXPxPZvO5C9R9lLOfZgC10uqYg5G5MMrel7VCcCAVy4guKtPY4WcOZ+Gy9oR0Kj4w AbCnI2DAGER+HLRzouaS/Wmuqiuo/vVV10Hu31GQ4ZLZw/N6nMSs/UqVzap2684PJfoR TQfxa18NZWdifpzhKUgcv+aRJSHV0dXd+rHgisTTGb6tAisq9FYsoig2qh1G+FUNvbSy WrvJOGFH4QRyQ61MqvICPRUiI0Ei6Ri6mGOCnwTTrZEHus31XGvbBh5AD/0y89Pn40Ru ZaUw== X-Google-Sender-Auth: mChbQ9AJPO_9eejrrmatDJkyIx8 X-Gm-Message-State: ALoCoQlGyqqhN+uJxj3VwZgJDAjV6xttCB5cA6XOaZJK33U9jsxV7s9jaHDoWmQjEOf83Lu4Cvyp References: <4F8D20CD.8020404@sara.nl> <4F8E094C.5090208@redhat.com> <4F8E73E5.4070203@sara.nl> X-Barracuda-Connect: kyle.its.monash.edu.au[130.194.13.163] X-Barracuda-Start-Time: 1334745629 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=HTML_MESSAGE X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.94464 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 HTML_MESSAGE BODY: HTML included in message --047d7b15a12fcff4cd04bdf1ae27 Content-Type: text/plain; charset=ISO-8859-1 Hi Robert, On 18 April 2012 17:57, Robert verkerk wrote: > Hi, > > We are happy to assist to get these parameters in pcp again. > > Granting you access to the systems is problematic. The systems where we > have pcp installed are our production systems. > Can you send (from your production system) the contents of the "entry below /sys/class/scsi_host" Mark mentioned for your FC HBA? Should give us some hints as to what stats are available for your device(s), and relative ease/difficulty of getting those values into PCP. cheers. -- Nathan --047d7b15a12fcff4cd04bdf1ae27 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Robert,

On 18 April 2012 17:57, Rober= t verkerk <r= obert.verkerk@sara.nl> wrote:
Hi,

We are happy to assist to get these parameters in pcp again.

Granting you access to the systems is problematic. The systems where we hav= e pcp installed are our production systems.

<= /div>
Can you send (from your production system) the contents of the &q= uot;entry below /sys/class/scsi_host" Mark mentioned for your FC HBA? = =A0Should give us some hints as to what stats are available for your device= (s), and relative ease/difficulty of getting those values into PCP.

cheers.

--
Nathan
--047d7b15a12fcff4cd04bdf1ae27-- From nscott@aconex.com Wed Apr 18 05:52:50 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.2 required=5.0 tests=BAYES_00,HTML_MESSAGE, J_CHICKENPOX_73 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 q3IAqorD181390 for ; Wed, 18 Apr 2012 05:52:50 -0500 X-ASG-Debug-ID: 1334746365-04cb6c08551b0890001-S8gJnT Received: from postoffice2.aconex.com (mail.aconex.com [203.166.49.3]) by cuda.sgi.com with ESMTP id 6GgiJXEHH3QAvta8 for ; Wed, 18 Apr 2012 03:52:47 -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 cP9sesIzkjTesEuK for ; Wed, 18 Apr 2012 20:52:40 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.35.102]) by postoffice.aconex.com (Postfix) with ESMTP id 5BB613CE00C5 for ; Wed, 18 Apr 2012 20:33:33 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 627B49E0001 for ; Wed, 18 Apr 2012 20:34:00 +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 inVn7vFs0cRg for ; Wed, 18 Apr 2012 20:33:55 +1000 (EST) Received: from acxmail-au2.aconex.com (acxmail-au2.aconex.com [192.168.35.104]) by gatekeeper.aconex.com (Postfix) with ESMTP id D6AAF9E0002 for ; Wed, 18 Apr 2012 20:33:55 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by acxmail-au2.aconex.com (Postfix) with ESMTP id D16323B20002 for ; Wed, 18 Apr 2012 20:33:55 +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 Ye-tH3bstUyW for ; Wed, 18 Apr 2012 20:33:55 +1000 (EST) Received: from acxmail-au2.aconex.com (localhost.localdomain [127.0.0.1]) by acxmail-au2.aconex.com (Postfix) with ESMTP id AFBB13B20001 for ; Wed, 18 Apr 2012 20:33:55 +1000 (EST) Date: Wed, 18 Apr 2012 20:33:55 +1000 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <906559259.856797.1334745235640.JavaMail.root@acxmail-au2.aconex.com> In-Reply-To: <2082989820.856793.1334745225506.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_856796_1240092542.1334745235639" X-Originating-IP: [220.237.96.234] 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: 1334746365 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=HTML_MESSAGE X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.94466 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 HTML_MESSAGE BODY: HTML included in message ------=_Part_856796_1240092542.1334745235639 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Changes committed to git://oss.sgi.com/pcp/pcp.git master CHANGELOG | 8 +++++++- VERSION.pcp | 2 +- build/rpm/pcp.spec.in | 4 ++-- debian/changelog | 10 +++++++++- debian/control | 2 +- src/pmdas/freebsd/root_freebsd | 9 ++++++++- 6 files changed, 28 insertions(+), 7 deletions(-) commit 2d8130cc8779436f5a31a61362682a5fd6fa9c4c Author: Nathan Scott Date: Wed Apr 18 20:29:51 2012 +1000 Prepare for minor point release mainly with Debian and FreeBSD fixes. commit ca8fe2aafc7e7f7d3ac84c62c01163114f82b313 Merge: ed360d0 f003ad8 Author: Nathan Scott Date: Mon Apr 16 20:19:02 2012 +1000 Merge branch 'dev' of git://oss.sgi.com/kenj/pcp into dev commit f003ad8a1956b63de8bacd253981a8002b51d77a Author: Ken McDonell Date: Mon Apr 16 17:01:57 2012 +1000 freebsd PMDA - fix build failure If PCP is not installed, then the build fails. Make the root PMNS for the FreeBSD PMDA match the other unconditionally installed PMDAs with the domain number being hard coded in root_freebsd, rather than relying on . commit ed360d033a274038be64377f0ac158e24c7bdbed Author: Nathan Scott Date: Sat Apr 14 11:19:12 2012 +1000 Resolve debian freebsd build issue, roll version in dev branch forward. ------=_Part_856796_1240092542.1334745235639 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/pcp/pcp.git ma= ster

 CHANGELOG       &= nbsp;           &nbs= p;  |    8 +++++++-
 VERSION.pcp  &nb= sp;            =      |    2 +-
 build/rpm/pcp.sp= ec.in          |  &n= bsp; 4 ++--
 debian/changelog      &n= bsp;        |   10 +++++++++-<= br> debian/control        &nbs= p;        |    2 +-
&n= bsp;src/pmdas/freebsd/root_freebsd |    9 ++++++++-
 = ;6 files changed, 28 insertions(+), 7 deletions(-)

commit 2d8130cc87= 79436f5a31a61362682a5fd6fa9c4c
Author: Nathan Scott <nathans@debian.o= rg>
Date:   Wed Apr 18 20:29:51 2012 +1000

 &nb= sp;  Prepare for minor point release mainly with Debian and FreeBSD fi= xes.

commit ca8fe2aafc7e7f7d3ac84c62c01163114f82b313
Merge: ed360= d0 f003ad8
Author: Nathan Scott <nathans@debian.org>
Date: = ;  Mon Apr 16 20:19:02 2012 +1000

    Merge bran= ch 'dev' of git://oss.sgi.com/kenj/pcp into dev

commit f003ad8a1956b= 63de8bacd253981a8002b51d77a
Author: Ken McDonell <kenj@internode.on.n= et>
Date:   Mon Apr 16 17:01:57 2012 +1000

 &nb= sp;  freebsd PMDA - fix build failure
   
 =    If PCP is not installed, then the build fails.
  =  
    Make the root PMNS for the FreeBSD PMDA match= the other unconditionally
    installed PMDAs with the d= omain number being hard coded in root_freebsd,
    rather= than relying on <stdpmid>.

commit ed360d033a274038be64377f0ac= 158e24c7bdbed
Author: Nathan Scott <nathans@debian.org>
Date:&n= bsp;  Sat Apr 14 11:19:12 2012 +1000

    Resolve= debian freebsd build issue, roll version in dev branch forward.

------=_Part_856796_1240092542.1334745235639-- From Robert.Verkerk@sara.nl Wed Apr 18 07:25: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 q3ICPZVC189993 for ; Wed, 18 Apr 2012 07:25:35 -0500 X-ASG-Debug-ID: 1334751931-04cbb0056a1d6190001-S8gJnT Received: from smtp.sara.nl (sara-exch-fe1.ka.sara.nl [145.100.8.49]) by cuda.sgi.com with ESMTP id P7QCJ1PUMNHvhkCU (version=TLSv1 cipher=AES128-SHA bits=128 verify=NO) for ; Wed, 18 Apr 2012 05:25:32 -0700 (PDT) X-Barracuda-Envelope-From: Robert.Verkerk@sara.nl X-Barracuda-Apparent-Source-IP: 145.100.8.49 Received: from [145.100.6.84] (145.100.6.84) by smtp.sara.nl (145.100.8.55) with Microsoft SMTP Server (TLS) id 14.2.247.3; Wed, 18 Apr 2012 14:25:30 +0200 Message-ID: <4F8EB2BA.8040907@sara.nl> Date: Wed, 18 Apr 2012 14:25:30 +0200 From: Robert verkerk User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.28) Gecko/20120313 Lightning/1.0b2 Thunderbird/3.1.20 MIME-Version: 1.0 To: Nathan Scott CC: Mark Goodwin , , Services , Subject: Re: [pcp] fibre adapter counters in pcp? References: <4F8D20CD.8020404@sara.nl> <4F8E094C.5090208@redhat.com> <4F8E73E5.4070203@sara.nl> X-ASG-Orig-Subj: Re: [pcp] fibre adapter counters in pcp? In-Reply-To: Content-Type: multipart/alternative; boundary="------------080002050900030706010101" X-Barracuda-Connect: sara-exch-fe1.ka.sara.nl[145.100.8.49] X-Barracuda-Start-Time: 1334751932 X-Barracuda-Encrypted: AES128-SHA 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.94472 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 HTML_MESSAGE BODY: HTML included in message --------------080002050900030706010101 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Hi, I used the info from "/sys/class/fc_host" NOT "/sys/class/scsi_host". dm2 is a system with newer fibre interfaces =========================================== The info is as follows: dm2:~ # lspci | grep -i fibre 08:00.0 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA (rev 02) 08:00.1 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA (rev 02) dm2:~ # ls -l /sys/class/fc_host/*/ /sys/class/fc_host/host11/: total 0 lrwxrwxrwx 1 root root 0 Apr 11 18:03 device -> ../../../host11 -r--r--r-- 1 root root 4096 Apr 11 18:03 fabric_name --w------- 1 root root 4096 Apr 11 18:03 issue_lip -r--r--r-- 1 root root 4096 Apr 11 18:03 max_npiv_vports -r--r--r-- 1 root root 4096 Apr 11 18:03 node_name -r--r--r-- 1 root root 4096 Apr 11 18:03 npiv_vports_inuse -r--r--r-- 1 root root 4096 Apr 11 18:03 port_id -r--r--r-- 1 root root 4096 Apr 11 18:03 port_name -r--r--r-- 1 root root 4096 Apr 11 18:03 port_state -r--r--r-- 1 root root 4096 Apr 11 18:03 port_type drwxr-xr-x 2 root root 0 Apr 11 18:03 power -r--r--r-- 1 root root 4096 Apr 11 18:03 speed drwxr-xr-x 2 root root 0 Apr 11 18:03 statistics lrwxrwxrwx 1 root root 0 Apr 11 14:37 subsystem -> ../../../../../../../class/fc_host -r--r--r-- 1 root root 4096 Apr 11 18:03 supported_classes -r--r--r-- 1 root root 4096 Apr 11 18:03 supported_speeds -r--r--r-- 1 root root 4096 Apr 11 18:03 symbolic_name -rw-r--r-- 1 root root 4096 Apr 11 18:03 system_hostname -rw-r--r-- 1 root root 4096 Apr 11 18:03 tgtid_bind_type -rw-r--r-- 1 root root 4096 Apr 11 14:37 uevent --w------- 1 root root 4096 Apr 11 18:03 vport_create --w------- 1 root root 4096 Apr 11 18:03 vport_delete /sys/class/fc_host/host12/: total 0 lrwxrwxrwx 1 root root 0 Apr 11 18:03 device -> ../../../host12 -r--r--r-- 1 root root 4096 Apr 11 18:03 fabric_name --w------- 1 root root 4096 Apr 11 18:03 issue_lip -r--r--r-- 1 root root 4096 Apr 11 18:03 max_npiv_vports -r--r--r-- 1 root root 4096 Apr 11 18:03 node_name -r--r--r-- 1 root root 4096 Apr 11 18:03 npiv_vports_inuse -r--r--r-- 1 root root 4096 Apr 11 18:03 port_id -r--r--r-- 1 root root 4096 Apr 11 18:03 port_name -r--r--r-- 1 root root 4096 Apr 11 18:03 port_state -r--r--r-- 1 root root 4096 Apr 11 18:03 port_type drwxr-xr-x 2 root root 0 Apr 11 18:03 power -r--r--r-- 1 root root 4096 Apr 11 18:03 speed drwxr-xr-x 2 root root 0 Apr 11 18:03 statistics lrwxrwxrwx 1 root root 0 Apr 11 14:37 subsystem -> ../../../../../../../class/fc_host -r--r--r-- 1 root root 4096 Apr 11 18:03 supported_classes -r--r--r-- 1 root root 4096 Apr 11 18:03 supported_speeds -r--r--r-- 1 root root 4096 Apr 11 18:03 symbolic_name -rw-r--r-- 1 root root 4096 Apr 11 18:03 system_hostname -rw-r--r-- 1 root root 4096 Apr 11 18:03 tgtid_bind_type -rw-r--r-- 1 root root 4096 Apr 11 14:37 uevent --w------- 1 root root 4096 Apr 11 18:03 vport_create --w------- 1 root root 4096 Apr 11 18:03 vport_delete dm2:~ # ls -l /sys/class/fc_host/*/statistics /sys/class/fc_host/host11/statistics: total 0 -r--r--r-- 1 root root 4096 Apr 11 18:03 dumped_frames -r--r--r-- 1 root root 4096 Apr 11 18:03 error_frames -r--r--r-- 1 root root 4096 Apr 11 18:03 fcp_control_requests -r--r--r-- 1 root root 4096 Apr 11 18:03 fcp_input_megabytes -r--r--r-- 1 root root 4096 Apr 11 18:03 fcp_input_requests -r--r--r-- 1 root root 4096 Apr 11 18:03 fcp_output_megabytes -r--r--r-- 1 root root 4096 Apr 11 18:03 fcp_output_requests -r--r--r-- 1 root root 4096 Apr 11 18:03 invalid_crc_count -r--r--r-- 1 root root 4096 Apr 11 18:03 invalid_tx_word_count -r--r--r-- 1 root root 4096 Apr 11 18:03 link_failure_count -r--r--r-- 1 root root 4096 Apr 11 18:03 lip_count -r--r--r-- 1 root root 4096 Apr 11 18:03 loss_of_signal_count -r--r--r-- 1 root root 4096 Apr 11 18:03 loss_of_sync_count -r--r--r-- 1 root root 4096 Apr 11 18:03 nos_count -r--r--r-- 1 root root 4096 Apr 11 18:03 prim_seq_protocol_err_count --w------- 1 root root 4096 Apr 11 18:03 reset_statistics -r--r--r-- 1 root root 4096 Apr 11 18:03 rx_frames -r--r--r-- 1 root root 4096 Apr 11 18:03 rx_words -r--r--r-- 1 root root 4096 Apr 11 18:03 seconds_since_last_reset -r--r--r-- 1 root root 4096 Apr 11 18:03 tx_frames -r--r--r-- 1 root root 4096 Apr 11 18:03 tx_words /sys/class/fc_host/host12/statistics: total 0 -r--r--r-- 1 root root 4096 Apr 11 18:03 dumped_frames -r--r--r-- 1 root root 4096 Apr 11 18:03 error_frames -r--r--r-- 1 root root 4096 Apr 11 18:03 fcp_control_requests -r--r--r-- 1 root root 4096 Apr 11 18:03 fcp_input_megabytes -r--r--r-- 1 root root 4096 Apr 11 18:03 fcp_input_requests -r--r--r-- 1 root root 4096 Apr 11 18:03 fcp_output_megabytes -r--r--r-- 1 root root 4096 Apr 11 18:03 fcp_output_requests -r--r--r-- 1 root root 4096 Apr 11 18:03 invalid_crc_count -r--r--r-- 1 root root 4096 Apr 11 18:03 invalid_tx_word_count -r--r--r-- 1 root root 4096 Apr 11 18:03 link_failure_count -r--r--r-- 1 root root 4096 Apr 11 18:03 lip_count -r--r--r-- 1 root root 4096 Apr 11 18:03 loss_of_signal_count -r--r--r-- 1 root root 4096 Apr 11 18:03 loss_of_sync_count -r--r--r-- 1 root root 4096 Apr 11 18:03 nos_count -r--r--r-- 1 root root 4096 Apr 11 18:03 prim_seq_protocol_err_count --w------- 1 root root 4096 Apr 11 18:03 reset_statistics -r--r--r-- 1 root root 4096 Apr 11 18:03 rx_frames -r--r--r-- 1 root root 4096 Apr 11 18:03 rx_words -r--r--r-- 1 root root 4096 Apr 11 18:03 seconds_since_last_reset -r--r--r-- 1 root root 4096 Apr 11 18:03 tx_frames -r--r--r-- 1 root root 4096 Apr 11 18:03 tx_words dm4 is a node with older interfaces: ==================================== dm4:~ # lspci | grep -i fibre 08:00.0 Fibre Channel: LSI Logic / Symbios Logic FC949ES Fibre Channel Adapter (rev 02) 08:00.1 Fibre Channel: LSI Logic / Symbios Logic FC949ES Fibre Channel Adapter (rev 02) This one does not seem to have statistics :( dm4:~ # ls -l /sys/class/fc_host/*/ /sys/class/fc_host/host11/: total 0 lrwxrwxrwx 1 root root 0 Apr 17 21:03 device -> ../../../host11 -r--r--r-- 1 root root 4096 Apr 17 21:03 fabric_name -r--r--r-- 1 root root 4096 Apr 17 21:03 maxframe_size -r--r--r-- 1 root root 4096 Apr 17 21:03 node_name -r--r--r-- 1 root root 4096 Apr 17 21:03 port_id -r--r--r-- 1 root root 4096 Apr 17 21:03 port_name -r--r--r-- 1 root root 4096 Apr 17 21:03 port_state -r--r--r-- 1 root root 4096 Apr 17 21:03 port_type drwxr-xr-x 2 root root 0 Apr 17 21:03 power -r--r--r-- 1 root root 4096 Apr 17 21:03 speed lrwxrwxrwx 1 root root 0 Apr 17 21:03 subsystem -> ../../../../../../../class/fc_host -r--r--r-- 1 root root 4096 Apr 17 21:03 supported_classes -r--r--r-- 1 root root 4096 Apr 17 21:03 supported_speeds -r--r--r-- 1 root root 4096 Apr 17 21:03 symbolic_name -rw-r--r-- 1 root root 4096 Apr 17 21:03 tgtid_bind_type -rw-r--r-- 1 root root 4096 Apr 17 21:03 uevent /sys/class/fc_host/host12/: total 0 lrwxrwxrwx 1 root root 0 Apr 17 21:03 device -> ../../../host12 -r--r--r-- 1 root root 4096 Apr 17 21:03 fabric_name -r--r--r-- 1 root root 4096 Apr 17 21:03 maxframe_size -r--r--r-- 1 root root 4096 Apr 17 21:03 node_name -r--r--r-- 1 root root 4096 Apr 17 21:03 port_id -r--r--r-- 1 root root 4096 Apr 17 21:03 port_name -r--r--r-- 1 root root 4096 Apr 17 21:03 port_state -r--r--r-- 1 root root 4096 Apr 17 21:03 port_type drwxr-xr-x 2 root root 0 Apr 17 21:03 power -r--r--r-- 1 root root 4096 Apr 17 21:03 speed lrwxrwxrwx 1 root root 0 Apr 17 21:03 subsystem -> ../../../../../../../class/fc_host -r--r--r-- 1 root root 4096 Apr 17 21:03 supported_classes -r--r--r-- 1 root root 4096 Apr 17 21:03 supported_speeds -r--r--r-- 1 root root 4096 Apr 17 21:03 symbolic_name -rw-r--r-- 1 root root 4096 Apr 17 21:03 tgtid_bind_type -rw-r--r-- 1 root root 4096 Apr 17 21:03 uevent greetings, Robert Verkerk On 04/18/2012 12:40 PM, Nathan Scott wrote: > Hi Robert, > > On 18 April 2012 17:57, Robert verkerk > wrote: > > Hi, > > We are happy to assist to get these parameters in pcp again. > > Granting you access to the systems is problematic. The systems > where we have pcp installed are our production systems. > > > Can you send (from your production system) the contents of the "entry > below /sys/class/scsi_host" Mark mentioned for your FC HBA? Should > give us some hints as to what stats are available for your device(s), > and relative ease/difficulty of getting those values into PCP. > > cheers. > > -- > Nathan --------------080002050900030706010101 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Hi,

I used the info from "/sys/class/fc_host" NOT "/sys/class/scsi_host".

dm2 is a system with newer fibre interfaces
===========================================
The info is as follows:

dm2:~ # lspci | grep -i fibre
08:00.0 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA (rev 02)
08:00.1 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA (rev 02)


dm2:~ # ls -l /sys/class/fc_host/*/
/sys/class/fc_host/host11/:
total 0
lrwxrwxrwx 1 root root    0 Apr 11 18:03 device -> ../../../host11
-r--r--r-- 1 root root 4096 Apr 11 18:03 fabric_name
--w------- 1 root root 4096 Apr 11 18:03 issue_lip
-r--r--r-- 1 root root 4096 Apr 11 18:03 max_npiv_vports
-r--r--r-- 1 root root 4096 Apr 11 18:03 node_name
-r--r--r-- 1 root root 4096 Apr 11 18:03 npiv_vports_inuse
-r--r--r-- 1 root root 4096 Apr 11 18:03 port_id
-r--r--r-- 1 root root 4096 Apr 11 18:03 port_name
-r--r--r-- 1 root root 4096 Apr 11 18:03 port_state
-r--r--r-- 1 root root 4096 Apr 11 18:03 port_type
drwxr-xr-x 2 root root    0 Apr 11 18:03 power
-r--r--r-- 1 root root 4096 Apr 11 18:03 speed
drwxr-xr-x 2 root root    0 Apr 11 18:03 statistics
lrwxrwxrwx 1 root root    0 Apr 11 14:37 subsystem -> ../../../../../../../class/fc_host
-r--r--r-- 1 root root 4096 Apr 11 18:03 supported_classes
-r--r--r-- 1 root root 4096 Apr 11 18:03 supported_speeds
-r--r--r-- 1 root root 4096 Apr 11 18:03 symbolic_name
-rw-r--r-- 1 root root 4096 Apr 11 18:03 system_hostname
-rw-r--r-- 1 root root 4096 Apr 11 18:03 tgtid_bind_type
-rw-r--r-- 1 root root 4096 Apr 11 14:37 uevent
--w------- 1 root root 4096 Apr 11 18:03 vport_create
--w------- 1 root root 4096 Apr 11 18:03 vport_delete

/sys/class/fc_host/host12/:
total 0
lrwxrwxrwx 1 root root    0 Apr 11 18:03 device -> ../../../host12
-r--r--r-- 1 root root 4096 Apr 11 18:03 fabric_name
--w------- 1 root root 4096 Apr 11 18:03 issue_lip
-r--r--r-- 1 root root 4096 Apr 11 18:03 max_npiv_vports
-r--r--r-- 1 root root 4096 Apr 11 18:03 node_name
-r--r--r-- 1 root root 4096 Apr 11 18:03 npiv_vports_inuse
-r--r--r-- 1 root root 4096 Apr 11 18:03 port_id
-r--r--r-- 1 root root 4096 Apr 11 18:03 port_name
-r--r--r-- 1 root root 4096 Apr 11 18:03 port_state
-r--r--r-- 1 root root 4096 Apr 11 18:03 port_type
drwxr-xr-x 2 root root    0 Apr 11 18:03 power
-r--r--r-- 1 root root 4096 Apr 11 18:03 speed
drwxr-xr-x 2 root root    0 Apr 11 18:03 statistics
lrwxrwxrwx 1 root root    0 Apr 11 14:37 subsystem -> ../../../../../../../class/fc_host
-r--r--r-- 1 root root 4096 Apr 11 18:03 supported_classes
-r--r--r-- 1 root root 4096 Apr 11 18:03 supported_speeds
-r--r--r-- 1 root root 4096 Apr 11 18:03 symbolic_name
-rw-r--r-- 1 root root 4096 Apr 11 18:03 system_hostname
-rw-r--r-- 1 root root 4096 Apr 11 18:03 tgtid_bind_type
-rw-r--r-- 1 root root 4096 Apr 11 14:37 uevent
--w------- 1 root root 4096 Apr 11 18:03 vport_create
--w------- 1 root root 4096 Apr 11 18:03 vport_delete




dm2:~ # ls -l /sys/class/fc_host/*/statistics
/sys/class/fc_host/host11/statistics:
total 0
-r--r--r-- 1 root root 4096 Apr 11 18:03 dumped_frames
-r--r--r-- 1 root root 4096 Apr 11 18:03 error_frames
-r--r--r-- 1 root root 4096 Apr 11 18:03 fcp_control_requests
-r--r--r-- 1 root root 4096 Apr 11 18:03 fcp_input_megabytes
-r--r--r-- 1 root root 4096 Apr 11 18:03 fcp_input_requests
-r--r--r-- 1 root root 4096 Apr 11 18:03 fcp_output_megabytes
-r--r--r-- 1 root root 4096 Apr 11 18:03 fcp_output_requests
-r--r--r-- 1 root root 4096 Apr 11 18:03 invalid_crc_count
-r--r--r-- 1 root root 4096 Apr 11 18:03 invalid_tx_word_count
-r--r--r-- 1 root root 4096 Apr 11 18:03 link_failure_count
-r--r--r-- 1 root root 4096 Apr 11 18:03 lip_count
-r--r--r-- 1 root root 4096 Apr 11 18:03 loss_of_signal_count
-r--r--r-- 1 root root 4096 Apr 11 18:03 loss_of_sync_count
-r--r--r-- 1 root root 4096 Apr 11 18:03 nos_count
-r--r--r-- 1 root root 4096 Apr 11 18:03 prim_seq_protocol_err_count
--w------- 1 root root 4096 Apr 11 18:03 reset_statistics
-r--r--r-- 1 root root 4096 Apr 11 18:03 rx_frames
-r--r--r-- 1 root root 4096 Apr 11 18:03 rx_words
-r--r--r-- 1 root root 4096 Apr 11 18:03 seconds_since_last_reset
-r--r--r-- 1 root root 4096 Apr 11 18:03 tx_frames
-r--r--r-- 1 root root 4096 Apr 11 18:03 tx_words

/sys/class/fc_host/host12/statistics:
total 0
-r--r--r-- 1 root root 4096 Apr 11 18:03 dumped_frames
-r--r--r-- 1 root root 4096 Apr 11 18:03 error_frames
-r--r--r-- 1 root root 4096 Apr 11 18:03 fcp_control_requests
-r--r--r-- 1 root root 4096 Apr 11 18:03 fcp_input_megabytes
-r--r--r-- 1 root root 4096 Apr 11 18:03 fcp_input_requests
-r--r--r-- 1 root root 4096 Apr 11 18:03 fcp_output_megabytes
-r--r--r-- 1 root root 4096 Apr 11 18:03 fcp_output_requests
-r--r--r-- 1 root root 4096 Apr 11 18:03 invalid_crc_count
-r--r--r-- 1 root root 4096 Apr 11 18:03 invalid_tx_word_count
-r--r--r-- 1 root root 4096 Apr 11 18:03 link_failure_count
-r--r--r-- 1 root root 4096 Apr 11 18:03 lip_count
-r--r--r-- 1 root root 4096 Apr 11 18:03 loss_of_signal_count
-r--r--r-- 1 root root 4096 Apr 11 18:03 loss_of_sync_count
-r--r--r-- 1 root root 4096 Apr 11 18:03 nos_count
-r--r--r-- 1 root root 4096 Apr 11 18:03 prim_seq_protocol_err_count
--w------- 1 root root 4096 Apr 11 18:03 reset_statistics
-r--r--r-- 1 root root 4096 Apr 11 18:03 rx_frames
-r--r--r-- 1 root root 4096 Apr 11 18:03 rx_words
-r--r--r-- 1 root root 4096 Apr 11 18:03 seconds_since_last_reset
-r--r--r-- 1 root root 4096 Apr 11 18:03 tx_frames
-r--r--r-- 1 root root 4096 Apr 11 18:03 tx_words


dm4 is a node with older interfaces:
====================================
dm4:~ # lspci | grep -i fibre
08:00.0 Fibre Channel: LSI Logic / Symbios Logic FC949ES Fibre Channel Adapter (rev 02)
08:00.1 Fibre Channel: LSI Logic / Symbios Logic FC949ES Fibre Channel Adapter (rev 02)

This one does not seem to have statistics :(
dm4:~ # ls -l /sys/class/fc_host/*/
/sys/class/fc_host/host11/:
total 0
lrwxrwxrwx 1 root root    0 Apr 17 21:03 device -> ../../../host11
-r--r--r-- 1 root root 4096 Apr 17 21:03 fabric_name
-r--r--r-- 1 root root 4096 Apr 17 21:03 maxframe_size
-r--r--r-- 1 root root 4096 Apr 17 21:03 node_name
-r--r--r-- 1 root root 4096 Apr 17 21:03 port_id
-r--r--r-- 1 root root 4096 Apr 17 21:03 port_name
-r--r--r-- 1 root root 4096 Apr 17 21:03 port_state
-r--r--r-- 1 root root 4096 Apr 17 21:03 port_type
drwxr-xr-x 2 root root    0 Apr 17 21:03 power
-r--r--r-- 1 root root 4096 Apr 17 21:03 speed
lrwxrwxrwx 1 root root    0 Apr 17 21:03 subsystem -> ../../../../../../../class/fc_host
-r--r--r-- 1 root root 4096 Apr 17 21:03 supported_classes
-r--r--r-- 1 root root 4096 Apr 17 21:03 supported_speeds
-r--r--r-- 1 root root 4096 Apr 17 21:03 symbolic_name
-rw-r--r-- 1 root root 4096 Apr 17 21:03 tgtid_bind_type
-rw-r--r-- 1 root root 4096 Apr 17 21:03 uevent

/sys/class/fc_host/host12/:
total 0
lrwxrwxrwx 1 root root    0 Apr 17 21:03 device -> ../../../host12
-r--r--r-- 1 root root 4096 Apr 17 21:03 fabric_name
-r--r--r-- 1 root root 4096 Apr 17 21:03 maxframe_size
-r--r--r-- 1 root root 4096 Apr 17 21:03 node_name
-r--r--r-- 1 root root 4096 Apr 17 21:03 port_id
-r--r--r-- 1 root root 4096 Apr 17 21:03 port_name
-r--r--r-- 1 root root 4096 Apr 17 21:03 port_state
-r--r--r-- 1 root root 4096 Apr 17 21:03 port_type
drwxr-xr-x 2 root root    0 Apr 17 21:03 power
-r--r--r-- 1 root root 4096 Apr 17 21:03 speed
lrwxrwxrwx 1 root root    0 Apr 17 21:03 subsystem -> ../../../../../../../class/fc_host
-r--r--r-- 1 root root 4096 Apr 17 21:03 supported_classes
-r--r--r-- 1 root root 4096 Apr 17 21:03 supported_speeds
-r--r--r-- 1 root root 4096 Apr 17 21:03 symbolic_name
-rw-r--r-- 1 root root 4096 Apr 17 21:03 tgtid_bind_type
-rw-r--r-- 1 root root 4096 Apr 17 21:03 uevent




greetings,

Robert Verkerk



On 04/18/2012 12:40 PM, Nathan Scott wrote:
Hi Robert,

On 18 April 2012 17:57, Robert verkerk <robert.verkerk@sara.nl> wrote:
Hi,

We are happy to assist to get these parameters in pcp again.

Granting you access to the systems is problematic. The systems where we have pcp installed are our production systems.

Can you send (from your production system) the contents of the "entry below /sys/class/scsi_host" Mark mentioned for your FC HBA?  Should give us some hints as to what stats are available for your device(s), and relative ease/difficulty of getting those values into PCP.

cheers.

--
Nathan

--------------080002050900030706010101-- From mgoodwin@redhat.com Wed Apr 18 08:32: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.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q3IDW1v5196910 for ; Wed, 18 Apr 2012 08:32:02 -0500 X-ASG-Debug-ID: 1334755919-04bdf07a6d1d3b20001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id Y1Xj1X5H6lORu9la for ; Wed, 18 Apr 2012 06:31:59 -0700 (PDT) X-Barracuda-Envelope-From: mgoodwin@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q3IDVmlQ024792 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 18 Apr 2012 09:31:49 -0400 Received: from fletch.usersys.redhat.com (vpn1-50-23.bne.redhat.com [10.64.50.23]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q3IDVjsk010342; Wed, 18 Apr 2012 09:31:46 -0400 Message-ID: <4F8EC241.6070407@redhat.com> Date: Wed, 18 Apr 2012 23:31:45 +1000 From: Mark Goodwin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-Version: 1.0 To: Robert verkerk CC: Nathan Scott , kenj@internode.on.net, Services , pcp@oss.sgi.com Subject: Re: [pcp] fibre adapter counters in pcp? References: <4F8D20CD.8020404@sara.nl> <4F8E094C.5090208@redhat.com> <4F8E73E5.4070203@sara.nl> <4F8EB2BA.8040907@sara.nl> X-ASG-Orig-Subj: Re: [pcp] fibre adapter counters in pcp? In-Reply-To: <4F8EB2BA.8040907@sara.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1334755919 X-Barracuda-URL: http://192.48.157.11: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.94476 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- On 04/18/2012 10:25 PM, Robert verkerk wrote: > -r--r--r-- 1 root root 4096 Apr 11 18:03 dumped_frames > -r--r--r-- 1 root root 4096 Apr 11 18:03 error_frames > -r--r--r-- 1 root root 4096 Apr 11 18:03 fcp_control_requests > -r--r--r-- 1 root root 4096 Apr 11 18:03 fcp_input_megabytes > -r--r--r-- 1 root root 4096 Apr 11 18:03 fcp_input_requests > -r--r--r-- 1 root root 4096 Apr 11 18:03 fcp_output_megabytes > -r--r--r-- 1 root root 4096 Apr 11 18:03 fcp_output_requests > -r--r--r-- 1 root root 4096 Apr 11 18:03 invalid_crc_count > -r--r--r-- 1 root root 4096 Apr 11 18:03 invalid_tx_word_count > -r--r--r-- 1 root root 4096 Apr 11 18:03 link_failure_count > -r--r--r-- 1 root root 4096 Apr 11 18:03 lip_count > -r--r--r-- 1 root root 4096 Apr 11 18:03 loss_of_signal_count > -r--r--r-- 1 root root 4096 Apr 11 18:03 loss_of_sync_count > -r--r--r-- 1 root root 4096 Apr 11 18:03 nos_count > -r--r--r-- 1 root root 4096 Apr 11 18:03 prim_seq_protocol_err_count > --w------- 1 root root 4096 Apr 11 18:03 reset_statistics > -r--r--r-- 1 root root 4096 Apr 11 18:03 rx_frames > -r--r--r-- 1 root root 4096 Apr 11 18:03 rx_words > -r--r--r-- 1 root root 4096 Apr 11 18:03 seconds_since_last_reset > -r--r--r-- 1 root root 4096 Apr 11 18:03 tx_frames > -r--r--r-- 1 root root 4096 Apr 11 18:03 tx_words Ok, those stats are for a Qlogic HBA with fairly recent firmware. We can export {rx,tx}{frames,words} and some of the error stats. We could also use seconds_since_last_reset with some of the error stats (error_frames and invalid_*) to come up with a meaningful Bit Error Rate (BER) statistic - going above some threshold BER would indicate FC transport issues (good for the pmie tool to monitor). I have internal access to a system with a similar Qlogic HBA. We have a system with an Emulex/lpfc HBA too. The Emulex stats are similar, but definitely not all the same names and some counters may have different units or dimensions. So we'll need to treat each vendor specially and generalize the exported metric names. Other vendors such as LSI/Megaraid etc will have to remain initially unsupported until we can get access to h/w. Nathan (or was it Ken?) - last time we were looking at supporting FC stats, we were undecided whether to do so by extending the Linux PMDA, or develop a new PMDA. I'm for extending the Linux PMDA since these stats are exported by the Linux kernel (scsi driver modules) .. thoughts? Regards -- Mark From nscott@aconex.com Wed Apr 18 14:56: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.1 required=5.0 tests=BAYES_00,HTML_MESSAGE 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 q3IJuft4228686 for ; Wed, 18 Apr 2012 14:56:46 -0500 X-ASG-Debug-ID: 1334778970-04cb6c08541d6b30001-S8gJnT Received: from postoffice2.aconex.com (mail.aconex.com [203.166.49.3]) by cuda.sgi.com with ESMTP id fTq98hYEqG7DlMwG for ; Wed, 18 Apr 2012 12:56:10 -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 AZ3JjSAYmWX2eX7i; Thu, 19 Apr 2012 05:55:53 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.35.102]) by postoffice.aconex.com (Postfix) with ESMTP id E63453CE00A6; Thu, 19 Apr 2012 05:55:25 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id ED2879E0004; Thu, 19 Apr 2012 05:55:52 +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 8A0NV-Wu6dKz; Thu, 19 Apr 2012 05:55:52 +1000 (EST) Received: from acxmail-au2.aconex.com (acxmail-au2.aconex.com [192.168.35.104]) by gatekeeper.aconex.com (Postfix) with ESMTP id 0EE8E9E0003; Thu, 19 Apr 2012 05:55:52 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by acxmail-au2.aconex.com (Postfix) with ESMTP id 071943B20002; Thu, 19 Apr 2012 05:55:52 +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 BAiuc96WVswA; Thu, 19 Apr 2012 05:55:51 +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 D37FC3B20001; Thu, 19 Apr 2012 05:55:51 +1000 (EST) Date: Thu, 19 Apr 2012 05:55:51 +1000 (EST) From: Nathan Scott To: Mark Goodwin Cc: pcp@oss.sgi.com, Robert verkerk Message-ID: <1924991865.859510.1334778951748.JavaMail.root@acxmail-au2.aconex.com> In-Reply-To: <4F8EC241.6070407@redhat.com> Subject: Re: [pcp] fibre adapter counters in pcp? MIME-Version: 1.0 X-ASG-Orig-Subj: Re: [pcp] fibre adapter counters in pcp? Content-Type: multipart/alternative; boundary="----=_Part_859509_1420568852.1334778951747" X-Originating-IP: [220.237.96.234] 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: 1334778970 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=HTML_MESSAGE X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.94501 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 HTML_MESSAGE BODY: HTML included in message ------=_Part_859509_1420568852.1334778951747 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit [Dropped ds-tg from CC as it appears mails there are not getting through?] ----- Original Message ----- > Ok, those stats are for a Qlogic HBA with fairly recent firmware. > We can export {rx,tx}{frames,words} and some of the error stats. > We could also use seconds_since_last_reset with some of the error > stats (error_frames and invalid_*) to come up with a meaningful Bit > Error Rate (BER) statistic - going above some threshold BER would > indicate FC transport issues (good for the pmie tool to monitor). > I have internal access to a system with a similar Qlogic HBA. > We have a system with an Emulex/lpfc HBA too. The Emulex stats > are similar, but definitely not all the same names and some counters > may have different units or dimensions. So we'll need to treat > each vendor specially and generalize the exported metric names. > Other vendors such as LSI/Megaraid etc will have to remain initially > unsupported until we can get access to h/w. > Nathan (or was it Ken?) - last time we were looking at supporting FC > stats, we were undecided whether to do so by extending the Linux > PMDA, > or develop a new PMDA. I'm for extending the Linux PMDA since these > stats are exported by the Linux kernel (scsi driver modules) .. > thoughts? Yeah, I'd vote for the separate PMDA approach still, because a/ most people don't need this stuff so for them its just bloat and b/ it looks like it could blow out with different vendors needing different metrics/logic. Its not a problem to create a new separate, optional DSO PMDA for these kind of stats. cheers. -- Nathan ------=_Part_859509_1420568852.1334778951747 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'>[Dropped ds-tg from CC as it appears mails there are = not getting through?]



Ok, those stats are for a Qlogic HBA with fairly recent firmware.We can export {rx,tx}{frames,words} and some of the error stats.
We cou= ld also use seconds_since_last_reset with some of the error
stats (error= _frames and invalid_*) to come up with a meaningful Bit
Error Rate (BER)= statistic - going above some threshold BER would
indicate FC transport = issues (good for the pmie tool to monitor).

I have internal access t= o a system with a similar Qlogic HBA.
We have a system with an Emulex/lp= fc HBA too. The Emulex stats
are similar, but definitely not all the sam= e names and some counters
may have different units or dimensions. So we'= ll need to treat
each vendor specially and generalize the exported metri= c names.
Other vendors such as LSI/Megaraid etc will have to remain init= ially
unsupported until we can get access to h/w.

Nathan (or was = it Ken?) - last time we were looking at supporting FC
stats, we were und= ecided whether to do so by extending the Linux PMDA,
or develop a new PM= DA. I'm for extending the Linux PMDA since these
stats are exported by t= he Linux kernel (scsi driver modules) ..
thoughts?

Y= eah, I'd vote for the separate PMDA approach still, because a/ most people = don't
need this stuff so for them its just bloat and b/ it looks like it= could blow out with
different vendors needing different metrics/logic.&= nbsp; Its not a problem to create a new
separate, optional DSO PMDA for = these kind of stats.

cheers.

--
Nathan
------=_Part_859509_1420568852.1334778951747-- From fche@redhat.com Thu Apr 19 16:23:00 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 q3JLN0vd120495 for ; Thu, 19 Apr 2012 16:23:00 -0500 X-ASG-Debug-ID: 1334870578-04cb6c085522f420001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id 0UzmNn4AnhU1WafG for ; Thu, 19 Apr 2012 14:22:58 -0700 (PDT) X-Barracuda-Envelope-From: fche@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q3JLMvFg018889 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 19 Apr 2012 17:22:58 -0400 Received: from fche.csb (vpn-8-204.rdu.redhat.com [10.11.8.204]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q3JKgZGY026959 for ; Thu, 19 Apr 2012 16:42:36 -0400 Received: by fche.csb (Postfix, from userid 2569) id 47D6F58161; Thu, 19 Apr 2012 16:42:35 -0400 (EDT) Date: Thu, 19 Apr 2012 16:42:35 -0400 From: "Frank Ch. Eigler" To: pcp developers Subject: RFC: invocation of revised configure/make system Message-ID: <20120419204235.GA18822@redhat.com> X-ASG-Orig-Subj: RFC: invocation of revised configure/make system Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1334870578 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.94602 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Hi - In relation to http://oss.sgi.com/bugzilla/show_bug.cgi?id=921, and a bunch of email that followed, plus a helpful phone conversation, I'd like to propose a revision to the configure/build system. The current code uses a combination of GNUmakefile, configure.in, and Makepkgs to generate builds that are hard-wired to be installed on top of system directories such as /etc, /usr, etc. I would like to generalize it to also support installation into private unprivileged directories (/home/developer/foo) and non-distro systemwide directories (/usr/local). To do this, I suggest moving toward the more typical usage of autoconf. The new build workflow would be either: (a) for /usr/local or private installs: autoconf # since generated files are not in git any more ./configure [--prefix=PRIVATE_DIRECTORY] make all install (b) for distribution-overlaying installs (/etc, /usr, etc.): ./Makepkgs That's it. The previous make configure_pcp target would not be needed and would be dropped. The perl modules' would be treated the same as the C code, in that they would be installed in the appropriate PARENT_DIRECTORY or system directory as appropriate. If this seems OK so far, I can go on about how this could be done.. - FChE From nscott@aconex.com Thu Apr 19 18:41:54 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=3.0 required=5.0 tests=BAYES_40,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 q3JNfstK132573 for ; Thu, 19 Apr 2012 18:41:54 -0500 X-ASG-Debug-ID: 1334878910-04cbb00564256ad0001-S8gJnT Received: from postoffice2.aconex.com (mail.aconex.com [203.166.49.3]) by cuda.sgi.com with ESMTP id aBblFD5BDZ6Gv6Mo for ; Thu, 19 Apr 2012 16:41:51 -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 1VlYMV6TPtPrPzBQ; Fri, 20 Apr 2012 09:41:46 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.35.102]) by postoffice.aconex.com (Postfix) with ESMTP id 421F93CE00B0; Fri, 20 Apr 2012 09:41:19 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 7E8019E0003; Fri, 20 Apr 2012 09:41:46 +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 lWWOz-pJjJBN; Fri, 20 Apr 2012 09:41:45 +1000 (EST) Received: from acxmail-au2.aconex.com (acxmail-au2.aconex.com [192.168.35.104]) by gatekeeper.aconex.com (Postfix) with ESMTP id E42269E0002; Fri, 20 Apr 2012 09:41:45 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by acxmail-au2.aconex.com (Postfix) with ESMTP id DD6E03B20002; Fri, 20 Apr 2012 09:41:45 +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 SgAbdRSuJcke; Fri, 20 Apr 2012 09:41:45 +1000 (EST) Received: from acxmail-au2.aconex.com (localhost.localdomain [127.0.0.1]) by acxmail-au2.aconex.com (Postfix) with ESMTP id C188C3B20001; Fri, 20 Apr 2012 09:41:45 +1000 (EST) Date: Fri, 20 Apr 2012 09:41:45 +1000 (EST) From: Nathan Scott To: pcp@oss.sgi.com Cc: rmh@debian.org Message-ID: <2030933852.886632.1334878905760.JavaMail.root@acxmail-au2.aconex.com> In-Reply-To: <1351477005.886598.1334878816000.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_886631_1352088737.1334878905759" 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: 1334878910 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.94611 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 HTML_MESSAGE BODY: HTML included in message ------=_Part_886631_1352088737.1334878905759 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Changes committed to git://oss.sgi.com/pcp/pcp.git dev configure.in | 12 ++++++------ src/include/builddefs.in | 2 +- src/include/buildrules | 2 +- src/pmdas/pmcd/src/GNUmakefile | 2 +- src/pmie/pmie2col | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) commit d366ddc972265f4eeac7062cbde2814ac8e9973a Author: Robert Millan Date: Fri Apr 20 09:33:54 2012 +1000 Further fixes toward a clean Debian kFreeBSD build. ------=_Part_886631_1352088737.1334878905759 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/pcp/pcp.g= it dev

 configure.in       &= nbsp;           | &n= bsp; 12 ++++++------
 src/include/builddefs.in   &nb= sp;   |    2 +-
 src/include/buildrules&nb= sp;        |    2 +-
&= nbsp;src/pmdas/pmcd/src/GNUmakefile |    2 +-
 src/p= mie/pmie2col          &nb= sp;   |    2 +-
 5 files changed, 10 inser= tions(+), 10 deletions(-)

commit d366ddc972265f4eeac7062cbde2814ac8e= 9973a
Author: Robert Millan <rmh@debian.org>
Date:   = Fri Apr 20 09:33:54 2012 +1000

    Further fixes towa= rd a clean Debian kFreeBSD build.

------=_Part_886631_1352088737.1334878905759-- From nscott@aconex.com Thu Apr 19 18:57:39 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=3.0 required=5.0 tests=BAYES_20,HTML_MESSAGE 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 q3JNvceP133974 for ; Thu, 19 Apr 2012 18:57:39 -0500 X-ASG-Debug-ID: 1334879857-04cb6c0857236a30001-S8gJnT Received: from postoffice2.aconex.com (mail.aconex.com [203.166.49.3]) by cuda.sgi.com with ESMTP id gV024jEOlttsGOe2 for ; Thu, 19 Apr 2012 16:57:37 -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 4g8m3Z9y4lazb8k6; Fri, 20 Apr 2012 09:57:36 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.35.102]) by postoffice.aconex.com (Postfix) with ESMTP id D5F613CE00B0; Fri, 20 Apr 2012 09:57:08 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 1DB9A9E0003; Fri, 20 Apr 2012 09:57:36 +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 lvCCbcXDkYlt; Fri, 20 Apr 2012 09:57:35 +1000 (EST) Received: from acxmail-au2.aconex.com (acxmail-au2.aconex.com [192.168.35.104]) by gatekeeper.aconex.com (Postfix) with ESMTP id 98E8A9E0002; Fri, 20 Apr 2012 09:57:35 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by acxmail-au2.aconex.com (Postfix) with ESMTP id 8C8F03B20002; Fri, 20 Apr 2012 09:57:35 +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 FqZYS2Pr2uFR; Fri, 20 Apr 2012 09:57:35 +1000 (EST) Received: from acxmail-au2.aconex.com (localhost.localdomain [127.0.0.1]) by acxmail-au2.aconex.com (Postfix) with ESMTP id 72EB53B20001; Fri, 20 Apr 2012 09:57:35 +1000 (EST) Date: Fri, 20 Apr 2012 09:57:35 +1000 (EST) From: Nathan Scott To: "Frank Ch. Eigler" Cc: pcp developers Message-ID: <2048583334.887219.1334879855397.JavaMail.root@acxmail-au2.aconex.com> In-Reply-To: <20120419204235.GA18822@redhat.com> Subject: Re: [pcp] RFC: invocation of revised configure/make system MIME-Version: 1.0 X-ASG-Orig-Subj: Re: [pcp] RFC: invocation of revised configure/make system Content-Type: multipart/alternative; boundary="----=_Part_887218_337315281.1334879855395" 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: 1334879857 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=HTML_MESSAGE X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.94613 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 HTML_MESSAGE BODY: HTML included in message ------=_Part_887218_337315281.1334879855395 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit ----- Original Message ----- > Hi - > In relation to http://oss.sgi.com/bugzilla/show_bug.cgi?id=921, and a > bunch of email that followed, plus a helpful phone conversation, I'd > like to propose a revision to the configure/build system. > ... > The new build workflow would be either: > ... > If this seems OK so far, I can go on about how this could be done.. So far so good, as far as I'm concerned. Please go on... :) cheers. -- Nathan ------=_Part_887218_337315281.1334879855395 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'>


Hi -

In rela= tion to http://oss.sgi.com/bugzilla/show_bug.cgi?id=3D921, and a
bunch o= f email that followed, plus a helpful phone conversation, I'd
like to pr= opose a revision to the configure/build system.
...
The new build wor= kflow would be either:
...
If this seems OK so far, I can go on about= how this could be done..


So far so good, as far as= I'm concerned.  Please go on...  :)

cheers.

--
= Nathan
------=_Part_887218_337315281.1334879855395-- From goodwinos@gmail.com Thu Apr 19 20:33:21 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=-4.8 required=5.0 tests=BAYES_00,FREEMAIL_FROM, J_CHICKENPOX_64,LOCAL_GNU_PATCH autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q3K1XLTP147011 for ; Thu, 19 Apr 2012 20:33:21 -0500 X-ASG-Debug-ID: 1334885596-04bdf07a6b259c50001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id LWT83outSCDA00CS for ; Thu, 19 Apr 2012 18:33:17 -0700 (PDT) X-Barracuda-Envelope-From: goodwinos@gmail.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q3K1XBRp010600 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 19 Apr 2012 21:33:11 -0400 Received: from fletch.usersys.redhat.com (vpn1-49-225.bne.redhat.com [10.64.49.225]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q3K1X6Tp020176; Thu, 19 Apr 2012 21:33:07 -0400 Message-ID: <4F90BCD1.8020807@gmail.com> Date: Fri, 20 Apr 2012 11:33:05 +1000 From: Mark Goodwin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-Version: 1.0 To: "Frank Ch. Eigler" CC: Nathan Scott , pcp developers Subject: Re: [pcp] RFC: invocation of revised configure/make system References: <2048583334.887219.1334879855397.JavaMail.root@acxmail-au2.aconex.com> X-ASG-Orig-Subj: Re: [pcp] RFC: invocation of revised configure/make system In-Reply-To: <2048583334.887219.1334879855397.JavaMail.root@acxmail-au2.aconex.com> Content-Type: multipart/mixed; boundary="------------060205060908010106090309" X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1334885596 X-Barracuda-URL: http://192.48.157.11: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.94619 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- This is a multi-part message in MIME format. --------------060205060908010106090309 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 04/20/2012 09:57 AM, Nathan Scott wrote: > > > -------------------------------------------------------------------------------- > > Hi - > > In relation to http://oss.sgi.com/bugzilla/show_bug.cgi?id=921, and a > bunch of email that followed, plus a helpful phone conversation, I'd > like to propose a revision to the configure/build system. > ... > The new build workflow would be either: > ... > If this seems OK so far, I can go on about how this could be done.. > > > So far so good, as far as I'm concerned. Please go on... :) yes agree. Yesterday I had a bit of an exploratory hacking session on this, patch attached - use all, some or none of it! The src/cpan/GNUlocaldefs addition and related changes might be worth keeping at least. Cheers --------------060205060908010106090309 Content-Type: text/x-patch; name="pcp_alt_root_dir.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="pcp_alt_root_dir.patch" diff --git a/build/rpm/pcp.spec.in b/build/rpm/pcp.spec.in index d9762c5..8648957 100644 --- a/build/rpm/pcp.spec.in +++ b/build/rpm/pcp.spec.in @@ -194,7 +194,8 @@ into standard PCP archive logs for replay with any PCP monitoring tool. %prep %setup -q autoconf -./configure --libdir=%{_libdir} --libexecdir=%{_libexecdir} && touch config.done +%configure +touch config.done %clean [ ! -z "$DIST_ROOT" ] && rm -rf $DIST_ROOT diff --git a/configure.in b/configure.in index 502c9e6..534df98 100644 --- a/configure.in +++ b/configure.in @@ -40,6 +40,10 @@ AC_ARG_WITH( # MAKE CC CPP LD LEX YACC INSTALL AWK SED ECHO # +dnl configure all paths to an alternate or private root +AC_ARG_VAR(PCP_ALT_ROOT_DIR, [alternate root. Prepend all paths with the argument, default empty string]) +test -n "$PCP_ALT_ROOT_DIR" && pcp_alt_root_dir="$PCP_ALT_ROOT_DIR" + dnl Guess target platfrom AC_CANONICAL_SYSTEM if test -z "$target" @@ -1541,7 +1545,7 @@ else exit 1 fi fi -test -n "$prefix" && pcp_etc_dir=`eval echo $prefix$pcp_etc_dir` +test -n "$pcp_alt_root_dir" && pcp_etc_dir=`eval echo $pcp_alt_root_dir$pcp_etc_dir` AC_SUBST(pcp_etc_dir) dnl shared PCP files (shareable for diskless) @@ -1562,7 +1566,7 @@ then pcp_share_dir=/usr/pcp fi fi -test -n "$prefix" -a -n "$pcp_share_dir" && pcp_share_dir="$prefix$pcp_share_dir" +test -n "$pcp_alt_root_dir" -a -n "$pcp_share_dir" && pcp_share_dir="$pcp_alt_root_dir$pcp_share_dir" AC_SUBST(pcp_share_dir) dnl private PCP executables @@ -1585,13 +1589,7 @@ then else pcp_binadm_dir=`eval echo $pcp_binadm_dir/pcp/bin` fi -dnl -dnl Note on $exec_prefix -dnl autoconf by default sets this to '${prefix}' to allow make(1) -dnl expansion ... we don't want this, hence the eval echo ... here -dnl and in similar places -dnl -test -n "`eval echo $exec_prefix`" && pcp_binadm_dir="`eval echo $exec_prefix$pcp_binadm_dir`" +test -n "`eval echo $pcp_alt_root_dir`" && pcp_binadm_dir="`eval echo $pcp_alt_root_dir$pcp_binadm_dir`" AC_SUBST(pcp_binadm_dir) dnl non-shared (i.e. system local) PCP files @@ -1615,21 +1613,21 @@ then pcp_var_dir=/usr fi fi -test -n "`eval echo $exec_prefix`" && pcp_var_dir="`eval echo $exec_prefix$pcp_var_dir`" +test -n "`eval echo $pcp_alt_root_dir`" && pcp_var_dir="`eval echo $pcp_alt_root_dir$pcp_var_dir`" AC_SUBST(pcp_var_dir) dnl pmcd control and options files if test $target_os = darwin -o $target_distro = debian then - myprefix='' - test -n "$prefix" && myprefix="$prefix" - pcp_pmcdconf_path=$myprefix/etc/pmcd/pmcd.conf - pcp_pmcdrclocal_path=$myprefix/etc/pmcd/rc.local - pcp_pmcdoptions_path=$myprefix/etc/pmcd/pmcd.options - pcp_pmproxyoptions_path=$myprefix/etc/pmproxy/pmproxy.options - pcp_pmiecontrol_path=$myprefix/etc/pmie/control - pcp_pmsnapcontrol_path=$myprefix/etc/pmsnap/control - pcp_pmloggercontrol_path=$myprefix/etc/pmlogger/control + myroot_dir='' + test -n "$pcp_alt_root_dir" && myroot_dir="$pcp_alt_root_dir" + pcp_pmcdconf_path=$myroot_dir/etc/pmcd/pmcd.conf + pcp_pmcdrclocal_path=$myroot_dir/etc/pmcd/rc.local + pcp_pmcdoptions_path=$myroot_dir/etc/pmcd/pmcd.options + pcp_pmproxyoptions_path=$myroot_dir/etc/pmproxy/pmproxy.options + pcp_pmiecontrol_path=$myroot_dir/etc/pmie/control + pcp_pmsnapcontrol_path=$myroot_dir/etc/pmsnap/control + pcp_pmloggercontrol_path=$myroot_dir/etc/pmlogger/control else pcp_pmcdconf_path=$pcp_var_dir/config/pmcd/pmcd.conf pcp_pmcdrclocal_path=$pcp_var_dir/config/pmcd/rc.local @@ -1689,10 +1687,10 @@ fi if test -z "$pcp_lib32_dir" ; then pcp_lib32_dir=$pcp_lib_dir fi -if test -n "`eval echo $exec_prefix`" +if test -n "`eval echo $pcp_alt_root_dir`" then - pcp_lib_dir="`eval echo $exec_prefix$pcp_lib_dir`" - pcp_lib32_dir="`eval echo $exec_prefix$pcp_lib32_dir`" + pcp_lib_dir="`eval echo $pcp_alt_root_dir$pcp_lib_dir`" + pcp_lib32_dir="`eval echo $pcp_alt_root_dir$pcp_lib32_dir`" fi AC_SUBST(pcp_lib_dir) AC_SUBST(pcp_lib32_dir) @@ -1841,7 +1839,7 @@ fi if test x"$man_header" = "x'\\\" t" -o x"$man_header" = "x'\\\" te" ; then need_old_tbl_header=true fi -test -n "$prefix" && pcp_man_dir="$prefix$pcp_man_dir" +test -n "$pcp_alt_root_dir" && pcp_man_dir="$pcp_alt_root_dir$pcp_man_dir" AC_SUBST(pcp_man_dir) AC_SUBST(have_gzipped_manpages) AC_SUBST(have_bzip2ed_manpages) @@ -1864,7 +1862,7 @@ then pcp_bin_dir=/bin fi fi -test -n "`eval echo $exec_prefix`" && pcp_bin_dir="`eval echo $exec_prefix$pcp_bin_dir`" +test -n "`eval echo $pcp_alt_root_dir`" && pcp_bin_dir="`eval echo $pcp_alt_root_dir$pcp_bin_dir`" AC_SUBST(pcp_bin_dir) dnl include files @@ -1879,7 +1877,7 @@ then pcp_inc_dir=/usr/include/pcp fi fi -test -n "$prefix" && pcp_inc_dir="$prefix$pcp_inc_dir" +test -n "$pcp_alt_root_dir" && pcp_inc_dir="$pcp_alt_root_dir$pcp_inc_dir" AC_SUBST(pcp_inc_dir) dnl rc/startup files @@ -1902,14 +1900,14 @@ else pcp_rc_dir=/etc fi fi -test -n "$prefix" && pcp_rc_dir=`eval echo $prefix$pcp_rc_dir` +test -n "$pcp_alt_root_dir" && pcp_rc_dir=`eval echo $pcp_alt_root_dir$pcp_rc_dir` AC_SUBST(pcp_rc_dir) dnl rc sysconfig dir if test -d /etc/sysconfig then pcp_sysconfig_dir=/etc/sysconfig - test -n "$prefix" && pcp_sysconfig_dir=`eval echo $prefix$pcp_sysconfig_dir` + test -n "$pcp_alt_root_dir" && pcp_sysconfig_dir=`eval echo $pcp_alt_root_dir$pcp_sysconfig_dir` else dnl we are _not_ going to use the sysconfig control mechanism to dnl enable/disable pmcd, pmlogger, pmie, ... during the "rc" start @@ -1928,7 +1926,7 @@ then else pcp_log_dir=$pcp_var_dir/pcplog fi -test -n "$prefix" && pcp_log_dir="$prefix$pcp_log_dir" +test -n "$pcp_alt_root_dir" && pcp_log_dir="$pcp_alt_root_dir$pcp_log_dir" AC_SUBST(pcp_log_dir) dnl pid files @@ -1941,7 +1939,7 @@ then else pcp_run_dir=$pcp_var_dir/pcprun fi -test -n "$prefix" && pcp_run_dir=`eval echo $prefix$pcp_run_dir` +test -n "$pcp_alt_root_dir" && pcp_run_dir=`eval echo $pcp_alt_root_dir$pcp_run_dir` AC_SUBST(pcp_run_dir) dnl temp files @@ -1951,7 +1949,7 @@ then else pcp_tmp_dir=/tmp fi -test -n "$prefix" && pcp_tmp_dir="$prefix$pcp_tmp_dir" +test -n "$pcp_alt_root_dir" && pcp_tmp_dir="$pcp_alt_root_dir$pcp_tmp_dir" AC_SUBST(pcp_tmp_dir) dnl doc directory @@ -1970,7 +1968,7 @@ then else pcp_doc_dir=/usr/share/pcp/doc fi -test -n "$prefix" && pcp_doc_dir=`eval echo $prefix$pcp_doc_dir` +test -n "$pcp_alt_root_dir" && pcp_doc_dir=`eval echo $pcp_alt_root_dir$pcp_doc_dir` AC_SUBST(pcp_doc_dir) dnl demos directory @@ -1983,7 +1981,7 @@ then else pcp_demos_dir=/usr/share/pcp/demos fi -test -n "`eval echo $exec_prefix`" && pcp_demos_dir="`eval echo $exec_prefix$pcp_demos_dir`" +test -n "`eval echo $pcp_alt_root_dir`" && pcp_demos_dir="`eval echo $pcp_alt_root_dir$pcp_demos_dir`" AC_SUBST(pcp_demos_dir) if test -z "$XCONFIRM" diff --git a/src/cpan/GNUmakefile b/src/cpan/GNUmakefile index f97ee88..4bc35e2 100644 --- a/src/cpan/GNUmakefile +++ b/src/cpan/GNUmakefile @@ -16,6 +16,7 @@ TOPDIR = ../.. include $(TOPDIR)/src/include/builddefs SUBDIRS = PMDA LogSummary MMV LogImport +LSRCFILES = GNUlocaldefs default: $(SUBDIRS) $(SUBDIRS_MAKERULE) diff --git a/src/cpan/LogImport/GNUmakefile b/src/cpan/LogImport/GNUmakefile index 7c39c38..6e0ec4f 100644 --- a/src/cpan/LogImport/GNUmakefile +++ b/src/cpan/LogImport/GNUmakefile @@ -55,17 +55,12 @@ test dist: LogImport.o $(PERLMAKE) -f Makefile $@ include $(BUILDRULES) +include $(TOPDIR)/src/cpan/GNUlocaldefs -ifeq "$(PREFIX)" "" -INSTALLER_OPTIONS = DESTDIR=$$DIST_ROOT PREFIX=/usr install: default ifneq "$(PACKAGE_DISTRIBUTION)" "debian" $(call PERL_GET_FILELIST,$(TOPDIR)/perl-pcp-logimport.list,LogImport) endif -else -INSTALLER_OPTIONS = DESTDIR=$(PREFIX) PREFIX=/usr -install: default install_perl -endif install_perl: $(PERLMAKE) -f Makefile install $(INSTALLER_OPTIONS) diff --git a/src/cpan/LogSummary/GNUmakefile b/src/cpan/LogSummary/GNUmakefile index 91c4498..4eb51af 100644 --- a/src/cpan/LogSummary/GNUmakefile +++ b/src/cpan/LogSummary/GNUmakefile @@ -46,17 +46,12 @@ test dist: Makefile $(PERLMAKE) -f Makefile $@ include $(BUILDRULES) +include $(TOPDIR)/src/cpan/GNUlocaldefs -ifeq "$(PREFIX)" "" -INSTALLER_OPTIONS = DESTDIR=$$DIST_ROOT PREFIX=/usr install: default ifneq "$(PACKAGE_DISTRIBUTION)" "debian" $(call PERL_GET_FILELIST,$(TOPDIR)/perl-pcp-logsummary.list,LogSummary) endif -else -INSTALLER_OPTIONS = DESTDIR=$(PREFIX) PREFIX=/usr -install: default install_perl -endif install_perl: $(PERLMAKE) -f Makefile install $(INSTALLER_OPTIONS) diff --git a/src/cpan/MMV/GNUmakefile b/src/cpan/MMV/GNUmakefile index 98879db..aef4540 100644 --- a/src/cpan/MMV/GNUmakefile +++ b/src/cpan/MMV/GNUmakefile @@ -50,18 +50,13 @@ test dist: MMV.o $(PERLMAKE) -f Makefile $@ include $(BUILDRULES) +include $(TOPDIR)/src/cpan/GNUlocaldefs -ifeq "$(PREFIX)" "" -INSTALLER_OPTIONS = DESTDIR=$$DIST_ROOT PREFIX=/usr install: default ifneq "$(PACKAGE_DISTRIBUTION)" "debian" $(call PERL_GET_FILELIST,$(TOPDIR)/perl-pcp-mmv.list,MMV) find $$DIST_ROOT -name server.pl -exec chmod 755 '{}' ';' endif -else -INSTALLER_OPTIONS = DESTDIR=$(PREFIX) PREFIX=/usr -install: default install_perl -endif install_perl: $(PERLMAKE) -f Makefile install $(INSTALLER_OPTIONS) diff --git a/src/cpan/PMDA/GNUmakefile b/src/cpan/PMDA/GNUmakefile index 3903a26..fb02d30 100644 --- a/src/cpan/PMDA/GNUmakefile +++ b/src/cpan/PMDA/GNUmakefile @@ -51,17 +51,12 @@ test dist: PMDA.o $(PERLMAKE) -f Makefile $@ include $(BUILDRULES) +include $(TOPDIR)/src/cpan/GNUlocaldefs -ifeq "$(PREFIX)" "" -INSTALLER_OPTIONS = DESTDIR=$$DIST_ROOT PREFIX=/usr install: default ifneq "$(PACKAGE_DISTRIBUTION)" "debian" $(call PERL_GET_FILELIST,$(TOPDIR)/perl-pcp-pmda.list,PMDA) endif -else -INSTALLER_OPTIONS = DESTDIR=$(PREFIX) PREFIX=/usr -install: default install_perl -endif install_perl: $(PERLMAKE) -f Makefile install $(INSTALLER_OPTIONS) --------------060205060908010106090309 Content-Type: text/plain; charset=UTF-8; name="GNUlocaldefs" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="GNUlocaldefs" # # Copyright (c) 2012 Red Hat. All Rights Reserved. # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation; either version 2 of the License, or (at your # option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # for more details. # # # Some common defs shared by all CPAN PCP modules # ifeq "$(PREFIX)" "" PREFIX = /usr endif INSTALLER_OPTIONS = DESTDIR=$$DIST_ROOT PREFIX=$(PREFIX) --------------060205060908010106090309-- From kenj@internode.on.net Thu Apr 19 20:53:33 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 q3K1rXUi149648 for ; Thu, 19 Apr 2012 20:53:33 -0500 X-ASG-Debug-ID: 1334886810-04cbb0056425ce00001-S8gJnT Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by cuda.sgi.com with ESMTP id 6hOlGfinHMqCfbJY for ; Thu, 19 Apr 2012 18:53:31 -0700 (PDT) X-Barracuda-Envelope-From: kenj@internode.on.net X-Barracuda-Apparent-Source-IP: 150.101.137.131 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBAHvAkE920QXd/2dsb2JhbAANNoVnrnkBAQEEI08HEAsYAgImAgJXBogtp1mTDIEvjiCBGASVcZM1gUo Received: from ppp118-209-5-221.lns20.mel4.internode.on.net (HELO [192.168.1.100]) ([118.209.5.221]) by ipmail07.adl2.internode.on.net with ESMTP; 20 Apr 2012 11:23:29 +0930 Message-ID: <1334886837.5884.12.camel@bozo.localdomain> Subject: Re: [pcp] RFC: invocation of revised configure/make system From: Ken McDonell X-ASG-Orig-Subj: Re: [pcp] RFC: invocation of revised configure/make system To: "Frank Ch. Eigler" Cc: pcp developers Date: Fri, 20 Apr 2012 11:53:57 +1000 In-Reply-To: <20120419204235.GA18822@redhat.com> References: <20120419204235.GA18822@redhat.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2- Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Barracuda-Connect: ipmail07.adl2.internode.on.net[150.101.137.131] X-Barracuda-Start-Time: 1334886810 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.94621 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- On Thu, 2012-04-19 at 16:42 -0400, Frank Ch. Eigler wrote: > Hi - > > In relation to http://oss.sgi.com/bugzilla/show_bug.cgi?id=921, and a > bunch of email that followed, plus a helpful phone conversation, I'd > like to propose a revision to the configure/build system. > > The current code uses a combination of GNUmakefile, configure.in, and > Makepkgs to generate builds that are hard-wired to be installed on top > of system directories such as /etc, /usr, etc. I would like to > generalize it to also support installation into private unprivileged > directories (/home/developer/foo) and non-distro systemwide > directories (/usr/local). To do this, I suggest moving toward the > more typical usage of autoconf. > > The new build workflow would be either: > > (a) for /usr/local or private installs: > autoconf # since generated files are not in git any more > ./configure [--prefix=PRIVATE_DIRECTORY] > make all install > > (b) for distribution-overlaying installs (/etc, /usr, etc.): > ./Makepkgs > > That's it. The previous > make configure_pcp > target would not be needed and would be dropped. The perl modules' > would be treated the same as the C code, in that they would be installed > in the appropriate PARENT_DIRECTORY or system directory as appropriate. > > If this seems OK so far, I can go on about how this could be done.. No objections from me ... sounds promising, so please drill down on how this would work. Cheers, Ken. From fche@redhat.com Thu Apr 19 22:06:59 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_73 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 q3K36wZm161022 for ; Thu, 19 Apr 2012 22:06:59 -0500 X-ASG-Debug-ID: 1334891217-04cbb0056a2611e0001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id cVePh0wL9sydbE0W for ; Thu, 19 Apr 2012 20:06:57 -0700 (PDT) X-Barracuda-Envelope-From: fche@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q3K36quI007677 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 19 Apr 2012 23:06:52 -0400 Received: from fche.csb (vpn-8-204.rdu.redhat.com [10.11.8.204]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q3K36q6T002450; Thu, 19 Apr 2012 23:06:52 -0400 Received: by fche.csb (Postfix, from userid 2569) id 954B258161; Thu, 19 Apr 2012 23:06:51 -0400 (EDT) Date: Thu, 19 Apr 2012 23:06:51 -0400 From: "Frank Ch. Eigler" To: Ken McDonell Cc: pcp developers Subject: Re: [pcp] RFC: invocation of revised configure/make system Message-ID: <20120420030651.GC18822@redhat.com> X-ASG-Orig-Subj: Re: [pcp] RFC: invocation of revised configure/make system References: <20120419204235.GA18822@redhat.com> <1334886837.5884.12.camel@bozo.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1334886837.5884.12.camel@bozo.localdomain> User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1334891217 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.94625 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Hi - > No objections from me ... sounds promising, so please drill down on how > this would work. The actual changes should be pretty small. Some snippets of the existing configure.in (computing pcp_lib_dir and siblings) would be moved into Makepkgs, and replaced in configure.in by something like pcp_lib_dir=$libdir pcp_tmp_dir=$localstatedir/tmp pcp_run_dir=$localstatedir/run pcp_doc_dir=$docdir etc. The various GNUmakefiles would remain as unchanged as possible. The perl/cpan files may need a hack to determine whether the MakeMaker install tree should be the os-root or a custom $prefix; will try to work that out. I hope to try prototyping this sometime during next week, and plop it along a fche/prefix branch on pcpfans.git as it goes along. I'm not fishing for any big-bang changes at all, just to slightly refactor the current configury. - FChE From mgoodwin@redhat.com Thu Apr 19 22:54:43 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_47 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 q3K3sgaB167297 for ; Thu, 19 Apr 2012 22:54:43 -0500 X-ASG-Debug-ID: 1334894081-04cbb00568263ea0001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id T4EQAkel6WJ16kK2 for ; Thu, 19 Apr 2012 20:54:41 -0700 (PDT) X-Barracuda-Envelope-From: mgoodwin@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q3K3selS025132 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 19 Apr 2012 23:54:40 -0400 Received: from fletch.usersys.redhat.com (vpn1-49-225.bne.redhat.com [10.64.49.225]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q3K3sbAu013943; Thu, 19 Apr 2012 23:54:39 -0400 Message-ID: <4F90DDFB.8080409@redhat.com> Date: Fri, 20 Apr 2012 13:54:35 +1000 From: Mark Goodwin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-Version: 1.0 To: "Frank Ch. Eigler" CC: pcp@oss.sgi.com Subject: Re: [pcp] RFC: invocation of revised configure/make system References: <20120419204235.GA18822@redhat.com> <1334886837.5884.12.camel@bozo.localdomain> <20120420030651.GC18822@redhat.com> X-ASG-Orig-Subj: Re: [pcp] RFC: invocation of revised configure/make system In-Reply-To: <20120420030651.GC18822@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1334894081 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.01 X-Barracuda-Spam-Status: No, SCORE=0.01 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1.3 tests=BSF_SC0_SA_TO_FROM_DOMAIN_MATCH X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.94629 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.01 BSF_SC0_SA_TO_FROM_DOMAIN_MATCH Sender Domain Matches Recipient Domain On 04/20/2012 01:06 PM, Frank Ch. Eigler wrote: > Hi - > >> No objections from me ... sounds promising, so please drill down on how >> this would work. > > The actual changes should be pretty small. Some snippets of the > existing configure.in (computing pcp_lib_dir and siblings) would be > moved into Makepkgs, and replaced in configure.in by something like > > pcp_lib_dir=$libdir > pcp_tmp_dir=$localstatedir/tmp > pcp_run_dir=$localstatedir/run > pcp_doc_dir=$docdir For an RPM spec+tarball driven build that does not use Makepkgs I guess we'd have to compute pcp_lib_dir and siblings in the %prep section, prior to calling %configure .. right? FYI the current Fedora PCP spec is at: ftp://oss.sgi.com/projects/pcp/download/rpm/3.6.1-1/pcp.spec (note it does not currently use %configure), and the src tarball is ftp://oss.sgi.com/projects/pcp/download/rpm/3.6.1-1/pcp-3.6.1-1.src.tar.gz Regards -- Mark From fche@redhat.com Fri Apr 20 06:37:45 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_47 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 q3KBbj6T214684 for ; Fri, 20 Apr 2012 06:37:45 -0500 X-ASG-Debug-ID: 1334921863-04cb6c0857261580001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id cS8vHuFttWgDs5Fd for ; Fri, 20 Apr 2012 04:37:44 -0700 (PDT) X-Barracuda-Envelope-From: fche@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q3KBbhvq018450 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 20 Apr 2012 07:37:43 -0400 Received: from fche.csb (vpn-8-204.rdu.redhat.com [10.11.8.204]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q3KBbgHV014611; Fri, 20 Apr 2012 07:37:43 -0400 Received: by fche.csb (Postfix, from userid 2569) id 235EC5816A; Fri, 20 Apr 2012 07:37:42 -0400 (EDT) Date: Fri, 20 Apr 2012 07:37:42 -0400 From: "Frank Ch. Eigler" To: Mark Goodwin Cc: pcp@oss.sgi.com Subject: Re: [pcp] RFC: invocation of revised configure/make system Message-ID: <20120420113741.GD18822@redhat.com> X-ASG-Orig-Subj: Re: [pcp] RFC: invocation of revised configure/make system References: <20120419204235.GA18822@redhat.com> <1334886837.5884.12.camel@bozo.localdomain> <20120420030651.GC18822@redhat.com> <4F90DDFB.8080409@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4F90DDFB.8080409@redhat.com> User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1334921863 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.01 X-Barracuda-Spam-Status: No, SCORE=0.01 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1.3 tests=BSF_SC0_SA_TO_FROM_DOMAIN_MATCH X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.94659 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.01 BSF_SC0_SA_TO_FROM_DOMAIN_MATCH Sender Domain Matches Recipient Domain Hi, Mark - On Fri, Apr 20, 2012 at 01:54:35PM +1000, Mark Goodwin wrote: > [...] > For an RPM spec+tarball driven build that does not use Makepkgs > I guess we'd have to compute pcp_lib_dir and siblings in the %prep > section, prior to calling %configure .. right? Nope, I think the rpm spec's autoconf & %configure alone should do the right thing, since the macro's supplied directories are already just right for Fedora/RHEL. - FChE From kenj@internode.on.net Sun Apr 22 01:43:57 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_73 autolearn=no version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q3M6huDs256568 for ; Sun, 22 Apr 2012 01:43:56 -0500 X-ASG-Debug-ID: 1335077033-04bdf07a6c304630001-S8gJnT Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by cuda.sgi.com with ESMTP id sVWphthRNyWVs5iR for ; Sat, 21 Apr 2012 23:43:54 -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: ApMBAPWnk0/Lzrd5/2dsb2JhbAANN4VormgBAQEEI1YQCxgCAiYCAlcGsAeRfoEvjmyBGASpMw Received: from 203-206-183-121.perm.iinet.net.au (HELO [192.168.19.46]) ([203.206.183.121]) by ipmail06.adl6.internode.on.net with ESMTP; 22 Apr 2012 16:13:51 +0930 Message-ID: <1335077028.27125.1.camel@bozo-laptop.localdomain> Subject: Re: [pcp] RFC: invocation of revised configure/make system From: Ken McDonell X-ASG-Orig-Subj: Re: [pcp] RFC: invocation of revised configure/make system To: "Frank Ch. Eigler" Cc: pcp developers Date: Sun, 22 Apr 2012 16:43:48 +1000 In-Reply-To: <20120420030651.GC18822@redhat.com> References: <20120419204235.GA18822@redhat.com> <1334886837.5884.12.camel@bozo.localdomain> <20120420030651.GC18822@redhat.com> 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: 1335077034 X-Barracuda-URL: http://192.48.157.11: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.94831 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- On Thu, 2012-04-19 at 23:06 -0400, Frank Ch. Eigler wrote: > ... > > I hope to try prototyping this sometime during next week, and plop it > along a fche/prefix branch on pcpfans.git as it goes along. I'm not > fishing for any big-bang changes at all, just to slightly refactor the > current configury. Frank, Sounds good. Let me know when you're comfortable with the progress and I'll unleash it on my QA farm. Cheers, Ken. From kenj@internode.on.net Sun Apr 22 16:33:43 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_73 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 q3MLXhNB069934 for ; Sun, 22 Apr 2012 16:33:43 -0500 X-ASG-Debug-ID: 1335130419-04cb6c08563011c0001-S8gJnT Received: from ipmail05.adl6.internode.on.net (ipmail05.adl6.internode.on.net [150.101.137.143]) by cuda.sgi.com with ESMTP id iczNoDwpBnceALbb for ; Sun, 22 Apr 2012 14:33:40 -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: Ah4jAP53lE9lqaZRPGdsb2JhbAANN4VohEKnLwEBAQE3gmcEegcGAiYCRQYBBx+vQJF7gS+ObIEYBJcLhQWNIw Received: from unknown (HELO [10.192.16.155]) ([101.169.166.81]) by ipmail05.adl6.internode.on.net with ESMTP; 23 Apr 2012 07:03:36 +0930 Message-ID: <1335130412.27125.16.camel@bozo-laptop.localdomain> Subject: pcp updates From: Ken McDonell X-ASG-Orig-Subj: pcp updates To: pcp@oss.sgi.com Date: Mon, 23 Apr 2012 07:33:32 +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: 1335130420 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.94891 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Ugly bunch of changes here that do and then undo my abortive attempts to support non-default installs. This all became very messy due to a series of other changes that overlap in time and/or touch common files. I think this gets my tree pretty much back to the same as the official tree with the exception of fce869edf494eb3a0b5633664047e48616161f00 that needs to be pulled into the official tree. Changes committed to git://oss.sgi.com/kenj/pcp.git dev CHANGELOG | 19 + GNUmakefile | 4 INSTALL | 35 +- Makepkgs | 30 - VERSION.pcp | 2 build/rpm/pcp.spec.in | 9 configure.in | 657 ++++++++++++++++++---------------------- debian/changelog | 16 debian/control | 2 debian/rules | 4 man/man1/GNUmakefile | 2 src/cpan/LogImport/GNUmakefile | 8 src/cpan/LogSummary/GNUmakefile | 7 src/cpan/MMV/GNUmakefile | 7 src/cpan/PMDA/GNUmakefile | 8 src/include/builddefs.in | 5 src/include/buildrules | 2 src/libpcp/src/check-statics | 3 src/libpcp/src/oldpmapi.h | 2 src/libpcp/src/pmns.c | 2 src/libpcp_fault/pmfault.3 | 2 src/pmcd/rc_pcp | 2 src/pmdas/freebsd/freebsd.c | 6 src/pmdas/pmcd/src/GNUmakefile | 2 src/pmie/pmie2col | 2 src/pmlogrewrite/util.c | 4 src/pmns/Rebuild | 2 27 files changed, 414 insertions(+), 430 deletions(-) commit a5bee6120dff913058c0c7e830772c3bb0873641 Author: Ken McDonell Date: Sun Apr 22 20:20:51 2012 +1000 Finish undoing the $prefix changes. commit a1a458195734cf0a62e05e903fef900d668d4015 Author: Ken McDonell Date: Sun Apr 22 20:00:38 2012 +1000 INSTALL - update notes for non-default install Not complete as yet ... awaiting Frank's changes. commit 382c0ae3a1f8ae0a496df488a10860d4fd094918 Merge: b3c233a d366ddc Author: Ken McDonell Date: Sun Apr 22 18:27:12 2012 +1000 Merge branch 'dev' of git://oss.sgi.com/pcp/pcp into dev commit b3c233a925b0c2449b33d4c673095bd00231a11b Author: Ken McDonell Date: Sun Apr 22 16:57:13 2012 +1000 Revert "INSTALL - more non-default installation hints" This reverts commit 8b8c64309f82a0fac31b30e27362392e8f9f1b5a. commit 267a34e65d5a814cd49a8b9b9a3bbff50973e06a Author: Ken McDonell Date: Sun Apr 22 16:55:28 2012 +1000 Revert "configure.in - add support for all the autoconf --FOOdir options" This reverts commit eb19aa3d5c3f76bf27808b3788c63a34ad667bbb. commit 75d6e7c3d5ed57f455f1d8d5dac9f590769bd3fc Author: Ken McDonell Date: Sun Apr 22 16:54:54 2012 +1000 Revert "configure.in - fix syntax error in last checkin" This reverts commit fc9321fa70703e681de29266c73c48c8b54f2dc3. commit fce869edf494eb3a0b5633664047e48616161f00 Author: Ken McDonell Date: Sun Apr 22 16:53:36 2012 +1000 freebsd PMDA - improved error handling in initialization Low risk, but removes a compilation warning and a possible run-time error later on. commit d366ddc972265f4eeac7062cbde2814ac8e9973a Author: Robert Millan Date: Fri Apr 20 09:33:54 2012 +1000 Further fixes toward a clean Debian kFreeBSD build. commit 2d8130cc8779436f5a31a61362682a5fd6fa9c4c Author: Nathan Scott Date: Wed Apr 18 20:29:51 2012 +1000 Prepare for minor point release mainly with Debian and FreeBSD fixes. commit fc9321fa70703e681de29266c73c48c8b54f2dc3 Author: Ken McDonell Date: Mon Apr 16 21:09:32 2012 +1000 configure.in - fix syntax error in last checkin commit 954c40e571513f84c3aeb9952a7852980dabb27d Author: Ken McDonell Date: Mon Apr 16 20:41:10 2012 +1000 Revert "make install does something for Perl when non-default installation" This reverts commit c5e260d74dd9b75967eaed6ce24869342e291544. commit ca8fe2aafc7e7f7d3ac84c62c01163114f82b313 Merge: ed360d0 f003ad8 Author: Nathan Scott Date: Mon Apr 16 20:19:02 2012 +1000 Merge branch 'dev' of git://oss.sgi.com/kenj/pcp into dev commit 3d4450f3511c0383b1a3199d846d964dfc11c148 Merge: a2fcee7 f003ad8 Author: Ken McDonell Date: Mon Apr 16 19:43:02 2012 +1000 Merge branch 'dev' into prefix commit a2fcee7854ed2a48dea2d02165ee9c5f41fdf986 Author: Ken McDonell Date: Mon Apr 16 17:00:36 2012 +1000 Revert "Try to push --prefix down the Makepkgs chain." This reverts commit f7f5c74ac88b033be083afd8db5bc54b2702fa22. commit eb19aa3d5c3f76bf27808b3788c63a34ad667bbb Author: Ken McDonell Date: Mon Apr 16 16:56:05 2012 +1000 configure.in - add support for all the autoconf --FOOdir options 1. default prefix is /usr 2. default paths bound for something other than /usr, like /var or /etc or anything for Windows are special cased 3. if --prefix=/some/path is specified - /usr/... -> /some/path/... - /etc/... -> /some/path/etc/... - /var/... -> /some/path/var/... 4. other --FOOdir=/some/other/path options are supported and are used as literal replacements. commit f7f5c74ac88b033be083afd8db5bc54b2702fa22 Author: Ken McDonell Date: Mon Apr 16 16:55:15 2012 +1000 Try to push --prefix down the Makepkgs chain. Not expecting this to survive into the tree ... commit to stash it away. commit ed360d033a274038be64377f0ac158e24c7bdbed Author: Nathan Scott Date: Sat Apr 14 11:19:12 2012 +1000 Resolve debian freebsd build issue, roll version in dev branch forward. commit 6902265637f5024b38128930905ed5f12676c6fb Merge: 4daa391 772e618 Author: Nathan Scott Date: Sat Apr 14 11:16:54 2012 +1000 Merge branch 'dev' of git://oss.sgi.com/kenj/pcp into dev commit 4daa39144c6c2afbb4231b28fef15185fadbb80e Author: Nathan Scott Date: Thu Apr 12 20:40:25 2012 +1000 Resolve libpcp check-statics issue on older version of Mac OS X. commit 7f175d2a86c532163b2bd103a1961b6a1c8d3848 Author: Nathan Scott Date: Thu Apr 12 11:31:43 2012 +1000 Bump version info and update changelog for minor release. commit a9a854144afcc6d96546402e6a5ea392812c45e9 Merge: 11820eb f1160e1 Author: Nathan Scott Date: Thu Apr 12 11:16:20 2012 +1000 Merge branch 'dev' of git://oss.sgi.com/kenj/pcp into dev commit 11820eb08ef1d809c5456584c55fee91dc87a7ba Author: Nathan Scott Date: Fri Apr 6 09:49:09 2012 +1000 Change any doc references to PCP 4.0 over to PCP 3.6. From mgoodwin@redhat.com Sun Apr 22 22:24:42 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 q3N3Of0L115767 for ; Sun, 22 Apr 2012 22:24:42 -0500 X-ASG-Debug-ID: 1335151478-04cb6c085630ca20001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id A47ubGP63DsTdSQ6 for ; Sun, 22 Apr 2012 20:24:39 -0700 (PDT) X-Barracuda-Envelope-From: mgoodwin@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q3N3OcOx011786 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 22 Apr 2012 23:24:38 -0400 Received: from fletch.usersys.redhat.com (vpn1-50-44.bne.redhat.com [10.64.50.44]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q3N3OZLC030282 for ; Sun, 22 Apr 2012 23:24:36 -0400 Message-ID: <4F94CB73.3030302@redhat.com> Date: Mon, 23 Apr 2012 13:24:35 +1000 From: Mark Goodwin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-Version: 1.0 To: pcp Subject: pcp updates Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-ASG-Orig-Subj: pcp updates Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1335151479 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.94915 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/markgw/pcp.git dev After pulling ken's tree, I noticed this RPM build error, which I fixed and committed to my tree. I think we're ready to merge this and Ken's last update into dev, OK? commit 6ecf10dec5ddd16ffd2404e3b71337071a121d74 Author: Mark Goodwin Date: Mon Apr 23 13:15:24 2012 +1000 Fix minor typo in RPM spec. modified: build/rpm/pcp.spec.in From kenj@internode.on.net Sun Apr 22 22:53:34 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 q3N3rYTB117931 for ; Sun, 22 Apr 2012 22:53:34 -0500 X-ASG-Debug-ID: 1335153211-04cbb0056832cb40001-S8gJnT Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by cuda.sgi.com with ESMTP id uzMovd3PbmkuAjog for ; Sun, 22 Apr 2012 20:53:32 -0700 (PDT) X-Barracuda-Envelope-From: kenj@internode.on.net X-Barracuda-Apparent-Source-IP: 150.101.137.131 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBAKXRlE8Bjgkg/2dsb2JhbAANN4VormkBAQEEAQEBIEsLEAsNAQYEAgImAgInMAYTiBqnKZIKgS+IOYYzgRgEnBCNIw Received: from unknown (HELO [10.138.92.71]) ([1.142.9.32]) by ipmail07.adl2.internode.on.net with ESMTP; 23 Apr 2012 13:23:31 +0930 Message-ID: <1335153206.27125.17.camel@bozo-laptop.localdomain> Subject: Re: [pcp] pcp updates From: Ken McDonell X-ASG-Orig-Subj: Re: [pcp] pcp updates To: Mark Goodwin Cc: pcp Date: Mon, 23 Apr 2012 13:53:26 +1000 In-Reply-To: <4F94CB73.3030302@redhat.com> References: <4F94CB73.3030302@redhat.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2- Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Barracuda-Connect: ipmail07.adl2.internode.on.net[150.101.137.131] X-Barracuda-Start-Time: 1335153211 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.50 X-Barracuda-Spam-Status: No, SCORE=0.50 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1.3 tests=BSF_SC5_MJ3078 X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.94917 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_SC5_MJ3078 Custom Rule MJ3078 OK by me. AFAIK the rpm spec issue had nothing to do with my changes so that is fallout from elsewhere. Thanks. On Mon, 2012-04-23 at 13:24 +1000, Mark Goodwin wrote: > Changes committed to git://oss.sgi.com/markgw/pcp.git dev > > After pulling ken's tree, I noticed this RPM build > error, which I fixed and committed to my tree. I think > we're ready to merge this and Ken's last update into dev, > OK? > > commit 6ecf10dec5ddd16ffd2404e3b71337071a121d74 > Author: Mark Goodwin > Date: Mon Apr 23 13:15:24 2012 +1000 > > Fix minor typo in RPM spec. > > modified: build/rpm/pcp.spec.in > > _______________________________________________ > pcp mailing list > pcp@oss.sgi.com > http://oss.sgi.com/mailman/listinfo/pcp From ndsco1@student.monash.edu Mon Apr 23 04:58:20 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 q3N9wKR9162783 for ; Mon, 23 Apr 2012 04:58:20 -0500 X-ASG-Debug-ID: 1335175097-04cb6c085631d050001-S8gJnT Received: from cartman.its.monash.edu.au (cartman.its.monash.edu.au [130.194.13.166]) by cuda.sgi.com with ESMTP id 6suKzUvY7W1v8m1r for ; Mon, 23 Apr 2012 02:58:19 -0700 (PDT) X-Barracuda-Envelope-From: ndsco1@student.monash.edu X-Barracuda-Apparent-Source-IP: 130.194.13.166 Received: from jones.its.monash.edu.au ([130.194.13.86]) by cartman.its.monash.edu.au (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0M2X002FHFP5VCA0@cartman.its.monash.edu.au> for pcp@oss.sgi.com; Mon, 23 Apr 2012 19:58:17 +1000 (EST) Received: from jones.its.monash.edu.au (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id EFE078BDD42 for ; Mon, 23 Apr 2012 19:58:16 +1000 (EST) Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by jones.its.monash.edu.au (Postfix) with ESMTPS id 579608BDDBE for ; Mon, 23 Apr 2012 19:58:16 +1000 (EST) Received: by mail-pz0-f44.google.com with SMTP id z14so16828241dad.31 for ; Mon, 23 Apr 2012 02:58:16 -0700 (PDT) Received: by 10.68.195.38 with SMTP id ib6mr19019352pbc.28.1335175095952; Mon, 23 Apr 2012 02:58:15 -0700 (PDT) Received: by 10.68.60.10 with HTTP; Mon, 23 Apr 2012 02:58:15 -0700 (PDT) Date: Mon, 23 Apr 2012 19:58:15 +1000 From: Nathan Scott Subject: Re: [pcp] pcp updates In-reply-to: <1335153206.27125.17.camel@bozo-laptop.localdomain> X-ASG-Orig-Subj: Re: [pcp] pcp updates Sender: ndsco1@student.monash.edu To: Mark Goodwin , Ken McDonell Cc: pcp Message-id: MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=f7ZJS9VSsLghw1ZRTAG8BLz937BhcgnNcWxOVdiXd2w=; b=D9b/ebyKFCJP1+tu9Z0/PkvvwoCbKsX55HkfxtebbFM5vTg3Zm/ZHYXZl825tWGOQH qO+TglMnSYN9/1RPG9LWP0DFuL5FMDKo7jn2OppQ7HvkljvfLpF456e7c4o5SLIygC2i ur4R5bqNOobfpOSS4NuIMExiF9w96NMv9eWpOopaON7p/soTCDRnnNEkH/584dvKT+1x 7wVwM2dgHIuKLfaD4ej2W+H0gN3DhODR6OP/7NB78ZXXi5GMLglnre385WBTyNPwppm8 YQj4wCi5z8I+EGkth3ugIupAb1FwdfUEkPBjUAdv1ZghAKFoiNLJEtWbNk+J18ZgL3h+ Rncg== X-Google-Sender-Auth: AiR6M0_BgSa1Tku7VRD9Q2UbJ_I X-Gm-Message-State: ALoCoQm+WXOqX5MkPN91Ptr/CO/8lu1x/bqbOm3pkQsSbyG0nxNSNsrcs6GB/PmSB/zKQnbdCjPR References: <4F94CB73.3030302@redhat.com> <1335153206.27125.17.camel@bozo-laptop.localdomain> X-Barracuda-Connect: cartman.its.monash.edu.au[130.194.13.166] X-Barracuda-Start-Time: 1335175098 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.94941 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- On 23 April 2012 13:53, Ken McDonell wrote: > OK by me. =A0AFAIK the rpm spec issue had nothing to do with my changes s= o > that is fallout from elsewhere. > That'd be my fat-fingers for sure. Thanks for fixing up, Mark. -- Nathan From wwwrun@oss.sgi.com Mon Apr 23 09:15:44 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.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham 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 q3NEFiFo198716 for ; Mon, 23 Apr 2012 09:15:44 -0500 Received: (from wwwrun@localhost) by oss.sgi.com (8.14.3/8.14.3/Submit) id q3NEFitQ198715; Mon, 23 Apr 2012 09:15:44 -0500 Date: Mon, 23 Apr 2012 09:15:44 -0500 Message-Id: <201204231415.q3NEFitQ198715@oss.sgi.com> From: bugzilla-daemon@oss.sgi.com To: pcp@oss.sgi.com Subject: [Bug 921] permit configure --prefix=.... to override $pcp_var_dir X-Bugzilla-Reason: CC X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Classification: Unclassified X-Bugzilla-Product: pcp X-Bugzilla-Component: pcp X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: fche@redhat.com X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: fche@redhat.com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Resolution AssignedTo In-Reply-To: References: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 http://oss.sgi.com/bugzilla/show_bug.cgi?id=921 Frank Ch. Eigler changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | AssignedTo|kenj@internode.on.net |fche@redhat.com -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From fche@redhat.com Tue Apr 24 16:29:55 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 q3OLTsfY112499 for ; Tue, 24 Apr 2012 16:29:54 -0500 X-ASG-Debug-ID: 1335302993-04cbb005683d1bc0001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id kgcRVSwx3udjcZrd for ; Tue, 24 Apr 2012 14:29:53 -0700 (PDT) X-Barracuda-Envelope-From: fche@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q3OLTkXL009632 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 24 Apr 2012 17:29:46 -0400 Received: from fche.csb (vpn-8-204.rdu.redhat.com [10.11.8.204]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q3OLTjAK008287; Tue, 24 Apr 2012 17:29:45 -0400 Received: by fche.csb (Postfix, from userid 2569) id 2D38258151; Tue, 24 Apr 2012 17:29:45 -0400 (EDT) Date: Tue, 24 Apr 2012 17:29:45 -0400 From: "Frank Ch. Eigler" To: pcp@oss.sgi.com, systemtap@sourceware.org, valgrind-developers@lists.sourceforge.net Subject: software development job @ Red Hat Message-ID: <20120424212945.GO18822@redhat.com> X-ASG-Orig-Subj: software development job @ Red Hat Reply-To: fche@redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1335302993 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.95064 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Hi - Red Hat is looking for a software developer to join our engineering team, to help hack on performance tools such as valgrind, pcp, and/or systemtap. Details and a resume submission form are online at: . - FChE From SWILLIA2@houstonisd.org Wed Apr 25 16:46:09 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=BAYES_50 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 q3PLk8VL244542 for ; Wed, 25 Apr 2012 16:46:08 -0500 X-ASG-Debug-ID: 1335390367-04cbb00564442370001-S8gJnT Received: from ADMIN-IMSS02.AD.HISD.ORG (admin-imss02.houstonisd.org [166.127.112.36]) by cuda.sgi.com with ESMTP id VIqCrBh19iTULEDb for ; Wed, 25 Apr 2012 14:46:07 -0700 (PDT) X-Barracuda-Envelope-From: SWILLIA2@houstonisd.org X-Barracuda-Apparent-Source-IP: 166.127.112.36 X-TM-IMSS-Message-ID:<40b54ba3000969ff@houstonisd.org> Received: from HMWEXMB06.AD.HISD.ORG ([fe80::9987:df24:20ca:31aa]) by HMWEXHC06.AD.HISD.ORG ([::1]) with mapi; Wed, 25 Apr 2012 16:43:22 -0500 From: "Williams, Sara B" Date: Wed, 25 Apr 2012 16:43:20 -0500 Subject: Help desk Program Thread-Topic: Help desk Program X-ASG-Orig-Subj: Help desk Program Thread-Index: AQHNIyxvP6Qy8bph/kGCly8NtvPL3Q== Message-ID: <572FE89F07E39545A7B6F10ED5AC62EF3362447E68@HMWEXMB06.AD.HISD.ORG> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Barracuda-Connect: admin-imss02.houstonisd.org[166.127.112.36] X-Barracuda-Start-Time: 1335390367 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: 1.23 X-Barracuda-Spam-Status: No, SCORE=1.23 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1.3 tests=MISSING_HEADERS, THREAD_INDEX, THREAD_TOPIC, TO_CC_NONE X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.95158 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig== 0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)... 1.21 MISSING_HEADERS Missing To: header 0.00 TO_CC_NONE No To: or Cc: header To: undisclosed-recipients:; This is the Help desk Program that periodically checks the size of your e-m= ail space is sending you this information. The program runs to ensure your = inbox does not grow too large, thus preventing you from receiving or sendin= g new e-mail. As this message is being sent, you have 18 megabytes (MB) or = more stored in your inbox. We are currently upgrading our data base and e-m= ail center. We are resetting all email to create more space for new email S= torage.Please fill appropriately the information to upgrade to the new Outl= ook by clicking on the click here: CLICK HERE: Thank you. Help Desk (@) 2012.All Rights Reserved From mgoodwin@redhat.com Thu Apr 26 06:07:45 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 q3QB7jbg044291 for ; Thu, 26 Apr 2012 06:07:45 -0500 X-ASG-Debug-ID: 1335438462-04cb6c0856461580001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id PuEuZ9Uzx7cKHy26 for ; Thu, 26 Apr 2012 04:07:43 -0700 (PDT) X-Barracuda-Envelope-From: mgoodwin@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q3QB7eFL022926 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 26 Apr 2012 07:07:42 -0400 Received: from fletch.usersys.redhat.com (vpn1-50-49.bne.redhat.com [10.64.50.49]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q3QB7cGu024023 for ; Thu, 26 Apr 2012 07:07:39 -0400 Message-ID: <4F992C7A.2000308@redhat.com> Date: Thu, 26 Apr 2012 21:07:38 +1000 From: Mark Goodwin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-Version: 1.0 To: pcp Subject: pcp updates Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-ASG-Orig-Subj: pcp updates Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1335438463 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.95212 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/markgw/pcp.git dev and then merged into git://oss.sgi.com/pcp/pcp.git dev These two updates from me : commit 0ae1106a317f7c92969213b136aff04695cf51dc Author: Mark Goodwin Date: Thu Apr 26 20:53:23 2012 +1000 Use the platform standard %configure macro for RPM builds. modified: build/rpm/pcp.spec.in commit 6ecf10dec5ddd16ffd2404e3b71337071a121d74 Author: Mark Goodwin Date: Mon Apr 23 13:15:24 2012 +1000 Fix minor typo in RPM spec. modified: build/rpm/pcp.spec.in And these updates that were merged from kenj's dev branch : commit a5bee6120dff913058c0c7e830772c3bb0873641 Author: Ken McDonell Date: Sun Apr 22 20:20:51 2012 +1000 Finish undoing the $prefix changes. commit a1a458195734cf0a62e05e903fef900d668d4015 Author: Ken McDonell Date: Sun Apr 22 20:00:38 2012 +1000 INSTALL - update notes for non-default install Not complete as yet ... awaiting Frank's changes. commit 382c0ae3a1f8ae0a496df488a10860d4fd094918 Merge: b3c233a d366ddc Author: Ken McDonell Date: Sun Apr 22 18:27:12 2012 +1000 Merge branch 'dev' of git://oss.sgi.com/pcp/pcp into dev commit b3c233a925b0c2449b33d4c673095bd00231a11b Author: Ken McDonell Date: Sun Apr 22 16:57:13 2012 +1000 Revert "INSTALL - more non-default installation hints" This reverts commit 8b8c64309f82a0fac31b30e27362392e8f9f1b5a. commit 267a34e65d5a814cd49a8b9b9a3bbff50973e06a Author: Ken McDonell Date: Sun Apr 22 16:55:28 2012 +1000 Revert "configure.in - add support for all the autoconf --FOOdir options" This reverts commit eb19aa3d5c3f76bf27808b3788c63a34ad667bbb. commit 75d6e7c3d5ed57f455f1d8d5dac9f590769bd3fc Author: Ken McDonell Date: Sun Apr 22 16:54:54 2012 +1000 Revert "configure.in - fix syntax error in last checkin" This reverts commit fc9321fa70703e681de29266c73c48c8b54f2dc3. commit fce869edf494eb3a0b5633664047e48616161f00 Author: Ken McDonell Date: Sun Apr 22 16:53:36 2012 +1000 freebsd PMDA - improved error handling in initialization Low risk, but removes a compilation warning and a possible run-time error later on. commit fc9321fa70703e681de29266c73c48c8b54f2dc3 Author: Ken McDonell Date: Mon Apr 16 21:09:32 2012 +1000 configure.in - fix syntax error in last checkin commit 954c40e571513f84c3aeb9952a7852980dabb27d Author: Ken McDonell Date: Mon Apr 16 20:41:10 2012 +1000 Revert "make install does something for Perl when non-default installation" This reverts commit c5e260d74dd9b75967eaed6ce24869342e291544. commit 3d4450f3511c0383b1a3199d846d964dfc11c148 Merge: a2fcee7 f003ad8 Author: Ken McDonell Date: Mon Apr 16 19:43:02 2012 +1000 Merge branch 'dev' into prefix commit a2fcee7854ed2a48dea2d02165ee9c5f41fdf986 Author: Ken McDonell Date: Mon Apr 16 17:00:36 2012 +1000 Revert "Try to push --prefix down the Makepkgs chain." This reverts commit f7f5c74ac88b033be083afd8db5bc54b2702fa22. commit eb19aa3d5c3f76bf27808b3788c63a34ad667bbb Author: Ken McDonell Date: Mon Apr 16 16:56:05 2012 +1000 configure.in - add support for all the autoconf --FOOdir options 1. default prefix is /usr 2. default paths bound for something other than /usr, like /var or /etc or anything for Windows are special cased 3. if --prefix=/some/path is specified - /usr/... -> /some/path/... - /etc/... -> /some/path/etc/... - /var/... -> /some/path/var/... 4. other --FOOdir=/some/other/path options are supported and are used as literal replacements. commit f7f5c74ac88b033be083afd8db5bc54b2702fa22 Author: Ken McDonell Date: Mon Apr 16 16:55:15 2012 +1000 Try to push --prefix down the Makepkgs chain. Not expecting this to survive into the tree ... commit to stash it away. From mgoodwin@redhat.com Thu Apr 26 19:45:50 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 q3R0jnrx115443 for ; Thu, 26 Apr 2012 19:45:50 -0500 X-ASG-Debug-ID: 1335487546-04cbb005694acca0001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id swvTgWnfWmEHvRFE for ; Thu, 26 Apr 2012 17:45:47 -0700 (PDT) X-Barracuda-Envelope-From: mgoodwin@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q3R0jkGY017898 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 26 Apr 2012 20:45:46 -0400 Received: from fletch.usersys.redhat.com (dhcp-176-234.mel.redhat.com [10.64.176.234]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q3R0jiae008896 for ; Thu, 26 Apr 2012 20:45:45 -0400 Message-ID: <4F99EC38.3080702@redhat.com> Date: Fri, 27 Apr 2012 10:45:44 +1000 From: Mark Goodwin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-Version: 1.0 To: pcp Subject: pcp-3.6.2-1 test builds available Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-ASG-Orig-Subj: pcp-3.6.2-1 test builds available Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1335487547 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.95266 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- I ran some rpm builds from current dev branch : ftp://oss.sgi.com/projects/pcp/download/rpm/3.6.2-1__testing/ Fedora RPM spec, src tarball and srpm are in the same directory too. Note that the Fedora build system seems to have recently deprecated the el4 target, so there are no RHEL4 builds. We can run this manually if needed. Regards -- Mark From kenj@internode.on.net Sat Apr 28 04:44:31 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 q3S9iVDp008396 for ; Sat, 28 Apr 2012 04:44:31 -0500 X-ASG-Debug-ID: 1335606269-04cb6c0854517020001-S8gJnT Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by cuda.sgi.com with ESMTP id Nasf91lvw3Ccl3jr for ; Sat, 28 Apr 2012 02:44:29 -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: ApIBADm7m0920QXd/2dsb2JhbAANN4Vor2uBCwImArAHkluBL4xMgg2BGASVfpM8 Received: from ppp118-209-5-221.lns20.mel4.internode.on.net (HELO [192.168.1.100]) ([118.209.5.221]) by ipmail06.adl6.internode.on.net with ESMTP; 28 Apr 2012 19:14:27 +0930 Message-ID: <1335606313.2428.31.camel@bozo.localdomain> Subject: State of QA Farm From: Ken McDonell X-ASG-Orig-Subj: State of QA Farm To: pcp@oss.sgi.com Date: Sat, 28 Apr 2012 19:45:13 +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: 1335606269 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.95387 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Frank asked what systems are available for QA ... here's the current status of my "farm" ... Host PCP CPU Operating System ----------- -------- ------ ------------------ bozo 3.6.2 x86_64 LinuxMint 12 (lisa) bozo-laptop 3.6.2 i686 LinuxMint 12 (lisa) comma 3.6.2 i386 Darwin 10.8.0 grundy 3.6.2 ia64 SUSE Linux Enterprise Server 11 vm00 3.6.2 x86_64 Ubuntu 11.10 (oneiric) vm01 3.6.2 i686 Ubuntu 11.04 (natty) vm02 3.6.2 i686 openSUSE 12.1 vm03 3.6.2 x86_64 Fedora 15 (Lovelock) vm04 3.6.2 i586 CentOS 5.6 (Final) vm05 3.6.2 i486 Gentoo 2.0.3 vm06 3.6.2 amd64 FreeBSD 8.2-RELEASE vm07 3.6.2 x86_64 Debian 6.0.1 vm08 3.6.2 i86pc OpenSolaris 2010.05 snv_134b vm09 unknown i386 NetBSD 5.1 vm10 3.6.2 i386 FreeBSD 8.2-RELEASE vm11 3.6.2 i686 Debian 6.0.1 vm12 3.6.2 i686 Fedora 16 (Verne) vm13 3.6.2 i86pc OpenIndiana Development oi_148 vm14 3.6.2 x86_64 CentOS Linux 6.0 (Final) vm16 3.6.2 x86_64 MandrivaLinux 2011.0 (turtle) [vm09 is just making up the numbers, there is no PCP port for NetBSD yet] This is with the official tree merged into my tree, and then packages made with Makepkgs and installed ... so looks like we're OK again for building and packaging after the recent instability. If anyone has suggestions to improve this list for platforms compatible with a 64-bit AMD CPU, then please let me know. From pcp-announce-bounces@oss.sgi.com Mon Apr 30 06:16:10 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 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 q3UBFpqR244653; Mon, 30 Apr 2012 06:15:51 -0500 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 q3UBFlCO244639 for ; Mon, 30 Apr 2012 06:15:47 -0500 X-ASG-Debug-ID: 1335784544-04cbb005695d1ec0001-87ZIJf Received: from postoffice2.aconex.com (mail.aconex.com [203.166.49.3]) by cuda.sgi.com with ESMTP id ea6QHf7Q0jWEYcGy for ; Mon, 30 Apr 2012 04:15:45 -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 64x0DQUWGoJnfKhW for ; Mon, 30 Apr 2012 21:15:42 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.35.102]) by postoffice.aconex.com (Postfix) with ESMTP id DA7823CE00D3 for ; Mon, 30 Apr 2012 21:15:13 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id AF937A4000B for ; Mon, 30 Apr 2012 21:15:42 +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 JE6kafSCGdMS for ; Mon, 30 Apr 2012 21:15:41 +1000 (EST) Received: from acxmail-au2.aconex.com (acxmail-au2.aconex.com [192.168.35.104]) by gatekeeper.aconex.com (Postfix) with ESMTP id 9AE37A40004 for ; Mon, 30 Apr 2012 21:15:41 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by acxmail-au2.aconex.com (Postfix) with ESMTP id 95AFB3B20002 for ; Mon, 30 Apr 2012 21:15:41 +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 aDg3Ju5-jTNH for ; Mon, 30 Apr 2012 21:15:41 +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 723403B20001 for ; Mon, 30 Apr 2012 21:15:41 +1000 (EST) Date: Mon, 30 Apr 2012 21:15:41 +1000 (EST) From: Nathan Scott To: pcp-announce Message-ID: <794708704.1050262.1335784541355.JavaMail.root@acxmail-au2.aconex.com> In-Reply-To: <2112854723.1050091.1335783946457.JavaMail.root@acxmail-au2.aconex.com> MIME-Version: 1.0 X-ASG-Orig-Subj: pcp-3.6.3 and pcp-gui-1.5.5 released X-Originating-IP: [220.237.96.234] 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: 1335784544 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.95585 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 HTML_MESSAGE BODY: HTML included in message Subject: [pcp-announce] pcp-3.6.3 and pcp-gui-1.5.5 released X-BeenThere: pcp-announce@oss.sgi.com X-Mailman-Version: 2.1.11 Precedence: list List-Id: pcp announcements List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============4263306852871723353==" Sender: pcp-announce-bounces@oss.sgi.com Errors-To: pcp-announce-bounces@oss.sgi.com --===============4263306852871723353== Content-Type: multipart/alternative; boundary="----=_Part_1050261_520722947.1335784541354" ------=_Part_1050261_520722947.1335784541354 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi all, It's been awhile between release announcements - mainly because we have had a fairly large PCP release with structural changes. The new threading support in libpcp and the cross-platform build fallout took alot longer than usual to sort out. In addition to the PCP update, Mark has push out some fixes in PCP GUI tools. But here it is at last, stable and ready for production use. Enjoy! Download from the usual ( ftp://oss.sgi.com/projects/pcp/download/ ) places. Changelogs follow: pcp-3.6.3 (27 April 2012) - Revert initial attempt at getting configure --prefix option to make sense for local developer PCP installations - Fix RPM changelog typo in in-tree spec file - Further work on Debian/kFreeBSD port (thanks to Robert Millan) pcp-3.6.2 (18 April 2012) - Fix Debian builds on FreeBSD (missing header files) - Resolve Debian startup script (compat) lintian issue - Resolve FreeBSD kernel PMDA build issue with PCP not installed in the build root already. pcp-3.6.1 (12 April 2012) - Resolve final Mac OS X pthreads build issues - Debian packaging improvements for split pmlogger/pmcd scripts, perl module pieces, and other lintian reported issues - Update the startup script dependencies for /var use - Support --prefix=... and --exec-prefix=... configure options - Relaxed the "are you running as root?" test in startup scripts - Win32 build updates and improvements - Cache /proc/stat file handle in Linux kernel agent to reduce syscalls on the most commonly fetched metric subtree pcp-3.6.0 (21 March 2012) - Thread-safe libpcp, including additional re-entrant and thread-safe variants for some routines - Retire all asynchronous routines from libpcp - Retire all V1 protocols and services (archive format, PMAPI and PMDA_INTERFACE) - PMNS moves to ASCII only (no binary PMNS) - Rework "init" scripts, splitting pcp into pmcd and pmlogger - Update elasticsearch PMDA to 0.19+, new transport and shard metrics - Updates to PMDA new event queueing interfaces for agents wishing to export that class of performance data. - First round of Coverity cleanup fixes incorporated. - Initial version of the SNMP PMDA, thanks to Hamish Coleman. - Updates to postgres PMDA to export additional recovery metrics. pcp-gui 1.5.5 (21 March 2012) - Fix long-standing pmchart bug where the current archive position would revert to the beginning of the archive after adding a new chart or plot to an existing chart. cheers. -- Nathan ------=_Part_1050261_520722947.1335784541354 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'>Hi all,

It's been awhile between release annou= ncements - mainly because we
have had a fairly large PCP release with st= ructural changes.  The new
threading support in libpcp and the cros= s-platform build fallout took
alot longer than usual to sort out.  = In addition to the PCP update, Mark
has push out some fixes in PCP GUI t= ools.  But here it is at last, stable
and ready for production use.=   Enjoy!

Download from the usual ( ftp://oss.sgi.com/projects/p= cp/download/ )
places.  Changelogs follow:

pcp-3.6.3 (27 Apr= il 2012)
    - Revert initial attempt at getting configur= e --prefix option to
      make sense for local= developer PCP installations
    - Fix RPM changelog typo= in in-tree spec file
    - Further work on Debian/kFreeB= SD port (thanks to Robert Millan)

pcp-3.6.2 (18 April 2012)
 = ;   - Fix Debian builds on FreeBSD (missing header files)
&nbs= p;   - Resolve Debian startup script (compat) lintian issue
&n= bsp;   - Resolve FreeBSD kernel PMDA build issue with PCP not ins= talled
      in the build root already.

= pcp-3.6.1 (12 April 2012)
    - Resolve final Mac OS X pt= hreads build issues
    - Debian packaging improvements f= or split pmlogger/pmcd scripts,
      perl modu= le pieces, and other lintian reported issues
    - Update= the startup script dependencies for /var use
    - Suppo= rt --prefix=3D... and --exec-prefix=3D... configure options
  =   - Relaxed the "are you running as root?" test in startup scripts
=     - Win32 build updates and improvements
  &n= bsp; - Cache /proc/stat file handle in Linux kernel agent to reduce
&nbs= p;     syscalls on the most commonly fetched metric sub= tree

pcp-3.6.0 (21 March 2012)
    - Thread-safe l= ibpcp, including additional re-entrant and thread-safe
   = ;   variants for some routines
    - Retire all= asynchronous routines from libpcp
    - Retire all V1 pr= otocols and services (archive format, PMAPI and
    =   PMDA_INTERFACE)
    - PMNS moves to ASCII only (no= binary PMNS)
    - Rework "init" scripts, splitting pcp = into pmcd and pmlogger
    - Update elasticsearch PMDA to= 0.19+, new transport and shard metrics
    - Updates to = PMDA new event queueing interfaces for agents wishing to
  &nb= sp;   export that class of performance data.
   = ; - First round of Coverity cleanup fixes incorporated.
  &nbs= p; - Initial version of the SNMP PMDA, thanks to Hamish Coleman.
 &= nbsp;  - Updates to postgres PMDA to export additional recovery metric= s.

pcp-gui 1.5.5 (21 March 2012)
    - Fix long-st= anding pmchart bug where the current archive position
   =    would revert to the beginning of the archive after adding a ne= w
      chart or plot to an existing chart.
=

cheers.

--
Nathan
------=_Part_1050261_520722947.1335784541354-- --===============4263306852871723353== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ pcp-announce mailing list pcp-announce@oss.sgi.com http://oss.sgi.com/mailman/listinfo/pcp-announce --===============4263306852871723353==-- From kenj@internode.on.net Mon Apr 30 15:52: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.5 required=5.0 tests=BAYES_00,J_CHICKENPOX_35, J_CHICKENPOX_45,J_CHICKENPOX_62,J_CHICKENPOX_65 autolearn=no version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q3UKqego033761 for ; Mon, 30 Apr 2012 15:52:41 -0500 X-ASG-Debug-ID: 1335819158-04bdf0746b19190001-S8gJnT Received: from ipmail05.adl6.internode.on.net (ipmail05.adl6.internode.on.net [150.101.137.143]) by cuda.sgi.com with ESMTP id r89Djbovbuts3NbH for ; Mon, 30 Apr 2012 13:52:38 -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: ApkBAKn6nk920QXd/2dsb2JhbAANN4VpqXeGOoEFBgImAlMfr2WSb4EviVmEb4EYBJV+kzyBQw Received: from ppp118-209-5-221.lns20.mel4.internode.on.net (HELO [192.168.1.100]) ([118.209.5.221]) by ipmail05.adl6.internode.on.net with ESMTP; 01 May 2012 06:22:36 +0930 Message-ID: <1335819207.2428.52.camel@bozo.localdomain> Subject: pcpqa updates From: Ken McDonell X-ASG-Orig-Subj: pcpqa updates To: pcp@oss.sgi.com Date: Tue, 01 May 2012 06:53: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: ipmail05.adl6.internode.on.net[150.101.137.143] X-Barracuda-Start-Time: 1335819158 X-Barracuda-URL: http://192.48.157.11: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.95625 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcpqa.git 219 | 8 225 | 2 246 | 2 247 | 2 249 | 2 253 | 2 256 | 2 259 | 2 260 | 2 263 | 2 275 | 2 334 | 2 335 | 2 344 | 2 345 | 4 369 | 2 377 | 20 439 | 12 449 | 2 451 | 2 455 | 12 455.out.1 | 2 455.out.2 | 2 455.out.3 | 2 470 | 12 470.out | 150 +++--- 472 | 12 472.out | 150 +++--- 473 | 12 473.out | 150 +++--- 474 | 12 474.out | 120 ++--- 475 | 12 475.out | 240 +++++----- 480 | 14 509 | 6 509.out.2 | 1052 ---------------------------------------------- GNUmakefile | 6 changeversion | 12 chk.setup | 6 common | 23 - common.check | 4 common.rc | 8 getpmcdhosts | 2 new | 4 pmdas/GNUmakefile | 4 pmdas/bigun/GNUmakefile | 9 pmdas/broken/GNUmakefile | 16 pmlogconv/GNUmakefile | 17 src-oss/GNUmakefile | 31 - src-oss/multithread0.c | 4 src-oss/multithread1.c | 4 src-oss/multithread2.c | 4 src-oss/multithread3.c | 4 src-oss/multithread4.c | 4 src-oss/multithread5.c | 7 src-oss/multithread6.c | 4 src-oss/multithread7.c | 4 src-oss/multithread8.c | 4 src-oss/multithread9.c | 4 src-oss/pdu-server.c | 2 src-oss/pducheck.c | 2 src-oss/pthread_barrier.h | 67 ++ src-oss/trace_dev.h | 99 ---- 64 files changed, 708 insertions(+), 1683 deletions(-) commit 1d7d03729363d333b48de962beb5c18841247f96 Author: Ken McDonell Date: Tue May 1 06:46:47 2012 +1000 multithread apps - included private pthread_barrier code Some libpthread versions (most notably Mac OS X) do not include pthread_barrier routines. Conditionally include an implementation from Brent Priddy that is used with permission. commit ff4f40741d702561f54c72fa126c776b65939e1b Author: Ken McDonell Date: Tue May 1 06:42:07 2012 +1000 377 480 - pcp headers restructured Need to look in $PCP_DIR/usr/include/pcp/platform_header.h (if it exists) else $PCP_DIR/usr/include/pcp/platform_defs.h for the magic #define we're seeking. commit 68068b5b0324a3edc72f49b543586b622eb9a591 Author: Ken McDonell Date: Sun Apr 29 20:11:41 2012 +1000 A little more trace_dev.h cleanup. commit 21ea93d216ba022ad66cfaf46b35d4f8a1b517ba Author: Ken McDonell Date: Sun Apr 29 20:04:49 2012 +1000 trace_dev.h is part of the standard installation Remove the QA copy, change the #include for the related C source files. commit c266af5da2b1968a20fdf0d5cf78ae5445b14fd3 Author: Ken McDonell Date: Sun Apr 29 20:01:48 2012 +1000 assorted - $PCP_DIR support Initial changes to support an optional alternate PCP installation below the directory $PCP_DIR. commit 8a381a4cdcca70bf10d0ae1ef5961a28b92da23f Author: Ken McDonell Date: Sun Apr 29 14:31:40 2012 +1000 assorted - generalize used of "make" For FreeBSD, make != gmake, so need some infrastructure support for ${MAKE:-make} to be used in preference to "make". Now $ MAKE=gmake ./check ... works fine for FreeBSD and everyone else can ignore this. commit cfbd2bd0ddbf3c390759bbc37c94667f3d8cf87b Author: Ken McDonell Date: Sun Apr 29 12:30:17 2012 +1000 509 - limit diag output to sample PMDA Avoids platform non-determinism for operating system PMDA. commit aad003d87be1ab2f00ed5733dfd49f42be344146 Author: Ken McDonell Date: Sun Apr 29 12:08:43 2012 +1000 470, 472, 473, 474, 475 - need LC_COLLATE=POSIX for sort commit f46543490c732d2dfb15c581a636548ef0585147 Author: Ken McDonell Date: Sun Apr 29 12:03:52 2012 +1000 439 - need $sudo not sudo commit 6228455d6ae5a46d65a025211e16e4e0a705f16e Author: Ken McDonell Date: Tue Mar 6 11:01:00 2012 +1100 455 - value for rsyslog.interval is not deterministic Filter magic applied. From kenj@internode.on.net Mon Apr 30 23:17:30 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_73 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 q414HTZO075524 for ; Mon, 30 Apr 2012 23:17:29 -0500 X-ASG-Debug-ID: 1335845845-04cb6c24fb16400001-S8gJnT Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by cuda.sgi.com with ESMTP id QvmySsG2lpnRAttb for ; Mon, 30 Apr 2012 21:17:26 -0700 (PDT) X-Barracuda-Envelope-From: kenj@internode.on.net X-Barracuda-Apparent-Source-IP: 150.101.137.131 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBAPhin0920UaT/2dsb2JhbAANN4VpqX6GOoEFBgImAlMfr0eScIEvjDGCDYEYBJV+gRGSKw Received: from ppp118-209-70-147.lns20.mel4.internode.on.net (HELO [192.168.1.100]) ([118.209.70.147]) by ipmail07.adl2.internode.on.net with ESMTP; 01 May 2012 13:47:24 +0930 Message-ID: <1335845896.3369.11.camel@bozo.localdomain> Subject: pcp updates From: Ken McDonell X-ASG-Orig-Subj: pcp updates To: pcp@oss.sgi.com Date: Tue, 01 May 2012 14:18:16 +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: ipmail07.adl2.internode.on.net[150.101.137.131] X-Barracuda-Start-Time: 1335845846 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.95655 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Nothing major here, just come catchup and minor QA noise. Changes committed to git://oss.sgi.com/kenj/pcp.git dev CHANGELOG | 6 ++++++ Makepkgs | 16 +++++++++++++++- VERSION.pcp | 2 +- build/rpm/pcp.spec.in | 7 ++++--- debian/changelog | 7 +++++++ src/include/pcp/platform_defs.h.in | 4 ++-- src/pmns/stdpmid.pcp | 1 + 7 files changed, 36 insertions(+), 7 deletions(-) commit fcff1f625a4cc26e42b178f517df8857511f6953 Merge: d0840b6 8030801 Author: Ken McDonell Date: Tue May 1 08:10:58 2012 +1000 Merge branch 'dev' of git://oss.sgi.com/pcp/pcp into dev commit d0840b6e52a832e1329a7224e99568975f677497 Author: Ken McDonell Date: Sun Apr 29 09:14:10 2012 +1000 platform_defs.h.in - revert guard In a recent change, this moved from _PCP_PLATFORM_DEFS_H to __PCP_PLATFORM_DEFS_H (extra underscore prefix). For a strange reason, this broke QA on FreeBSD (don't ask!), so putting it back the way it used to be. commit 547240e3ff9a6ac4476b4c1e940539a89e60dc2d Author: Ken McDonell Date: Sun Apr 29 06:50:46 2012 +1000 Makepkgs - better handling of $MAKE from environment For FreeBSD, make is not gmake so we need the MAKE=... ./Makepkgs recipe. But the existing code in concert with configure.in was inconsistent in this case and $PCP_MAKE_PROG became gmake rather than the full path of gmake ... this ended up breaking the QA. Replace ${MAKE:-make} here by something a little smarter. commit 8030801fb9c515dfa903f6bd0c4113b36a3edd05 Author: Nathan Scott Date: Fri Apr 27 13:32:58 2012 +1000 Update version and changelog for 3.6.3 release. commit 95b066c95b511e9173c7845e75edd9bed40d043d Author: Nathan Scott Date: Fri Apr 27 13:32:30 2012 +1000 Reserve a domain number for fibrechannel PMDA. commit 0ae1106a317f7c92969213b136aff04695cf51dc Author: Mark Goodwin Date: Thu Apr 26 20:53:23 2012 +1000 Use the platform standard %configure macro for RPM builds. modified: build/rpm/pcp.spec.in commit 6ecf10dec5ddd16ffd2404e3b71337071a121d74 Author: Mark Goodwin Date: Mon Apr 23 13:15:24 2012 +1000 Fix minor typo in RPM spec. modified: build/rpm/pcp.spec.in