summaryrefslogtreecommitdiffstats
path: root/include/trace/syscall.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2010-05-21 17:53:06 +0200
committerIngo Molnar <mingo@elte.hu>2010-05-21 17:53:46 +0200
commitf80836c86ebd44bf8f90882283a1618e09dfaed2 (patch)
treebe28455ff20df71fcebc3e59b2575721ab099ba3 /include/trace/syscall.h
parent598357eba6a55d27ddc7ead80ebb83fe1aad9b83 (diff)
parentff5f149b6aec8edbfa3698721667acd043009a33 (diff)
downloadop-kernel-dev-f80836c86ebd44bf8f90882283a1618e09dfaed2.zip
op-kernel-dev-f80836c86ebd44bf8f90882283a1618e09dfaed2.tar.gz
Merge branch 'tip/tracing/core-7' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace into perf/core
Diffstat (limited to 'include/trace/syscall.h')
-rw-r--r--include/trace/syscall.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/trace/syscall.h b/include/trace/syscall.h
index e5e5f48..257e089 100644
--- a/include/trace/syscall.h
+++ b/include/trace/syscall.h
@@ -25,6 +25,8 @@ struct syscall_metadata {
int nb_args;
const char **types;
const char **args;
+ struct list_head enter_fields;
+ struct list_head exit_fields;
struct ftrace_event_call *enter_event;
struct ftrace_event_call *exit_event;
@@ -34,16 +36,16 @@ struct syscall_metadata {
extern unsigned long arch_syscall_addr(int nr);
extern int init_syscall_trace(struct ftrace_event_call *call);
-extern int syscall_enter_define_fields(struct ftrace_event_call *call);
-extern int syscall_exit_define_fields(struct ftrace_event_call *call);
extern int reg_event_syscall_enter(struct ftrace_event_call *call);
extern void unreg_event_syscall_enter(struct ftrace_event_call *call);
extern int reg_event_syscall_exit(struct ftrace_event_call *call);
extern void unreg_event_syscall_exit(struct ftrace_event_call *call);
extern int
ftrace_format_syscall(struct ftrace_event_call *call, struct trace_seq *s);
-enum print_line_t print_syscall_enter(struct trace_iterator *iter, int flags);
-enum print_line_t print_syscall_exit(struct trace_iterator *iter, int flags);
+enum print_line_t print_syscall_enter(struct trace_iterator *iter, int flags,
+ struct trace_event *event);
+enum print_line_t print_syscall_exit(struct trace_iterator *iter, int flags,
+ struct trace_event *event);
#endif
#ifdef CONFIG_PERF_EVENTS
OpenPOWER on IntegriCloud