From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 36204 invoked by alias); 17 Dec 2015 00:53:10 -0000 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 Received: (qmail 36168 invoked by uid 89); 17 Dec 2015 00:53:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=PWD, H*MI:sk:5671639, H*i:sk:5671639, H*f:sk:5671639 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 17 Dec 2015 00:53:08 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id E2E4C3B757; Thu, 17 Dec 2015 00:53:06 +0000 (UTC) Received: from localhost (vpn-53-229.rdu2.redhat.com [10.10.53.229]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id tBH0r5Kh011878; Wed, 16 Dec 2015 19:53:06 -0500 Date: Thu, 17 Dec 2015 00:53:00 -0000 From: Pratyush Anand To: William Cohen Cc: David Long , systemtap@sourceware.org Subject: Re: Recent aarch64 kprobes and uprobes patch systemtap testing Message-ID: <20151217005258.GB1525@dhcppc13.redhat.com> References: <5669DF98.3030601@redhat.com> <5669EABE.7040507@linaro.org> <566B019D.1000309@redhat.com> <20151216052229.GH4674@dhcppc13.redhat.com> <56716399.1080602@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56716399.1080602@redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-IsSubscribed: yes X-SW-Source: 2015-q4/txt/msg00292.txt.bz2 On 16/12/2015:08:14:01 AM, William Cohen wrote: > On 12/16/2015 12:22 AM, Pratyush Anand wrote: > > On 11/12/2015:12:02:21 PM, William Cohen wrote: > >> > >> The "FAIL: pthread_stacks -Gsize (0 0)" looks like it could be an issue with uprobes affecting the running of the program. Pratyush are you able to run this systemtap test locally? > > > > Even when I run this test locally it does not work, but it fails very early in > > my case. May be because of different libpthread.so > > > > [root@amd-seattle-01 testsuite]# /root/bin/systemtap/bin/stap -gp4 ./systemtap.examples/process/threadstacks.stp -Gsize=65536 -d /root/systemtap/testsuite/pthread_stacks.x > > semantic error: while resolving probe point: identifier 'process' at ./systemtap.examples/process/threadstacks.stp:17:7 > > source: probe process("/lib*/libpthread.so.*").function("allocate_stack") { > > ^ > > > > semantic error: no match > > You might need to install glibc-debuginfo. Below is some information from the machine I have setup showing that the probe point is available and what glibc stuff is installed on the machine: Thanks. After installing glibc-debuginfo I see the test is passing locally. PASS: ./systemtap.examples/process/thread-business run meta taglines '' tag 'output' value '' PRETEST PWD=/root/systemtap/testsuite meta taglines '' tag 'test_support' value '' TEST PWD=/root/systemtap/testsuite/systemtap.examples/process sourcing threadstacks.tcl for ./systemtap.examples/process/threadstacks meta taglines 'test_check: stap -gp4 threadstacks.stp -Gsize=65536 -d `which stap`' tag 'test_check' value 'stap -gp4 threadstacks.stp -Gsize=65536 -d `which stap`' attempting command stap -gp4 threadstacks.stp -Gsize=65536 -d `which stap` OUT /root/systemtap/testsuite/.systemtap-root/cache/71/stap_715823b07593f6d19206a3fa54071a9b_9758.ko RC 0 PASS: ./systemtap.examples/process/threadstacks build meta taglines 'test_installcheck: stap -g threadstacks.stp -Gsize=65536 -c "sleep 1" -d `which stap`' tag 'test_installcheck' value 'stap -g threadstacks.stp -Gsize=65536 -c "sleep 1" -d `which stap`' attempting command stap -g threadstacks.stp -Gsize=65536 -c "sleep 1" -d `which stap` OUT RC 0 PASS: ./systemtap.examples/process/threadstacks run ~Pratyush