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)
commit88eb0125362f2ab272cbaf84252cf101ddc2dec9
treeacf8bac454d61874f35bf5e20cd30b448811608a
parent0f0c85fc80adbbd2265d89867d743f929d516805
ring-buffer: use internal time stamp function

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