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