Commit | Line | Data |
---|---|---|
f8ecaf94 JW |
1 | /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ |
2 | #ifndef CREATE_SYSCALL_TABLE | |
3 | ||
4 | #if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) | |
5 | #define _TRACE_SYSCALLS_INTEGERS_H | |
6 | ||
6d7f376d | 7 | #include <probes/lttng-tracepoint-event.h> |
f8ecaf94 JW |
8 | #include <linux/syscalls.h> |
9 | #include "arm-64-syscalls-4.4.0_integers_override.h" | |
10 | #include "syscalls_integers_override.h" | |
11 | ||
12 | #ifdef SC_ENTER | |
13 | SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, | |
14 | TP_FIELDS() | |
15 | ) | |
16 | #ifndef OVERRIDE_64_vhangup | |
17 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup) | |
18 | #endif | |
19 | #ifndef OVERRIDE_64_sync | |
20 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync) | |
21 | #endif | |
22 | #ifndef OVERRIDE_64_sched_yield | |
23 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield) | |
24 | #endif | |
25 | #ifndef OVERRIDE_64_restart_syscall | |
26 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall) | |
27 | #endif | |
28 | #ifndef OVERRIDE_64_setsid | |
29 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid) | |
30 | #endif | |
31 | #ifndef OVERRIDE_64_getpid | |
32 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid) | |
33 | #endif | |
34 | #ifndef OVERRIDE_64_getppid | |
35 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid) | |
36 | #endif | |
37 | #ifndef OVERRIDE_64_getuid | |
38 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid) | |
39 | #endif | |
40 | #ifndef OVERRIDE_64_geteuid | |
41 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid) | |
42 | #endif | |
43 | #ifndef OVERRIDE_64_getgid | |
44 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid) | |
45 | #endif | |
46 | #ifndef OVERRIDE_64_getegid | |
47 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid) | |
48 | #endif | |
49 | #ifndef OVERRIDE_64_gettid | |
50 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid) | |
51 | #endif | |
52 | #ifndef OVERRIDE_64_munlockall | |
53 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall) | |
54 | #endif | |
55 | #else /* #ifdef SC_ENTER */ | |
56 | #ifndef OVERRIDE_64_vhangup | |
57 | SC_LTTNG_TRACEPOINT_EVENT(vhangup, | |
58 | TP_PROTO(sc_exit(long ret)), | |
59 | TP_ARGS(sc_exit(ret)), | |
60 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) | |
61 | ) | |
62 | #endif | |
63 | #ifndef OVERRIDE_64_sync | |
64 | SC_LTTNG_TRACEPOINT_EVENT(sync, | |
65 | TP_PROTO(sc_exit(long ret)), | |
66 | TP_ARGS(sc_exit(ret)), | |
67 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) | |
68 | ) | |
69 | #endif | |
70 | #ifndef OVERRIDE_64_sched_yield | |
71 | SC_LTTNG_TRACEPOINT_EVENT(sched_yield, | |
72 | TP_PROTO(sc_exit(long ret)), | |
73 | TP_ARGS(sc_exit(ret)), | |
74 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) | |
75 | ) | |
76 | #endif | |
77 | #ifndef OVERRIDE_64_restart_syscall | |
78 | SC_LTTNG_TRACEPOINT_EVENT(restart_syscall, | |
79 | TP_PROTO(sc_exit(long ret)), | |
80 | TP_ARGS(sc_exit(ret)), | |
81 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) | |
82 | ) | |
83 | #endif | |
84 | #ifndef OVERRIDE_64_setsid | |
85 | SC_LTTNG_TRACEPOINT_EVENT(setsid, | |
86 | TP_PROTO(sc_exit(long ret)), | |
87 | TP_ARGS(sc_exit(ret)), | |
88 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) | |
89 | ) | |
90 | #endif | |
91 | #ifndef OVERRIDE_64_getpid | |
92 | SC_LTTNG_TRACEPOINT_EVENT(getpid, | |
93 | TP_PROTO(sc_exit(long ret)), | |
94 | TP_ARGS(sc_exit(ret)), | |
95 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) | |
96 | ) | |
97 | #endif | |
98 | #ifndef OVERRIDE_64_getppid | |
99 | SC_LTTNG_TRACEPOINT_EVENT(getppid, | |
100 | TP_PROTO(sc_exit(long ret)), | |
101 | TP_ARGS(sc_exit(ret)), | |
102 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) | |
103 | ) | |
104 | #endif | |
105 | #ifndef OVERRIDE_64_getuid | |
106 | SC_LTTNG_TRACEPOINT_EVENT(getuid, | |
107 | TP_PROTO(sc_exit(long ret)), | |
108 | TP_ARGS(sc_exit(ret)), | |
109 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) | |
110 | ) | |
111 | #endif | |
112 | #ifndef OVERRIDE_64_geteuid | |
113 | SC_LTTNG_TRACEPOINT_EVENT(geteuid, | |
114 | TP_PROTO(sc_exit(long ret)), | |
115 | TP_ARGS(sc_exit(ret)), | |
116 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) | |
117 | ) | |
118 | #endif | |
119 | #ifndef OVERRIDE_64_getgid | |
120 | SC_LTTNG_TRACEPOINT_EVENT(getgid, | |
121 | TP_PROTO(sc_exit(long ret)), | |
122 | TP_ARGS(sc_exit(ret)), | |
123 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) | |
124 | ) | |
125 | #endif | |
126 | #ifndef OVERRIDE_64_getegid | |
127 | SC_LTTNG_TRACEPOINT_EVENT(getegid, | |
128 | TP_PROTO(sc_exit(long ret)), | |
129 | TP_ARGS(sc_exit(ret)), | |
130 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) | |
131 | ) | |
132 | #endif | |
133 | #ifndef OVERRIDE_64_gettid | |
134 | SC_LTTNG_TRACEPOINT_EVENT(gettid, | |
135 | TP_PROTO(sc_exit(long ret)), | |
136 | TP_ARGS(sc_exit(ret)), | |
137 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) | |
138 | ) | |
139 | #endif | |
140 | #ifndef OVERRIDE_64_munlockall | |
141 | SC_LTTNG_TRACEPOINT_EVENT(munlockall, | |
142 | TP_PROTO(sc_exit(long ret)), | |
143 | TP_ARGS(sc_exit(ret)), | |
144 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) | |
145 | ) | |
146 | #endif | |
147 | #endif /* else #ifdef SC_ENTER */ | |
148 | #ifndef OVERRIDE_64_io_destroy | |
149 | SC_LTTNG_TRACEPOINT_EVENT(io_destroy, | |
150 | TP_PROTO(sc_exit(long ret,) aio_context_t ctx), | |
151 | TP_ARGS(sc_exit(ret,) ctx), | |
152 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx, ctx))) | |
153 | ) | |
154 | #endif | |
155 | #ifndef OVERRIDE_64_epoll_create1 | |
156 | SC_LTTNG_TRACEPOINT_EVENT(epoll_create1, | |
157 | TP_PROTO(sc_exit(long ret,) int flags), | |
158 | TP_ARGS(sc_exit(ret,) flags), | |
159 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) | |
160 | ) | |
161 | #endif | |
162 | #ifndef OVERRIDE_64_dup | |
163 | SC_LTTNG_TRACEPOINT_EVENT(dup, | |
164 | TP_PROTO(sc_exit(long ret,) unsigned int fildes), | |
165 | TP_ARGS(sc_exit(ret,) fildes), | |
166 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fildes, fildes))) | |
167 | ) | |
168 | #endif | |
169 | #ifndef OVERRIDE_64_inotify_init1 | |
170 | SC_LTTNG_TRACEPOINT_EVENT(inotify_init1, | |
171 | TP_PROTO(sc_exit(long ret,) int flags), | |
172 | TP_ARGS(sc_exit(ret,) flags), | |
173 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) | |
174 | ) | |
175 | #endif | |
176 | #ifndef OVERRIDE_64_fchdir | |
177 | SC_LTTNG_TRACEPOINT_EVENT(fchdir, | |
178 | TP_PROTO(sc_exit(long ret,) unsigned int fd), | |
179 | TP_ARGS(sc_exit(ret,) fd), | |
180 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) | |
181 | ) | |
182 | #endif | |
183 | #ifndef OVERRIDE_64_close | |
184 | SC_LTTNG_TRACEPOINT_EVENT(close, | |
185 | TP_PROTO(sc_exit(long ret,) unsigned int fd), | |
186 | TP_ARGS(sc_exit(ret,) fd), | |
187 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) | |
188 | ) | |
189 | #endif | |
190 | #ifndef OVERRIDE_64_fsync | |
191 | SC_LTTNG_TRACEPOINT_EVENT(fsync, | |
192 | TP_PROTO(sc_exit(long ret,) unsigned int fd), | |
193 | TP_ARGS(sc_exit(ret,) fd), | |
194 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) | |
195 | ) | |
196 | #endif | |
197 | #ifndef OVERRIDE_64_fdatasync | |
198 | SC_LTTNG_TRACEPOINT_EVENT(fdatasync, | |
199 | TP_PROTO(sc_exit(long ret,) unsigned int fd), | |
200 | TP_ARGS(sc_exit(ret,) fd), | |
201 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) | |
202 | ) | |
203 | #endif | |
204 | #ifndef OVERRIDE_64_personality | |
205 | SC_LTTNG_TRACEPOINT_EVENT(personality, | |
206 | TP_PROTO(sc_exit(long ret,) unsigned int personality), | |
207 | TP_ARGS(sc_exit(ret,) personality), | |
208 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, personality, personality))) | |
209 | ) | |
210 | #endif | |
211 | #ifndef OVERRIDE_64_exit | |
212 | SC_LTTNG_TRACEPOINT_EVENT(exit, | |
213 | TP_PROTO(sc_exit(long ret,) int error_code), | |
214 | TP_ARGS(sc_exit(ret,) error_code), | |
215 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) | |
216 | ) | |
217 | #endif | |
218 | #ifndef OVERRIDE_64_exit_group | |
219 | SC_LTTNG_TRACEPOINT_EVENT(exit_group, | |
220 | TP_PROTO(sc_exit(long ret,) int error_code), | |
221 | TP_ARGS(sc_exit(ret,) error_code), | |
222 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) | |
223 | ) | |
224 | #endif | |
225 | #ifndef OVERRIDE_64_unshare | |
226 | SC_LTTNG_TRACEPOINT_EVENT(unshare, | |
227 | TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags), | |
228 | TP_ARGS(sc_exit(ret,) unshare_flags), | |
229 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, unshare_flags, unshare_flags))) | |
230 | ) | |
231 | #endif | |
232 | #ifndef OVERRIDE_64_timer_getoverrun | |
233 | SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun, | |
234 | TP_PROTO(sc_exit(long ret,) timer_t timer_id), | |
235 | TP_ARGS(sc_exit(ret,) timer_id), | |
236 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) | |
237 | ) | |
238 | #endif | |
239 | #ifndef OVERRIDE_64_timer_delete | |
240 | SC_LTTNG_TRACEPOINT_EVENT(timer_delete, | |
241 | TP_PROTO(sc_exit(long ret,) timer_t timer_id), | |
242 | TP_ARGS(sc_exit(ret,) timer_id), | |
243 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) | |
244 | ) | |
245 | #endif | |
246 | #ifndef OVERRIDE_64_sched_getscheduler | |
247 | SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler, | |
248 | TP_PROTO(sc_exit(long ret,) pid_t pid), | |
249 | TP_ARGS(sc_exit(ret,) pid), | |
250 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) | |
251 | ) | |
252 | #endif | |
253 | #ifndef OVERRIDE_64_sched_get_priority_max | |
254 | SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max, | |
255 | TP_PROTO(sc_exit(long ret,) int policy), | |
256 | TP_ARGS(sc_exit(ret,) policy), | |
257 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) | |
258 | ) | |
259 | #endif | |
260 | #ifndef OVERRIDE_64_sched_get_priority_min | |
261 | SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min, | |
262 | TP_PROTO(sc_exit(long ret,) int policy), | |
263 | TP_ARGS(sc_exit(ret,) policy), | |
264 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) | |
265 | ) | |
266 | #endif | |
267 | #ifndef OVERRIDE_64_setgid | |
268 | SC_LTTNG_TRACEPOINT_EVENT(setgid, | |
269 | TP_PROTO(sc_exit(long ret,) gid_t gid), | |
270 | TP_ARGS(sc_exit(ret,) gid), | |
271 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) | |
272 | ) | |
273 | #endif | |
274 | #ifndef OVERRIDE_64_setuid | |
275 | SC_LTTNG_TRACEPOINT_EVENT(setuid, | |
276 | TP_PROTO(sc_exit(long ret,) uid_t uid), | |
277 | TP_ARGS(sc_exit(ret,) uid), | |
278 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) | |
279 | ) | |
280 | #endif | |
281 | #ifndef OVERRIDE_64_setfsuid | |
282 | SC_LTTNG_TRACEPOINT_EVENT(setfsuid, | |
283 | TP_PROTO(sc_exit(long ret,) uid_t uid), | |
284 | TP_ARGS(sc_exit(ret,) uid), | |
285 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) | |
286 | ) | |
287 | #endif | |
288 | #ifndef OVERRIDE_64_setfsgid | |
289 | SC_LTTNG_TRACEPOINT_EVENT(setfsgid, | |
290 | TP_PROTO(sc_exit(long ret,) gid_t gid), | |
291 | TP_ARGS(sc_exit(ret,) gid), | |
292 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) | |
293 | ) | |
294 | #endif | |
295 | #ifndef OVERRIDE_64_getpgid | |
296 | SC_LTTNG_TRACEPOINT_EVENT(getpgid, | |
297 | TP_PROTO(sc_exit(long ret,) pid_t pid), | |
298 | TP_ARGS(sc_exit(ret,) pid), | |
299 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) | |
300 | ) | |
301 | #endif | |
302 | #ifndef OVERRIDE_64_getsid | |
303 | SC_LTTNG_TRACEPOINT_EVENT(getsid, | |
304 | TP_PROTO(sc_exit(long ret,) pid_t pid), | |
305 | TP_ARGS(sc_exit(ret,) pid), | |
306 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) | |
307 | ) | |
308 | #endif | |
309 | #ifndef OVERRIDE_64_umask | |
310 | SC_LTTNG_TRACEPOINT_EVENT(umask, | |
311 | TP_PROTO(sc_exit(long ret,) int mask), | |
312 | TP_ARGS(sc_exit(ret,) mask), | |
313 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mask, mask))) | |
314 | ) | |
315 | #endif | |
316 | #ifndef OVERRIDE_64_brk | |
317 | SC_LTTNG_TRACEPOINT_EVENT(brk, | |
318 | TP_PROTO(sc_exit(long ret,) unsigned long brk), | |
319 | TP_ARGS(sc_exit(ret,) brk), | |
320 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, brk, brk))) | |
321 | ) | |
322 | #endif | |
323 | #ifndef OVERRIDE_64_mlockall | |
324 | SC_LTTNG_TRACEPOINT_EVENT(mlockall, | |
325 | TP_PROTO(sc_exit(long ret,) int flags), | |
326 | TP_ARGS(sc_exit(ret,) flags), | |
327 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) | |
328 | ) | |
329 | #endif | |
330 | #ifndef OVERRIDE_64_syncfs | |
331 | SC_LTTNG_TRACEPOINT_EVENT(syncfs, | |
332 | TP_PROTO(sc_exit(long ret,) int fd), | |
333 | TP_ARGS(sc_exit(ret,) fd), | |
334 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd))) | |
335 | ) | |
336 | #endif | |
337 | #ifndef OVERRIDE_64_eventfd2 | |
338 | SC_LTTNG_TRACEPOINT_EVENT(eventfd2, | |
339 | TP_PROTO(sc_exit(long ret,) unsigned int count, int flags), | |
340 | TP_ARGS(sc_exit(ret,) count, flags), | |
341 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count)) sc_in(ctf_integer(int, flags, flags))) | |
342 | ) | |
343 | #endif | |
344 | #ifndef OVERRIDE_64_inotify_rm_watch | |
345 | SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch, | |
346 | TP_PROTO(sc_exit(long ret,) int fd, __s32 wd), | |
347 | TP_ARGS(sc_exit(ret,) fd, wd), | |
348 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(__s32, wd, wd))) | |
349 | ) | |
350 | #endif | |
351 | #ifndef OVERRIDE_64_ioprio_get | |
352 | SC_LTTNG_TRACEPOINT_EVENT(ioprio_get, | |
353 | TP_PROTO(sc_exit(long ret,) int which, int who), | |
354 | TP_ARGS(sc_exit(ret,) which, who), | |
355 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) | |
356 | ) | |
357 | #endif | |
358 | #ifndef OVERRIDE_64_flock | |
359 | SC_LTTNG_TRACEPOINT_EVENT(flock, | |
360 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd), | |
361 | TP_ARGS(sc_exit(ret,) fd, cmd), | |
362 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd))) | |
363 | ) | |
364 | #endif | |
365 | #ifndef OVERRIDE_64_ftruncate | |
366 | SC_LTTNG_TRACEPOINT_EVENT(ftruncate, | |
367 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length), | |
368 | TP_ARGS(sc_exit(ret,) fd, length), | |
369 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned long, length, length))) | |
370 | ) | |
371 | #endif | |
372 | #ifndef OVERRIDE_64_fchmod | |
373 | SC_LTTNG_TRACEPOINT_EVENT(fchmod, | |
374 | TP_PROTO(sc_exit(long ret,) unsigned int fd, umode_t mode), | |
375 | TP_ARGS(sc_exit(ret,) fd, mode), | |
376 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(umode_t, mode, mode))) | |
377 | ) | |
378 | #endif | |
379 | #ifndef OVERRIDE_64_timerfd_create | |
380 | SC_LTTNG_TRACEPOINT_EVENT(timerfd_create, | |
381 | TP_PROTO(sc_exit(long ret,) int clockid, int flags), | |
382 | TP_ARGS(sc_exit(ret,) clockid, flags), | |
383 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, clockid, clockid)) sc_in(ctf_integer(int, flags, flags))) | |
384 | ) | |
385 | #endif | |
386 | #ifndef OVERRIDE_64_kill | |
387 | SC_LTTNG_TRACEPOINT_EVENT(kill, | |
388 | TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), | |
389 | TP_ARGS(sc_exit(ret,) pid, sig), | |
390 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) | |
391 | ) | |
392 | #endif | |
393 | #ifndef OVERRIDE_64_tkill | |
394 | SC_LTTNG_TRACEPOINT_EVENT(tkill, | |
395 | TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), | |
396 | TP_ARGS(sc_exit(ret,) pid, sig), | |
397 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) | |
398 | ) | |
399 | #endif | |
400 | #ifndef OVERRIDE_64_getpriority | |
401 | SC_LTTNG_TRACEPOINT_EVENT(getpriority, | |
402 | TP_PROTO(sc_exit(long ret,) int which, int who), | |
403 | TP_ARGS(sc_exit(ret,) which, who), | |
404 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) | |
405 | ) | |
406 | #endif | |
407 | #ifndef OVERRIDE_64_setregid | |
408 | SC_LTTNG_TRACEPOINT_EVENT(setregid, | |
409 | TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid), | |
410 | TP_ARGS(sc_exit(ret,) rgid, egid), | |
411 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid))) | |
412 | ) | |
413 | #endif | |
414 | #ifndef OVERRIDE_64_setreuid | |
415 | SC_LTTNG_TRACEPOINT_EVENT(setreuid, | |
416 | TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid), | |
417 | TP_ARGS(sc_exit(ret,) ruid, euid), | |
418 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid))) | |
419 | ) | |
420 | #endif | |
421 | #ifndef OVERRIDE_64_setpgid | |
422 | SC_LTTNG_TRACEPOINT_EVENT(setpgid, | |
423 | TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid), | |
424 | TP_ARGS(sc_exit(ret,) pid, pgid), | |
425 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(pid_t, pgid, pgid))) | |
426 | ) | |
427 | #endif | |
428 | #ifndef OVERRIDE_64_msgget | |
429 | SC_LTTNG_TRACEPOINT_EVENT(msgget, | |
430 | TP_PROTO(sc_exit(long ret,) key_t key, int msgflg), | |
431 | TP_ARGS(sc_exit(ret,) key, msgflg), | |
432 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(int, msgflg, msgflg))) | |
433 | ) | |
434 | #endif | |
435 | #ifndef OVERRIDE_64_listen | |
436 | SC_LTTNG_TRACEPOINT_EVENT(listen, | |
437 | TP_PROTO(sc_exit(long ret,) int fd, int backlog), | |
438 | TP_ARGS(sc_exit(ret,) fd, backlog), | |
439 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, backlog, backlog))) | |
440 | ) | |
441 | #endif | |
442 | #ifndef OVERRIDE_64_shutdown | |
443 | SC_LTTNG_TRACEPOINT_EVENT(shutdown, | |
444 | TP_PROTO(sc_exit(long ret,) int fd, int how), | |
445 | TP_ARGS(sc_exit(ret,) fd, how), | |
446 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, how, how))) | |
447 | ) | |
448 | #endif | |
449 | #ifndef OVERRIDE_64_munmap | |
450 | SC_LTTNG_TRACEPOINT_EVENT(munmap, | |
451 | TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len), | |
452 | TP_ARGS(sc_exit(ret,) addr, len), | |
453 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(size_t, len, len))) | |
454 | ) | |
455 | #endif | |
456 | #ifndef OVERRIDE_64_mlock | |
457 | SC_LTTNG_TRACEPOINT_EVENT(mlock, | |
458 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), | |
459 | TP_ARGS(sc_exit(ret,) start, len), | |
460 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len, len))) | |
461 | ) | |
462 | #endif | |
463 | #ifndef OVERRIDE_64_munlock | |
464 | SC_LTTNG_TRACEPOINT_EVENT(munlock, | |
465 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), | |
466 | TP_ARGS(sc_exit(ret,) start, len), | |
467 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len, len))) | |
468 | ) | |
469 | #endif | |
470 | #ifndef OVERRIDE_64_fanotify_init | |
471 | SC_LTTNG_TRACEPOINT_EVENT(fanotify_init, | |
472 | TP_PROTO(sc_exit(long ret,) unsigned int flags, unsigned int event_f_flags), | |
473 | TP_ARGS(sc_exit(ret,) flags, event_f_flags), | |
474 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_in(ctf_integer(unsigned int, event_f_flags, event_f_flags))) | |
475 | ) | |
476 | #endif | |
477 | #ifndef OVERRIDE_64_setns | |
478 | SC_LTTNG_TRACEPOINT_EVENT(setns, | |
479 | TP_PROTO(sc_exit(long ret,) int fd, int nstype), | |
480 | TP_ARGS(sc_exit(ret,) fd, nstype), | |
481 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, nstype, nstype))) | |
482 | ) | |
483 | #endif | |
484 | #ifndef OVERRIDE_64_membarrier | |
485 | SC_LTTNG_TRACEPOINT_EVENT(membarrier, | |
486 | TP_PROTO(sc_exit(long ret,) int cmd, int flags), | |
487 | TP_ARGS(sc_exit(ret,) cmd, flags), | |
488 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(int, flags, flags))) | |
489 | ) | |
490 | #endif | |
491 | #ifndef OVERRIDE_64_dup3 | |
492 | SC_LTTNG_TRACEPOINT_EVENT(dup3, | |
493 | TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags), | |
494 | TP_ARGS(sc_exit(ret,) oldfd, newfd, flags), | |
495 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd)) sc_in(ctf_integer(int, flags, flags))) | |
496 | ) | |
497 | #endif | |
498 | #ifndef OVERRIDE_64_fcntl | |
499 | SC_LTTNG_TRACEPOINT_EVENT(fcntl, | |
500 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), | |
501 | TP_ARGS(sc_exit(ret,) fd, cmd, arg), | |
502 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) | |
503 | ) | |
504 | #endif | |
505 | #ifndef OVERRIDE_64_ioctl | |
506 | SC_LTTNG_TRACEPOINT_EVENT(ioctl, | |
507 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), | |
508 | TP_ARGS(sc_exit(ret,) fd, cmd, arg), | |
509 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) | |
510 | ) | |
511 | #endif | |
512 | #ifndef OVERRIDE_64_ioprio_set | |
513 | SC_LTTNG_TRACEPOINT_EVENT(ioprio_set, | |
514 | TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio), | |
515 | TP_ARGS(sc_exit(ret,) which, who, ioprio), | |
516 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, ioprio, ioprio))) | |
517 | ) | |
518 | #endif | |
519 | #ifndef OVERRIDE_64_fchown | |
520 | SC_LTTNG_TRACEPOINT_EVENT(fchown, | |
521 | TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group), | |
522 | TP_ARGS(sc_exit(ret,) fd, user, group), | |
523 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group))) | |
524 | ) | |
525 | #endif | |
526 | #ifndef OVERRIDE_64_lseek | |
527 | SC_LTTNG_TRACEPOINT_EVENT(lseek, | |
528 | TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int whence), | |
529 | TP_ARGS(sc_exit(ret,) fd, offset, whence), | |
530 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(off_t, offset, offset)) sc_in(ctf_integer(unsigned int, whence, whence))) | |
531 | ) | |
532 | #endif | |
533 | #ifndef OVERRIDE_64_tgkill | |
534 | SC_LTTNG_TRACEPOINT_EVENT(tgkill, | |
535 | TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig), | |
536 | TP_ARGS(sc_exit(ret,) tgid, pid, sig), | |
537 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, tgid, tgid)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) | |
538 | ) | |
539 | #endif | |
540 | #ifndef OVERRIDE_64_setpriority | |
541 | SC_LTTNG_TRACEPOINT_EVENT(setpriority, | |
542 | TP_PROTO(sc_exit(long ret,) int which, int who, int niceval), | |
543 | TP_ARGS(sc_exit(ret,) which, who, niceval), | |
544 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, niceval, niceval))) | |
545 | ) | |
546 | #endif | |
547 | #ifndef OVERRIDE_64_setresuid | |
548 | SC_LTTNG_TRACEPOINT_EVENT(setresuid, | |
549 | TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid), | |
550 | TP_ARGS(sc_exit(ret,) ruid, euid, suid), | |
551 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid)) sc_in(ctf_integer(uid_t, suid, suid))) | |
552 | ) | |
553 | #endif | |
554 | #ifndef OVERRIDE_64_setresgid | |
555 | SC_LTTNG_TRACEPOINT_EVENT(setresgid, | |
556 | TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid), | |
557 | TP_ARGS(sc_exit(ret,) rgid, egid, sgid), | |
558 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid)) sc_in(ctf_integer(gid_t, sgid, sgid))) | |
559 | ) | |
560 | #endif | |
561 | #ifndef OVERRIDE_64_semget | |
562 | SC_LTTNG_TRACEPOINT_EVENT(semget, | |
563 | TP_PROTO(sc_exit(long ret,) key_t key, int nsems, int semflg), | |
564 | TP_ARGS(sc_exit(ret,) key, nsems, semflg), | |
565 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(int, nsems, nsems)) sc_in(ctf_integer(int, semflg, semflg))) | |
566 | ) | |
567 | #endif | |
568 | #ifndef OVERRIDE_64_shmget | |
569 | SC_LTTNG_TRACEPOINT_EVENT(shmget, | |
570 | TP_PROTO(sc_exit(long ret,) key_t key, size_t size, int shmflg), | |
571 | TP_ARGS(sc_exit(ret,) key, size, shmflg), | |
572 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(int, shmflg, shmflg))) | |
573 | ) | |
574 | #endif | |
575 | #ifndef OVERRIDE_64_socket | |
576 | SC_LTTNG_TRACEPOINT_EVENT(socket, | |
577 | TP_PROTO(sc_exit(long ret,) int family, int type, int protocol), | |
578 | TP_ARGS(sc_exit(ret,) family, type, protocol), | |
579 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, family, family)) sc_in(ctf_integer(int, type, type)) sc_in(ctf_integer(int, protocol, protocol))) | |
580 | ) | |
581 | #endif | |
582 | #ifndef OVERRIDE_64_readahead | |
583 | SC_LTTNG_TRACEPOINT_EVENT(readahead, | |
584 | TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, size_t count), | |
585 | TP_ARGS(sc_exit(ret,) fd, offset, count), | |
586 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(size_t, count, count))) | |
587 | ) | |
588 | #endif | |
589 | #ifndef OVERRIDE_64_mprotect | |
590 | SC_LTTNG_TRACEPOINT_EVENT(mprotect, | |
591 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot), | |
592 | TP_ARGS(sc_exit(ret,) start, len, prot), | |
593 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned long, prot, prot))) | |
594 | ) | |
595 | #endif | |
596 | #ifndef OVERRIDE_64_msync | |
597 | SC_LTTNG_TRACEPOINT_EVENT(msync, | |
598 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), | |
599 | TP_ARGS(sc_exit(ret,) start, len, flags), | |
600 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(int, flags, flags))) | |
601 | ) | |
602 | #endif | |
603 | #ifndef OVERRIDE_64_madvise | |
604 | SC_LTTNG_TRACEPOINT_EVENT(madvise, | |
605 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior), | |
606 | TP_ARGS(sc_exit(ret,) start, len_in, behavior), | |
607 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len_in, len_in)) sc_in(ctf_integer(int, behavior, behavior))) | |
608 | ) | |
609 | #endif | |
610 | #ifndef OVERRIDE_64_mlock2 | |
611 | SC_LTTNG_TRACEPOINT_EVENT(mlock2, | |
612 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), | |
613 | TP_ARGS(sc_exit(ret,) start, len, flags), | |
614 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, start, start)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(int, flags, flags))) | |
615 | ) | |
616 | #endif | |
617 | #ifndef OVERRIDE_64_fallocate | |
618 | SC_LTTNG_TRACEPOINT_EVENT(fallocate, | |
619 | TP_PROTO(sc_exit(long ret,) int fd, int mode, loff_t offset, loff_t len), | |
620 | TP_ARGS(sc_exit(ret,) fd, mode, offset, len), | |
621 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, mode, mode)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(loff_t, len, len))) | |
622 | ) | |
623 | #endif | |
624 | #ifndef OVERRIDE_64_tee | |
625 | SC_LTTNG_TRACEPOINT_EVENT(tee, | |
626 | TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), | |
627 | TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags), | |
628 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fdin, fdin)) sc_in(ctf_integer(int, fdout, fdout)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags))) | |
629 | ) | |
630 | #endif | |
631 | #ifndef OVERRIDE_64_sync_file_range | |
632 | SC_LTTNG_TRACEPOINT_EVENT(sync_file_range, | |
633 | TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, loff_t nbytes, unsigned int flags), | |
634 | TP_ARGS(sc_exit(ret,) fd, offset, nbytes, flags), | |
635 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(loff_t, nbytes, nbytes)) sc_in(ctf_integer(unsigned int, flags, flags))) | |
636 | ) | |
637 | #endif | |
638 | #ifndef OVERRIDE_64_ptrace | |
639 | SC_LTTNG_TRACEPOINT_EVENT(ptrace, | |
640 | TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data), | |
641 | TP_ARGS(sc_exit(ret,) request, pid, addr, data), | |
642 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(long, request, request)) sc_in(ctf_integer(long, pid, pid)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, data, data))) | |
643 | ) | |
644 | #endif | |
645 | #ifndef OVERRIDE_64_semctl | |
646 | SC_LTTNG_TRACEPOINT_EVENT(semctl, | |
647 | TP_PROTO(sc_exit(long ret,) int semid, int semnum, int cmd, unsigned long arg), | |
648 | TP_ARGS(sc_exit(ret,) semid, semnum, cmd, arg), | |
649 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(int, semnum, semnum)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) | |
650 | ) | |
651 | #endif | |
652 | #ifndef OVERRIDE_64_fadvise64_64 | |
653 | SC_LTTNG_TRACEPOINT_EVENT(fadvise64_64, | |
654 | TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, loff_t len, int advice), | |
655 | TP_ARGS(sc_exit(ret,) fd, offset, len, advice), | |
656 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(loff_t, offset, offset)) sc_inout(ctf_integer(loff_t, len, len)) sc_inout(ctf_integer(int, advice, advice))) | |
657 | ) | |
658 | #endif | |
659 | #ifndef OVERRIDE_64_prctl | |
660 | SC_LTTNG_TRACEPOINT_EVENT(prctl, | |
661 | TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), | |
662 | TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), | |
663 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_in(ctf_integer(unsigned long, arg3, arg3)) sc_in(ctf_integer(unsigned long, arg4, arg4)) sc_in(ctf_integer(unsigned long, arg5, arg5))) | |
664 | ) | |
665 | #endif | |
666 | #ifndef OVERRIDE_64_mremap | |
667 | SC_LTTNG_TRACEPOINT_EVENT(mremap, | |
668 | TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), | |
669 | TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr), | |
670 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(unsigned long, old_len, old_len)) sc_in(ctf_integer(unsigned long, new_len, new_len)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(unsigned long, new_addr, new_addr))) | |
671 | ) | |
672 | #endif | |
673 | #ifndef OVERRIDE_64_keyctl | |
674 | SC_LTTNG_TRACEPOINT_EVENT(keyctl, | |
675 | TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), | |
676 | TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), | |
677 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_inout(ctf_integer(unsigned long, arg3, arg3)) sc_inout(ctf_integer(unsigned long, arg4, arg4)) sc_inout(ctf_integer(unsigned long, arg5, arg5))) | |
678 | ) | |
679 | #endif | |
680 | #ifndef OVERRIDE_64_remap_file_pages | |
681 | SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, | |
682 | TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), | |
683 | TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags), | |
684 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(unsigned long, size, size)) sc_in(ctf_integer(unsigned long, prot, prot)) sc_in(ctf_integer(unsigned long, pgoff, pgoff)) sc_in(ctf_integer(unsigned long, flags, flags))) | |
685 | ) | |
686 | #endif | |
687 | ||
688 | #endif /* _TRACE_SYSCALLS_INTEGERS_H */ | |
689 | ||
690 | /* This part must be outside protection */ | |
6d7f376d | 691 | #include <probes/define_trace.h> |
f8ecaf94 JW |
692 | |
693 | #else /* CREATE_SYSCALL_TABLE */ | |
694 | ||
695 | #include "arm-64-syscalls-4.4.0_integers_override.h" | |
696 | #include "syscalls_integers_override.h" | |
697 | ||
698 | #ifdef SC_ENTER | |
699 | #ifndef OVERRIDE_TABLE_64_vhangup | |
700 | TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 58, 0) | |
701 | #endif | |
702 | #ifndef OVERRIDE_TABLE_64_sync | |
703 | TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 81, 0) | |
704 | #endif | |
705 | #ifndef OVERRIDE_TABLE_64_sched_yield | |
706 | TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 124, 0) | |
707 | #endif | |
708 | #ifndef OVERRIDE_TABLE_64_restart_syscall | |
709 | TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 128, 0) | |
710 | #endif | |
711 | #ifndef OVERRIDE_TABLE_64_setsid | |
712 | TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 157, 0) | |
713 | #endif | |
714 | #ifndef OVERRIDE_TABLE_64_getpid | |
715 | TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 172, 0) | |
716 | #endif | |
717 | #ifndef OVERRIDE_TABLE_64_getppid | |
718 | TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 173, 0) | |
719 | #endif | |
720 | #ifndef OVERRIDE_TABLE_64_getuid | |
721 | TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 174, 0) | |
722 | #endif | |
723 | #ifndef OVERRIDE_TABLE_64_geteuid | |
724 | TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 175, 0) | |
725 | #endif | |
726 | #ifndef OVERRIDE_TABLE_64_getgid | |
727 | TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 176, 0) | |
728 | #endif | |
729 | #ifndef OVERRIDE_TABLE_64_getegid | |
730 | TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 177, 0) | |
731 | #endif | |
732 | #ifndef OVERRIDE_TABLE_64_gettid | |
733 | TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 178, 0) | |
734 | #endif | |
735 | #ifndef OVERRIDE_TABLE_64_munlockall | |
736 | TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 231, 0) | |
737 | #endif | |
738 | #else /* #ifdef SC_ENTER */ | |
739 | #ifndef OVERRIDE_TABLE_64_vhangup | |
740 | TRACE_SYSCALL_TABLE(vhangup, vhangup, 58, 0) | |
741 | #endif | |
742 | #ifndef OVERRIDE_TABLE_64_sync | |
743 | TRACE_SYSCALL_TABLE(sync, sync, 81, 0) | |
744 | #endif | |
745 | #ifndef OVERRIDE_TABLE_64_sched_yield | |
746 | TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 124, 0) | |
747 | #endif | |
748 | #ifndef OVERRIDE_TABLE_64_restart_syscall | |
749 | TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 128, 0) | |
750 | #endif | |
751 | #ifndef OVERRIDE_TABLE_64_setsid | |
752 | TRACE_SYSCALL_TABLE(setsid, setsid, 157, 0) | |
753 | #endif | |
754 | #ifndef OVERRIDE_TABLE_64_getpid | |
755 | TRACE_SYSCALL_TABLE(getpid, getpid, 172, 0) | |
756 | #endif | |
757 | #ifndef OVERRIDE_TABLE_64_getppid | |
758 | TRACE_SYSCALL_TABLE(getppid, getppid, 173, 0) | |
759 | #endif | |
760 | #ifndef OVERRIDE_TABLE_64_getuid | |
761 | TRACE_SYSCALL_TABLE(getuid, getuid, 174, 0) | |
762 | #endif | |
763 | #ifndef OVERRIDE_TABLE_64_geteuid | |
764 | TRACE_SYSCALL_TABLE(geteuid, geteuid, 175, 0) | |
765 | #endif | |
766 | #ifndef OVERRIDE_TABLE_64_getgid | |
767 | TRACE_SYSCALL_TABLE(getgid, getgid, 176, 0) | |
768 | #endif | |
769 | #ifndef OVERRIDE_TABLE_64_getegid | |
770 | TRACE_SYSCALL_TABLE(getegid, getegid, 177, 0) | |
771 | #endif | |
772 | #ifndef OVERRIDE_TABLE_64_gettid | |
773 | TRACE_SYSCALL_TABLE(gettid, gettid, 178, 0) | |
774 | #endif | |
775 | #ifndef OVERRIDE_TABLE_64_munlockall | |
776 | TRACE_SYSCALL_TABLE(munlockall, munlockall, 231, 0) | |
777 | #endif | |
778 | #endif /* else #ifdef SC_ENTER */ | |
779 | #ifndef OVERRIDE_TABLE_64_io_destroy | |
780 | TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 1, 1) | |
781 | #endif | |
782 | #ifndef OVERRIDE_TABLE_64_eventfd2 | |
783 | TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 19, 2) | |
784 | #endif | |
785 | #ifndef OVERRIDE_TABLE_64_epoll_create1 | |
786 | TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 20, 1) | |
787 | #endif | |
788 | #ifndef OVERRIDE_TABLE_64_dup | |
789 | TRACE_SYSCALL_TABLE(dup, dup, 23, 1) | |
790 | #endif | |
791 | #ifndef OVERRIDE_TABLE_64_dup3 | |
792 | TRACE_SYSCALL_TABLE(dup3, dup3, 24, 3) | |
793 | #endif | |
794 | #ifndef OVERRIDE_TABLE_64_fcntl | |
795 | TRACE_SYSCALL_TABLE(fcntl, fcntl, 25, 3) | |
796 | #endif | |
797 | #ifndef OVERRIDE_TABLE_64_inotify_init1 | |
798 | TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 26, 1) | |
799 | #endif | |
800 | #ifndef OVERRIDE_TABLE_64_inotify_rm_watch | |
801 | TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 28, 2) | |
802 | #endif | |
803 | #ifndef OVERRIDE_TABLE_64_ioctl | |
804 | TRACE_SYSCALL_TABLE(ioctl, ioctl, 29, 3) | |
805 | #endif | |
806 | #ifndef OVERRIDE_TABLE_64_ioprio_set | |
807 | TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 30, 3) | |
808 | #endif | |
809 | #ifndef OVERRIDE_TABLE_64_ioprio_get | |
810 | TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 31, 2) | |
811 | #endif | |
812 | #ifndef OVERRIDE_TABLE_64_flock | |
813 | TRACE_SYSCALL_TABLE(flock, flock, 32, 2) | |
814 | #endif | |
815 | #ifndef OVERRIDE_TABLE_64_ftruncate | |
816 | TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 46, 2) | |
817 | #endif | |
818 | #ifndef OVERRIDE_TABLE_64_fallocate | |
819 | TRACE_SYSCALL_TABLE(fallocate, fallocate, 47, 4) | |
820 | #endif | |
821 | #ifndef OVERRIDE_TABLE_64_fchdir | |
822 | TRACE_SYSCALL_TABLE(fchdir, fchdir, 50, 1) | |
823 | #endif | |
824 | #ifndef OVERRIDE_TABLE_64_fchmod | |
825 | TRACE_SYSCALL_TABLE(fchmod, fchmod, 52, 2) | |
826 | #endif | |
827 | #ifndef OVERRIDE_TABLE_64_fchown | |
828 | TRACE_SYSCALL_TABLE(fchown, fchown, 55, 3) | |
829 | #endif | |
830 | #ifndef OVERRIDE_TABLE_64_close | |
831 | TRACE_SYSCALL_TABLE(close, close, 57, 1) | |
832 | #endif | |
833 | #ifndef OVERRIDE_TABLE_64_lseek | |
834 | TRACE_SYSCALL_TABLE(lseek, lseek, 62, 3) | |
835 | #endif | |
836 | #ifndef OVERRIDE_TABLE_64_tee | |
837 | TRACE_SYSCALL_TABLE(tee, tee, 77, 4) | |
838 | #endif | |
839 | #ifndef OVERRIDE_TABLE_64_fsync | |
840 | TRACE_SYSCALL_TABLE(fsync, fsync, 82, 1) | |
841 | #endif | |
842 | #ifndef OVERRIDE_TABLE_64_fdatasync | |
843 | TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 83, 1) | |
844 | #endif | |
845 | #ifndef OVERRIDE_TABLE_64_sync_file_range | |
846 | TRACE_SYSCALL_TABLE(sync_file_range, sync_file_range, 84, 4) | |
847 | #endif | |
848 | #ifndef OVERRIDE_TABLE_64_timerfd_create | |
849 | TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 85, 2) | |
850 | #endif | |
851 | #ifndef OVERRIDE_TABLE_64_personality | |
852 | TRACE_SYSCALL_TABLE(personality, personality, 92, 1) | |
853 | #endif | |
854 | #ifndef OVERRIDE_TABLE_64_exit | |
855 | TRACE_SYSCALL_TABLE(exit, exit, 93, 1) | |
856 | #endif | |
857 | #ifndef OVERRIDE_TABLE_64_exit_group | |
858 | TRACE_SYSCALL_TABLE(exit_group, exit_group, 94, 1) | |
859 | #endif | |
860 | #ifndef OVERRIDE_TABLE_64_unshare | |
861 | TRACE_SYSCALL_TABLE(unshare, unshare, 97, 1) | |
862 | #endif | |
863 | #ifndef OVERRIDE_TABLE_64_timer_getoverrun | |
864 | TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 109, 1) | |
865 | #endif | |
866 | #ifndef OVERRIDE_TABLE_64_timer_delete | |
867 | TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 111, 1) | |
868 | #endif | |
869 | #ifndef OVERRIDE_TABLE_64_ptrace | |
870 | TRACE_SYSCALL_TABLE(ptrace, ptrace, 117, 4) | |
871 | #endif | |
872 | #ifndef OVERRIDE_TABLE_64_sched_getscheduler | |
873 | TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 120, 1) | |
874 | #endif | |
875 | #ifndef OVERRIDE_TABLE_64_sched_get_priority_max | |
876 | TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 125, 1) | |
877 | #endif | |
878 | #ifndef OVERRIDE_TABLE_64_sched_get_priority_min | |
879 | TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 126, 1) | |
880 | #endif | |
881 | #ifndef OVERRIDE_TABLE_64_kill | |
882 | TRACE_SYSCALL_TABLE(kill, kill, 129, 2) | |
883 | #endif | |
884 | #ifndef OVERRIDE_TABLE_64_tkill | |
885 | TRACE_SYSCALL_TABLE(tkill, tkill, 130, 2) | |
886 | #endif | |
887 | #ifndef OVERRIDE_TABLE_64_tgkill | |
888 | TRACE_SYSCALL_TABLE(tgkill, tgkill, 131, 3) | |
889 | #endif | |
890 | #ifndef OVERRIDE_TABLE_64_setpriority | |
891 | TRACE_SYSCALL_TABLE(setpriority, setpriority, 140, 3) | |
892 | #endif | |
893 | #ifndef OVERRIDE_TABLE_64_getpriority | |
894 | TRACE_SYSCALL_TABLE(getpriority, getpriority, 141, 2) | |
895 | #endif | |
896 | #ifndef OVERRIDE_TABLE_64_setregid | |
897 | TRACE_SYSCALL_TABLE(setregid, setregid, 143, 2) | |
898 | #endif | |
899 | #ifndef OVERRIDE_TABLE_64_setgid | |
900 | TRACE_SYSCALL_TABLE(setgid, setgid, 144, 1) | |
901 | #endif | |
902 | #ifndef OVERRIDE_TABLE_64_setreuid | |
903 | TRACE_SYSCALL_TABLE(setreuid, setreuid, 145, 2) | |
904 | #endif | |
905 | #ifndef OVERRIDE_TABLE_64_setuid | |
906 | TRACE_SYSCALL_TABLE(setuid, setuid, 146, 1) | |
907 | #endif | |
908 | #ifndef OVERRIDE_TABLE_64_setresuid | |
909 | TRACE_SYSCALL_TABLE(setresuid, setresuid, 147, 3) | |
910 | #endif | |
911 | #ifndef OVERRIDE_TABLE_64_setresgid | |
912 | TRACE_SYSCALL_TABLE(setresgid, setresgid, 149, 3) | |
913 | #endif | |
914 | #ifndef OVERRIDE_TABLE_64_setfsuid | |
915 | TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 151, 1) | |
916 | #endif | |
917 | #ifndef OVERRIDE_TABLE_64_setfsgid | |
918 | TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 152, 1) | |
919 | #endif | |
920 | #ifndef OVERRIDE_TABLE_64_setpgid | |
921 | TRACE_SYSCALL_TABLE(setpgid, setpgid, 154, 2) | |
922 | #endif | |
923 | #ifndef OVERRIDE_TABLE_64_getpgid | |
924 | TRACE_SYSCALL_TABLE(getpgid, getpgid, 155, 1) | |
925 | #endif | |
926 | #ifndef OVERRIDE_TABLE_64_getsid | |
927 | TRACE_SYSCALL_TABLE(getsid, getsid, 156, 1) | |
928 | #endif | |
929 | #ifndef OVERRIDE_TABLE_64_umask | |
930 | TRACE_SYSCALL_TABLE(umask, umask, 166, 1) | |
931 | #endif | |
932 | #ifndef OVERRIDE_TABLE_64_prctl | |
933 | TRACE_SYSCALL_TABLE(prctl, prctl, 167, 5) | |
934 | #endif | |
935 | #ifndef OVERRIDE_TABLE_64_msgget | |
936 | TRACE_SYSCALL_TABLE(msgget, msgget, 186, 2) | |
937 | #endif | |
938 | #ifndef OVERRIDE_TABLE_64_semget | |
939 | TRACE_SYSCALL_TABLE(semget, semget, 190, 3) | |
940 | #endif | |
941 | #ifndef OVERRIDE_TABLE_64_semctl | |
942 | TRACE_SYSCALL_TABLE(semctl, semctl, 191, 4) | |
943 | #endif | |
944 | #ifndef OVERRIDE_TABLE_64_shmget | |
945 | TRACE_SYSCALL_TABLE(shmget, shmget, 194, 3) | |
946 | #endif | |
947 | #ifndef OVERRIDE_TABLE_64_socket | |
948 | TRACE_SYSCALL_TABLE(socket, socket, 198, 3) | |
949 | #endif | |
950 | #ifndef OVERRIDE_TABLE_64_listen | |
951 | TRACE_SYSCALL_TABLE(listen, listen, 201, 2) | |
952 | #endif | |
953 | #ifndef OVERRIDE_TABLE_64_shutdown | |
954 | TRACE_SYSCALL_TABLE(shutdown, shutdown, 210, 2) | |
955 | #endif | |
956 | #ifndef OVERRIDE_TABLE_64_readahead | |
957 | TRACE_SYSCALL_TABLE(readahead, readahead, 213, 3) | |
958 | #endif | |
959 | #ifndef OVERRIDE_TABLE_64_brk | |
960 | TRACE_SYSCALL_TABLE(brk, brk, 214, 1) | |
961 | #endif | |
962 | #ifndef OVERRIDE_TABLE_64_munmap | |
963 | TRACE_SYSCALL_TABLE(munmap, munmap, 215, 2) | |
964 | #endif | |
965 | #ifndef OVERRIDE_TABLE_64_mremap | |
966 | TRACE_SYSCALL_TABLE(mremap, mremap, 216, 5) | |
967 | #endif | |
968 | #ifndef OVERRIDE_TABLE_64_keyctl | |
969 | TRACE_SYSCALL_TABLE(keyctl, keyctl, 219, 5) | |
970 | #endif | |
971 | #ifndef OVERRIDE_TABLE_64_fadvise64_64 | |
972 | TRACE_SYSCALL_TABLE(fadvise64_64, fadvise64_64, 223, 4) | |
973 | #endif | |
974 | #ifndef OVERRIDE_TABLE_64_mprotect | |
975 | TRACE_SYSCALL_TABLE(mprotect, mprotect, 226, 3) | |
976 | #endif | |
977 | #ifndef OVERRIDE_TABLE_64_msync | |
978 | TRACE_SYSCALL_TABLE(msync, msync, 227, 3) | |
979 | #endif | |
980 | #ifndef OVERRIDE_TABLE_64_mlock | |
981 | TRACE_SYSCALL_TABLE(mlock, mlock, 228, 2) | |
982 | #endif | |
983 | #ifndef OVERRIDE_TABLE_64_munlock | |
984 | TRACE_SYSCALL_TABLE(munlock, munlock, 229, 2) | |
985 | #endif | |
986 | #ifndef OVERRIDE_TABLE_64_mlockall | |
987 | TRACE_SYSCALL_TABLE(mlockall, mlockall, 230, 1) | |
988 | #endif | |
989 | #ifndef OVERRIDE_TABLE_64_madvise | |
990 | TRACE_SYSCALL_TABLE(madvise, madvise, 233, 3) | |
991 | #endif | |
992 | #ifndef OVERRIDE_TABLE_64_remap_file_pages | |
993 | TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 234, 5) | |
994 | #endif | |
995 | #ifndef OVERRIDE_TABLE_64_fanotify_init | |
996 | TRACE_SYSCALL_TABLE(fanotify_init, fanotify_init, 262, 2) | |
997 | #endif | |
998 | #ifndef OVERRIDE_TABLE_64_syncfs | |
999 | TRACE_SYSCALL_TABLE(syncfs, syncfs, 267, 1) | |
1000 | #endif | |
1001 | #ifndef OVERRIDE_TABLE_64_setns | |
1002 | TRACE_SYSCALL_TABLE(setns, setns, 268, 2) | |
1003 | #endif | |
1004 | #ifndef OVERRIDE_TABLE_64_membarrier | |
1005 | TRACE_SYSCALL_TABLE(membarrier, membarrier, 283, 2) | |
1006 | #endif | |
1007 | #ifndef OVERRIDE_TABLE_64_mlock2 | |
1008 | TRACE_SYSCALL_TABLE(mlock2, mlock2, 284, 3) | |
1009 | #endif | |
1010 | ||
1011 | #endif /* CREATE_SYSCALL_TABLE */ |