linux/tools/perf
Arjan van de Ven e9fbc9dc92 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 <arjan@linux.intel.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-06-06 21:22:33 +02:00
..
Documentation
util perf_counter tools: Initialize a stack variable before use 2009-06-06 21:22:33 +02:00
.gitignore
builtin-annotate.c perf annotate: Automatically pick up vmlinux in the local directory 2009-06-06 21:17:03 +02:00
builtin-help.c
builtin-list.c
builtin-record.c
builtin-report.c
builtin-stat.c
builtin-top.c
builtin.h
command-list.txt
design.txt
Makefile
perf.c
perf.h