]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Fix buffer allocation
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 24 Sep 2009 13:05:59 +0000 (15:05 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 24 Sep 2009 13:11:23 +0000 (15:11 +0200)
commit3b41d44a4c9fa45125c57a4c3ec5c0ae3f95407e
treea445c70426192ab086cb1a1fb7f704fe58442cc2
parentbfe9c50d288006dc15c75b8380c81b48409fe3c9
perf tools: Fix buffer allocation

"perf top" cores dump on my dev machine, if run from a directory
where vmlinux is present:

  *** glibc detected *** malloc(): memory corruption: 0x085670d0 ***

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Cc: <stable@kernel.org>
LKML-Reference: <4ABB6EB7.7000002@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/module.c