Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Robert Richter <[email protected]>
- Loading branch information