From: Robert Richter Date: Wed, 26 Nov 2008 13:04:19 +0000 (+0100) Subject: ring_buffer: add remaining cpu functions to ring_buffer.h X-Git-Tag: v2.6.29-rc1~564^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e09373f22e76cc048ca5fe10a9ff9012f5d64309;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 Signed-off-by: Robert Richter --- diff --git a/include/linux/ring_buffer.h b/include/linux/ring_buffer.h index e097c2e..de9d8c1 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); unsigned long ring_buffer_entries(struct ring_buffer *buffer); unsigned long ring_buffer_overruns(struct ring_buffer *buffer); +unsigned long ring_buffer_entries_cpu(struct ring_buffer *buffer, int cpu); +unsigned long ring_buffer_overrun_cpu(struct ring_buffer *buffer, int cpu); u64 ring_buffer_time_stamp(int cpu); void ring_buffer_normalize_time_stamp(int cpu, u64 *ts);