commit | 34839f5a69989c0ee48386a788fba37eb75910f7 | [log] [tgz] |
---|---|---|
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | Thu Jun 05 23:34:02 2014 -0400 |
committer | Steven Rostedt <rostedt@goodmis.org> | Fri Jun 06 00:41:38 2014 -0400 |
tree | 5f93240558f6028500b0373e740e907990680091 | |
parent | 72e2fe38eac2dbf258d4295d75f78b123dd5b823 [diff] |
tracing: Only calculate stats of tracepoint benchmarks for 2^32 times When calculating the average and standard deviation, it is required that the count be less than UINT_MAX, otherwise the do_div() will get undefined results. After 2^32 counts of data, the average and standard deviation should pretty much be set anyway. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>