Skip to content

Commit

Permalink
tracing: Export trace_clock_local()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul E. McKenney authored and Paul E. McKenney committed Jan 8, 2013
1 parent 1b0048a commit dc975e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/trace/trace_clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit dc975e9

Please sign in to comment.