]> 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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Oct 2009 16:31:46 +0000 (09:31 -0700)
commit11ae63deabcf6deebb9a4ab5ed9fb93dac3339dd
treef25b1e81e0b1a3219a73d1383977ce611c737d6a
parent45bc25843ee4c5c6183b6fba013fba1e11eb05b1
perf tools: Fix buffer allocation

commit a255a9981a8566a1efabec983b7811e937e662d2 upstream.

"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>
LKML-Reference: <4ABB6EB7.7000002@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
tools/perf/util/module.c