ring-buffer: use internal time stamp function
authorSteven Rostedt <srostedt@redhat.com>
Mon, 11 May 2009 20:28:23 +0000 (16:28 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 12 May 2009 03:14:03 +0000 (23:14 -0400)
The ring_buffer_time_stamp that is exported adds a little more overhead
than is needed for using it internally. This patch adds an internal
timestamp function that can be inlined (a single line function)
and used internally for the ring buffer.

[ Impact: a little less overhead to the ring buffer ]

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ring_buffer.c

Simple merge