]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5287e28e9f821458855eccccb5c0d074be8e2b66
treeacf8bac454d61874f35bf5e20cd30b448811608a
parentb65a87cd0566d0463bd88053fcd781354e70f160
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