aboutsummaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
authorVaibhav Nagarnaik <vnagarnaik@google.com>2012-06-07 19:46:25 -0400
committerSteven Rostedt <rostedt@goodmis.org>2012-10-31 16:45:34 -0400
commit6f86ab9fcaef122abb837819139eadac1a0ca966 (patch)
tree3fc172fd1e89d86d32f7dca3a75666b659533c29 /include/trace
parent01e3e710a9265fb7092efd67243d7b6dd6e2548a (diff)
tracing: Cleanup unnecessary function declarations
The functions defined in include/trace/syscalls.h are not used directly since struct ftrace_event_class was introduced. Remove them from the header file and rearrange the ftrace_event_class declarations in trace_syscalls.c. Link: http://lkml.kernel.org/r/1339112785-21806-2-git-send-email-vnagarnaik@google.com Signed-off-by: Vaibhav Nagarnaik <vnagarnaik@google.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/syscall.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/include/trace/syscall.h b/include/trace/syscall.h
index 0c95796177d7..84bc4197e736 100644
--- a/include/trace/syscall.h
+++ b/include/trace/syscall.h
@@ -31,25 +31,4 @@ struct syscall_metadata {
31 struct ftrace_event_call *exit_event; 31 struct ftrace_event_call *exit_event;
32}; 32};
33 33
34#ifdef CONFIG_FTRACE_SYSCALLS
35extern unsigned long arch_syscall_addr(int nr);
36extern int init_syscall_trace(struct ftrace_event_call *call);
37
38extern int reg_event_syscall_enter(struct ftrace_event_call *call);
39extern void unreg_event_syscall_enter(struct ftrace_event_call *call);
40extern int reg_event_syscall_exit(struct ftrace_event_call *call);
41extern void unreg_event_syscall_exit(struct ftrace_event_call *call);
42enum print_line_t print_syscall_enter(struct trace_iterator *iter, int flags,
43 struct trace_event *event);
44enum print_line_t print_syscall_exit(struct trace_iterator *iter, int flags,
45 struct trace_event *event);
46#endif
47
48#ifdef CONFIG_PERF_EVENTS
49int perf_sysenter_enable(struct ftrace_event_call *call);
50void perf_sysenter_disable(struct ftrace_event_call *call);
51int perf_sysexit_enable(struct ftrace_event_call *call);
52void perf_sysexit_disable(struct ftrace_event_call *call);
53#endif
54
55#endif /* _TRACE_SYSCALL_H */ 34#endif /* _TRACE_SYSCALL_H */