This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Few systemtap tests results
- From: Prasanna S Panchamukhi <prasanna at in dot ibm dot com>
- To: systemtap at sources dot redhat dot com
- Date: Mon, 5 Sep 2005 21:38:25 +0530
- Subject: Few systemtap tests results
- Reply-to: prasanna at in dot ibm dot com
Hi,
I installed fc4 on my test box, below are some of my test results using
latest systemtap snapshot.
I tried with the installed kernel 2.6.13-1.1 itself..
I will send some more test results tomorrow..
[root@mac1 src]# rpm -qa |grep elf
elfutils-0.114-1
elfutils-libelf-devel-0.114-1
elfutils-libs-0.114-1
elfutils-libelf-0.114-1
elfutils-devel-0.114-1
[root@mac1 src]# rpm -qa |grep kernel
kernel-2.6.11-1.1369_FC4
kernel-devel-2.6.11-1.1369_FC4
kernel-2.6.13-1.1535_FC5
kernel-devel-2.6.13-1.1535_FC5
1. make check does not pass..., below is the log info
root@mac1 src]# make check
make check-TESTS
make[1]: Entering directory `/home/prasanna/src'
PASS: ./testsuite/parseok/eight.stp
PASS: ./testsuite/parseok/eleven.stp
PASS: ./testsuite/parseok/five.stp
PASS: ./testsuite/parseok/four.stp
PASS: ./testsuite/parseok/nine.stp
PASS: ./testsuite/parseok/one.stp
PASS: ./testsuite/parseok/semko.stp
PASS: ./testsuite/parseok/seven.stp
PASS: ./testsuite/parseok/six.stp
PASS: ./testsuite/parseok/ten.stp
PASS: ./testsuite/parseok/three.stp
PASS: ./testsuite/parseok/twelve.stp
PASS: ./testsuite/parseok/two.stp
XFAIL: ./testsuite/parseko/eight.stp
XFAIL: ./testsuite/parseko/eleven.stp
XFAIL: ./testsuite/parseko/five.stp
XFAIL: ./testsuite/parseko/four.stp
XFAIL: ./testsuite/parseko/fourteen.stp
XFAIL: ./testsuite/parseko/nine.stp
XFAIL: ./testsuite/parseko/one.stp
XFAIL: ./testsuite/parseko/seven.stp
XFAIL: ./testsuite/parseko/six.stp
XFAIL: ./testsuite/parseko/ten.stp
XFAIL: ./testsuite/parseko/thirteen.stp
XFAIL: ./testsuite/parseko/three.stp
XFAIL: ./testsuite/parseko/twelve.stp
XFAIL: ./testsuite/parseko/two.stp
PASS: ./testsuite/semok/eighteen.stp
PASS: ./testsuite/semok/eight.stp
PASS: ./testsuite/semok/eleven.stp
PASS: ./testsuite/semok/fifteen.stp
PASS: ./testsuite/semok/five.stp
PASS: ./testsuite/semok/four.stp
PASS: ./testsuite/semok/fourteen.stp
PASS: ./testsuite/semok/nine.stp
PASS: ./testsuite/semok/one.stp
PASS: ./testsuite/semok/seven.stp
FAIL: ./testsuite/semok/seventeen.stp
PASS: ./testsuite/semok/six.stp
PASS: ./testsuite/semok/sixteen.stp
PASS: ./testsuite/semok/ten.stp
FAIL: ./testsuite/semok/thirteen.stp
PASS: ./testsuite/semok/three.stp
PASS: ./testsuite/semok/transko.stp
FAIL: ./testsuite/semok/twelve.stp
PASS: ./testsuite/semok/two.stp
XFAIL: ./testsuite/semko/eighteen.stp
XFAIL: ./testsuite/semko/eight.stp
XFAIL: ./testsuite/semko/eleven.stp
XFAIL: ./testsuite/semko/fifteen.stp
XFAIL: ./testsuite/semko/five.stp
XFAIL: ./testsuite/semko/four.stp
XFAIL: ./testsuite/semko/fourteen.stp
XFAIL: ./testsuite/semko/nine.stp
XFAIL: ./testsuite/semko/nineteen.stp
XFAIL: ./testsuite/semko/one.stp
XFAIL: ./testsuite/semko/seven.stp
XFAIL: ./testsuite/semko/seventeen.stp
XFAIL: ./testsuite/semko/six.stp
XFAIL: ./testsuite/semko/sixteen.stp
XFAIL: ./testsuite/semko/ten.stp
XFAIL: ./testsuite/semko/thirteen.stp
XFAIL: ./testsuite/semko/three.stp
XFAIL: ./testsuite/semko/twelve.stp
XFAIL: ./testsuite/semko/two.stp
PASS: ./testsuite/transok/buildko.stp
PASS: ./testsuite/transok/eight.stp
PASS: ./testsuite/transok/five.stp
PASS: ./testsuite/transok/four.stp
PASS: ./testsuite/transok/nine.stp
PASS: ./testsuite/transok/one.stp
PASS: ./testsuite/transok/seven.stp
PASS: ./testsuite/transok/six.stp
PASS: ./testsuite/transok/three.stp
PASS: ./testsuite/transok/two.stp
XFAIL: ./testsuite/transko/one.stp
XFAIL: ./testsuite/transko/two.stp
FAIL: ./testsuite/buildok/eighteen.stp
PASS: ./testsuite/buildok/eight.stp
PASS: ./testsuite/buildok/eleven.stp
FAIL: ./testsuite/buildok/fifteen.stp
FAIL: ./testsuite/buildok/five.stp
FAIL: ./testsuite/buildok/four.stp
PASS: ./testsuite/buildok/fourteen.stp
PASS: ./testsuite/buildok/nine.stp
PASS: ./testsuite/buildok/one.stp
FAIL: ./testsuite/buildok/seven.stp
FAIL: ./testsuite/buildok/seventeen.stp
FAIL: ./testsuite/buildok/six.stp
PASS: ./testsuite/buildok/sixteen.stp
PASS: ./testsuite/buildok/ten.stp
FAIL: ./testsuite/buildok/thirteen.stp
FAIL: ./testsuite/buildok/three.stp
PASS: ./testsuite/buildok/twelve.stp
PASS: ./testsuite/buildok/two.stp
XFAIL: ./testsuite/buildko/one.stp
=============================================
12 of 96 tests failed
Please report to systemtap@sources.redhat.com
=============================================
make[1]: *** [check-TESTS] Error 1
make[1]: Leaving directory `/home/prasanna/src'
make: *** [check-am] Error 2
2. I ran the below simple script
[root@mac1 examp]# cat test3.stp
probe kernel.function("do_fork")
{
log ("enter");
}
[root@mac1 examp]# stap -gv test3.stp
Created temporary directory "/tmp/staptufEUh"
Searched '/usr/local/share/systemtap/tapset/2.6.13-1.1535_FC5/*.stp', match count 0
Searched '/usr/local/share/systemtap/tapset/2.6.13/*.stp', match count 0
Searched '/usr/local/share/systemtap/tapset/2.6/*.stp', match count 0
Searched '/usr/local/share/systemtap/tapset/*.stp', match count 4
Pass 1: parsed user script and 4 library script(s).
parsed 'do_fork' -> func 'do_fork'
semantic error: libdwfl failure (dwfl_linux_kernel_report_kernel): invalid `Elf' handle
while: resolving probe point kernel.function("do_fork")
Pass 2: analyzed user script. 0 probe(s), 0 function(s), 0 global(s).
Pass 2: analysis failed. Try again with '-v' (verbose) option.
Running /bin/rm -rf /tmp/staptufEUh
But conf log says libdw found.. as shown below...Please
see the lists of rpm's installed above, am I missing something here...????
checking for string.h... (cached) yes
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for dwarf_func_inline in -ldw... yes
configure: creating ./config.status
3. Also some cosmetic error usage of "-e" as guru mode.......
not sure if "-e" is still valid.
$man stapex shows
$ stap -p2 -e 'probe kernel.function("*") {}' | sort | uniq
but $man stap shows -g as "guru mode"
Regards
Prasanna
--
Prasanna S Panchamukhi
Linux Technology Center
India Software Labs, IBM Bangalore
Ph: 91-80-25044636
<prasanna@in.ibm.com>