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