This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Recent aarch64 kprobes and uprobes patch systemtap testing
- From: Pratyush Anand <panand at redhat dot com>
- To: William Cohen <wcohen at redhat dot com>
- Cc: David Long <dave dot long at linaro dot org>, systemtap at sourceware dot org
- Date: Thu, 17 Dec 2015 06:22:58 +0530
- Subject: Re: Recent aarch64 kprobes and uprobes patch systemtap testing
- Authentication-results: sourceware.org; auth=none
- References: <5669DF98 dot 3030601 at redhat dot com> <5669EABE dot 7040507 at linaro dot org> <566B019D dot 1000309 at redhat dot com> <20151216052229 dot GH4674 at dhcppc13 dot redhat dot com> <56716399 dot 1080602 at redhat dot com>
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