perf annotate: Allocate history size correctly
authorNick Piggin <npiggin@suse.de>
Tue, 17 Nov 2009 11:29:38 +0000 (12:29 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 17 Nov 2009 15:47:09 +0000 (16:47 +0100)
commitd62d77fd18cc82e839e49b7ef3360e4411f7d2e5
treea00b21ffcc31d02e50b5edaad77d47e3d1c3a1b9
parentc10edee2e1716f8cf217cf52ed01ae4742fcdf3c
perf annotate: Allocate history size correctly

Symbol offset history table size does not get updated properly
when it is being resized. This leads to garbage results in
perf annotate.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/symbol.c