This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Likely problem in stap_compile.exp
- From: Wenji Huang <wenji dot huang at oracle dot com>
- To: SystemTAP <systemtap at sources dot redhat dot com>
- Date: Tue, 01 Sep 2009 17:21:24 +0800
- Subject: Likely problem in stap_compile.exp
- Reply-to: wenji dot huang at oracle dot com
Hi,
Seems there's problem in testsuite/lib/stap_compile.exp when
matching the output with expected results since commit
a4433a9da1f21c6536266531308ba231e5efae81.
This is one piece of systemtap.base/marker.exp test log.
running stap -v -p4 -e "probe kernel.mark(\"kvm_trace_entryexit\") { }"
Pass 1: parsed user script and 59 library script(s) in
630usr/110sys/738real ms.^M
WARNING: side-effect-free probe 'probe_1805': keyword at <input>:1:1^M
source: probe kernel.mark("kvm_trace_entryexit") { }^M
^^M
Pass 2: analyzed script: 1 probe(s), 0 function(s), 1 embed(s), 0
global(s) in 20usr/0sys/33real ms.^M
Pass 3: translated to C into
"/tmp/stapxxfUqx/stap_98582564a144af32100025c9d1396921_789.c" in
0usr/0sys/0real ms.^M
FAIL: K_MARKER02_compile failed, but got no error messages
PASS: K_MARKER02 compilation succeeded
It's a little odd to say FAIL and PASS together. In fact,
it works fine on FC11.
$ stap -v -p4 -e "probe kernel.mark(\"kvm_trace_entryexit\") { }"
Pass 1: parsed user script and 59 library script(s) in
160usr/40sys/254real ms.
WARNING: side-effect-free probe 'probe_1805': keyword at <input>:1:1
source: probe kernel.mark("kvm_trace_entryexit") { }
^
Pass 2: analyzed script: 1 probe(s), 0 function(s), 1 embed(s), 0
global(s) in 0usr/0sys/4real ms.
Pass 3: translated to C into
"/tmp/stapRxWnAr/stap_ffed1a0d69d460dbf7b5ce69d58544e4_792.c" in
0usr/0sys/0real ms.
/home/wjhuang/.systemtap/cache/ff/stap_ffed1a0d69d460dbf7b5ce69d58544e4_792.ko
Pass 4: compiled C into "stap_ffed1a0d69d460dbf7b5ce69d58544e4_792.ko"
in 6900usr/4120sys/23272real ms.