aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.h
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2015-09-25 13:30:47 -0400
committerSteven Rostedt <rostedt@goodmis.org>2015-09-25 15:37:23 -0400
commitd78a461427d752bc1cd5b87515167453a18de7e3 (patch)
tree884065664364ad86d83458f79e7db740c3fefc3c /kernel/trace/trace.h
parent46ac51822a6a0b83ee3e408ee9edcb292fb8ced0 (diff)
tracing: Remove ftrace_trace_stack_regs()
ftrace_trace_stack_regs() is used in only one place, and because that is such a simple function, just move its code into the location that it was used in (trace_buffer_unlock_commit_regs()). Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r--kernel/trace/trace.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index 74bde81601a9..3b2a950a6291 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -614,9 +614,6 @@ void update_max_tr_single(struct trace_array *tr,
614void ftrace_trace_stack(struct ring_buffer *buffer, unsigned long flags, 614void ftrace_trace_stack(struct ring_buffer *buffer, unsigned long flags,
615 int skip, int pc); 615 int skip, int pc);
616 616
617void ftrace_trace_stack_regs(struct ring_buffer *buffer, unsigned long flags,
618 int skip, int pc, struct pt_regs *regs);
619
620void ftrace_trace_userstack(struct ring_buffer *buffer, unsigned long flags, 617void ftrace_trace_userstack(struct ring_buffer *buffer, unsigned long flags,
621 int pc); 618 int pc);
622 619
@@ -628,12 +625,6 @@ static inline void ftrace_trace_stack(struct ring_buffer *buffer,
628{ 625{
629} 626}
630 627
631static inline void ftrace_trace_stack_regs(struct ring_buffer *buffer,
632 unsigned long flags, int skip,
633 int pc, struct pt_regs *regs)
634{
635}
636
637static inline void ftrace_trace_userstack(struct ring_buffer *buffer, 628static inline void ftrace_trace_userstack(struct ring_buffer *buffer,
638 unsigned long flags, int pc) 629 unsigned long flags, int pc)
639{ 630{