summaryrefslogtreecommitdiff
path: root/drivers/oprofile/cpu_buffer.c
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2008-12-24 16:53:53 +0100
committerRobert Richter <robert.richter@amd.com>2008-12-29 15:17:52 +0100
commit6d2c53f3cd81e33eec17aa99845d43e599986982 (patch)
treeba8462e472851065843396f1a5aaf3bbfc46ebb3 /drivers/oprofile/cpu_buffer.c
parentbd2172f58094b3f8afa017e68f3f0b57577824e1 (diff)
oprofile: rename cpu buffer functions
This patch renames cpu buffer functions to something more oprofile specific names. Functions will be moved to the global name space. Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'drivers/oprofile/cpu_buffer.c')
-rw-r--r--drivers/oprofile/cpu_buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/oprofile/cpu_buffer.c b/drivers/oprofile/cpu_buffer.c
index fcf96f608d86..e52c085cd186 100644
--- a/drivers/oprofile/cpu_buffer.c
+++ b/drivers/oprofile/cpu_buffer.c
@@ -152,14 +152,14 @@ add_sample(struct oprofile_cpu_buffer *cpu_buf,
struct op_entry entry;
int ret;
- ret = cpu_buffer_write_entry(&entry);
+ ret = op_cpu_buffer_write_entry(&entry);
if (ret)
return ret;
entry.sample->eip = pc;
entry.sample->event = event;
- ret = cpu_buffer_write_commit(&entry);
+ ret = op_cpu_buffer_write_commit(&entry);
if (ret)
return ret;