From: Arjan van de Ven Date: Sat, 6 Jun 2009 19:22:33 +0000 (+0200) Subject: perf_counter tools: Initialize a stack variable before use X-Git-Tag: v2.6.31-rc1~383^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9fbc9dc9214d6a9de7d62627be5414804fd7b9f;p=pandora-kernel.git perf_counter tools: Initialize a stack variable before use the "perf report" utility crashed in some circumstances because the "sym" stack variable was not initialized before used (as also proven by valgrind). With this fix both the crash goes away and valgrind no longer complains. Signed-off-by: Arjan van de Ven Cc: Peter Zijlstra Cc: Mike Galbraith Cc: Paul Mackerras Cc: Arnaldo Carvalho de Melo LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed