diff options
author | Robert Richter <robert.richter@amd.com> | 2008-12-24 10:53:53 -0500 |
---|---|---|
committer | Robert Richter <robert.richter@amd.com> | 2008-12-29 09:17:52 -0500 |
commit | 6d2c53f3cd81e33eec17aa99845d43e599986982 (patch) | |
tree | ba8462e472851065843396f1a5aaf3bbfc46ebb3 /drivers/oprofile/cpu_buffer.c | |
parent | bd2172f58094b3f8afa017e68f3f0b57577824e1 (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.c | 4 |
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, | |||
152 | struct op_entry entry; | 152 | struct op_entry entry; |
153 | int ret; | 153 | int ret; |
154 | 154 | ||
155 | ret = cpu_buffer_write_entry(&entry); | 155 | ret = op_cpu_buffer_write_entry(&entry); |
156 | if (ret) | 156 | if (ret) |
157 | return ret; | 157 | return ret; |
158 | 158 | ||
159 | entry.sample->eip = pc; | 159 | entry.sample->eip = pc; |
160 | entry.sample->event = event; | 160 | entry.sample->event = event; |
161 | 161 | ||
162 | ret = cpu_buffer_write_commit(&entry); | 162 | ret = op_cpu_buffer_write_commit(&entry); |
163 | if (ret) | 163 | if (ret) |
164 | return ret; | 164 | return ret; |
165 | 165 | ||