mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
1b0048a44c
commit
dc975e94f3
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue