Comment 8 for bug 1537125

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2016-01-29 09:40 EDT-------
Test results from Ravi:
----------------------------

Systemtap 2.3 on Ubuntu 14.04.03 with 3.13 kernel and proposed enabled
works fine on both ppc64el and on x86. Though, as mentioned in first
comment, "make check" fails on ppc64el. But we observed that "make check"
is also failing on x86.

DETAILS:
Systemtap 2.3 is working fine on ppc64el but with tweak. systemtap is not
able to find kernel debuginfo even if it's installed. We renamed
/usr/lib/debug/boot/vmlinux-3.13.0-76-generic
to
/usr/lib/debug/boot/vmlinux-3.13.0-76-generic.debug
to make stap2.3 working on ppc64el.

$ sudo stap -ve 'probe kernel.function("do_fork") { printf("hit\n"); }'
[sudo] password for ravi:
Pass 1: parsed user script and 95 library script(s) using 42112virt/32064res/5952shr/25344data kb, in 180usr/10sys/229real ms.
Multiple 'sys_ni_syscall' symbols found.Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s) using 247744virt/171840res/105152shr/65472data kb, in 710usr/110sys/1976real ms.
Pass 3: using cached /home/ravi/.systemtap/cache/31/stap_31fa92e1f4e1c009931ae3b7c69c27c1_934.c
Pass 4: using cached /home/ravi/.systemtap/cache/31/stap_31fa92e1f4e1c009931ae3b7c69c27c1_934.ko
Pass 5: starting run.
$

But "make check" on ppc64el is failing.
$ apt-get source systemtap
$ cd systemtap-2.3/
$ make check ======> This results to same error mentioned in first comment.

ppc64el machine details:

$ cat /etc/issue
Ubuntu 14.04.3 LTS \n \l ========> with -proposed enabled

$ uname -a
Linux ubuntu-140403-qemu-proposed 3.13.0-76-generic #120-Ubuntu SMP Mon Jan 18 15:57:34 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux

$ stap --version ========> We installed systemtap/trusty-proposed
Systemtap translator/driver (version 2.3/0.158, Debian version 2.3-1ubuntu1.3 (trusty))

We observed that Systemtap 2.3 is working fine on x86 as well.

$ sudo stap -ve 'probe kernel.function("do_fork") { printf("hit\n"); }'
[sudo] password for ravi:
Pass 1: parsed user script and 95 library script(s) using 26540virt/16348res/2128shr/14816data kb, in 90usr/0sys/92real ms.
Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s) using 246140virt/151204res/112420shr/39244data kb, in 660usr/600sys/1733real ms.
Pass 3: using cached /home/ravi/.systemtap/cache/81/stap_811d223965dcd0a0a692262dc773f020_879.c
Pass 4: using cached /home/ravi/.systemtap/cache/81/stap_811d223965dcd0a0a692262dc773f020_879.ko
Pass 5: starting run.
$

And, "make check" on x86 is also failing with same error mentioned in first comment.

x86 machine details:

$ cat /etc/issue
Ubuntu 14.04.3 LTS \n \l ========> with -proposed enabled

$ uname -a
Linux ubuntu-140403-qemu 3.13.0-76-generic #120-Ubuntu SMP Mon Jan 18 15:58:41 UTC 2016 i686 i686 i686 GNU/Linux

$stap --version ========> We installed systemtap/trusty-proposed
Systemtap translator/driver (version 2.3/0.158, Debian version 2.3-1ubuntu1.3 (trusty))

Regards,
Ravi