diff options
author | Paul E. McKenney <paul.mckenney@linaro.org> | 2012-11-15 14:27:26 -0500 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-01-08 17:14:55 -0500 |
commit | dc975e94f322e60fa8fcc44dec1820fde4de174c (patch) | |
tree | fa2a2bea9a9c62959cd75257558a06dcd700de39 /kernel/trace/trace_clock.c | |
parent | 1b0048a44c502c5ab850203e6e0a6498d7d8676d (diff) |
tracing: Export trace_clock_local()
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>
Diffstat (limited to 'kernel/trace/trace_clock.c')
-rw-r--r-- | 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 394783531cbb..1bbb1b200cec 100644 --- a/kernel/trace/trace_clock.c +++ b/kernel/trace/trace_clock.c | |||
@@ -44,6 +44,7 @@ u64 notrace trace_clock_local(void) | |||
44 | 44 | ||
45 | return clock; | 45 | return clock; |
46 | } | 46 | } |
47 | EXPORT_SYMBOL_GPL(trace_clock_local); | ||
47 | 48 | ||
48 | /* | 49 | /* |
49 | * trace_clock(): 'between' trace clock. Not completely serialized, | 50 | * trace_clock(): 'between' trace clock. Not completely serialized, |