oprofile: moving cpu_buffer_reset() to cpu_buffer.h
This is in preparation for changes in the cpu buffer implementation. Signed-off-by: Robert Richter <robert.richter@amd.com>
This commit is contained in:
@@ -548,6 +548,7 @@ void sync_buffer(int cpu)
|
||||
|
||||
/* Remember, only we can modify tail_pos */
|
||||
|
||||
cpu_buffer_reset(cpu);
|
||||
#ifndef CONFIG_OPROFILE_IBS
|
||||
available = cpu_buffer_entries(cpu_buf);
|
||||
|
||||
|
Reference in New Issue
Block a user