tracing: Have trace_buffer_unlock_commit() call the _regs version with NULL
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Fri, 29 Apr 2016 21:44:01 +0000 (17:44 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 29 Apr 2016 21:44:01 +0000 (17:44 -0400)
commit33fddff24d05d71f97722cb7deec4964d39d10dc
tree5deaa77ac5424b00a993c0fd378490a862bea74e
parenta9fe48dcde88fd48e210e4280f19cb9300ec9112
tracing: Have trace_buffer_unlock_commit() call the _regs version with NULL

There's no real difference between trace_buffer_unlock_commit() and
trace_buffer_unlock_commit_regs() except that the former passes NULL to
ftrace_stack_trace() instead of regs. Have the former be a static inline of
the latter which passes NULL for regs.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c
kernel/trace/trace.h