Commit 8d15df84 authored by Robert Richter's avatar Robert Richter

oprofile: remove unused components in struct oprofile_cpu_buffer

Signed-off-by: default avatarRobert Richter <robert.richter@amd.com>
parent dbe6e283
...@@ -97,8 +97,6 @@ int alloc_cpu_buffers(void) ...@@ -97,8 +97,6 @@ int alloc_cpu_buffers(void)
b->last_is_kernel = -1; b->last_is_kernel = -1;
b->tracing = 0; b->tracing = 0;
b->buffer_size = buffer_size; b->buffer_size = buffer_size;
b->tail_pos = 0;
b->head_pos = 0;
b->sample_received = 0; b->sample_received = 0;
b->sample_lost_overflow = 0; b->sample_lost_overflow = 0;
b->backtrace_aborted = 0; b->backtrace_aborted = 0;
......
...@@ -40,8 +40,6 @@ struct op_entry { ...@@ -40,8 +40,6 @@ struct op_entry {
}; };
struct oprofile_cpu_buffer { struct oprofile_cpu_buffer {
volatile unsigned long head_pos;
volatile unsigned long tail_pos;
unsigned long buffer_size; unsigned long buffer_size;
struct task_struct *last_task; struct task_struct *last_task;
int last_is_kernel; int last_is_kernel;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment