This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

running testcases with unoptimized translation


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]