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