tracing: Export trace_clock_local()
authorPaul E. McKenney <paul.mckenney@linaro.org>
Thu, 15 Nov 2012 19:27:26 +0000 (11:27 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 8 Jan 2013 22:14:55 +0000 (14:14 -0800)
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
EXPORT_SYMBOL_GPL().

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/trace/trace_clock.c

index 394783531cbb76d9f7d9ab34ae0b6963d5d14dff..1bbb1b200cecda10f0e04a7dba738ba544320cdf 100644 (file)
@@ -44,6 +44,7 @@ u64 notrace trace_clock_local(void)
 
        return clock;
 }
+EXPORT_SYMBOL_GPL(trace_clock_local);
 
 /*
  * trace_clock(): 'between' trace clock. Not completely serialized,