From: Peter Zijlstra Date: Thu, 6 Aug 2009 18:57:41 +0000 (+0200) Subject: perf tools: Fix multi-counter stat bug caused by incorrect reading of perf.data file... X-Git-Tag: v2.6.31-rc6~19^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c222bce7dd0cb9578b4c5cd3874a74f1db497c3;p=pandora-kernel.git perf tools: Fix multi-counter stat bug caused by incorrect reading of perf.data file header Brice Goglin reported that only the first result from a multi-counter perf record --stat run is accurate, the rest looks bogus. A silly mistake made us re-read the first attribute for every recorded attribute. Reported-by: Brice Goglin Signed-off-by: Peter Zijlstra Tested-by: Brice Goglin Cc: paulus@samba.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed