android_kernel_xiaomi_sm8350/drivers/oprofile
Robert Richter 54f2c841fa 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 <suravee.suthikulpanit@amd.com>
Signed-off-by: Robert Richter <robert.richter@amd.com>
2009-05-07 17:28:59 +02:00
..
buffer_sync.c oprofile: Thou shalt not call __exit functions from __init functions 2009-03-30 22:05:18 +10:30
buffer_sync.h cpumask: modifiy oprofile initialization 2009-01-22 14:37:06 +01:00
cpu_buffer.c oprofile: fix cpu buffer size 2009-05-07 17:28:59 +02:00
cpu_buffer.h oprofile: fix uninitialized use of struct op_entry 2009-01-17 17:26:39 +01:00
event_buffer.c
event_buffer.h
oprof.c cpumask: modifiy oprofile initialization 2009-01-22 14:37:06 +01:00
oprof.h
oprofile_files.c
oprofile_stats.c
oprofile_stats.h
oprofilefs.c
timer_int.c