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