On Tue, Mar 25, 2014 at 10:31:38AM -0700, Andi Kleen wrote:
> From: Andi Kleen <a...@linux.intel.com>
> 
> perf stat did initialize the stats structure used to compute
> stddev etc. incorrectly. It merely zeroes it. But one member
> (min) needs to be set to a non zero value. This causes min
> to be not computed at all. Call init_stats() correctly.
> 
> It doesn't matter for stat currently because it doesn't use
> min, but it's still better to do it correctly.
> 
> The other users of statistics are already correct.
> 
> Signed-off-by: Andi Kleen <a...@linux.intel.com>

Acked-by: Jiri Olsa <jo...@redhat.com>

thanks,
jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to