From: Steven Rostedt (Red Hat) Date: Fri, 6 Jun 2014 03:34:02 +0000 (-0400) Subject: tracing: Only calculate stats of tracepoint benchmarks for 2^32 times X-Git-Tag: omap-for-v3.16/fixes-against-rc1~80^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34839f5a69989c0ee48386a788fba37eb75910f7;p=pandora-kernel.git 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 --- Reading git-diff-tree failed