From: Robert Richter Date: Thu, 7 May 2009 15:28:59 +0000 (+0200) Subject: oprofile: fix cpu buffer size X-Git-Tag: v2.6.30-rc8~50^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54f2c841fa0007e5fee3b7d01a911c774f0a6cda;p=pandora-kernel.git oprofile: fix cpu buffer size The unit of oprofile_cpu_buffer_size is in samples, but was allocated in bytes. This led to the allocation of too small cpu buffers. This patch recalculates the buffer size in bytes taking also the ring_buffer_event header size into account. Reported-by: Suravee Suthikulpanit Signed-off-by: Robert Richter --- Reading git-diff-tree failed