diff options
Diffstat (limited to 'include/trace/syscall.h')
-rw-r--r-- | include/trace/syscall.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/trace/syscall.h b/include/trace/syscall.h index ca09561cd578..1531eef3071f 100644 --- a/include/trace/syscall.h +++ b/include/trace/syscall.h | |||
@@ -12,6 +12,7 @@ | |||
12 | * A syscall entry in the ftrace syscalls array. | 12 | * A syscall entry in the ftrace syscalls array. |
13 | * | 13 | * |
14 | * @name: name of the syscall | 14 | * @name: name of the syscall |
15 | * @syscall_nr: number of the syscall | ||
15 | * @nb_args: number of parameters it takes | 16 | * @nb_args: number of parameters it takes |
16 | * @types: list of types as strings | 17 | * @types: list of types as strings |
17 | * @args: list of args as strings (args[i] matches types[i]) | 18 | * @args: list of args as strings (args[i] matches types[i]) |
@@ -20,6 +21,7 @@ | |||
20 | */ | 21 | */ |
21 | struct syscall_metadata { | 22 | struct syscall_metadata { |
22 | const char *name; | 23 | const char *name; |
24 | int syscall_nr; | ||
23 | int nb_args; | 25 | int nb_args; |
24 | const char **types; | 26 | const char **types; |
25 | const char **args; | 27 | const char **args; |
@@ -30,7 +32,6 @@ struct syscall_metadata { | |||
30 | 32 | ||
31 | #ifdef CONFIG_FTRACE_SYSCALLS | 33 | #ifdef CONFIG_FTRACE_SYSCALLS |
32 | extern unsigned long arch_syscall_addr(int nr); | 34 | extern unsigned long arch_syscall_addr(int nr); |
33 | extern int syscall_name_to_nr(const char *name); | ||
34 | 35 | ||
35 | extern int syscall_enter_format(struct ftrace_event_call *call, | 36 | extern int syscall_enter_format(struct ftrace_event_call *call, |
36 | struct trace_seq *s); | 37 | struct trace_seq *s); |