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