original_kernel/drivers/oprofile
Robert Richter c0868934e5 oprofile: warn on freeing event buffer too early
A race shouldn't happen since all workqueues or handlers are canceled
or flushed before the event buffer is freed. A warning is triggered
now if the buffer is freed too early.

Also, this patch adds some comments about event buffer protection,
reworks some code and adds code to clear buffer_pos during alloc and
free of the event buffer.

Cc: David Rientjes <rientjes@google.com>
Cc: Stephane Eranian <eranian@google.com>
Signed-off-by: Robert Richter <robert.richter@amd.com>
2009-10-09 21:32:05 +02:00
..
buffer_sync.c cpumask: use zalloc_cpumask_var() where possible 2009-09-24 09:34:24 +09:30
buffer_sync.h
cpu_buffer.c
cpu_buffer.h
event_buffer.c oprofile: warn on freeing event buffer too early 2009-10-09 21:32:05 +02:00
event_buffer.h
oprof.c oprofile: Adding switch counter to oprofile statistic variables 2009-07-20 16:43:21 +02:00
oprof.h
oprofile_files.c
oprofile_stats.c oprofile: Adding switch counter to oprofile statistic variables 2009-07-20 16:43:21 +02:00
oprofile_stats.h oprofile: Adding switch counter to oprofile statistic variables 2009-07-20 16:43:21 +02:00
oprofilefs.c const: mark remaining super_operations const 2009-09-22 07:17:24 -07:00
timer_int.c