perf record: Zero out mmap_array to fix segfault
authorZhang, Yanmin <yanmin_zhang@linux.intel.com>
Thu, 25 Mar 2010 22:59:01 +0000 (19:59 -0300)
committerIngo Molnar <mingo@elte.hu>
Fri, 26 Mar 2010 07:52:59 +0000 (08:52 +0100)
commit5a10317483f606106395814ee2fdaa2f1256a3b3
tree34b5258334dface9664ef24eee5ed94c6c8a165b
parent5aab621b7bf024608f0c089e21656e7fe875a150
perf record: Zero out mmap_array to fix segfault

Reported-by: Li Zefan <lizf@cn.fujitsu.com>
Tested-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Zhang Yanmin <yanmin_zhang@linux.intel.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <1269557941-15617-6-git-send-email-acme@infradead.org>
Cc: <stable@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-record.c
tools/perf/builtin-top.c