aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ring_buffer.h
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2008-11-26 08:04:19 -0500
committerRobert Richter <robert.richter@amd.com>2008-12-10 08:20:17 -0500
commite09373f22e76cc048ca5fe10a9ff9012f5d64309 (patch)
treeeb4b5d7e439199b146db8dccd9274139572f863b /include/linux/ring_buffer.h
parentfbc9bf9f0ed4f0fbc47dcb5b1c26c28c93b60e33 (diff)
ring_buffer: add remaining cpu functions to ring_buffer.h
These functions are not yet in ring_buffer.h though they seems to be part of the API. Cc: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'include/linux/ring_buffer.h')
-rw-r--r--include/linux/ring_buffer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ring_buffer.h b/include/linux/ring_buffer.h
index e097c2e6b6dc..de9d8c12e5ec 100644
--- a/include/linux/ring_buffer.h
+++ b/include/linux/ring_buffer.h
@@ -116,6 +116,8 @@ void ring_buffer_record_enable_cpu(struct ring_buffer *buffer, int cpu);
116 116
117unsigned long ring_buffer_entries(struct ring_buffer *buffer); 117unsigned long ring_buffer_entries(struct ring_buffer *buffer);
118unsigned long ring_buffer_overruns(struct ring_buffer *buffer); 118unsigned long ring_buffer_overruns(struct ring_buffer *buffer);
119unsigned long ring_buffer_entries_cpu(struct ring_buffer *buffer, int cpu);
120unsigned long ring_buffer_overrun_cpu(struct ring_buffer *buffer, int cpu);
119 121
120u64 ring_buffer_time_stamp(int cpu); 122u64 ring_buffer_time_stamp(int cpu);
121void ring_buffer_normalize_time_stamp(int cpu, u64 *ts); 123void ring_buffer_normalize_time_stamp(int cpu, u64 *ts);