]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ring-buffer: add api to allow a tracer to change clock source
authorSteven Rostedt <srostedt@redhat.com>
Tue, 17 Mar 2009 21:22:06 +0000 (17:22 -0400)
committerSteven Rostedt <srostedt@redhat.com>
Wed, 18 Mar 2009 03:06:31 +0000 (23:06 -0400)
commit37886f6a9f62d22530ffee8d3f9215c8345b6969
tree046c9086682145fd2808af7197af669f08be6d0a
parent6adaad14d7d4d3ef31b4e2dc992b18b5da7c4eb3
ring-buffer: add api to allow a tracer to change clock source

This patch adds a new function called ring_buffer_set_clock that
allows a tracer to assign its own clock source to the buffer.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
include/linux/ring_buffer.h
kernel/trace/ring_buffer.c
kernel/trace/trace.c