perf_counter tools: fix infinite loop in perf-report on zeroed event records
authorIngo Molnar <mingo@elte.hu>
Thu, 30 Apr 2009 12:14:37 +0000 (14:14 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 30 Apr 2009 12:14:37 +0000 (14:14 +0200)
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 <mingo@elte.hu>

No differences found