diff options
author | zhangwei(Jovi) <jovi.zhangwei@huawei.com> | 2013-04-10 11:26:30 +0800 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2013-07-02 20:42:32 -0400 |
commit | 8de1eb02778b64f8b292db531cf39a429f84315f (patch) | |
tree | 4e83db2c61e36e6a04d29435a57c694fe9452d0a /kernel/trace/trace.c | |
parent | 4480361c3c592fcbce3ef74e030719f0715e3a7e (diff) |
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>
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r-- | kernel/trace/trace.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 48aceb8a032..f6fed9e51c6 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -1637,15 +1637,6 @@ trace_function(struct trace_array *tr, __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 #define FTRACE_STACK_MAX_ENTRIES (PAGE_SIZE / sizeof(unsigned long)) |