diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2015-09-25 20:30:47 +0300 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2015-09-25 22:37:23 +0300 |
commit | d78a461427d752bc1cd5b87515167453a18de7e3 (patch) | |
tree | 884065664364ad86d83458f79e7db740c3fefc3c /kernel/trace/trace.h | |
parent | 46ac51822a6a0b83ee3e408ee9edcb292fb8ced0 (diff) | |
download | linux-d78a461427d752bc1cd5b87515167453a18de7e3.tar.xz |
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.h | 9 |
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, void ftrace_trace_stack(struct ring_buffer *buffer, unsigned long flags, int skip, int pc); -void ftrace_trace_stack_regs(struct ring_buffer *buffer, unsigned long flags, - int skip, int pc, struct pt_regs *regs); - void ftrace_trace_userstack(struct ring_buffer *buffer, unsigned long flags, int pc); @@ -628,12 +625,6 @@ static inline void ftrace_trace_stack(struct ring_buffer *buffer, { } -static inline void ftrace_trace_stack_regs(struct ring_buffer *buffer, - unsigned long flags, int skip, - int pc, struct pt_regs *regs) -{ -} - static inline void ftrace_trace_userstack(struct ring_buffer *buffer, unsigned long flags, int pc) { |