Re: [PATCH] tracing: Export tracing clock functions

2015-04-30 Thread Steven Rostedt
On Thu, 30 Apr 2015 07:36:40 -0700 Jerry Snitselaar wrote: > Critical tracepoint hooks shoud never call anything that takes a lock, > so they are unable to call getrawmonotonic() or ktime_get(). > > Export the rest of the tracing clock functions so can be used in > tracepoint hooks. A little ba

[PATCH] tracing: Export tracing clock functions

2015-04-30 Thread Jerry Snitselaar
Critical tracepoint hooks shoud never call anything that takes a lock, so they are unable to call getrawmonotonic() or ktime_get(). Export the rest of the tracing clock functions so can be used in tracepoint hooks. Cc: Steven Rostedt Cc: Ingo Molnar Signed-off-by: Jerry Snitselaar --- kernel/