aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/oprofile/cpu_buffer.h
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2009-01-07 15:50:22 -0500
committerRobert Richter <robert.richter@amd.com>2009-01-07 16:48:15 -0500
commit14f0ca8eaea42a5b5a69cfcb699665dd2618db5f (patch)
tree918cdb7d3ace9c84811bc606db631a1dc68496f7 /drivers/oprofile/cpu_buffer.h
parentebf8d974e298018f0b4ee02b1b097bf5500d3d27 (diff)
oprofile: make new cpu buffer functions part of the api
This patch creates the new functions oprofile_write_reserve() oprofile_add_data() oprofile_write_commit() and makes them part of the oprofile api. Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'drivers/oprofile/cpu_buffer.h')
-rw-r--r--drivers/oprofile/cpu_buffer.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/oprofile/cpu_buffer.h b/drivers/oprofile/cpu_buffer.h
index 525cc4d13d8d..63f81c44846a 100644
--- a/drivers/oprofile/cpu_buffer.h
+++ b/drivers/oprofile/cpu_buffer.h
@@ -35,13 +35,7 @@ struct op_sample {
35 unsigned long data[0]; 35 unsigned long data[0];
36}; 36};
37 37
38struct op_entry { 38struct op_entry;
39 struct ring_buffer_event *event;
40 struct op_sample *sample;
41 unsigned long irq_flags;
42 unsigned long size;
43 unsigned long *data;
44};
45 39
46struct oprofile_cpu_buffer { 40struct oprofile_cpu_buffer {
47 unsigned long buffer_size; 41 unsigned long buffer_size;