tracing: Remove ftrace() function
The only caller of function ftrace(...) was removed a long time ago, so remove the function body as well. Link: http://lkml.kernel.org/r/1365564393-10972-10-git-send-email-jovi.zhangwei@huawei.com Signed-off-by: zhangwei(Jovi) <jovi.zhangwei@huawei.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
This commit is contained in:
committed by
Steven Rostedt
parent
4480361c3c
commit
8de1eb0277
@@ -1637,15 +1637,6 @@ trace_function(struct trace_array *tr,
|
|||||||
__buffer_unlock_commit(buffer, event);
|
__buffer_unlock_commit(buffer, event);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
ftrace(struct trace_array *tr, struct trace_array_cpu *data,
|
|
||||||
unsigned long ip, unsigned long parent_ip, unsigned long flags,
|
|
||||||
int pc)
|
|
||||||
{
|
|
||||||
if (likely(!atomic_read(&data->disabled)))
|
|
||||||
trace_function(tr, ip, parent_ip, flags, pc);
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef CONFIG_STACKTRACE
|
#ifdef CONFIG_STACKTRACE
|
||||||
|
|
||||||
#define FTRACE_STACK_MAX_ENTRIES (PAGE_SIZE / sizeof(unsigned long))
|
#define FTRACE_STACK_MAX_ENTRIES (PAGE_SIZE / sizeof(unsigned long))
|
||||||
|
@@ -559,11 +559,6 @@ void tracing_iter_reset(struct trace_iterator *iter, int cpu);
|
|||||||
|
|
||||||
void poll_wait_pipe(struct trace_iterator *iter);
|
void poll_wait_pipe(struct trace_iterator *iter);
|
||||||
|
|
||||||
void ftrace(struct trace_array *tr,
|
|
||||||
struct trace_array_cpu *data,
|
|
||||||
unsigned long ip,
|
|
||||||
unsigned long parent_ip,
|
|
||||||
unsigned long flags, int pc);
|
|
||||||
void tracing_sched_switch_trace(struct trace_array *tr,
|
void tracing_sched_switch_trace(struct trace_array *tr,
|
||||||
struct task_struct *prev,
|
struct task_struct *prev,
|
||||||
struct task_struct *next,
|
struct task_struct *next,
|
||||||
|
Reference in New Issue
Block a user