aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/oprofile/cpu_buffer.h
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2008-12-29 22:10:46 -0500
committerRobert Richter <robert.richter@amd.com>2009-01-07 16:40:02 -0500
commit2d87b14cf8d0b07720de26d90789d02124141616 (patch)
tree418285e8cd7127c6207ac9a3e1acf8f0f3c2282f /drivers/oprofile/cpu_buffer.h
parent2cc28b9f261dd28d69767a34682ce55a27d928ed (diff)
oprofile: modify op_cpu_buffer_read_entry()
This implements the support of samples with attached data. Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'drivers/oprofile/cpu_buffer.h')
-rw-r--r--drivers/oprofile/cpu_buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/oprofile/cpu_buffer.h b/drivers/oprofile/cpu_buffer.h
index 2d4bfdeb7fba..d7c0545ef8b2 100644
--- a/drivers/oprofile/cpu_buffer.h
+++ b/drivers/oprofile/cpu_buffer.h
@@ -75,7 +75,7 @@ static inline void op_cpu_buffer_reset(int cpu)
75struct op_sample 75struct op_sample
76*op_cpu_buffer_write_reserve(struct op_entry *entry, unsigned long size); 76*op_cpu_buffer_write_reserve(struct op_entry *entry, unsigned long size);
77int op_cpu_buffer_write_commit(struct op_entry *entry); 77int op_cpu_buffer_write_commit(struct op_entry *entry);
78struct op_sample *op_cpu_buffer_read_entry(int cpu); 78struct op_sample *op_cpu_buffer_read_entry(struct op_entry *entry, int cpu);
79unsigned long op_cpu_buffer_entries(int cpu); 79unsigned long op_cpu_buffer_entries(int cpu);
80 80
81/* transient events for the CPU buffer -> event buffer */ 81/* transient events for the CPU buffer -> event buffer */