aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2009-06-03 14:54:56 -0400
committerRobert Richter <robert.richter@amd.com>2009-06-11 14:16:00 -0400
commit51563a0e5650d0d76539625388d72d62b34c726e (patch)
tree17148f56578af8f7d7d67491f8b7eb05d99acdd9 /include
parentc572ae4efd1b0a5cc76c5e6aae05c1b182b6a69c (diff)
x86/oprofile: introduce oprofile_add_data64()
The IBS implemention writes 64 bit register values to the cpu buffer by writing two 32 values using oprofile_add_data(). This patch introduces oprofile_add_data64() to write a single 64 bit value to the buffer. Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/oprofile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/oprofile.h b/include/linux/oprofile.h
index dbbe2dbc4418..d68d2ed94f15 100644
--- a/include/linux/oprofile.h
+++ b/include/linux/oprofile.h
@@ -179,6 +179,7 @@ void oprofile_write_reserve(struct op_entry *entry,
179 struct pt_regs * const regs, 179 struct pt_regs * const regs,
180 unsigned long pc, int code, int size); 180 unsigned long pc, int code, int size);
181int oprofile_add_data(struct op_entry *entry, unsigned long val); 181int oprofile_add_data(struct op_entry *entry, unsigned long val);
182int oprofile_add_data64(struct op_entry *entry, u64 val);
182int oprofile_write_commit(struct op_entry *entry); 183int oprofile_write_commit(struct op_entry *entry);
183 184
184#endif /* OPROFILE_H */ 185#endif /* OPROFILE_H */