[PATCH tip/core/rcu 1/3] tracing: Export trace_clock_local()

From: Paul E. McKenney
Date: Sat Jan 05 2013 - 12:05:04 EST

From: "Paul E. McKenney" <paul.mckenney@xxxxxxxxxx>

The rcutorture tests need to be able to trace the time of the
beginning of an RCU read-side critical section, and thus need access
to trace_clock_local(). This commit therefore adds a the needed

Signed-off-by: Paul E. McKenney <paul.mckenney@xxxxxxxxxx>
kernel/trace/trace_clock.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/kernel/trace/trace_clock.c b/kernel/trace/trace_clock.c
index 3947835..1bbb1b2 100644
--- a/kernel/trace/trace_clock.c
+++ b/kernel/trace/trace_clock.c
@@ -44,6 +44,7 @@ u64 notrace trace_clock_local(void)

return clock;

* trace_clock(): 'between' trace clock. Not completely serialized,

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/