From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 531 invoked by alias); 1 Apr 2009 21:59:39 -0000 Received: (qmail 522 invoked by uid 22791); 1 Apr 2009 21:59:39 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from e5.ny.us.ibm.com (HELO e5.ny.us.ibm.com) (32.97.182.145) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Apr 2009 21:59:31 +0000 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e5.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id n31LtXuj021310 for ; Wed, 1 Apr 2009 17:55:33 -0400 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n31LxTeN156862 for ; Wed, 1 Apr 2009 17:59:29 -0400 Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n31LvtRZ016387 for ; Wed, 1 Apr 2009 17:57:55 -0400 Received: from [127.0.0.1] (sig-9-76-84-212.mts.ibm.com [9.76.84.212]) by d01av02.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n31Lvqlb016248; Wed, 1 Apr 2009 17:57:55 -0400 Message-ID: <49D3E3DF.1000108@us.ibm.com> Date: Wed, 01 Apr 2009 21:59:00 -0000 From: Maynard Johnson User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: systemtap@sourceware.org CC: "Frank Ch. Eigler" Subject: Backward compatibility for insn probe point Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2009-q2/txt/msg00033.txt.bz2 Frank has already made the changes in runtime/itrace.c to support backward compatibility with older utrace. I wanted to test the insn probe point on an older utrace, so I built and installed systemtap 0.9.5 on a ppc970 blade running RHEL 5.3. I ran the following simple test: # stap -c /bin/ls simple-test.stp /bin/ls -o simple-out -k -vvv where simple-test.stp is . . . =========simple-test.stp ======================== global instrs = 0 probe begin { printf("systemtap starting probe\n") } probe process(@1).insn { instrs += 1 } probe end { printf("systemtap ending probe\n") printf("itraced = %d\n", instrs) } ================================== The result of the above test is that the stap command hangs at "stapio:start_cmd:195 execing target_cmd /bin/ls". If I Ctl-C the job, it finished (i.e, I see "Pass 5: run completed ..."), but the output file contents indicate the insn probe was not hit (i.e., "itraced = 0"). Any suggestions on where to look for the problem? Thanks. -Maynard