From: Arnaldo Carvalho de Melo Date: Thu, 25 Feb 2010 15:57:40 +0000 (-0300) Subject: perf annotate: Defer allocating sym_priv->hist array X-Git-Tag: v2.6.34-rc1~197^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=628ada0cb03666dd463f7c25947eaccdf440c309;p=pandora-kernel.git perf annotate: Defer allocating sym_priv->hist array Because symbol->end is not fixed up at symbol_filter time, only after all symbols for a DSO are loaded, and that, for asm symbols, may be bogus, causing segfaults when hits happen in these symbols. Reported-by: David Miller Reported-by: Anton Blanchard Acked-by: David Miller Signed-off-by: Arnaldo Carvalho de Melo Cc: Frédéric Weisbecker Cc: Mike Galbraith Cc: Peter Zijlstra Cc: Paul Mackerras Cc: # for .33.x. Does not apply cleanly, needs backport. LKML-Reference: <20100225155740.GB8553@ghostprotocols.net> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed