Commit 44a6a4ee1aed0eada8f21e6db81b4cd099788f82

Authored by Tom Zanussi
Committed by Steven Rostedt
1 parent a439059610

tracing: Add missing syscall_metadata comment

Add the missing syscall_metadata description for the enter_fields
struct member.

Link: http://lkml.kernel.org/r/74c3407cd1e5d37f2c5aaca637aa4d35f66f1aa2.1372479499.git.tom.zanussi@linux.intel.com

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

Showing 1 changed file with 1 additions and 0 deletions Inline Diff

include/trace/syscall.h
1 #ifndef _TRACE_SYSCALL_H 1 #ifndef _TRACE_SYSCALL_H
2 #define _TRACE_SYSCALL_H 2 #define _TRACE_SYSCALL_H
3 3
4 #include <linux/tracepoint.h> 4 #include <linux/tracepoint.h>
5 #include <linux/unistd.h> 5 #include <linux/unistd.h>
6 #include <linux/ftrace_event.h> 6 #include <linux/ftrace_event.h>
7 7
8 #include <asm/ptrace.h> 8 #include <asm/ptrace.h>
9 9
10 10
11 /* 11 /*
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 * @syscall_nr: number of the syscall
16 * @nb_args: number of parameters it takes 16 * @nb_args: number of parameters it takes
17 * @types: list of types as strings 17 * @types: list of types as strings
18 * @args: list of args as strings (args[i] matches types[i]) 18 * @args: list of args as strings (args[i] matches types[i])
19 * @enter_fields: list of fields for syscall_enter trace event
19 * @enter_event: associated syscall_enter trace event 20 * @enter_event: associated syscall_enter trace event
20 * @exit_event: associated syscall_exit trace event 21 * @exit_event: associated syscall_exit trace event
21 */ 22 */
22 struct syscall_metadata { 23 struct syscall_metadata {
23 const char *name; 24 const char *name;
24 int syscall_nr; 25 int syscall_nr;
25 int nb_args; 26 int nb_args;
26 const char **types; 27 const char **types;
27 const char **args; 28 const char **args;
28 struct list_head enter_fields; 29 struct list_head enter_fields;
29 30
30 struct ftrace_event_call *enter_event; 31 struct ftrace_event_call *enter_event;
31 struct ftrace_event_call *exit_event; 32 struct ftrace_event_call *exit_event;
32 }; 33 };
33 34
34 #endif /* _TRACE_SYSCALL_H */ 35 #endif /* _TRACE_SYSCALL_H */
35 36