This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Regression on statistics
- From: "Wenji Huang" <wenji dot huang at oracle dot com>
- To: "systemtap at sources dot redhat dot com" <systemtap at sources dot redhat dot com>
- Date: Thu, 3 Dec 2009 15:44:42 +0800
- Subject: Regression on statistics
- Reply-to: "wenji dot huang at oracle dot com" <wenji dot huang at oracle dot com>
Hi,
There's one regression on statistics operation. For example,
Running ./systemtap.maps/ix.exp ...
executing: stap ./systemtap.maps/ix.stp
FAIL: ./systemtap.maps/ix.stp
line 1: expected "foo[0]: count:3 sum:98 avg:32 min:-2 max:100"
Got "foo[0]: count:3 sum:98 avg:32 min:0 max:-2"
It seems this is introduced by the commit.
commit 98c783852039061db8c1611742660aaded0eab77
Author: Anton Vorontsov <avorontsov@ru.mvista.com>
Date: Sat Nov 28 01:33:47 2009 +0300
Use proper types for do_div
The test case works fine once I reverted the commit.
Regards,
Wenji