From: Andi Kleen Date: Tue, 25 Mar 2014 17:31:38 +0000 (-0700) Subject: perf stat: Initialize statistics correctly X-Git-Tag: omap-for-v3.16/pm-signed~99^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90f6bb6c98ffef42125d7be6d4612505f561fbce;p=pandora-kernel.git perf stat: Initialize statistics correctly 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 Acked-by: Namhyung Kim Link: http://lkml.kernel.org/r/1395768699-16060-1-git-send-email-andi@firstfloor.org Signed-off-by: Jiri Olsa --- Reading git-diff-tree failed