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