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]

Regression on statistics


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


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