Commit | Line | Data |
---|---|---|
61baff6e MJ |
1 | // SPDX-FileCopyrightText: 2013 Paul Woegerer <paul_woegerer@mentor.com> |
2 | // | |
3 | // SPDX-License-Identifier: GPL-2.0-only OR LGPL-2.1-only | |
6314c2d3 | 4 | |
b11394d2 | 5 | /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ |
6314c2d3 MJ |
6 | |
7 | /* Generated from powerpc-32-syscalls 3.0.34 */ | |
8 | ||
b11394d2 PW |
9 | #ifndef CREATE_SYSCALL_TABLE |
10 | ||
11 | #if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) | |
12 | #define _TRACE_SYSCALLS_INTEGERS_H | |
13 | ||
3b4aafcb | 14 | #include <lttng/tracepoint-event.h> |
b11394d2 | 15 | #include <linux/syscalls.h> |
6314c2d3 | 16 | #include "powerpc-32-syscalls_integers_override.h" |
b11394d2 PW |
17 | #include "syscalls_integers_override.h" |
18 | ||
f1e7d826 | 19 | #ifdef SC_ENTER |
cb3ef14c | 20 | SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, |
e0976e2b | 21 | TP_FIELDS() |
b11394d2 | 22 | ) |
f1e7d826 MD |
23 | #ifndef OVERRIDE_32_restart_syscall |
24 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall) | |
b11394d2 | 25 | #endif |
f1e7d826 MD |
26 | #ifndef OVERRIDE_32_getpid |
27 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid) | |
b11394d2 | 28 | #endif |
f1e7d826 MD |
29 | #ifndef OVERRIDE_32_getuid |
30 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid) | |
b11394d2 | 31 | #endif |
f1e7d826 MD |
32 | #ifndef OVERRIDE_32_pause |
33 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause) | |
b11394d2 | 34 | #endif |
f1e7d826 MD |
35 | #ifndef OVERRIDE_32_sync |
36 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync) | |
b11394d2 | 37 | #endif |
f1e7d826 MD |
38 | #ifndef OVERRIDE_32_getgid |
39 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid) | |
b11394d2 | 40 | #endif |
f1e7d826 MD |
41 | #ifndef OVERRIDE_32_geteuid |
42 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid) | |
b11394d2 | 43 | #endif |
f1e7d826 MD |
44 | #ifndef OVERRIDE_32_getegid |
45 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid) | |
b11394d2 | 46 | #endif |
f1e7d826 MD |
47 | #ifndef OVERRIDE_32_getppid |
48 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid) | |
b11394d2 | 49 | #endif |
f1e7d826 MD |
50 | #ifndef OVERRIDE_32_getpgrp |
51 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp) | |
b11394d2 | 52 | #endif |
f1e7d826 MD |
53 | #ifndef OVERRIDE_32_setsid |
54 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid) | |
b11394d2 | 55 | #endif |
f1e7d826 MD |
56 | #ifndef OVERRIDE_32_sgetmask |
57 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sgetmask) | |
b11394d2 | 58 | #endif |
f1e7d826 MD |
59 | #ifndef OVERRIDE_32_vhangup |
60 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup) | |
b11394d2 | 61 | #endif |
f1e7d826 MD |
62 | #ifndef OVERRIDE_32_munlockall |
63 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall) | |
b11394d2 | 64 | #endif |
f1e7d826 MD |
65 | #ifndef OVERRIDE_32_sched_yield |
66 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield) | |
b11394d2 | 67 | #endif |
f1e7d826 MD |
68 | #ifndef OVERRIDE_32_gettid |
69 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid) | |
b11394d2 | 70 | #endif |
f1e7d826 MD |
71 | #ifndef OVERRIDE_32_inotify_init |
72 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init) | |
b11394d2 | 73 | #endif |
f1e7d826 MD |
74 | #else /* #ifdef SC_ENTER */ |
75 | #ifndef OVERRIDE_32_restart_syscall | |
76 | SC_LTTNG_TRACEPOINT_EVENT(restart_syscall, | |
77 | TP_PROTO(sc_exit(long ret)), | |
78 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 79 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
f1e7d826 MD |
80 | ) |
81 | #endif | |
82 | #ifndef OVERRIDE_32_getpid | |
83 | SC_LTTNG_TRACEPOINT_EVENT(getpid, | |
84 | TP_PROTO(sc_exit(long ret)), | |
85 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 86 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
f1e7d826 MD |
87 | ) |
88 | #endif | |
89 | #ifndef OVERRIDE_32_getuid | |
90 | SC_LTTNG_TRACEPOINT_EVENT(getuid, | |
91 | TP_PROTO(sc_exit(long ret)), | |
92 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 93 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
f1e7d826 MD |
94 | ) |
95 | #endif | |
96 | #ifndef OVERRIDE_32_pause | |
97 | SC_LTTNG_TRACEPOINT_EVENT(pause, | |
98 | TP_PROTO(sc_exit(long ret)), | |
99 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 100 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
f1e7d826 MD |
101 | ) |
102 | #endif | |
103 | #ifndef OVERRIDE_32_sync | |
104 | SC_LTTNG_TRACEPOINT_EVENT(sync, | |
105 | TP_PROTO(sc_exit(long ret)), | |
106 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 107 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
f1e7d826 MD |
108 | ) |
109 | #endif | |
110 | #ifndef OVERRIDE_32_getgid | |
111 | SC_LTTNG_TRACEPOINT_EVENT(getgid, | |
112 | TP_PROTO(sc_exit(long ret)), | |
113 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 114 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
f1e7d826 MD |
115 | ) |
116 | #endif | |
117 | #ifndef OVERRIDE_32_geteuid | |
118 | SC_LTTNG_TRACEPOINT_EVENT(geteuid, | |
119 | TP_PROTO(sc_exit(long ret)), | |
120 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 121 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
f1e7d826 MD |
122 | ) |
123 | #endif | |
124 | #ifndef OVERRIDE_32_getegid | |
125 | SC_LTTNG_TRACEPOINT_EVENT(getegid, | |
126 | TP_PROTO(sc_exit(long ret)), | |
127 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 128 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
f1e7d826 MD |
129 | ) |
130 | #endif | |
131 | #ifndef OVERRIDE_32_getppid | |
132 | SC_LTTNG_TRACEPOINT_EVENT(getppid, | |
133 | TP_PROTO(sc_exit(long ret)), | |
134 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 135 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
f1e7d826 MD |
136 | ) |
137 | #endif | |
138 | #ifndef OVERRIDE_32_getpgrp | |
139 | SC_LTTNG_TRACEPOINT_EVENT(getpgrp, | |
140 | TP_PROTO(sc_exit(long ret)), | |
141 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 142 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
f1e7d826 MD |
143 | ) |
144 | #endif | |
145 | #ifndef OVERRIDE_32_setsid | |
146 | SC_LTTNG_TRACEPOINT_EVENT(setsid, | |
147 | TP_PROTO(sc_exit(long ret)), | |
148 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 149 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
f1e7d826 MD |
150 | ) |
151 | #endif | |
152 | #ifndef OVERRIDE_32_sgetmask | |
153 | SC_LTTNG_TRACEPOINT_EVENT(sgetmask, | |
154 | TP_PROTO(sc_exit(long ret)), | |
155 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 156 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
f1e7d826 MD |
157 | ) |
158 | #endif | |
159 | #ifndef OVERRIDE_32_vhangup | |
160 | SC_LTTNG_TRACEPOINT_EVENT(vhangup, | |
161 | TP_PROTO(sc_exit(long ret)), | |
162 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 163 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
f1e7d826 MD |
164 | ) |
165 | #endif | |
166 | #ifndef OVERRIDE_32_munlockall | |
167 | SC_LTTNG_TRACEPOINT_EVENT(munlockall, | |
168 | TP_PROTO(sc_exit(long ret)), | |
169 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 170 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
f1e7d826 MD |
171 | ) |
172 | #endif | |
173 | #ifndef OVERRIDE_32_sched_yield | |
174 | SC_LTTNG_TRACEPOINT_EVENT(sched_yield, | |
175 | TP_PROTO(sc_exit(long ret)), | |
176 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 177 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
f1e7d826 MD |
178 | ) |
179 | #endif | |
180 | #ifndef OVERRIDE_32_gettid | |
181 | SC_LTTNG_TRACEPOINT_EVENT(gettid, | |
182 | TP_PROTO(sc_exit(long ret)), | |
183 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 184 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
f1e7d826 MD |
185 | ) |
186 | #endif | |
187 | #ifndef OVERRIDE_32_inotify_init | |
188 | SC_LTTNG_TRACEPOINT_EVENT(inotify_init, | |
189 | TP_PROTO(sc_exit(long ret)), | |
190 | TP_ARGS(sc_exit(ret)), | |
e0976e2b | 191 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
f1e7d826 MD |
192 | ) |
193 | #endif | |
194 | #endif /* else #ifdef SC_ENTER */ | |
195 | #ifndef OVERRIDE_32_exit | |
196 | SC_LTTNG_TRACEPOINT_EVENT(exit, | |
197 | TP_PROTO(sc_exit(long ret,) int error_code), | |
198 | TP_ARGS(sc_exit(ret,) error_code), | |
e0976e2b | 199 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) |
b11394d2 | 200 | ) |
6314c2d3 | 201 | #endif |
f1e7d826 MD |
202 | #ifndef OVERRIDE_32_close |
203 | SC_LTTNG_TRACEPOINT_EVENT(close, | |
204 | TP_PROTO(sc_exit(long ret,) unsigned int fd), | |
205 | TP_ARGS(sc_exit(ret,) fd), | |
e0976e2b | 206 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) |
b11394d2 | 207 | ) |
6314c2d3 | 208 | #endif |
f1e7d826 MD |
209 | #ifndef OVERRIDE_32_setuid |
210 | SC_LTTNG_TRACEPOINT_EVENT(setuid, | |
211 | TP_PROTO(sc_exit(long ret,) uid_t uid), | |
212 | TP_ARGS(sc_exit(ret,) uid), | |
e0976e2b | 213 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) |
b11394d2 | 214 | ) |
6314c2d3 | 215 | #endif |
f1e7d826 MD |
216 | #ifndef OVERRIDE_32_alarm |
217 | SC_LTTNG_TRACEPOINT_EVENT(alarm, | |
218 | TP_PROTO(sc_exit(long ret,) unsigned int seconds), | |
219 | TP_ARGS(sc_exit(ret,) seconds), | |
e0976e2b | 220 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, seconds, seconds))) |
b11394d2 | 221 | ) |
6314c2d3 | 222 | #endif |
f1e7d826 MD |
223 | #ifndef OVERRIDE_32_nice |
224 | SC_LTTNG_TRACEPOINT_EVENT(nice, | |
225 | TP_PROTO(sc_exit(long ret,) int increment), | |
226 | TP_ARGS(sc_exit(ret,) increment), | |
e0976e2b | 227 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, increment, increment))) |
b11394d2 PW |
228 | ) |
229 | #endif | |
f1e7d826 MD |
230 | #ifndef OVERRIDE_32_dup |
231 | SC_LTTNG_TRACEPOINT_EVENT(dup, | |
232 | TP_PROTO(sc_exit(long ret,) unsigned int fildes), | |
233 | TP_ARGS(sc_exit(ret,) fildes), | |
e0976e2b | 234 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fildes, fildes))) |
b11394d2 PW |
235 | ) |
236 | #endif | |
f1e7d826 MD |
237 | #ifndef OVERRIDE_32_brk |
238 | SC_LTTNG_TRACEPOINT_EVENT(brk, | |
239 | TP_PROTO(sc_exit(long ret,) unsigned long brk), | |
240 | TP_ARGS(sc_exit(ret,) brk), | |
e0976e2b | 241 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, brk, brk))) |
b11394d2 PW |
242 | ) |
243 | #endif | |
f1e7d826 MD |
244 | #ifndef OVERRIDE_32_setgid |
245 | SC_LTTNG_TRACEPOINT_EVENT(setgid, | |
246 | TP_PROTO(sc_exit(long ret,) gid_t gid), | |
247 | TP_ARGS(sc_exit(ret,) gid), | |
e0976e2b | 248 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) |
b11394d2 PW |
249 | ) |
250 | #endif | |
f1e7d826 MD |
251 | #ifndef OVERRIDE_32_umask |
252 | SC_LTTNG_TRACEPOINT_EVENT(umask, | |
253 | TP_PROTO(sc_exit(long ret,) int mask), | |
254 | TP_ARGS(sc_exit(ret,) mask), | |
e0976e2b | 255 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mask, mask))) |
b11394d2 PW |
256 | ) |
257 | #endif | |
f1e7d826 MD |
258 | #ifndef OVERRIDE_32_ssetmask |
259 | SC_LTTNG_TRACEPOINT_EVENT(ssetmask, | |
260 | TP_PROTO(sc_exit(long ret,) int newmask), | |
261 | TP_ARGS(sc_exit(ret,) newmask), | |
e0976e2b | 262 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, newmask, newmask))) |
b11394d2 PW |
263 | ) |
264 | #endif | |
f1e7d826 MD |
265 | #ifndef OVERRIDE_32_fsync |
266 | SC_LTTNG_TRACEPOINT_EVENT(fsync, | |
267 | TP_PROTO(sc_exit(long ret,) unsigned int fd), | |
268 | TP_ARGS(sc_exit(ret,) fd), | |
e0976e2b | 269 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) |
b11394d2 PW |
270 | ) |
271 | #endif | |
f1e7d826 MD |
272 | #ifndef OVERRIDE_32_getpgid |
273 | SC_LTTNG_TRACEPOINT_EVENT(getpgid, | |
274 | TP_PROTO(sc_exit(long ret,) pid_t pid), | |
275 | TP_ARGS(sc_exit(ret,) pid), | |
e0976e2b | 276 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) |
b11394d2 PW |
277 | ) |
278 | #endif | |
f1e7d826 MD |
279 | #ifndef OVERRIDE_32_fchdir |
280 | SC_LTTNG_TRACEPOINT_EVENT(fchdir, | |
281 | TP_PROTO(sc_exit(long ret,) unsigned int fd), | |
282 | TP_ARGS(sc_exit(ret,) fd), | |
e0976e2b | 283 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) |
b11394d2 PW |
284 | ) |
285 | #endif | |
f1e7d826 MD |
286 | #ifndef OVERRIDE_32_personality |
287 | SC_LTTNG_TRACEPOINT_EVENT(personality, | |
288 | TP_PROTO(sc_exit(long ret,) unsigned int personality), | |
289 | TP_ARGS(sc_exit(ret,) personality), | |
e0976e2b | 290 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, personality, personality))) |
b11394d2 PW |
291 | ) |
292 | #endif | |
f1e7d826 MD |
293 | #ifndef OVERRIDE_32_setfsuid |
294 | SC_LTTNG_TRACEPOINT_EVENT(setfsuid, | |
295 | TP_PROTO(sc_exit(long ret,) uid_t uid), | |
296 | TP_ARGS(sc_exit(ret,) uid), | |
e0976e2b | 297 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) |
b11394d2 PW |
298 | ) |
299 | #endif | |
f1e7d826 MD |
300 | #ifndef OVERRIDE_32_setfsgid |
301 | SC_LTTNG_TRACEPOINT_EVENT(setfsgid, | |
302 | TP_PROTO(sc_exit(long ret,) gid_t gid), | |
303 | TP_ARGS(sc_exit(ret,) gid), | |
e0976e2b | 304 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) |
b11394d2 PW |
305 | ) |
306 | #endif | |
f1e7d826 MD |
307 | #ifndef OVERRIDE_32_getsid |
308 | SC_LTTNG_TRACEPOINT_EVENT(getsid, | |
309 | TP_PROTO(sc_exit(long ret,) pid_t pid), | |
310 | TP_ARGS(sc_exit(ret,) pid), | |
e0976e2b | 311 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) |
b11394d2 PW |
312 | ) |
313 | #endif | |
f1e7d826 MD |
314 | #ifndef OVERRIDE_32_fdatasync |
315 | SC_LTTNG_TRACEPOINT_EVENT(fdatasync, | |
316 | TP_PROTO(sc_exit(long ret,) unsigned int fd), | |
317 | TP_ARGS(sc_exit(ret,) fd), | |
e0976e2b | 318 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) |
b11394d2 PW |
319 | ) |
320 | #endif | |
f1e7d826 MD |
321 | #ifndef OVERRIDE_32_mlockall |
322 | SC_LTTNG_TRACEPOINT_EVENT(mlockall, | |
323 | TP_PROTO(sc_exit(long ret,) int flags), | |
324 | TP_ARGS(sc_exit(ret,) flags), | |
e0976e2b | 325 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) |
b11394d2 PW |
326 | ) |
327 | #endif | |
f1e7d826 MD |
328 | #ifndef OVERRIDE_32_sched_getscheduler |
329 | SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler, | |
330 | TP_PROTO(sc_exit(long ret,) pid_t pid), | |
331 | TP_ARGS(sc_exit(ret,) pid), | |
e0976e2b | 332 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) |
b11394d2 PW |
333 | ) |
334 | #endif | |
f1e7d826 MD |
335 | #ifndef OVERRIDE_32_sched_get_priority_max |
336 | SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max, | |
337 | TP_PROTO(sc_exit(long ret,) int policy), | |
338 | TP_ARGS(sc_exit(ret,) policy), | |
e0976e2b | 339 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) |
b11394d2 PW |
340 | ) |
341 | #endif | |
f1e7d826 MD |
342 | #ifndef OVERRIDE_32_sched_get_priority_min |
343 | SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min, | |
344 | TP_PROTO(sc_exit(long ret,) int policy), | |
345 | TP_ARGS(sc_exit(ret,) policy), | |
e0976e2b | 346 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) |
b11394d2 PW |
347 | ) |
348 | #endif | |
f1e7d826 MD |
349 | #ifndef OVERRIDE_32_io_destroy |
350 | SC_LTTNG_TRACEPOINT_EVENT(io_destroy, | |
351 | TP_PROTO(sc_exit(long ret,) aio_context_t ctx), | |
352 | TP_ARGS(sc_exit(ret,) ctx), | |
e0976e2b | 353 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx, ctx))) |
b11394d2 PW |
354 | ) |
355 | #endif | |
f1e7d826 MD |
356 | #ifndef OVERRIDE_32_exit_group |
357 | SC_LTTNG_TRACEPOINT_EVENT(exit_group, | |
358 | TP_PROTO(sc_exit(long ret,) int error_code), | |
359 | TP_ARGS(sc_exit(ret,) error_code), | |
e0976e2b | 360 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) |
b11394d2 PW |
361 | ) |
362 | #endif | |
f1e7d826 MD |
363 | #ifndef OVERRIDE_32_epoll_create |
364 | SC_LTTNG_TRACEPOINT_EVENT(epoll_create, | |
365 | TP_PROTO(sc_exit(long ret,) int size), | |
366 | TP_ARGS(sc_exit(ret,) size), | |
e0976e2b | 367 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, size, size))) |
b11394d2 PW |
368 | ) |
369 | #endif | |
f1e7d826 MD |
370 | #ifndef OVERRIDE_32_timer_getoverrun |
371 | SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun, | |
372 | TP_PROTO(sc_exit(long ret,) timer_t timer_id), | |
373 | TP_ARGS(sc_exit(ret,) timer_id), | |
e0976e2b | 374 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) |
b11394d2 PW |
375 | ) |
376 | #endif | |
f1e7d826 MD |
377 | #ifndef OVERRIDE_32_timer_delete |
378 | SC_LTTNG_TRACEPOINT_EVENT(timer_delete, | |
379 | TP_PROTO(sc_exit(long ret,) timer_t timer_id), | |
380 | TP_ARGS(sc_exit(ret,) timer_id), | |
e0976e2b | 381 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) |
b11394d2 PW |
382 | ) |
383 | #endif | |
f1e7d826 MD |
384 | #ifndef OVERRIDE_32_unshare |
385 | SC_LTTNG_TRACEPOINT_EVENT(unshare, | |
386 | TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags), | |
387 | TP_ARGS(sc_exit(ret,) unshare_flags), | |
e0976e2b | 388 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, unshare_flags, unshare_flags))) |
b11394d2 PW |
389 | ) |
390 | #endif | |
f1e7d826 MD |
391 | #ifndef OVERRIDE_32_eventfd |
392 | SC_LTTNG_TRACEPOINT_EVENT(eventfd, | |
393 | TP_PROTO(sc_exit(long ret,) unsigned int count), | |
394 | TP_ARGS(sc_exit(ret,) count), | |
e0976e2b | 395 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count))) |
b11394d2 PW |
396 | ) |
397 | #endif | |
f1e7d826 MD |
398 | #ifndef OVERRIDE_32_epoll_create1 |
399 | SC_LTTNG_TRACEPOINT_EVENT(epoll_create1, | |
400 | TP_PROTO(sc_exit(long ret,) int flags), | |
401 | TP_ARGS(sc_exit(ret,) flags), | |
e0976e2b | 402 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) |
b11394d2 PW |
403 | ) |
404 | #endif | |
f1e7d826 MD |
405 | #ifndef OVERRIDE_32_inotify_init1 |
406 | SC_LTTNG_TRACEPOINT_EVENT(inotify_init1, | |
407 | TP_PROTO(sc_exit(long ret,) int flags), | |
408 | TP_ARGS(sc_exit(ret,) flags), | |
e0976e2b | 409 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) |
b11394d2 PW |
410 | ) |
411 | #endif | |
f1e7d826 MD |
412 | #ifndef OVERRIDE_32_syncfs |
413 | SC_LTTNG_TRACEPOINT_EVENT(syncfs, | |
414 | TP_PROTO(sc_exit(long ret,) int fd), | |
415 | TP_ARGS(sc_exit(ret,) fd), | |
e0976e2b | 416 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd))) |
b11394d2 PW |
417 | ) |
418 | #endif | |
f1e7d826 MD |
419 | #ifndef OVERRIDE_32_kill |
420 | SC_LTTNG_TRACEPOINT_EVENT(kill, | |
421 | TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), | |
422 | TP_ARGS(sc_exit(ret,) pid, sig), | |
e0976e2b | 423 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) |
b11394d2 PW |
424 | ) |
425 | #endif | |
f1e7d826 MD |
426 | #ifndef OVERRIDE_32_signal |
427 | SC_LTTNG_TRACEPOINT_EVENT(signal, | |
428 | TP_PROTO(sc_exit(long ret,) int sig, __sighandler_t handler), | |
429 | TP_ARGS(sc_exit(ret,) sig, handler), | |
e0976e2b | 430 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, sig, sig)) sc_inout(ctf_integer(__sighandler_t, handler, handler))) |
b11394d2 PW |
431 | ) |
432 | #endif | |
f1e7d826 MD |
433 | #ifndef OVERRIDE_32_setpgid |
434 | SC_LTTNG_TRACEPOINT_EVENT(setpgid, | |
435 | TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid), | |
436 | TP_ARGS(sc_exit(ret,) pid, pgid), | |
e0976e2b | 437 | 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))) |
b11394d2 PW |
438 | ) |
439 | #endif | |
f1e7d826 MD |
440 | #ifndef OVERRIDE_32_dup2 |
441 | SC_LTTNG_TRACEPOINT_EVENT(dup2, | |
442 | TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd), | |
443 | TP_ARGS(sc_exit(ret,) oldfd, newfd), | |
e0976e2b | 444 | 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))) |
b11394d2 PW |
445 | ) |
446 | #endif | |
f1e7d826 MD |
447 | #ifndef OVERRIDE_32_setreuid |
448 | SC_LTTNG_TRACEPOINT_EVENT(setreuid, | |
449 | TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid), | |
450 | TP_ARGS(sc_exit(ret,) ruid, euid), | |
e0976e2b | 451 | 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))) |
b11394d2 PW |
452 | ) |
453 | #endif | |
f1e7d826 MD |
454 | #ifndef OVERRIDE_32_setregid |
455 | SC_LTTNG_TRACEPOINT_EVENT(setregid, | |
456 | TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid), | |
457 | TP_ARGS(sc_exit(ret,) rgid, egid), | |
e0976e2b | 458 | 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))) |
b11394d2 PW |
459 | ) |
460 | #endif | |
f1e7d826 MD |
461 | #ifndef OVERRIDE_32_munmap |
462 | SC_LTTNG_TRACEPOINT_EVENT(munmap, | |
463 | TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len), | |
464 | TP_ARGS(sc_exit(ret,) addr, len), | |
e0976e2b | 465 | 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))) |
b11394d2 PW |
466 | ) |
467 | #endif | |
f1e7d826 MD |
468 | #ifndef OVERRIDE_32_ftruncate |
469 | SC_LTTNG_TRACEPOINT_EVENT(ftruncate, | |
470 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length), | |
471 | TP_ARGS(sc_exit(ret,) fd, length), | |
e0976e2b | 472 | 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))) |
b11394d2 PW |
473 | ) |
474 | #endif | |
f1e7d826 MD |
475 | #ifndef OVERRIDE_32_fchmod |
476 | SC_LTTNG_TRACEPOINT_EVENT(fchmod, | |
477 | TP_PROTO(sc_exit(long ret,) unsigned int fd, mode_t mode), | |
478 | TP_ARGS(sc_exit(ret,) fd, mode), | |
e0976e2b | 479 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(mode_t, mode, mode))) |
b11394d2 PW |
480 | ) |
481 | #endif | |
f1e7d826 MD |
482 | #ifndef OVERRIDE_32_getpriority |
483 | SC_LTTNG_TRACEPOINT_EVENT(getpriority, | |
484 | TP_PROTO(sc_exit(long ret,) int which, int who), | |
485 | TP_ARGS(sc_exit(ret,) which, who), | |
e0976e2b | 486 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) |
b11394d2 PW |
487 | ) |
488 | #endif | |
f1e7d826 MD |
489 | #ifndef OVERRIDE_32_bdflush |
490 | SC_LTTNG_TRACEPOINT_EVENT(bdflush, | |
491 | TP_PROTO(sc_exit(long ret,) int func, long data), | |
492 | TP_ARGS(sc_exit(ret,) func, data), | |
e0976e2b | 493 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, func, func)) sc_inout(ctf_integer(long, data, data))) |
b11394d2 PW |
494 | ) |
495 | #endif | |
f1e7d826 MD |
496 | #ifndef OVERRIDE_32_flock |
497 | SC_LTTNG_TRACEPOINT_EVENT(flock, | |
498 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd), | |
499 | TP_ARGS(sc_exit(ret,) fd, cmd), | |
e0976e2b | 500 | 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))) |
b11394d2 PW |
501 | ) |
502 | #endif | |
f1e7d826 MD |
503 | #ifndef OVERRIDE_32_mlock |
504 | SC_LTTNG_TRACEPOINT_EVENT(mlock, | |
505 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), | |
506 | TP_ARGS(sc_exit(ret,) start, len), | |
e0976e2b | 507 | 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))) |
b11394d2 PW |
508 | ) |
509 | #endif | |
f1e7d826 MD |
510 | #ifndef OVERRIDE_32_munlock |
511 | SC_LTTNG_TRACEPOINT_EVENT(munlock, | |
512 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), | |
513 | TP_ARGS(sc_exit(ret,) start, len), | |
e0976e2b | 514 | 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))) |
b11394d2 PW |
515 | ) |
516 | #endif | |
f1e7d826 MD |
517 | #ifndef OVERRIDE_32_tkill |
518 | SC_LTTNG_TRACEPOINT_EVENT(tkill, | |
519 | TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), | |
520 | TP_ARGS(sc_exit(ret,) pid, sig), | |
e0976e2b | 521 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) |
b11394d2 PW |
522 | ) |
523 | #endif | |
f1e7d826 MD |
524 | #ifndef OVERRIDE_32_ioprio_get |
525 | SC_LTTNG_TRACEPOINT_EVENT(ioprio_get, | |
526 | TP_PROTO(sc_exit(long ret,) int which, int who), | |
527 | TP_ARGS(sc_exit(ret,) which, who), | |
e0976e2b | 528 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) |
b11394d2 PW |
529 | ) |
530 | #endif | |
f1e7d826 MD |
531 | #ifndef OVERRIDE_32_inotify_rm_watch |
532 | SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch, | |
533 | TP_PROTO(sc_exit(long ret,) int fd, __s32 wd), | |
534 | TP_ARGS(sc_exit(ret,) fd, wd), | |
e0976e2b | 535 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(__s32, wd, wd))) |
b11394d2 PW |
536 | ) |
537 | #endif | |
f1e7d826 MD |
538 | #ifndef OVERRIDE_32_timerfd_create |
539 | SC_LTTNG_TRACEPOINT_EVENT(timerfd_create, | |
540 | TP_PROTO(sc_exit(long ret,) int clockid, int flags), | |
541 | TP_ARGS(sc_exit(ret,) clockid, flags), | |
e0976e2b | 542 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, clockid, clockid)) sc_in(ctf_integer(int, flags, flags))) |
b11394d2 PW |
543 | ) |
544 | #endif | |
f1e7d826 MD |
545 | #ifndef OVERRIDE_32_eventfd2 |
546 | SC_LTTNG_TRACEPOINT_EVENT(eventfd2, | |
547 | TP_PROTO(sc_exit(long ret,) unsigned int count, int flags), | |
548 | TP_ARGS(sc_exit(ret,) count, flags), | |
e0976e2b | 549 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count)) sc_in(ctf_integer(int, flags, flags))) |
b11394d2 PW |
550 | ) |
551 | #endif | |
f1e7d826 MD |
552 | #ifndef OVERRIDE_32_listen |
553 | SC_LTTNG_TRACEPOINT_EVENT(listen, | |
554 | TP_PROTO(sc_exit(long ret,) int fd, int backlog), | |
555 | TP_ARGS(sc_exit(ret,) fd, backlog), | |
e0976e2b | 556 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, backlog, backlog))) |
b11394d2 PW |
557 | ) |
558 | #endif | |
f1e7d826 MD |
559 | #ifndef OVERRIDE_32_shutdown |
560 | SC_LTTNG_TRACEPOINT_EVENT(shutdown, | |
561 | TP_PROTO(sc_exit(long ret,) int fd, int how), | |
562 | TP_ARGS(sc_exit(ret,) fd, how), | |
e0976e2b | 563 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, how, how))) |
b11394d2 PW |
564 | ) |
565 | #endif | |
f1e7d826 MD |
566 | #ifndef OVERRIDE_32_setns |
567 | SC_LTTNG_TRACEPOINT_EVENT(setns, | |
568 | TP_PROTO(sc_exit(long ret,) int fd, int nstype), | |
569 | TP_ARGS(sc_exit(ret,) fd, nstype), | |
e0976e2b | 570 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, nstype, nstype))) |
b11394d2 PW |
571 | ) |
572 | #endif | |
f1e7d826 MD |
573 | #ifndef OVERRIDE_32_lseek |
574 | SC_LTTNG_TRACEPOINT_EVENT(lseek, | |
575 | TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int origin), | |
576 | TP_ARGS(sc_exit(ret,) fd, offset, origin), | |
e0976e2b | 577 | 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))) |
b11394d2 | 578 | ) |
6314c2d3 | 579 | #endif |
f1e7d826 MD |
580 | #ifndef OVERRIDE_32_ioctl |
581 | SC_LTTNG_TRACEPOINT_EVENT(ioctl, | |
582 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), | |
583 | TP_ARGS(sc_exit(ret,) fd, cmd, arg), | |
e0976e2b | 584 | 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))) |
b11394d2 PW |
585 | ) |
586 | #endif | |
f1e7d826 MD |
587 | #ifndef OVERRIDE_32_fcntl |
588 | SC_LTTNG_TRACEPOINT_EVENT(fcntl, | |
589 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), | |
590 | TP_ARGS(sc_exit(ret,) fd, cmd, arg), | |
e0976e2b | 591 | 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))) |
b11394d2 PW |
592 | ) |
593 | #endif | |
f1e7d826 MD |
594 | #ifndef OVERRIDE_32_fchown |
595 | SC_LTTNG_TRACEPOINT_EVENT(fchown, | |
596 | TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group), | |
597 | TP_ARGS(sc_exit(ret,) fd, user, group), | |
e0976e2b | 598 | 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))) |
b11394d2 PW |
599 | ) |
600 | #endif | |
f1e7d826 MD |
601 | #ifndef OVERRIDE_32_setpriority |
602 | SC_LTTNG_TRACEPOINT_EVENT(setpriority, | |
603 | TP_PROTO(sc_exit(long ret,) int which, int who, int niceval), | |
604 | TP_ARGS(sc_exit(ret,) which, who, niceval), | |
e0976e2b | 605 | 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))) |
b11394d2 PW |
606 | ) |
607 | #endif | |
f1e7d826 MD |
608 | #ifndef OVERRIDE_32_mprotect |
609 | SC_LTTNG_TRACEPOINT_EVENT(mprotect, | |
610 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot), | |
611 | TP_ARGS(sc_exit(ret,) start, len, prot), | |
e0976e2b | 612 | 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))) |
b11394d2 PW |
613 | ) |
614 | #endif | |
f1e7d826 MD |
615 | #ifndef OVERRIDE_32_sysfs |
616 | SC_LTTNG_TRACEPOINT_EVENT(sysfs, | |
617 | TP_PROTO(sc_exit(long ret,) int option, unsigned long arg1, unsigned long arg2), | |
618 | TP_ARGS(sc_exit(ret,) option, arg1, arg2), | |
e0976e2b | 619 | 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))) |
b11394d2 PW |
620 | ) |
621 | #endif | |
f1e7d826 MD |
622 | #ifndef OVERRIDE_32_msync |
623 | SC_LTTNG_TRACEPOINT_EVENT(msync, | |
624 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), | |
625 | TP_ARGS(sc_exit(ret,) start, len, flags), | |
e0976e2b | 626 | 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))) |
b11394d2 PW |
627 | ) |
628 | #endif | |
f1e7d826 MD |
629 | #ifndef OVERRIDE_32_setresuid |
630 | SC_LTTNG_TRACEPOINT_EVENT(setresuid, | |
631 | TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid), | |
632 | TP_ARGS(sc_exit(ret,) ruid, euid, suid), | |
e0976e2b | 633 | 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))) |
b11394d2 PW |
634 | ) |
635 | #endif | |
f1e7d826 MD |
636 | #ifndef OVERRIDE_32_setresgid |
637 | SC_LTTNG_TRACEPOINT_EVENT(setresgid, | |
638 | TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid), | |
639 | TP_ARGS(sc_exit(ret,) rgid, egid, sgid), | |
e0976e2b | 640 | 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))) |
b11394d2 PW |
641 | ) |
642 | #endif | |
f1e7d826 MD |
643 | #ifndef OVERRIDE_32_fcntl64 |
644 | SC_LTTNG_TRACEPOINT_EVENT(fcntl64, | |
645 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), | |
646 | TP_ARGS(sc_exit(ret,) fd, cmd, arg), | |
e0976e2b | 647 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) |
b11394d2 PW |
648 | ) |
649 | #endif | |
f1e7d826 MD |
650 | #ifndef OVERRIDE_32_madvise |
651 | SC_LTTNG_TRACEPOINT_EVENT(madvise, | |
652 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior), | |
653 | TP_ARGS(sc_exit(ret,) start, len_in, behavior), | |
e0976e2b | 654 | 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))) |
b11394d2 PW |
655 | ) |
656 | #endif | |
f1e7d826 MD |
657 | #ifndef OVERRIDE_32_tgkill |
658 | SC_LTTNG_TRACEPOINT_EVENT(tgkill, | |
659 | TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig), | |
660 | TP_ARGS(sc_exit(ret,) tgid, pid, sig), | |
e0976e2b | 661 | 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))) |
b11394d2 PW |
662 | ) |
663 | #endif | |
f1e7d826 MD |
664 | #ifndef OVERRIDE_32_ioprio_set |
665 | SC_LTTNG_TRACEPOINT_EVENT(ioprio_set, | |
666 | TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio), | |
667 | TP_ARGS(sc_exit(ret,) which, who, ioprio), | |
e0976e2b | 668 | 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))) |
b11394d2 PW |
669 | ) |
670 | #endif | |
f1e7d826 MD |
671 | #ifndef OVERRIDE_32_dup3 |
672 | SC_LTTNG_TRACEPOINT_EVENT(dup3, | |
673 | TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags), | |
674 | TP_ARGS(sc_exit(ret,) oldfd, newfd, flags), | |
e0976e2b | 675 | 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))) |
b11394d2 PW |
676 | ) |
677 | #endif | |
f1e7d826 MD |
678 | #ifndef OVERRIDE_32_socket |
679 | SC_LTTNG_TRACEPOINT_EVENT(socket, | |
680 | TP_PROTO(sc_exit(long ret,) int family, int type, int protocol), | |
681 | TP_ARGS(sc_exit(ret,) family, type, protocol), | |
e0976e2b | 682 | 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))) |
b11394d2 PW |
683 | ) |
684 | #endif | |
f1e7d826 MD |
685 | #ifndef OVERRIDE_32_ptrace |
686 | SC_LTTNG_TRACEPOINT_EVENT(ptrace, | |
687 | TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data), | |
688 | TP_ARGS(sc_exit(ret,) request, pid, addr, data), | |
e0976e2b | 689 | 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))) |
b11394d2 | 690 | ) |
6314c2d3 | 691 | #endif |
f1e7d826 MD |
692 | #ifndef OVERRIDE_32_tee |
693 | SC_LTTNG_TRACEPOINT_EVENT(tee, | |
694 | TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), | |
695 | TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags), | |
e0976e2b | 696 | 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))) |
b11394d2 PW |
697 | ) |
698 | #endif | |
f1e7d826 MD |
699 | #ifndef OVERRIDE_32_mremap |
700 | SC_LTTNG_TRACEPOINT_EVENT(mremap, | |
701 | TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), | |
702 | TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr), | |
e0976e2b | 703 | 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))) |
b11394d2 PW |
704 | ) |
705 | #endif | |
f1e7d826 MD |
706 | #ifndef OVERRIDE_32_prctl |
707 | SC_LTTNG_TRACEPOINT_EVENT(prctl, | |
708 | TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), | |
709 | TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), | |
e0976e2b | 710 | 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))) |
b11394d2 PW |
711 | ) |
712 | #endif | |
f1e7d826 MD |
713 | #ifndef OVERRIDE_32_remap_file_pages |
714 | SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, | |
715 | TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), | |
716 | TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags), | |
e0976e2b | 717 | 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))) |
b11394d2 PW |
718 | ) |
719 | #endif | |
f1e7d826 MD |
720 | #ifndef OVERRIDE_32_keyctl |
721 | SC_LTTNG_TRACEPOINT_EVENT(keyctl, | |
722 | TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), | |
723 | TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), | |
e0976e2b | 724 | 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))) |
b11394d2 PW |
725 | ) |
726 | #endif | |
727 | ||
728 | #endif /* _TRACE_SYSCALLS_INTEGERS_H */ | |
729 | ||
730 | /* This part must be outside protection */ | |
3b4aafcb | 731 | #include <lttng/define_trace.h> |
b11394d2 PW |
732 | |
733 | #else /* CREATE_SYSCALL_TABLE */ | |
734 | ||
6314c2d3 | 735 | #include "powerpc-32-syscalls_integers_override.h" |
b11394d2 PW |
736 | #include "syscalls_integers_override.h" |
737 | ||
f1e7d826 MD |
738 | #ifdef SC_ENTER |
739 | #ifndef OVERRIDE_TABLE_32_restart_syscall | |
740 | TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 0, 0) | |
741 | #endif | |
742 | #ifndef OVERRIDE_TABLE_32_getpid | |
743 | TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 20, 0) | |
744 | #endif | |
745 | #ifndef OVERRIDE_TABLE_32_getuid | |
746 | TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 24, 0) | |
747 | #endif | |
748 | #ifndef OVERRIDE_TABLE_32_pause | |
749 | TRACE_SYSCALL_TABLE(syscalls_noargs, pause, 29, 0) | |
750 | #endif | |
751 | #ifndef OVERRIDE_TABLE_32_sync | |
752 | TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 36, 0) | |
753 | #endif | |
754 | #ifndef OVERRIDE_TABLE_32_getgid | |
755 | TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 47, 0) | |
756 | #endif | |
757 | #ifndef OVERRIDE_TABLE_32_geteuid | |
758 | TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 49, 0) | |
759 | #endif | |
760 | #ifndef OVERRIDE_TABLE_32_getegid | |
761 | TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 50, 0) | |
762 | #endif | |
763 | #ifndef OVERRIDE_TABLE_32_getppid | |
764 | TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 64, 0) | |
765 | #endif | |
766 | #ifndef OVERRIDE_TABLE_32_getpgrp | |
767 | TRACE_SYSCALL_TABLE(syscalls_noargs, getpgrp, 65, 0) | |
768 | #endif | |
769 | #ifndef OVERRIDE_TABLE_32_setsid | |
770 | TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 66, 0) | |
771 | #endif | |
772 | #ifndef OVERRIDE_TABLE_32_sgetmask | |
773 | TRACE_SYSCALL_TABLE(syscalls_noargs, sgetmask, 68, 0) | |
774 | #endif | |
775 | #ifndef OVERRIDE_TABLE_32_vhangup | |
776 | TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 111, 0) | |
777 | #endif | |
778 | #ifndef OVERRIDE_TABLE_32_munlockall | |
779 | TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 153, 0) | |
780 | #endif | |
781 | #ifndef OVERRIDE_TABLE_32_sched_yield | |
782 | TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 158, 0) | |
783 | #endif | |
784 | #ifndef OVERRIDE_TABLE_32_gettid | |
785 | TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 207, 0) | |
786 | #endif | |
787 | #ifndef OVERRIDE_TABLE_32_inotify_init | |
788 | TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 275, 0) | |
789 | #endif | |
790 | #else /* #ifdef SC_ENTER */ | |
791 | #ifndef OVERRIDE_TABLE_32_restart_syscall | |
792 | TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 0, 0) | |
b11394d2 | 793 | #endif |
f1e7d826 MD |
794 | #ifndef OVERRIDE_TABLE_32_getpid |
795 | TRACE_SYSCALL_TABLE(getpid, getpid, 20, 0) | |
b11394d2 | 796 | #endif |
f1e7d826 MD |
797 | #ifndef OVERRIDE_TABLE_32_getuid |
798 | TRACE_SYSCALL_TABLE(getuid, getuid, 24, 0) | |
b11394d2 | 799 | #endif |
f1e7d826 MD |
800 | #ifndef OVERRIDE_TABLE_32_pause |
801 | TRACE_SYSCALL_TABLE(pause, pause, 29, 0) | |
b11394d2 | 802 | #endif |
f1e7d826 MD |
803 | #ifndef OVERRIDE_TABLE_32_sync |
804 | TRACE_SYSCALL_TABLE(sync, sync, 36, 0) | |
b11394d2 | 805 | #endif |
f1e7d826 MD |
806 | #ifndef OVERRIDE_TABLE_32_getgid |
807 | TRACE_SYSCALL_TABLE(getgid, getgid, 47, 0) | |
b11394d2 | 808 | #endif |
f1e7d826 MD |
809 | #ifndef OVERRIDE_TABLE_32_geteuid |
810 | TRACE_SYSCALL_TABLE(geteuid, geteuid, 49, 0) | |
b11394d2 | 811 | #endif |
f1e7d826 MD |
812 | #ifndef OVERRIDE_TABLE_32_getegid |
813 | TRACE_SYSCALL_TABLE(getegid, getegid, 50, 0) | |
b11394d2 | 814 | #endif |
f1e7d826 MD |
815 | #ifndef OVERRIDE_TABLE_32_getppid |
816 | TRACE_SYSCALL_TABLE(getppid, getppid, 64, 0) | |
b11394d2 | 817 | #endif |
f1e7d826 MD |
818 | #ifndef OVERRIDE_TABLE_32_getpgrp |
819 | TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 65, 0) | |
b11394d2 | 820 | #endif |
f1e7d826 MD |
821 | #ifndef OVERRIDE_TABLE_32_setsid |
822 | TRACE_SYSCALL_TABLE(setsid, setsid, 66, 0) | |
b11394d2 | 823 | #endif |
f1e7d826 MD |
824 | #ifndef OVERRIDE_TABLE_32_sgetmask |
825 | TRACE_SYSCALL_TABLE(sgetmask, sgetmask, 68, 0) | |
b11394d2 | 826 | #endif |
f1e7d826 MD |
827 | #ifndef OVERRIDE_TABLE_32_vhangup |
828 | TRACE_SYSCALL_TABLE(vhangup, vhangup, 111, 0) | |
b11394d2 | 829 | #endif |
f1e7d826 MD |
830 | #ifndef OVERRIDE_TABLE_32_munlockall |
831 | TRACE_SYSCALL_TABLE(munlockall, munlockall, 153, 0) | |
b11394d2 | 832 | #endif |
f1e7d826 MD |
833 | #ifndef OVERRIDE_TABLE_32_sched_yield |
834 | TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 158, 0) | |
b11394d2 | 835 | #endif |
f1e7d826 MD |
836 | #ifndef OVERRIDE_TABLE_32_gettid |
837 | TRACE_SYSCALL_TABLE(gettid, gettid, 207, 0) | |
b11394d2 | 838 | #endif |
f1e7d826 MD |
839 | #ifndef OVERRIDE_TABLE_32_inotify_init |
840 | TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 275, 0) | |
b11394d2 | 841 | #endif |
f1e7d826 MD |
842 | #endif /* else #ifdef SC_ENTER */ |
843 | #ifndef OVERRIDE_TABLE_32_exit | |
844 | TRACE_SYSCALL_TABLE(exit, exit, 1, 1) | |
b11394d2 | 845 | #endif |
f1e7d826 MD |
846 | #ifndef OVERRIDE_TABLE_32_close |
847 | TRACE_SYSCALL_TABLE(close, close, 6, 1) | |
b11394d2 | 848 | #endif |
f1e7d826 MD |
849 | #ifndef OVERRIDE_TABLE_32_lseek |
850 | TRACE_SYSCALL_TABLE(lseek, lseek, 19, 3) | |
b11394d2 | 851 | #endif |
f1e7d826 MD |
852 | #ifndef OVERRIDE_TABLE_32_setuid |
853 | TRACE_SYSCALL_TABLE(setuid, setuid, 23, 1) | |
b11394d2 | 854 | #endif |
f1e7d826 MD |
855 | #ifndef OVERRIDE_TABLE_32_ptrace |
856 | TRACE_SYSCALL_TABLE(ptrace, ptrace, 26, 4) | |
b11394d2 | 857 | #endif |
f1e7d826 MD |
858 | #ifndef OVERRIDE_TABLE_32_alarm |
859 | TRACE_SYSCALL_TABLE(alarm, alarm, 27, 1) | |
b11394d2 | 860 | #endif |
f1e7d826 MD |
861 | #ifndef OVERRIDE_TABLE_32_nice |
862 | TRACE_SYSCALL_TABLE(nice, nice, 34, 1) | |
b11394d2 | 863 | #endif |
f1e7d826 MD |
864 | #ifndef OVERRIDE_TABLE_32_kill |
865 | TRACE_SYSCALL_TABLE(kill, kill, 37, 2) | |
b11394d2 | 866 | #endif |
f1e7d826 MD |
867 | #ifndef OVERRIDE_TABLE_32_dup |
868 | TRACE_SYSCALL_TABLE(dup, dup, 41, 1) | |
b11394d2 | 869 | #endif |
f1e7d826 MD |
870 | #ifndef OVERRIDE_TABLE_32_brk |
871 | TRACE_SYSCALL_TABLE(brk, brk, 45, 1) | |
b11394d2 | 872 | #endif |
f1e7d826 MD |
873 | #ifndef OVERRIDE_TABLE_32_setgid |
874 | TRACE_SYSCALL_TABLE(setgid, setgid, 46, 1) | |
b11394d2 | 875 | #endif |
f1e7d826 MD |
876 | #ifndef OVERRIDE_TABLE_32_signal |
877 | TRACE_SYSCALL_TABLE(signal, signal, 48, 2) | |
b11394d2 | 878 | #endif |
f1e7d826 MD |
879 | #ifndef OVERRIDE_TABLE_32_ioctl |
880 | TRACE_SYSCALL_TABLE(ioctl, ioctl, 54, 3) | |
b11394d2 | 881 | #endif |
f1e7d826 MD |
882 | #ifndef OVERRIDE_TABLE_32_fcntl |
883 | TRACE_SYSCALL_TABLE(fcntl, fcntl, 55, 3) | |
b11394d2 | 884 | #endif |
f1e7d826 MD |
885 | #ifndef OVERRIDE_TABLE_32_setpgid |
886 | TRACE_SYSCALL_TABLE(setpgid, setpgid, 57, 2) | |
b11394d2 | 887 | #endif |
f1e7d826 MD |
888 | #ifndef OVERRIDE_TABLE_32_umask |
889 | TRACE_SYSCALL_TABLE(umask, umask, 60, 1) | |
b11394d2 | 890 | #endif |
f1e7d826 MD |
891 | #ifndef OVERRIDE_TABLE_32_dup2 |
892 | TRACE_SYSCALL_TABLE(dup2, dup2, 63, 2) | |
b11394d2 | 893 | #endif |
f1e7d826 MD |
894 | #ifndef OVERRIDE_TABLE_32_ssetmask |
895 | TRACE_SYSCALL_TABLE(ssetmask, ssetmask, 69, 1) | |
b11394d2 | 896 | #endif |
f1e7d826 MD |
897 | #ifndef OVERRIDE_TABLE_32_setreuid |
898 | TRACE_SYSCALL_TABLE(setreuid, setreuid, 70, 2) | |
b11394d2 | 899 | #endif |
f1e7d826 MD |
900 | #ifndef OVERRIDE_TABLE_32_setregid |
901 | TRACE_SYSCALL_TABLE(setregid, setregid, 71, 2) | |
b11394d2 | 902 | #endif |
f1e7d826 MD |
903 | #ifndef OVERRIDE_TABLE_32_munmap |
904 | TRACE_SYSCALL_TABLE(munmap, munmap, 91, 2) | |
b11394d2 | 905 | #endif |
f1e7d826 MD |
906 | #ifndef OVERRIDE_TABLE_32_ftruncate |
907 | TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 93, 2) | |
b11394d2 | 908 | #endif |
f1e7d826 MD |
909 | #ifndef OVERRIDE_TABLE_32_fchmod |
910 | TRACE_SYSCALL_TABLE(fchmod, fchmod, 94, 2) | |
b11394d2 | 911 | #endif |
f1e7d826 MD |
912 | #ifndef OVERRIDE_TABLE_32_fchown |
913 | TRACE_SYSCALL_TABLE(fchown, fchown, 95, 3) | |
b11394d2 | 914 | #endif |
f1e7d826 MD |
915 | #ifndef OVERRIDE_TABLE_32_getpriority |
916 | TRACE_SYSCALL_TABLE(getpriority, getpriority, 96, 2) | |
b11394d2 | 917 | #endif |
f1e7d826 MD |
918 | #ifndef OVERRIDE_TABLE_32_setpriority |
919 | TRACE_SYSCALL_TABLE(setpriority, setpriority, 97, 3) | |
b11394d2 | 920 | #endif |
f1e7d826 MD |
921 | #ifndef OVERRIDE_TABLE_32_fsync |
922 | TRACE_SYSCALL_TABLE(fsync, fsync, 118, 1) | |
b11394d2 | 923 | #endif |
f1e7d826 MD |
924 | #ifndef OVERRIDE_TABLE_32_mprotect |
925 | TRACE_SYSCALL_TABLE(mprotect, mprotect, 125, 3) | |
b11394d2 | 926 | #endif |
f1e7d826 MD |
927 | #ifndef OVERRIDE_TABLE_32_getpgid |
928 | TRACE_SYSCALL_TABLE(getpgid, getpgid, 132, 1) | |
b11394d2 | 929 | #endif |
f1e7d826 MD |
930 | #ifndef OVERRIDE_TABLE_32_fchdir |
931 | TRACE_SYSCALL_TABLE(fchdir, fchdir, 133, 1) | |
b11394d2 | 932 | #endif |
f1e7d826 MD |
933 | #ifndef OVERRIDE_TABLE_32_bdflush |
934 | TRACE_SYSCALL_TABLE(bdflush, bdflush, 134, 2) | |
b11394d2 | 935 | #endif |
f1e7d826 MD |
936 | #ifndef OVERRIDE_TABLE_32_sysfs |
937 | TRACE_SYSCALL_TABLE(sysfs, sysfs, 135, 3) | |
b11394d2 | 938 | #endif |
f1e7d826 MD |
939 | #ifndef OVERRIDE_TABLE_32_personality |
940 | TRACE_SYSCALL_TABLE(personality, personality, 136, 1) | |
b11394d2 | 941 | #endif |
f1e7d826 MD |
942 | #ifndef OVERRIDE_TABLE_32_setfsuid |
943 | TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 138, 1) | |
b11394d2 | 944 | #endif |
f1e7d826 MD |
945 | #ifndef OVERRIDE_TABLE_32_setfsgid |
946 | TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 139, 1) | |
b11394d2 | 947 | #endif |
f1e7d826 MD |
948 | #ifndef OVERRIDE_TABLE_32_flock |
949 | TRACE_SYSCALL_TABLE(flock, flock, 143, 2) | |
b11394d2 | 950 | #endif |
f1e7d826 MD |
951 | #ifndef OVERRIDE_TABLE_32_msync |
952 | TRACE_SYSCALL_TABLE(msync, msync, 144, 3) | |
b11394d2 | 953 | #endif |
f1e7d826 MD |
954 | #ifndef OVERRIDE_TABLE_32_getsid |
955 | TRACE_SYSCALL_TABLE(getsid, getsid, 147, 1) | |
b11394d2 | 956 | #endif |
f1e7d826 MD |
957 | #ifndef OVERRIDE_TABLE_32_fdatasync |
958 | TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 148, 1) | |
b11394d2 | 959 | #endif |
f1e7d826 MD |
960 | #ifndef OVERRIDE_TABLE_32_mlock |
961 | TRACE_SYSCALL_TABLE(mlock, mlock, 150, 2) | |
b11394d2 | 962 | #endif |
f1e7d826 MD |
963 | #ifndef OVERRIDE_TABLE_32_munlock |
964 | TRACE_SYSCALL_TABLE(munlock, munlock, 151, 2) | |
b11394d2 | 965 | #endif |
f1e7d826 MD |
966 | #ifndef OVERRIDE_TABLE_32_mlockall |
967 | TRACE_SYSCALL_TABLE(mlockall, mlockall, 152, 1) | |
b11394d2 | 968 | #endif |
f1e7d826 MD |
969 | #ifndef OVERRIDE_TABLE_32_sched_getscheduler |
970 | TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 157, 1) | |
b11394d2 | 971 | #endif |
f1e7d826 MD |
972 | #ifndef OVERRIDE_TABLE_32_sched_get_priority_max |
973 | TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 159, 1) | |
b11394d2 | 974 | #endif |
f1e7d826 MD |
975 | #ifndef OVERRIDE_TABLE_32_sched_get_priority_min |
976 | TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 160, 1) | |
b11394d2 | 977 | #endif |
f1e7d826 MD |
978 | #ifndef OVERRIDE_TABLE_32_mremap |
979 | TRACE_SYSCALL_TABLE(mremap, mremap, 163, 5) | |
b11394d2 | 980 | #endif |
f1e7d826 MD |
981 | #ifndef OVERRIDE_TABLE_32_setresuid |
982 | TRACE_SYSCALL_TABLE(setresuid, setresuid, 164, 3) | |
b11394d2 | 983 | #endif |
f1e7d826 MD |
984 | #ifndef OVERRIDE_TABLE_32_setresgid |
985 | TRACE_SYSCALL_TABLE(setresgid, setresgid, 169, 3) | |
b11394d2 | 986 | #endif |
f1e7d826 MD |
987 | #ifndef OVERRIDE_TABLE_32_prctl |
988 | TRACE_SYSCALL_TABLE(prctl, prctl, 171, 5) | |
b11394d2 | 989 | #endif |
f1e7d826 MD |
990 | #ifndef OVERRIDE_TABLE_32_fcntl64 |
991 | TRACE_SYSCALL_TABLE(fcntl64, fcntl64, 204, 3) | |
b11394d2 | 992 | #endif |
f1e7d826 MD |
993 | #ifndef OVERRIDE_TABLE_32_madvise |
994 | TRACE_SYSCALL_TABLE(madvise, madvise, 205, 3) | |
b11394d2 | 995 | #endif |
f1e7d826 MD |
996 | #ifndef OVERRIDE_TABLE_32_tkill |
997 | TRACE_SYSCALL_TABLE(tkill, tkill, 208, 2) | |
b11394d2 | 998 | #endif |
f1e7d826 MD |
999 | #ifndef OVERRIDE_TABLE_32_io_destroy |
1000 | TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 228, 1) | |
b11394d2 | 1001 | #endif |
f1e7d826 MD |
1002 | #ifndef OVERRIDE_TABLE_32_exit_group |
1003 | TRACE_SYSCALL_TABLE(exit_group, exit_group, 234, 1) | |
b11394d2 | 1004 | #endif |
f1e7d826 MD |
1005 | #ifndef OVERRIDE_TABLE_32_epoll_create |
1006 | TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 236, 1) | |
b11394d2 | 1007 | #endif |
f1e7d826 MD |
1008 | #ifndef OVERRIDE_TABLE_32_remap_file_pages |
1009 | TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 239, 5) | |
b11394d2 | 1010 | #endif |
f1e7d826 MD |
1011 | #ifndef OVERRIDE_TABLE_32_timer_getoverrun |
1012 | TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 243, 1) | |
b11394d2 | 1013 | #endif |
f1e7d826 MD |
1014 | #ifndef OVERRIDE_TABLE_32_timer_delete |
1015 | TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 244, 1) | |
b11394d2 | 1016 | #endif |
f1e7d826 MD |
1017 | #ifndef OVERRIDE_TABLE_32_tgkill |
1018 | TRACE_SYSCALL_TABLE(tgkill, tgkill, 250, 3) | |
b11394d2 | 1019 | #endif |
f1e7d826 MD |
1020 | #ifndef OVERRIDE_TABLE_32_keyctl |
1021 | TRACE_SYSCALL_TABLE(keyctl, keyctl, 271, 5) | |
b11394d2 | 1022 | #endif |
f1e7d826 MD |
1023 | #ifndef OVERRIDE_TABLE_32_ioprio_set |
1024 | TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 273, 3) | |
b11394d2 | 1025 | #endif |
f1e7d826 MD |
1026 | #ifndef OVERRIDE_TABLE_32_ioprio_get |
1027 | TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 274, 2) | |
b11394d2 | 1028 | #endif |
f1e7d826 MD |
1029 | #ifndef OVERRIDE_TABLE_32_inotify_rm_watch |
1030 | TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 277, 2) | |
b11394d2 | 1031 | #endif |
f1e7d826 MD |
1032 | #ifndef OVERRIDE_TABLE_32_unshare |
1033 | TRACE_SYSCALL_TABLE(unshare, unshare, 282, 1) | |
b11394d2 | 1034 | #endif |
f1e7d826 MD |
1035 | #ifndef OVERRIDE_TABLE_32_tee |
1036 | TRACE_SYSCALL_TABLE(tee, tee, 284, 4) | |
b11394d2 | 1037 | #endif |
f1e7d826 MD |
1038 | #ifndef OVERRIDE_TABLE_32_timerfd_create |
1039 | TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 306, 2) | |
b11394d2 | 1040 | #endif |
f1e7d826 MD |
1041 | #ifndef OVERRIDE_TABLE_32_eventfd |
1042 | TRACE_SYSCALL_TABLE(eventfd, eventfd, 307, 1) | |
b11394d2 | 1043 | #endif |
f1e7d826 MD |
1044 | #ifndef OVERRIDE_TABLE_32_eventfd2 |
1045 | TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 314, 2) | |
b11394d2 | 1046 | #endif |
f1e7d826 MD |
1047 | #ifndef OVERRIDE_TABLE_32_epoll_create1 |
1048 | TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 315, 1) | |
b11394d2 | 1049 | #endif |
f1e7d826 MD |
1050 | #ifndef OVERRIDE_TABLE_32_dup3 |
1051 | TRACE_SYSCALL_TABLE(dup3, dup3, 316, 3) | |
b11394d2 | 1052 | #endif |
f1e7d826 MD |
1053 | #ifndef OVERRIDE_TABLE_32_inotify_init1 |
1054 | TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 318, 1) | |
b11394d2 | 1055 | #endif |
f1e7d826 MD |
1056 | #ifndef OVERRIDE_TABLE_32_socket |
1057 | TRACE_SYSCALL_TABLE(socket, socket, 326, 3) | |
b11394d2 | 1058 | #endif |
f1e7d826 MD |
1059 | #ifndef OVERRIDE_TABLE_32_listen |
1060 | TRACE_SYSCALL_TABLE(listen, listen, 329, 2) | |
b11394d2 | 1061 | #endif |
f1e7d826 MD |
1062 | #ifndef OVERRIDE_TABLE_32_shutdown |
1063 | TRACE_SYSCALL_TABLE(shutdown, shutdown, 338, 2) | |
b11394d2 | 1064 | #endif |
f1e7d826 MD |
1065 | #ifndef OVERRIDE_TABLE_32_syncfs |
1066 | TRACE_SYSCALL_TABLE(syncfs, syncfs, 348, 1) | |
b11394d2 | 1067 | #endif |
f1e7d826 MD |
1068 | #ifndef OVERRIDE_TABLE_32_setns |
1069 | TRACE_SYSCALL_TABLE(setns, setns, 350, 2) | |
b11394d2 PW |
1070 | #endif |
1071 | ||
1072 | #endif /* CREATE_SYSCALL_TABLE */ |