From: Ingo Molnar Date: Thu, 30 Apr 2009 12:14:37 +0000 (+0200) Subject: perf_counter tools: fix infinite loop in perf-report on zeroed event records X-Git-Tag: v2.6.31-rc1~383^2~319 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bad760089c1ef7fe525c0f268a4078b9cb483903;p=pandora-kernel.git perf_counter tools: fix infinite loop in perf-report on zeroed event records Bail out early if a record has zero size - we have no chance to make reliable progress in that case. Print out the offset where this happens, and print the number of bytes we missed out on. Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed