This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
running testcases with unoptimized translation
- From: Li Guanglei <guanglei at cn dot ibm dot com>
- To: "systemtap at sourceware dot org" <systemtap at sourceware dot org>
- Date: Wed, 09 Aug 2006 11:54:22 +0800
- Subject: running testcases with unoptimized translation
- Organization: IBM CSTL
Hi,
Currently the translator does a smart work of eliding those unused
assignments. This is very helpful to generate optimized codes but it
will also cover up some errors during the "make check".
One example is testsuite/buildok/sched_test.stp. Current "make
check" will say it passed the test, but actually stap can't resolve
the target symbol of inline function so I don't think sched_test.stp
should pass the test. If you run sched_test.stp with "stap -u -p4" you
will get a lot of errors. It hasn't error at present only because stap
optimized away those error codes since they are not referenced at all.
- Guanglei