7b7d83f00caae1a0b4c7e207228beee42aa73665
[lttng-modules.git] / include / instrumentation / syscalls / headers / x86-64-syscalls_integers.h
1 /* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */
2
3 /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */
4
5 /* Generated from x86-64-syscalls 6.0.7 */
6
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
12 #include <lttng/tracepoint-event.h>
13 #include <linux/syscalls.h>
14 #include "x86-64-syscalls_integers_override.h"
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_rt_sigreturn
22 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, rt_sigreturn)
23 #endif
24 #ifndef OVERRIDE_64_sched_yield
25 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield)
26 #endif
27 #ifndef OVERRIDE_64_pause
28 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause)
29 #endif
30 #ifndef OVERRIDE_64_getpid
31 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid)
32 #endif
33 #ifndef OVERRIDE_64_fork
34 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, fork)
35 #endif
36 #ifndef OVERRIDE_64_vfork
37 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vfork)
38 #endif
39 #ifndef OVERRIDE_64_getuid
40 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid)
41 #endif
42 #ifndef OVERRIDE_64_getgid
43 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid)
44 #endif
45 #ifndef OVERRIDE_64_geteuid
46 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid)
47 #endif
48 #ifndef OVERRIDE_64_getegid
49 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid)
50 #endif
51 #ifndef OVERRIDE_64_getppid
52 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid)
53 #endif
54 #ifndef OVERRIDE_64_getpgrp
55 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp)
56 #endif
57 #ifndef OVERRIDE_64_setsid
58 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid)
59 #endif
60 #ifndef OVERRIDE_64_munlockall
61 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall)
62 #endif
63 #ifndef OVERRIDE_64_vhangup
64 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup)
65 #endif
66 #ifndef OVERRIDE_64_sync
67 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync)
68 #endif
69 #ifndef OVERRIDE_64_gettid
70 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid)
71 #endif
72 #ifndef OVERRIDE_64_restart_syscall
73 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall)
74 #endif
75 #ifndef OVERRIDE_64_inotify_init
76 SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init)
77 #endif
78 #else /* #ifdef SC_ENTER */
79 #ifndef OVERRIDE_64_rt_sigreturn
80 SC_LTTNG_TRACEPOINT_EVENT(rt_sigreturn,
81 TP_PROTO(sc_exit(long ret)),
82 TP_ARGS(sc_exit(ret)),
83 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
84 )
85 #endif
86 #ifndef OVERRIDE_64_sched_yield
87 SC_LTTNG_TRACEPOINT_EVENT(sched_yield,
88 TP_PROTO(sc_exit(long ret)),
89 TP_ARGS(sc_exit(ret)),
90 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
91 )
92 #endif
93 #ifndef OVERRIDE_64_pause
94 SC_LTTNG_TRACEPOINT_EVENT(pause,
95 TP_PROTO(sc_exit(long ret)),
96 TP_ARGS(sc_exit(ret)),
97 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
98 )
99 #endif
100 #ifndef OVERRIDE_64_getpid
101 SC_LTTNG_TRACEPOINT_EVENT(getpid,
102 TP_PROTO(sc_exit(long ret)),
103 TP_ARGS(sc_exit(ret)),
104 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
105 )
106 #endif
107 #ifndef OVERRIDE_64_fork
108 SC_LTTNG_TRACEPOINT_EVENT(fork,
109 TP_PROTO(sc_exit(long ret)),
110 TP_ARGS(sc_exit(ret)),
111 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
112 )
113 #endif
114 #ifndef OVERRIDE_64_vfork
115 SC_LTTNG_TRACEPOINT_EVENT(vfork,
116 TP_PROTO(sc_exit(long ret)),
117 TP_ARGS(sc_exit(ret)),
118 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
119 )
120 #endif
121 #ifndef OVERRIDE_64_getuid
122 SC_LTTNG_TRACEPOINT_EVENT(getuid,
123 TP_PROTO(sc_exit(long ret)),
124 TP_ARGS(sc_exit(ret)),
125 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
126 )
127 #endif
128 #ifndef OVERRIDE_64_getgid
129 SC_LTTNG_TRACEPOINT_EVENT(getgid,
130 TP_PROTO(sc_exit(long ret)),
131 TP_ARGS(sc_exit(ret)),
132 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
133 )
134 #endif
135 #ifndef OVERRIDE_64_geteuid
136 SC_LTTNG_TRACEPOINT_EVENT(geteuid,
137 TP_PROTO(sc_exit(long ret)),
138 TP_ARGS(sc_exit(ret)),
139 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
140 )
141 #endif
142 #ifndef OVERRIDE_64_getegid
143 SC_LTTNG_TRACEPOINT_EVENT(getegid,
144 TP_PROTO(sc_exit(long ret)),
145 TP_ARGS(sc_exit(ret)),
146 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
147 )
148 #endif
149 #ifndef OVERRIDE_64_getppid
150 SC_LTTNG_TRACEPOINT_EVENT(getppid,
151 TP_PROTO(sc_exit(long ret)),
152 TP_ARGS(sc_exit(ret)),
153 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
154 )
155 #endif
156 #ifndef OVERRIDE_64_getpgrp
157 SC_LTTNG_TRACEPOINT_EVENT(getpgrp,
158 TP_PROTO(sc_exit(long ret)),
159 TP_ARGS(sc_exit(ret)),
160 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
161 )
162 #endif
163 #ifndef OVERRIDE_64_setsid
164 SC_LTTNG_TRACEPOINT_EVENT(setsid,
165 TP_PROTO(sc_exit(long ret)),
166 TP_ARGS(sc_exit(ret)),
167 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
168 )
169 #endif
170 #ifndef OVERRIDE_64_munlockall
171 SC_LTTNG_TRACEPOINT_EVENT(munlockall,
172 TP_PROTO(sc_exit(long ret)),
173 TP_ARGS(sc_exit(ret)),
174 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
175 )
176 #endif
177 #ifndef OVERRIDE_64_vhangup
178 SC_LTTNG_TRACEPOINT_EVENT(vhangup,
179 TP_PROTO(sc_exit(long ret)),
180 TP_ARGS(sc_exit(ret)),
181 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
182 )
183 #endif
184 #ifndef OVERRIDE_64_sync
185 SC_LTTNG_TRACEPOINT_EVENT(sync,
186 TP_PROTO(sc_exit(long ret)),
187 TP_ARGS(sc_exit(ret)),
188 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
189 )
190 #endif
191 #ifndef OVERRIDE_64_gettid
192 SC_LTTNG_TRACEPOINT_EVENT(gettid,
193 TP_PROTO(sc_exit(long ret)),
194 TP_ARGS(sc_exit(ret)),
195 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
196 )
197 #endif
198 #ifndef OVERRIDE_64_restart_syscall
199 SC_LTTNG_TRACEPOINT_EVENT(restart_syscall,
200 TP_PROTO(sc_exit(long ret)),
201 TP_ARGS(sc_exit(ret)),
202 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
203 )
204 #endif
205 #ifndef OVERRIDE_64_inotify_init
206 SC_LTTNG_TRACEPOINT_EVENT(inotify_init,
207 TP_PROTO(sc_exit(long ret)),
208 TP_ARGS(sc_exit(ret)),
209 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
210 )
211 #endif
212 #endif /* else #ifdef SC_ENTER */
213 #ifndef OVERRIDE_64_close
214 SC_LTTNG_TRACEPOINT_EVENT(close,
215 TP_PROTO(sc_exit(long ret,) unsigned int fd),
216 TP_ARGS(sc_exit(ret,) fd),
217 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)))
218 )
219 #endif
220 #ifndef OVERRIDE_64_brk
221 SC_LTTNG_TRACEPOINT_EVENT(brk,
222 TP_PROTO(sc_exit(long ret,) unsigned long brk),
223 TP_ARGS(sc_exit(ret,) brk),
224 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, brk, brk)))
225 )
226 #endif
227 #ifndef OVERRIDE_64_dup
228 SC_LTTNG_TRACEPOINT_EVENT(dup,
229 TP_PROTO(sc_exit(long ret,) unsigned int fildes),
230 TP_ARGS(sc_exit(ret,) fildes),
231 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fildes, fildes)))
232 )
233 #endif
234 #ifndef OVERRIDE_64_alarm
235 SC_LTTNG_TRACEPOINT_EVENT(alarm,
236 TP_PROTO(sc_exit(long ret,) unsigned int seconds),
237 TP_ARGS(sc_exit(ret,) seconds),
238 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, seconds, seconds)))
239 )
240 #endif
241 #ifndef OVERRIDE_64_exit
242 SC_LTTNG_TRACEPOINT_EVENT(exit,
243 TP_PROTO(sc_exit(long ret,) int error_code),
244 TP_ARGS(sc_exit(ret,) error_code),
245 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code)))
246 )
247 #endif
248 #ifndef OVERRIDE_64_fsync
249 SC_LTTNG_TRACEPOINT_EVENT(fsync,
250 TP_PROTO(sc_exit(long ret,) unsigned int fd),
251 TP_ARGS(sc_exit(ret,) fd),
252 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)))
253 )
254 #endif
255 #ifndef OVERRIDE_64_fdatasync
256 SC_LTTNG_TRACEPOINT_EVENT(fdatasync,
257 TP_PROTO(sc_exit(long ret,) unsigned int fd),
258 TP_ARGS(sc_exit(ret,) fd),
259 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)))
260 )
261 #endif
262 #ifndef OVERRIDE_64_fchdir
263 SC_LTTNG_TRACEPOINT_EVENT(fchdir,
264 TP_PROTO(sc_exit(long ret,) unsigned int fd),
265 TP_ARGS(sc_exit(ret,) fd),
266 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)))
267 )
268 #endif
269 #ifndef OVERRIDE_64_umask
270 SC_LTTNG_TRACEPOINT_EVENT(umask,
271 TP_PROTO(sc_exit(long ret,) int mask),
272 TP_ARGS(sc_exit(ret,) mask),
273 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mask, mask)))
274 )
275 #endif
276 #ifndef OVERRIDE_64_setuid
277 SC_LTTNG_TRACEPOINT_EVENT(setuid,
278 TP_PROTO(sc_exit(long ret,) uid_t uid),
279 TP_ARGS(sc_exit(ret,) uid),
280 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid)))
281 )
282 #endif
283 #ifndef OVERRIDE_64_setgid
284 SC_LTTNG_TRACEPOINT_EVENT(setgid,
285 TP_PROTO(sc_exit(long ret,) gid_t gid),
286 TP_ARGS(sc_exit(ret,) gid),
287 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid)))
288 )
289 #endif
290 #ifndef OVERRIDE_64_getpgid
291 SC_LTTNG_TRACEPOINT_EVENT(getpgid,
292 TP_PROTO(sc_exit(long ret,) pid_t pid),
293 TP_ARGS(sc_exit(ret,) pid),
294 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)))
295 )
296 #endif
297 #ifndef OVERRIDE_64_setfsuid
298 SC_LTTNG_TRACEPOINT_EVENT(setfsuid,
299 TP_PROTO(sc_exit(long ret,) uid_t uid),
300 TP_ARGS(sc_exit(ret,) uid),
301 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid)))
302 )
303 #endif
304 #ifndef OVERRIDE_64_setfsgid
305 SC_LTTNG_TRACEPOINT_EVENT(setfsgid,
306 TP_PROTO(sc_exit(long ret,) gid_t gid),
307 TP_ARGS(sc_exit(ret,) gid),
308 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid)))
309 )
310 #endif
311 #ifndef OVERRIDE_64_getsid
312 SC_LTTNG_TRACEPOINT_EVENT(getsid,
313 TP_PROTO(sc_exit(long ret,) pid_t pid),
314 TP_ARGS(sc_exit(ret,) pid),
315 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)))
316 )
317 #endif
318 #ifndef OVERRIDE_64_personality
319 SC_LTTNG_TRACEPOINT_EVENT(personality,
320 TP_PROTO(sc_exit(long ret,) unsigned int personality),
321 TP_ARGS(sc_exit(ret,) personality),
322 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, personality, personality)))
323 )
324 #endif
325 #ifndef OVERRIDE_64_sched_getscheduler
326 SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler,
327 TP_PROTO(sc_exit(long ret,) pid_t pid),
328 TP_ARGS(sc_exit(ret,) pid),
329 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)))
330 )
331 #endif
332 #ifndef OVERRIDE_64_sched_get_priority_max
333 SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max,
334 TP_PROTO(sc_exit(long ret,) int policy),
335 TP_ARGS(sc_exit(ret,) policy),
336 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy)))
337 )
338 #endif
339 #ifndef OVERRIDE_64_sched_get_priority_min
340 SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min,
341 TP_PROTO(sc_exit(long ret,) int policy),
342 TP_ARGS(sc_exit(ret,) policy),
343 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy)))
344 )
345 #endif
346 #ifndef OVERRIDE_64_mlockall
347 SC_LTTNG_TRACEPOINT_EVENT(mlockall,
348 TP_PROTO(sc_exit(long ret,) int flags),
349 TP_ARGS(sc_exit(ret,) flags),
350 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags)))
351 )
352 #endif
353 #ifndef OVERRIDE_64_iopl
354 SC_LTTNG_TRACEPOINT_EVENT(iopl,
355 TP_PROTO(sc_exit(long ret,) unsigned int level),
356 TP_ARGS(sc_exit(ret,) level),
357 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, level, level)))
358 )
359 #endif
360 #ifndef OVERRIDE_64_io_destroy
361 SC_LTTNG_TRACEPOINT_EVENT(io_destroy,
362 TP_PROTO(sc_exit(long ret,) aio_context_t ctx),
363 TP_ARGS(sc_exit(ret,) ctx),
364 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx, ctx)))
365 )
366 #endif
367 #ifndef OVERRIDE_64_epoll_create
368 SC_LTTNG_TRACEPOINT_EVENT(epoll_create,
369 TP_PROTO(sc_exit(long ret,) int size),
370 TP_ARGS(sc_exit(ret,) size),
371 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, size, size)))
372 )
373 #endif
374 #ifndef OVERRIDE_64_timer_getoverrun
375 SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun,
376 TP_PROTO(sc_exit(long ret,) timer_t timer_id),
377 TP_ARGS(sc_exit(ret,) timer_id),
378 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id)))
379 )
380 #endif
381 #ifndef OVERRIDE_64_timer_delete
382 SC_LTTNG_TRACEPOINT_EVENT(timer_delete,
383 TP_PROTO(sc_exit(long ret,) timer_t timer_id),
384 TP_ARGS(sc_exit(ret,) timer_id),
385 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id)))
386 )
387 #endif
388 #ifndef OVERRIDE_64_exit_group
389 SC_LTTNG_TRACEPOINT_EVENT(exit_group,
390 TP_PROTO(sc_exit(long ret,) int error_code),
391 TP_ARGS(sc_exit(ret,) error_code),
392 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code)))
393 )
394 #endif
395 #ifndef OVERRIDE_64_unshare
396 SC_LTTNG_TRACEPOINT_EVENT(unshare,
397 TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags),
398 TP_ARGS(sc_exit(ret,) unshare_flags),
399 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, unshare_flags, unshare_flags)))
400 )
401 #endif
402 #ifndef OVERRIDE_64_eventfd
403 SC_LTTNG_TRACEPOINT_EVENT(eventfd,
404 TP_PROTO(sc_exit(long ret,) unsigned int count),
405 TP_ARGS(sc_exit(ret,) count),
406 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count)))
407 )
408 #endif
409 #ifndef OVERRIDE_64_epoll_create1
410 SC_LTTNG_TRACEPOINT_EVENT(epoll_create1,
411 TP_PROTO(sc_exit(long ret,) int flags),
412 TP_ARGS(sc_exit(ret,) flags),
413 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags)))
414 )
415 #endif
416 #ifndef OVERRIDE_64_inotify_init1
417 SC_LTTNG_TRACEPOINT_EVENT(inotify_init1,
418 TP_PROTO(sc_exit(long ret,) int flags),
419 TP_ARGS(sc_exit(ret,) flags),
420 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags)))
421 )
422 #endif
423 #ifndef OVERRIDE_64_syncfs
424 SC_LTTNG_TRACEPOINT_EVENT(syncfs,
425 TP_PROTO(sc_exit(long ret,) int fd),
426 TP_ARGS(sc_exit(ret,) fd),
427 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)))
428 )
429 #endif
430 #ifndef OVERRIDE_64_userfaultfd
431 SC_LTTNG_TRACEPOINT_EVENT(userfaultfd,
432 TP_PROTO(sc_exit(long ret,) int flags),
433 TP_ARGS(sc_exit(ret,) flags),
434 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, flags, flags)))
435 )
436 #endif
437 #ifndef OVERRIDE_64_pkey_free
438 SC_LTTNG_TRACEPOINT_EVENT(pkey_free,
439 TP_PROTO(sc_exit(long ret,) int pkey),
440 TP_ARGS(sc_exit(ret,) pkey),
441 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pkey, pkey)))
442 )
443 #endif
444 #ifndef OVERRIDE_64_memfd_secret
445 SC_LTTNG_TRACEPOINT_EVENT(memfd_secret,
446 TP_PROTO(sc_exit(long ret,) unsigned int flags),
447 TP_ARGS(sc_exit(ret,) flags),
448 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, flags, flags)))
449 )
450 #endif
451 #ifndef OVERRIDE_64_munmap
452 SC_LTTNG_TRACEPOINT_EVENT(munmap,
453 TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len),
454 TP_ARGS(sc_exit(ret,) addr, len),
455 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)))
456 )
457 #endif
458 #ifndef OVERRIDE_64_dup2
459 SC_LTTNG_TRACEPOINT_EVENT(dup2,
460 TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd),
461 TP_ARGS(sc_exit(ret,) oldfd, newfd),
462 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)))
463 )
464 #endif
465 #ifndef OVERRIDE_64_shutdown
466 SC_LTTNG_TRACEPOINT_EVENT(shutdown,
467 TP_PROTO(sc_exit(long ret,) int fd, int how),
468 TP_ARGS(sc_exit(ret,) fd, how),
469 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, how, how)))
470 )
471 #endif
472 #ifndef OVERRIDE_64_listen
473 SC_LTTNG_TRACEPOINT_EVENT(listen,
474 TP_PROTO(sc_exit(long ret,) int fd, int backlog),
475 TP_ARGS(sc_exit(ret,) fd, backlog),
476 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, backlog, backlog)))
477 )
478 #endif
479 #ifndef OVERRIDE_64_kill
480 SC_LTTNG_TRACEPOINT_EVENT(kill,
481 TP_PROTO(sc_exit(long ret,) pid_t pid, int sig),
482 TP_ARGS(sc_exit(ret,) pid, sig),
483 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig)))
484 )
485 #endif
486 #ifndef OVERRIDE_64_msgget
487 SC_LTTNG_TRACEPOINT_EVENT(msgget,
488 TP_PROTO(sc_exit(long ret,) key_t key, int msgflg),
489 TP_ARGS(sc_exit(ret,) key, msgflg),
490 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(int, msgflg, msgflg)))
491 )
492 #endif
493 #ifndef OVERRIDE_64_flock
494 SC_LTTNG_TRACEPOINT_EVENT(flock,
495 TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd),
496 TP_ARGS(sc_exit(ret,) fd, cmd),
497 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)))
498 )
499 #endif
500 #ifndef OVERRIDE_64_ftruncate
501 SC_LTTNG_TRACEPOINT_EVENT(ftruncate,
502 TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length),
503 TP_ARGS(sc_exit(ret,) fd, length),
504 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)))
505 )
506 #endif
507 #ifndef OVERRIDE_64_fchmod
508 SC_LTTNG_TRACEPOINT_EVENT(fchmod,
509 TP_PROTO(sc_exit(long ret,) unsigned int fd, umode_t mode),
510 TP_ARGS(sc_exit(ret,) fd, mode),
511 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)))
512 )
513 #endif
514 #ifndef OVERRIDE_64_setpgid
515 SC_LTTNG_TRACEPOINT_EVENT(setpgid,
516 TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid),
517 TP_ARGS(sc_exit(ret,) pid, pgid),
518 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)))
519 )
520 #endif
521 #ifndef OVERRIDE_64_setreuid
522 SC_LTTNG_TRACEPOINT_EVENT(setreuid,
523 TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid),
524 TP_ARGS(sc_exit(ret,) ruid, euid),
525 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)))
526 )
527 #endif
528 #ifndef OVERRIDE_64_setregid
529 SC_LTTNG_TRACEPOINT_EVENT(setregid,
530 TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid),
531 TP_ARGS(sc_exit(ret,) rgid, egid),
532 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)))
533 )
534 #endif
535 #ifndef OVERRIDE_64_getpriority
536 SC_LTTNG_TRACEPOINT_EVENT(getpriority,
537 TP_PROTO(sc_exit(long ret,) int which, int who),
538 TP_ARGS(sc_exit(ret,) which, who),
539 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)))
540 )
541 #endif
542 #ifndef OVERRIDE_64_mlock
543 SC_LTTNG_TRACEPOINT_EVENT(mlock,
544 TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len),
545 TP_ARGS(sc_exit(ret,) start, len),
546 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)))
547 )
548 #endif
549 #ifndef OVERRIDE_64_munlock
550 SC_LTTNG_TRACEPOINT_EVENT(munlock,
551 TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len),
552 TP_ARGS(sc_exit(ret,) start, len),
553 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)))
554 )
555 #endif
556 #ifndef OVERRIDE_64_arch_prctl
557 SC_LTTNG_TRACEPOINT_EVENT(arch_prctl,
558 TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2),
559 TP_ARGS(sc_exit(ret,) option, arg2),
560 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)))
561 )
562 #endif
563 #ifndef OVERRIDE_64_tkill
564 SC_LTTNG_TRACEPOINT_EVENT(tkill,
565 TP_PROTO(sc_exit(long ret,) pid_t pid, int sig),
566 TP_ARGS(sc_exit(ret,) pid, sig),
567 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig)))
568 )
569 #endif
570 #ifndef OVERRIDE_64_ioprio_get
571 SC_LTTNG_TRACEPOINT_EVENT(ioprio_get,
572 TP_PROTO(sc_exit(long ret,) int which, int who),
573 TP_ARGS(sc_exit(ret,) which, who),
574 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)))
575 )
576 #endif
577 #ifndef OVERRIDE_64_inotify_rm_watch
578 SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch,
579 TP_PROTO(sc_exit(long ret,) int fd, __s32 wd),
580 TP_ARGS(sc_exit(ret,) fd, wd),
581 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(__s32, wd, wd)))
582 )
583 #endif
584 #ifndef OVERRIDE_64_timerfd_create
585 SC_LTTNG_TRACEPOINT_EVENT(timerfd_create,
586 TP_PROTO(sc_exit(long ret,) int clockid, int flags),
587 TP_ARGS(sc_exit(ret,) clockid, flags),
588 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, clockid, clockid)) sc_in(ctf_integer(int, flags, flags)))
589 )
590 #endif
591 #ifndef OVERRIDE_64_eventfd2
592 SC_LTTNG_TRACEPOINT_EVENT(eventfd2,
593 TP_PROTO(sc_exit(long ret,) unsigned int count, int flags),
594 TP_ARGS(sc_exit(ret,) count, flags),
595 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count)) sc_in(ctf_integer(int, flags, flags)))
596 )
597 #endif
598 #ifndef OVERRIDE_64_fanotify_init
599 SC_LTTNG_TRACEPOINT_EVENT(fanotify_init,
600 TP_PROTO(sc_exit(long ret,) unsigned int flags, unsigned int event_f_flags),
601 TP_ARGS(sc_exit(ret,) flags, event_f_flags),
602 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)))
603 )
604 #endif
605 #ifndef OVERRIDE_64_setns
606 SC_LTTNG_TRACEPOINT_EVENT(setns,
607 TP_PROTO(sc_exit(long ret,) int fd, int flags),
608 TP_ARGS(sc_exit(ret,) fd, flags),
609 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, flags, flags)))
610 )
611 #endif
612 #ifndef OVERRIDE_64_pkey_alloc
613 SC_LTTNG_TRACEPOINT_EVENT(pkey_alloc,
614 TP_PROTO(sc_exit(long ret,) unsigned long flags, unsigned long init_val),
615 TP_ARGS(sc_exit(ret,) flags, init_val),
616 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, flags, flags)) sc_inout(ctf_integer(unsigned long, init_val, init_val)))
617 )
618 #endif
619 #ifndef OVERRIDE_64_pidfd_open
620 SC_LTTNG_TRACEPOINT_EVENT(pidfd_open,
621 TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int flags),
622 TP_ARGS(sc_exit(ret,) pid, flags),
623 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(unsigned int, flags, flags)))
624 )
625 #endif
626 #ifndef OVERRIDE_64_process_mrelease
627 SC_LTTNG_TRACEPOINT_EVENT(process_mrelease,
628 TP_PROTO(sc_exit(long ret,) int pidfd, unsigned int flags),
629 TP_ARGS(sc_exit(ret,) pidfd, flags),
630 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(unsigned int, flags, flags)))
631 )
632 #endif
633 #ifndef OVERRIDE_64_lseek
634 SC_LTTNG_TRACEPOINT_EVENT(lseek,
635 TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int whence),
636 TP_ARGS(sc_exit(ret,) fd, offset, whence),
637 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)))
638 )
639 #endif
640 #ifndef OVERRIDE_64_mprotect
641 SC_LTTNG_TRACEPOINT_EVENT(mprotect,
642 TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot),
643 TP_ARGS(sc_exit(ret,) start, len, prot),
644 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)))
645 )
646 #endif
647 #ifndef OVERRIDE_64_ioctl
648 SC_LTTNG_TRACEPOINT_EVENT(ioctl,
649 TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg),
650 TP_ARGS(sc_exit(ret,) fd, cmd, arg),
651 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)))
652 )
653 #endif
654 #ifndef OVERRIDE_64_msync
655 SC_LTTNG_TRACEPOINT_EVENT(msync,
656 TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags),
657 TP_ARGS(sc_exit(ret,) start, len, flags),
658 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)))
659 )
660 #endif
661 #ifndef OVERRIDE_64_madvise
662 SC_LTTNG_TRACEPOINT_EVENT(madvise,
663 TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior),
664 TP_ARGS(sc_exit(ret,) start, len_in, behavior),
665 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)))
666 )
667 #endif
668 #ifndef OVERRIDE_64_shmget
669 SC_LTTNG_TRACEPOINT_EVENT(shmget,
670 TP_PROTO(sc_exit(long ret,) key_t key, size_t size, int shmflg),
671 TP_ARGS(sc_exit(ret,) key, size, shmflg),
672 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)))
673 )
674 #endif
675 #ifndef OVERRIDE_64_socket
676 SC_LTTNG_TRACEPOINT_EVENT(socket,
677 TP_PROTO(sc_exit(long ret,) int family, int type, int protocol),
678 TP_ARGS(sc_exit(ret,) family, type, protocol),
679 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)))
680 )
681 #endif
682 #ifndef OVERRIDE_64_semget
683 SC_LTTNG_TRACEPOINT_EVENT(semget,
684 TP_PROTO(sc_exit(long ret,) key_t key, int nsems, int semflg),
685 TP_ARGS(sc_exit(ret,) key, nsems, semflg),
686 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)))
687 )
688 #endif
689 #ifndef OVERRIDE_64_fcntl
690 SC_LTTNG_TRACEPOINT_EVENT(fcntl,
691 TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg),
692 TP_ARGS(sc_exit(ret,) fd, cmd, arg),
693 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)))
694 )
695 #endif
696 #ifndef OVERRIDE_64_fchown
697 SC_LTTNG_TRACEPOINT_EVENT(fchown,
698 TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group),
699 TP_ARGS(sc_exit(ret,) fd, user, group),
700 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)))
701 )
702 #endif
703 #ifndef OVERRIDE_64_setresuid
704 SC_LTTNG_TRACEPOINT_EVENT(setresuid,
705 TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid),
706 TP_ARGS(sc_exit(ret,) ruid, euid, suid),
707 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)))
708 )
709 #endif
710 #ifndef OVERRIDE_64_setresgid
711 SC_LTTNG_TRACEPOINT_EVENT(setresgid,
712 TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid),
713 TP_ARGS(sc_exit(ret,) rgid, egid, sgid),
714 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)))
715 )
716 #endif
717 #ifndef OVERRIDE_64_sysfs
718 SC_LTTNG_TRACEPOINT_EVENT(sysfs,
719 TP_PROTO(sc_exit(long ret,) int option, unsigned long arg1, unsigned long arg2),
720 TP_ARGS(sc_exit(ret,) option, arg1, arg2),
721 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_in(ctf_integer(unsigned long, arg1, arg1)) sc_in(ctf_integer(unsigned long, arg2, arg2)))
722 )
723 #endif
724 #ifndef OVERRIDE_64_setpriority
725 SC_LTTNG_TRACEPOINT_EVENT(setpriority,
726 TP_PROTO(sc_exit(long ret,) int which, int who, int niceval),
727 TP_ARGS(sc_exit(ret,) which, who, niceval),
728 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)))
729 )
730 #endif
731 #ifndef OVERRIDE_64_ioperm
732 SC_LTTNG_TRACEPOINT_EVENT(ioperm,
733 TP_PROTO(sc_exit(long ret,) unsigned long from, unsigned long num, int turn_on),
734 TP_ARGS(sc_exit(ret,) from, num, turn_on),
735 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, from, from)) sc_inout(ctf_integer(unsigned long, num, num)) sc_inout(ctf_integer(int, turn_on, turn_on)))
736 )
737 #endif
738 #ifndef OVERRIDE_64_readahead
739 SC_LTTNG_TRACEPOINT_EVENT(readahead,
740 TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, size_t count),
741 TP_ARGS(sc_exit(ret,) fd, offset, count),
742 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)))
743 )
744 #endif
745 #ifndef OVERRIDE_64_tgkill
746 SC_LTTNG_TRACEPOINT_EVENT(tgkill,
747 TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig),
748 TP_ARGS(sc_exit(ret,) tgid, pid, sig),
749 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)))
750 )
751 #endif
752 #ifndef OVERRIDE_64_ioprio_set
753 SC_LTTNG_TRACEPOINT_EVENT(ioprio_set,
754 TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio),
755 TP_ARGS(sc_exit(ret,) which, who, ioprio),
756 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)))
757 )
758 #endif
759 #ifndef OVERRIDE_64_dup3
760 SC_LTTNG_TRACEPOINT_EVENT(dup3,
761 TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags),
762 TP_ARGS(sc_exit(ret,) oldfd, newfd, flags),
763 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)))
764 )
765 #endif
766 #ifndef OVERRIDE_64_membarrier
767 SC_LTTNG_TRACEPOINT_EVENT(membarrier,
768 TP_PROTO(sc_exit(long ret,) int cmd, unsigned int flags, int cpu_id),
769 TP_ARGS(sc_exit(ret,) cmd, flags, cpu_id),
770 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(int, cpu_id, cpu_id)))
771 )
772 #endif
773 #ifndef OVERRIDE_64_mlock2
774 SC_LTTNG_TRACEPOINT_EVENT(mlock2,
775 TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags),
776 TP_ARGS(sc_exit(ret,) start, len, flags),
777 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)))
778 )
779 #endif
780 #ifndef OVERRIDE_64_fsmount
781 SC_LTTNG_TRACEPOINT_EVENT(fsmount,
782 TP_PROTO(sc_exit(long ret,) int fs_fd, unsigned int flags, unsigned int attr_flags),
783 TP_ARGS(sc_exit(ret,) fs_fd, flags, attr_flags),
784 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fs_fd, fs_fd)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(unsigned int, attr_flags, attr_flags)))
785 )
786 #endif
787 #ifndef OVERRIDE_64_close_range
788 SC_LTTNG_TRACEPOINT_EVENT(close_range,
789 TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int max_fd, unsigned int flags),
790 TP_ARGS(sc_exit(ret,) fd, max_fd, flags),
791 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, max_fd, max_fd)) sc_inout(ctf_integer(unsigned int, flags, flags)))
792 )
793 #endif
794 #ifndef OVERRIDE_64_pidfd_getfd
795 SC_LTTNG_TRACEPOINT_EVENT(pidfd_getfd,
796 TP_PROTO(sc_exit(long ret,) int pidfd, int fd, unsigned int flags),
797 TP_ARGS(sc_exit(ret,) pidfd, fd, flags),
798 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned int, flags, flags)))
799 )
800 #endif
801 #ifndef OVERRIDE_64_semctl
802 SC_LTTNG_TRACEPOINT_EVENT(semctl,
803 TP_PROTO(sc_exit(long ret,) int semid, int semnum, int cmd, unsigned long arg),
804 TP_ARGS(sc_exit(ret,) semid, semnum, cmd, arg),
805 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)))
806 )
807 #endif
808 #ifndef OVERRIDE_64_ptrace
809 SC_LTTNG_TRACEPOINT_EVENT(ptrace,
810 TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data),
811 TP_ARGS(sc_exit(ret,) request, pid, addr, data),
812 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)))
813 )
814 #endif
815 #ifndef OVERRIDE_64_fadvise64
816 SC_LTTNG_TRACEPOINT_EVENT(fadvise64,
817 TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, size_t len, int advice),
818 TP_ARGS(sc_exit(ret,) fd, offset, len, advice),
819 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, len, len)) sc_in(ctf_integer(int, advice, advice)))
820 )
821 #endif
822 #ifndef OVERRIDE_64_tee
823 SC_LTTNG_TRACEPOINT_EVENT(tee,
824 TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags),
825 TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags),
826 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)))
827 )
828 #endif
829 #ifndef OVERRIDE_64_sync_file_range
830 SC_LTTNG_TRACEPOINT_EVENT(sync_file_range,
831 TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, loff_t nbytes, unsigned int flags),
832 TP_ARGS(sc_exit(ret,) fd, offset, nbytes, flags),
833 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)))
834 )
835 #endif
836 #ifndef OVERRIDE_64_fallocate
837 SC_LTTNG_TRACEPOINT_EVENT(fallocate,
838 TP_PROTO(sc_exit(long ret,) int fd, int mode, loff_t offset, loff_t len),
839 TP_ARGS(sc_exit(ret,) fd, mode, offset, len),
840 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)))
841 )
842 #endif
843 #ifndef OVERRIDE_64_pkey_mprotect
844 SC_LTTNG_TRACEPOINT_EVENT(pkey_mprotect,
845 TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot, int pkey),
846 TP_ARGS(sc_exit(ret,) start, len, prot, pkey),
847 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(unsigned long, prot, prot)) sc_inout(ctf_integer(int, pkey, pkey)))
848 )
849 #endif
850 #ifndef OVERRIDE_64_set_mempolicy_home_node
851 SC_LTTNG_TRACEPOINT_EVENT(set_mempolicy_home_node,
852 TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long len, unsigned long home_node, unsigned long flags),
853 TP_ARGS(sc_exit(ret,) start, len, home_node, flags),
854 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, start, start)) sc_inout(ctf_integer(unsigned long, len, len)) sc_inout(ctf_integer(unsigned long, home_node, home_node)) sc_inout(ctf_integer(unsigned long, flags, flags)))
855 )
856 #endif
857 #ifndef OVERRIDE_64_mremap
858 SC_LTTNG_TRACEPOINT_EVENT(mremap,
859 TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr),
860 TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr),
861 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)))
862 )
863 #endif
864 #ifndef OVERRIDE_64_prctl
865 SC_LTTNG_TRACEPOINT_EVENT(prctl,
866 TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5),
867 TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5),
868 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)))
869 )
870 #endif
871 #ifndef OVERRIDE_64_remap_file_pages
872 SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages,
873 TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags),
874 TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags),
875 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)))
876 )
877 #endif
878 #ifndef OVERRIDE_64_keyctl
879 SC_LTTNG_TRACEPOINT_EVENT(keyctl,
880 TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5),
881 TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5),
882 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)))
883 )
884 #endif
885 #ifndef OVERRIDE_64_kcmp
886 SC_LTTNG_TRACEPOINT_EVENT(kcmp,
887 TP_PROTO(sc_exit(long ret,) pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2),
888 TP_ARGS(sc_exit(ret,) pid1, pid2, type, idx1, idx2),
889 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid1, pid1)) sc_inout(ctf_integer(pid_t, pid2, pid2)) sc_inout(ctf_integer(int, type, type)) sc_inout(ctf_integer(unsigned long, idx1, idx1)) sc_inout(ctf_integer(unsigned long, idx2, idx2)))
890 )
891 #endif
892 #ifndef OVERRIDE_64_mmap
893 SC_LTTNG_TRACEPOINT_EVENT(mmap,
894 TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long off),
895 TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, off),
896 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(unsigned long, len, len)) sc_in(ctf_integer(unsigned long, prot, prot)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(unsigned long, fd, fd)) sc_in(ctf_integer(unsigned long, off, off)))
897 )
898 #endif
899
900 #endif /* _TRACE_SYSCALLS_INTEGERS_H */
901
902 /* This part must be outside protection */
903 #include <lttng/define_trace.h>
904
905 #else /* CREATE_SYSCALL_TABLE */
906
907 #include "x86-64-syscalls_integers_override.h"
908 #include "syscalls_integers_override.h"
909
910 #ifdef SC_ENTER
911 #ifndef OVERRIDE_TABLE_64_rt_sigreturn
912 TRACE_SYSCALL_TABLE(syscalls_noargs, rt_sigreturn, 15, 0)
913 #endif
914 #ifndef OVERRIDE_TABLE_64_sched_yield
915 TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 24, 0)
916 #endif
917 #ifndef OVERRIDE_TABLE_64_pause
918 TRACE_SYSCALL_TABLE(syscalls_noargs, pause, 34, 0)
919 #endif
920 #ifndef OVERRIDE_TABLE_64_getpid
921 TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 39, 0)
922 #endif
923 #ifndef OVERRIDE_TABLE_64_fork
924 TRACE_SYSCALL_TABLE(syscalls_noargs, fork, 57, 0)
925 #endif
926 #ifndef OVERRIDE_TABLE_64_vfork
927 TRACE_SYSCALL_TABLE(syscalls_noargs, vfork, 58, 0)
928 #endif
929 #ifndef OVERRIDE_TABLE_64_getuid
930 TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 102, 0)
931 #endif
932 #ifndef OVERRIDE_TABLE_64_getgid
933 TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 104, 0)
934 #endif
935 #ifndef OVERRIDE_TABLE_64_geteuid
936 TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 107, 0)
937 #endif
938 #ifndef OVERRIDE_TABLE_64_getegid
939 TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 108, 0)
940 #endif
941 #ifndef OVERRIDE_TABLE_64_getppid
942 TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 110, 0)
943 #endif
944 #ifndef OVERRIDE_TABLE_64_getpgrp
945 TRACE_SYSCALL_TABLE(syscalls_noargs, getpgrp, 111, 0)
946 #endif
947 #ifndef OVERRIDE_TABLE_64_setsid
948 TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 112, 0)
949 #endif
950 #ifndef OVERRIDE_TABLE_64_munlockall
951 TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 152, 0)
952 #endif
953 #ifndef OVERRIDE_TABLE_64_vhangup
954 TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 153, 0)
955 #endif
956 #ifndef OVERRIDE_TABLE_64_sync
957 TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 162, 0)
958 #endif
959 #ifndef OVERRIDE_TABLE_64_gettid
960 TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 186, 0)
961 #endif
962 #ifndef OVERRIDE_TABLE_64_restart_syscall
963 TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 219, 0)
964 #endif
965 #ifndef OVERRIDE_TABLE_64_inotify_init
966 TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 253, 0)
967 #endif
968 #else /* #ifdef SC_ENTER */
969 #ifndef OVERRIDE_TABLE_64_rt_sigreturn
970 TRACE_SYSCALL_TABLE(rt_sigreturn, rt_sigreturn, 15, 0)
971 #endif
972 #ifndef OVERRIDE_TABLE_64_sched_yield
973 TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 24, 0)
974 #endif
975 #ifndef OVERRIDE_TABLE_64_pause
976 TRACE_SYSCALL_TABLE(pause, pause, 34, 0)
977 #endif
978 #ifndef OVERRIDE_TABLE_64_getpid
979 TRACE_SYSCALL_TABLE(getpid, getpid, 39, 0)
980 #endif
981 #ifndef OVERRIDE_TABLE_64_fork
982 TRACE_SYSCALL_TABLE(fork, fork, 57, 0)
983 #endif
984 #ifndef OVERRIDE_TABLE_64_vfork
985 TRACE_SYSCALL_TABLE(vfork, vfork, 58, 0)
986 #endif
987 #ifndef OVERRIDE_TABLE_64_getuid
988 TRACE_SYSCALL_TABLE(getuid, getuid, 102, 0)
989 #endif
990 #ifndef OVERRIDE_TABLE_64_getgid
991 TRACE_SYSCALL_TABLE(getgid, getgid, 104, 0)
992 #endif
993 #ifndef OVERRIDE_TABLE_64_geteuid
994 TRACE_SYSCALL_TABLE(geteuid, geteuid, 107, 0)
995 #endif
996 #ifndef OVERRIDE_TABLE_64_getegid
997 TRACE_SYSCALL_TABLE(getegid, getegid, 108, 0)
998 #endif
999 #ifndef OVERRIDE_TABLE_64_getppid
1000 TRACE_SYSCALL_TABLE(getppid, getppid, 110, 0)
1001 #endif
1002 #ifndef OVERRIDE_TABLE_64_getpgrp
1003 TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 111, 0)
1004 #endif
1005 #ifndef OVERRIDE_TABLE_64_setsid
1006 TRACE_SYSCALL_TABLE(setsid, setsid, 112, 0)
1007 #endif
1008 #ifndef OVERRIDE_TABLE_64_munlockall
1009 TRACE_SYSCALL_TABLE(munlockall, munlockall, 152, 0)
1010 #endif
1011 #ifndef OVERRIDE_TABLE_64_vhangup
1012 TRACE_SYSCALL_TABLE(vhangup, vhangup, 153, 0)
1013 #endif
1014 #ifndef OVERRIDE_TABLE_64_sync
1015 TRACE_SYSCALL_TABLE(sync, sync, 162, 0)
1016 #endif
1017 #ifndef OVERRIDE_TABLE_64_gettid
1018 TRACE_SYSCALL_TABLE(gettid, gettid, 186, 0)
1019 #endif
1020 #ifndef OVERRIDE_TABLE_64_restart_syscall
1021 TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 219, 0)
1022 #endif
1023 #ifndef OVERRIDE_TABLE_64_inotify_init
1024 TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 253, 0)
1025 #endif
1026 #endif /* else #ifdef SC_ENTER */
1027 #ifndef OVERRIDE_TABLE_64_close
1028 TRACE_SYSCALL_TABLE(close, close, 3, 1)
1029 #endif
1030 #ifndef OVERRIDE_TABLE_64_lseek
1031 TRACE_SYSCALL_TABLE(lseek, lseek, 8, 3)
1032 #endif
1033 #ifndef OVERRIDE_TABLE_64_mmap
1034 TRACE_SYSCALL_TABLE(mmap, mmap, 9, 6)
1035 #endif
1036 #ifndef OVERRIDE_TABLE_64_mprotect
1037 TRACE_SYSCALL_TABLE(mprotect, mprotect, 10, 3)
1038 #endif
1039 #ifndef OVERRIDE_TABLE_64_munmap
1040 TRACE_SYSCALL_TABLE(munmap, munmap, 11, 2)
1041 #endif
1042 #ifndef OVERRIDE_TABLE_64_brk
1043 TRACE_SYSCALL_TABLE(brk, brk, 12, 1)
1044 #endif
1045 #ifndef OVERRIDE_TABLE_64_ioctl
1046 TRACE_SYSCALL_TABLE(ioctl, ioctl, 16, 3)
1047 #endif
1048 #ifndef OVERRIDE_TABLE_64_mremap
1049 TRACE_SYSCALL_TABLE(mremap, mremap, 25, 5)
1050 #endif
1051 #ifndef OVERRIDE_TABLE_64_msync
1052 TRACE_SYSCALL_TABLE(msync, msync, 26, 3)
1053 #endif
1054 #ifndef OVERRIDE_TABLE_64_madvise
1055 TRACE_SYSCALL_TABLE(madvise, madvise, 28, 3)
1056 #endif
1057 #ifndef OVERRIDE_TABLE_64_shmget
1058 TRACE_SYSCALL_TABLE(shmget, shmget, 29, 3)
1059 #endif
1060 #ifndef OVERRIDE_TABLE_64_dup
1061 TRACE_SYSCALL_TABLE(dup, dup, 32, 1)
1062 #endif
1063 #ifndef OVERRIDE_TABLE_64_dup2
1064 TRACE_SYSCALL_TABLE(dup2, dup2, 33, 2)
1065 #endif
1066 #ifndef OVERRIDE_TABLE_64_alarm
1067 TRACE_SYSCALL_TABLE(alarm, alarm, 37, 1)
1068 #endif
1069 #ifndef OVERRIDE_TABLE_64_socket
1070 TRACE_SYSCALL_TABLE(socket, socket, 41, 3)
1071 #endif
1072 #ifndef OVERRIDE_TABLE_64_shutdown
1073 TRACE_SYSCALL_TABLE(shutdown, shutdown, 48, 2)
1074 #endif
1075 #ifndef OVERRIDE_TABLE_64_listen
1076 TRACE_SYSCALL_TABLE(listen, listen, 50, 2)
1077 #endif
1078 #ifndef OVERRIDE_TABLE_64_exit
1079 TRACE_SYSCALL_TABLE(exit, exit, 60, 1)
1080 #endif
1081 #ifndef OVERRIDE_TABLE_64_kill
1082 TRACE_SYSCALL_TABLE(kill, kill, 62, 2)
1083 #endif
1084 #ifndef OVERRIDE_TABLE_64_semget
1085 TRACE_SYSCALL_TABLE(semget, semget, 64, 3)
1086 #endif
1087 #ifndef OVERRIDE_TABLE_64_semctl
1088 TRACE_SYSCALL_TABLE(semctl, semctl, 66, 4)
1089 #endif
1090 #ifndef OVERRIDE_TABLE_64_msgget
1091 TRACE_SYSCALL_TABLE(msgget, msgget, 68, 2)
1092 #endif
1093 #ifndef OVERRIDE_TABLE_64_fcntl
1094 TRACE_SYSCALL_TABLE(fcntl, fcntl, 72, 3)
1095 #endif
1096 #ifndef OVERRIDE_TABLE_64_flock
1097 TRACE_SYSCALL_TABLE(flock, flock, 73, 2)
1098 #endif
1099 #ifndef OVERRIDE_TABLE_64_fsync
1100 TRACE_SYSCALL_TABLE(fsync, fsync, 74, 1)
1101 #endif
1102 #ifndef OVERRIDE_TABLE_64_fdatasync
1103 TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 75, 1)
1104 #endif
1105 #ifndef OVERRIDE_TABLE_64_ftruncate
1106 TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 77, 2)
1107 #endif
1108 #ifndef OVERRIDE_TABLE_64_fchdir
1109 TRACE_SYSCALL_TABLE(fchdir, fchdir, 81, 1)
1110 #endif
1111 #ifndef OVERRIDE_TABLE_64_fchmod
1112 TRACE_SYSCALL_TABLE(fchmod, fchmod, 91, 2)
1113 #endif
1114 #ifndef OVERRIDE_TABLE_64_fchown
1115 TRACE_SYSCALL_TABLE(fchown, fchown, 93, 3)
1116 #endif
1117 #ifndef OVERRIDE_TABLE_64_umask
1118 TRACE_SYSCALL_TABLE(umask, umask, 95, 1)
1119 #endif
1120 #ifndef OVERRIDE_TABLE_64_ptrace
1121 TRACE_SYSCALL_TABLE(ptrace, ptrace, 101, 4)
1122 #endif
1123 #ifndef OVERRIDE_TABLE_64_setuid
1124 TRACE_SYSCALL_TABLE(setuid, setuid, 105, 1)
1125 #endif
1126 #ifndef OVERRIDE_TABLE_64_setgid
1127 TRACE_SYSCALL_TABLE(setgid, setgid, 106, 1)
1128 #endif
1129 #ifndef OVERRIDE_TABLE_64_setpgid
1130 TRACE_SYSCALL_TABLE(setpgid, setpgid, 109, 2)
1131 #endif
1132 #ifndef OVERRIDE_TABLE_64_setreuid
1133 TRACE_SYSCALL_TABLE(setreuid, setreuid, 113, 2)
1134 #endif
1135 #ifndef OVERRIDE_TABLE_64_setregid
1136 TRACE_SYSCALL_TABLE(setregid, setregid, 114, 2)
1137 #endif
1138 #ifndef OVERRIDE_TABLE_64_setresuid
1139 TRACE_SYSCALL_TABLE(setresuid, setresuid, 117, 3)
1140 #endif
1141 #ifndef OVERRIDE_TABLE_64_setresgid
1142 TRACE_SYSCALL_TABLE(setresgid, setresgid, 119, 3)
1143 #endif
1144 #ifndef OVERRIDE_TABLE_64_getpgid
1145 TRACE_SYSCALL_TABLE(getpgid, getpgid, 121, 1)
1146 #endif
1147 #ifndef OVERRIDE_TABLE_64_setfsuid
1148 TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 122, 1)
1149 #endif
1150 #ifndef OVERRIDE_TABLE_64_setfsgid
1151 TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 123, 1)
1152 #endif
1153 #ifndef OVERRIDE_TABLE_64_getsid
1154 TRACE_SYSCALL_TABLE(getsid, getsid, 124, 1)
1155 #endif
1156 #ifndef OVERRIDE_TABLE_64_personality
1157 TRACE_SYSCALL_TABLE(personality, personality, 135, 1)
1158 #endif
1159 #ifndef OVERRIDE_TABLE_64_sysfs
1160 TRACE_SYSCALL_TABLE(sysfs, sysfs, 139, 3)
1161 #endif
1162 #ifndef OVERRIDE_TABLE_64_getpriority
1163 TRACE_SYSCALL_TABLE(getpriority, getpriority, 140, 2)
1164 #endif
1165 #ifndef OVERRIDE_TABLE_64_setpriority
1166 TRACE_SYSCALL_TABLE(setpriority, setpriority, 141, 3)
1167 #endif
1168 #ifndef OVERRIDE_TABLE_64_sched_getscheduler
1169 TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 145, 1)
1170 #endif
1171 #ifndef OVERRIDE_TABLE_64_sched_get_priority_max
1172 TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 146, 1)
1173 #endif
1174 #ifndef OVERRIDE_TABLE_64_sched_get_priority_min
1175 TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 147, 1)
1176 #endif
1177 #ifndef OVERRIDE_TABLE_64_mlock
1178 TRACE_SYSCALL_TABLE(mlock, mlock, 149, 2)
1179 #endif
1180 #ifndef OVERRIDE_TABLE_64_munlock
1181 TRACE_SYSCALL_TABLE(munlock, munlock, 150, 2)
1182 #endif
1183 #ifndef OVERRIDE_TABLE_64_mlockall
1184 TRACE_SYSCALL_TABLE(mlockall, mlockall, 151, 1)
1185 #endif
1186 #ifndef OVERRIDE_TABLE_64_prctl
1187 TRACE_SYSCALL_TABLE(prctl, prctl, 157, 5)
1188 #endif
1189 #ifndef OVERRIDE_TABLE_64_arch_prctl
1190 TRACE_SYSCALL_TABLE(arch_prctl, arch_prctl, 158, 2)
1191 #endif
1192 #ifndef OVERRIDE_TABLE_64_iopl
1193 TRACE_SYSCALL_TABLE(iopl, iopl, 172, 1)
1194 #endif
1195 #ifndef OVERRIDE_TABLE_64_ioperm
1196 TRACE_SYSCALL_TABLE(ioperm, ioperm, 173, 3)
1197 #endif
1198 #ifndef OVERRIDE_TABLE_64_readahead
1199 TRACE_SYSCALL_TABLE(readahead, readahead, 187, 3)
1200 #endif
1201 #ifndef OVERRIDE_TABLE_64_tkill
1202 TRACE_SYSCALL_TABLE(tkill, tkill, 200, 2)
1203 #endif
1204 #ifndef OVERRIDE_TABLE_64_io_destroy
1205 TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 207, 1)
1206 #endif
1207 #ifndef OVERRIDE_TABLE_64_epoll_create
1208 TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 213, 1)
1209 #endif
1210 #ifndef OVERRIDE_TABLE_64_remap_file_pages
1211 TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 216, 5)
1212 #endif
1213 #ifndef OVERRIDE_TABLE_64_fadvise64
1214 TRACE_SYSCALL_TABLE(fadvise64, fadvise64, 221, 4)
1215 #endif
1216 #ifndef OVERRIDE_TABLE_64_timer_getoverrun
1217 TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 225, 1)
1218 #endif
1219 #ifndef OVERRIDE_TABLE_64_timer_delete
1220 TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 226, 1)
1221 #endif
1222 #ifndef OVERRIDE_TABLE_64_exit_group
1223 TRACE_SYSCALL_TABLE(exit_group, exit_group, 231, 1)
1224 #endif
1225 #ifndef OVERRIDE_TABLE_64_tgkill
1226 TRACE_SYSCALL_TABLE(tgkill, tgkill, 234, 3)
1227 #endif
1228 #ifndef OVERRIDE_TABLE_64_keyctl
1229 TRACE_SYSCALL_TABLE(keyctl, keyctl, 250, 5)
1230 #endif
1231 #ifndef OVERRIDE_TABLE_64_ioprio_set
1232 TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 251, 3)
1233 #endif
1234 #ifndef OVERRIDE_TABLE_64_ioprio_get
1235 TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 252, 2)
1236 #endif
1237 #ifndef OVERRIDE_TABLE_64_inotify_rm_watch
1238 TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 255, 2)
1239 #endif
1240 #ifndef OVERRIDE_TABLE_64_unshare
1241 TRACE_SYSCALL_TABLE(unshare, unshare, 272, 1)
1242 #endif
1243 #ifndef OVERRIDE_TABLE_64_tee
1244 TRACE_SYSCALL_TABLE(tee, tee, 276, 4)
1245 #endif
1246 #ifndef OVERRIDE_TABLE_64_sync_file_range
1247 TRACE_SYSCALL_TABLE(sync_file_range, sync_file_range, 277, 4)
1248 #endif
1249 #ifndef OVERRIDE_TABLE_64_timerfd_create
1250 TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 283, 2)
1251 #endif
1252 #ifndef OVERRIDE_TABLE_64_eventfd
1253 TRACE_SYSCALL_TABLE(eventfd, eventfd, 284, 1)
1254 #endif
1255 #ifndef OVERRIDE_TABLE_64_fallocate
1256 TRACE_SYSCALL_TABLE(fallocate, fallocate, 285, 4)
1257 #endif
1258 #ifndef OVERRIDE_TABLE_64_eventfd2
1259 TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 290, 2)
1260 #endif
1261 #ifndef OVERRIDE_TABLE_64_epoll_create1
1262 TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 291, 1)
1263 #endif
1264 #ifndef OVERRIDE_TABLE_64_dup3
1265 TRACE_SYSCALL_TABLE(dup3, dup3, 292, 3)
1266 #endif
1267 #ifndef OVERRIDE_TABLE_64_inotify_init1
1268 TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 294, 1)
1269 #endif
1270 #ifndef OVERRIDE_TABLE_64_fanotify_init
1271 TRACE_SYSCALL_TABLE(fanotify_init, fanotify_init, 300, 2)
1272 #endif
1273 #ifndef OVERRIDE_TABLE_64_syncfs
1274 TRACE_SYSCALL_TABLE(syncfs, syncfs, 306, 1)
1275 #endif
1276 #ifndef OVERRIDE_TABLE_64_setns
1277 TRACE_SYSCALL_TABLE(setns, setns, 308, 2)
1278 #endif
1279 #ifndef OVERRIDE_TABLE_64_kcmp
1280 TRACE_SYSCALL_TABLE(kcmp, kcmp, 312, 5)
1281 #endif
1282 #ifndef OVERRIDE_TABLE_64_userfaultfd
1283 TRACE_SYSCALL_TABLE(userfaultfd, userfaultfd, 323, 1)
1284 #endif
1285 #ifndef OVERRIDE_TABLE_64_membarrier
1286 TRACE_SYSCALL_TABLE(membarrier, membarrier, 324, 3)
1287 #endif
1288 #ifndef OVERRIDE_TABLE_64_mlock2
1289 TRACE_SYSCALL_TABLE(mlock2, mlock2, 325, 3)
1290 #endif
1291 #ifndef OVERRIDE_TABLE_64_pkey_mprotect
1292 TRACE_SYSCALL_TABLE(pkey_mprotect, pkey_mprotect, 329, 4)
1293 #endif
1294 #ifndef OVERRIDE_TABLE_64_pkey_alloc
1295 TRACE_SYSCALL_TABLE(pkey_alloc, pkey_alloc, 330, 2)
1296 #endif
1297 #ifndef OVERRIDE_TABLE_64_pkey_free
1298 TRACE_SYSCALL_TABLE(pkey_free, pkey_free, 331, 1)
1299 #endif
1300 #ifndef OVERRIDE_TABLE_64_fsmount
1301 TRACE_SYSCALL_TABLE(fsmount, fsmount, 432, 3)
1302 #endif
1303 #ifndef OVERRIDE_TABLE_64_pidfd_open
1304 TRACE_SYSCALL_TABLE(pidfd_open, pidfd_open, 434, 2)
1305 #endif
1306 #ifndef OVERRIDE_TABLE_64_close_range
1307 TRACE_SYSCALL_TABLE(close_range, close_range, 436, 3)
1308 #endif
1309 #ifndef OVERRIDE_TABLE_64_pidfd_getfd
1310 TRACE_SYSCALL_TABLE(pidfd_getfd, pidfd_getfd, 438, 3)
1311 #endif
1312 #ifndef OVERRIDE_TABLE_64_memfd_secret
1313 TRACE_SYSCALL_TABLE(memfd_secret, memfd_secret, 447, 1)
1314 #endif
1315 #ifndef OVERRIDE_TABLE_64_process_mrelease
1316 TRACE_SYSCALL_TABLE(process_mrelease, process_mrelease, 448, 2)
1317 #endif
1318 #ifndef OVERRIDE_TABLE_64_set_mempolicy_home_node
1319 TRACE_SYSCALL_TABLE(set_mempolicy_home_node, set_mempolicy_home_node, 450, 4)
1320 #endif
1321
1322 #endif /* CREATE_SYSCALL_TABLE */
This page took 0.109254 seconds and 3 git commands to generate.