summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.c
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2016-04-29 17:44:01 -0400
committerSteven Rostedt <rostedt@goodmis.org>2016-04-29 17:44:01 -0400
commit33fddff24d05d71f97722cb7deec4964d39d10dc (patch)
tree5deaa77ac5424b00a993c0fd378490a862bea74e /kernel/trace/trace.c
parenta9fe48dcde88fd48e210e4280f19cb9300ec9112 (diff)
downloadop-kernel-dev-33fddff24d05d71f97722cb7deec4964d39d10dc.zip
op-kernel-dev-33fddff24d05d71f97722cb7deec4964d39d10dc.tar.gz
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>
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r--kernel/trace/trace.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index e5bdb9a..41bf144 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -1686,17 +1686,6 @@ __buffer_unlock_commit(struct ring_buffer *buffer, struct ring_buffer_event *eve
ring_buffer_unlock_commit(buffer, event);
}
-void trace_buffer_unlock_commit(struct trace_array *tr,
- struct ring_buffer *buffer,
- struct ring_buffer_event *event,
- unsigned long flags, int pc)
-{
- __buffer_unlock_commit(buffer, event);
-
- ftrace_trace_stack(tr, buffer, flags, 6, pc, NULL);
- ftrace_trace_userstack(buffer, flags, pc);
-}
-
static struct ring_buffer *temp_buffer;
struct ring_buffer_event *
OpenPOWER on IntegriCloud