aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorArjan van de Ven <[email protected]>2009-06-06 19:22:33 +0000
committerIngo Molnar <[email protected]>2009-06-06 19:22:33 +0000
commite9fbc9dc9214d6a9de7d62627be5414804fd7b9f (patch)
tree296e7c7438bf7ef3b89a91ed79248b186e540d92 /tools/perf/builtin-annotate.c
parentperf annotate: Automatically pick up vmlinux in the local directory (diff)
downloadkernel-e9fbc9dc9214d6a9de7d62627be5414804fd7b9f.tar.gz
kernel-e9fbc9dc9214d6a9de7d62627be5414804fd7b9f.zip
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 <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions