Skip to content

Commit dc975e9

Browse files
Paul E. McKenneypaulmck
authored andcommitted
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>
1 parent 1b0048a commit dc975e9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎kernel/trace/trace_clock.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ u64 notrace trace_clock_local(void)
4444

4545
return clock;
4646
}
47+
EXPORT_SYMBOL_GPL(trace_clock_local);
4748

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

0 commit comments

Comments
 (0)