]> git.karo-electronics.de Git - karo-tx-linux.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)
commita255a9981a8566a1efabec983b7811e937e662d2
treea445c70426192ab086cb1a1fb7f704fe58442cc2
parent67030036ebb370b0aa5561ae2fe31668ed1ccd1c
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