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