mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
tracing: Remove unused function trace_current_buffer_discard_commit()
The function trace_current_buffer_discard_commit() has no callers, remove it. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
This commit is contained in:
parent
fa66ddb870
commit
a9fe48dcde
2 changed files with 0 additions and 10 deletions
|
@ -158,8 +158,6 @@ struct ring_buffer_event *
|
||||||
trace_current_buffer_lock_reserve(struct ring_buffer **current_buffer,
|
trace_current_buffer_lock_reserve(struct ring_buffer **current_buffer,
|
||||||
int type, unsigned long len,
|
int type, unsigned long len,
|
||||||
unsigned long flags, int pc);
|
unsigned long flags, int pc);
|
||||||
void trace_current_buffer_discard_commit(struct ring_buffer *buffer,
|
|
||||||
struct ring_buffer_event *event);
|
|
||||||
|
|
||||||
void tracing_record_cmdline(struct task_struct *tsk);
|
void tracing_record_cmdline(struct task_struct *tsk);
|
||||||
|
|
||||||
|
|
|
@ -1734,7 +1734,6 @@ trace_current_buffer_lock_reserve(struct ring_buffer **current_rb,
|
||||||
return trace_buffer_lock_reserve(*current_rb,
|
return trace_buffer_lock_reserve(*current_rb,
|
||||||
type, len, flags, pc);
|
type, len, flags, pc);
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(trace_current_buffer_lock_reserve);
|
|
||||||
|
|
||||||
void trace_buffer_unlock_commit_regs(struct trace_array *tr,
|
void trace_buffer_unlock_commit_regs(struct trace_array *tr,
|
||||||
struct ring_buffer *buffer,
|
struct ring_buffer *buffer,
|
||||||
|
@ -1748,13 +1747,6 @@ void trace_buffer_unlock_commit_regs(struct trace_array *tr,
|
||||||
ftrace_trace_userstack(buffer, flags, pc);
|
ftrace_trace_userstack(buffer, flags, pc);
|
||||||
}
|
}
|
||||||
|
|
||||||
void trace_current_buffer_discard_commit(struct ring_buffer *buffer,
|
|
||||||
struct ring_buffer_event *event)
|
|
||||||
{
|
|
||||||
ring_buffer_discard_commit(buffer, event);
|
|
||||||
}
|
|
||||||
EXPORT_SYMBOL_GPL(trace_current_buffer_discard_commit);
|
|
||||||
|
|
||||||
void
|
void
|
||||||
trace_function(struct trace_array *tr,
|
trace_function(struct trace_array *tr,
|
||||||
unsigned long ip, unsigned long parent_ip, unsigned long flags,
|
unsigned long ip, unsigned long parent_ip, unsigned long flags,
|
||||||
|
|
Loading…
Add table
Reference in a new issue