diff options
Diffstat (limited to 'include/linux/syscalls.h')
-rw-r--r-- | include/linux/syscalls.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index bb51becf23f8..b45c45b8c829 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h | |||
@@ -111,14 +111,14 @@ union bpf_attr; | |||
111 | #define __SC_STR_ADECL(t, a) #a | 111 | #define __SC_STR_ADECL(t, a) #a |
112 | #define __SC_STR_TDECL(t, a) #t | 112 | #define __SC_STR_TDECL(t, a) #t |
113 | 113 | ||
114 | extern struct ftrace_event_class event_class_syscall_enter; | 114 | extern struct trace_event_class event_class_syscall_enter; |
115 | extern struct ftrace_event_class event_class_syscall_exit; | 115 | extern struct trace_event_class event_class_syscall_exit; |
116 | extern struct trace_event_functions enter_syscall_print_funcs; | 116 | extern struct trace_event_functions enter_syscall_print_funcs; |
117 | extern struct trace_event_functions exit_syscall_print_funcs; | 117 | extern struct trace_event_functions exit_syscall_print_funcs; |
118 | 118 | ||
119 | #define SYSCALL_TRACE_ENTER_EVENT(sname) \ | 119 | #define SYSCALL_TRACE_ENTER_EVENT(sname) \ |
120 | static struct syscall_metadata __syscall_meta_##sname; \ | 120 | static struct syscall_metadata __syscall_meta_##sname; \ |
121 | static struct ftrace_event_call __used \ | 121 | static struct trace_event_call __used \ |
122 | event_enter_##sname = { \ | 122 | event_enter_##sname = { \ |
123 | .class = &event_class_syscall_enter, \ | 123 | .class = &event_class_syscall_enter, \ |
124 | { \ | 124 | { \ |
@@ -128,13 +128,13 @@ extern struct trace_event_functions exit_syscall_print_funcs; | |||
128 | .data = (void *)&__syscall_meta_##sname,\ | 128 | .data = (void *)&__syscall_meta_##sname,\ |
129 | .flags = TRACE_EVENT_FL_CAP_ANY, \ | 129 | .flags = TRACE_EVENT_FL_CAP_ANY, \ |
130 | }; \ | 130 | }; \ |
131 | static struct ftrace_event_call __used \ | 131 | static struct trace_event_call __used \ |
132 | __attribute__((section("_ftrace_events"))) \ | 132 | __attribute__((section("_ftrace_events"))) \ |
133 | *__event_enter_##sname = &event_enter_##sname; | 133 | *__event_enter_##sname = &event_enter_##sname; |
134 | 134 | ||
135 | #define SYSCALL_TRACE_EXIT_EVENT(sname) \ | 135 | #define SYSCALL_TRACE_EXIT_EVENT(sname) \ |
136 | static struct syscall_metadata __syscall_meta_##sname; \ | 136 | static struct syscall_metadata __syscall_meta_##sname; \ |
137 | static struct ftrace_event_call __used \ | 137 | static struct trace_event_call __used \ |
138 | event_exit_##sname = { \ | 138 | event_exit_##sname = { \ |
139 | .class = &event_class_syscall_exit, \ | 139 | .class = &event_class_syscall_exit, \ |
140 | { \ | 140 | { \ |
@@ -144,7 +144,7 @@ extern struct trace_event_functions exit_syscall_print_funcs; | |||
144 | .data = (void *)&__syscall_meta_##sname,\ | 144 | .data = (void *)&__syscall_meta_##sname,\ |
145 | .flags = TRACE_EVENT_FL_CAP_ANY, \ | 145 | .flags = TRACE_EVENT_FL_CAP_ANY, \ |
146 | }; \ | 146 | }; \ |
147 | static struct ftrace_event_call __used \ | 147 | static struct trace_event_call __used \ |
148 | __attribute__((section("_ftrace_events"))) \ | 148 | __attribute__((section("_ftrace_events"))) \ |
149 | *__event_exit_##sname = &event_exit_##sname; | 149 | *__event_exit_##sname = &event_exit_##sname; |
150 | 150 | ||