diff options
author | Jerry Snitselaar <jsnitsel@redhat.com> | 2015-04-30 08:10:24 -0700 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2015-05-12 15:56:57 -0400 |
commit | 7e255d346c12888f7cce4b89a03a5fe5e9196ab1 (patch) | |
tree | b87449fa2978ae7d1975b566e1936784a57cd36b /Documentation/IRQ-domain.txt | |
parent | 755a27e7e4c817dd51ade41668b380f26026899c (diff) | |
download | op-kernel-dev-7e255d346c12888f7cce4b89a03a5fe5e9196ab1.zip op-kernel-dev-7e255d346c12888f7cce4b89a03a5fe5e9196ab1.tar.gz |
tracing: Export tracing clock functions
Critical tracepoint hooks should 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.
Background: We have a customer that adds their own module and registers
a tracepoint hook to sched_wakeup. They were using ktime_get() for a
time source, but it grabs a seq lock and caused a deadlock to occur.
Link: http://lkml.kernel.org/r/1430406624-22609-1-git-send-email-jsnitsel@redhat.com
Signed-off-by: Jerry Snitselaar <jsnitsel@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Documentation/IRQ-domain.txt')
0 files changed, 0 insertions, 0 deletions