Commit | Line | Data |
---|---|---|
b7cdc182 | 1 | /* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ |
6314c2d3 | 2 | |
f8ecaf94 | 3 | /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ |
6314c2d3 MJ |
4 | |
5 | /* Generated from arm-64-syscalls 4.4.0 */ | |
6 | ||
f8ecaf94 JW |
7 | #ifndef CREATE_SYSCALL_TABLE |
8 | ||
9 | #if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) | |
10 | #define _TRACE_SYSCALLS_POINTERS_H | |
11 | ||
3b4aafcb | 12 | #include <lttng/tracepoint-event.h> |
f8ecaf94 | 13 | #include <linux/syscalls.h> |
6314c2d3 | 14 | #include "arm-64-syscalls_pointers_override.h" |
f8ecaf94 JW |
15 | #include "syscalls_pointers_override.h" |
16 | ||
17 | #ifndef OVERRIDE_64_chdir | |
18 | SC_LTTNG_TRACEPOINT_EVENT(chdir, | |
19 | TP_PROTO(sc_exit(long ret,) const char * filename), | |
20 | TP_ARGS(sc_exit(ret,) filename), | |
21 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) | |
22 | ) | |
23 | #endif | |
24 | #ifndef OVERRIDE_64_chroot | |
25 | SC_LTTNG_TRACEPOINT_EVENT(chroot, | |
26 | TP_PROTO(sc_exit(long ret,) const char * filename), | |
27 | TP_ARGS(sc_exit(ret,) filename), | |
28 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) | |
29 | ) | |
30 | #endif | |
31 | #ifndef OVERRIDE_64_acct | |
32 | SC_LTTNG_TRACEPOINT_EVENT(acct, | |
33 | TP_PROTO(sc_exit(long ret,) const char * name), | |
34 | TP_ARGS(sc_exit(ret,) name), | |
35 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name))) | |
36 | ) | |
37 | #endif | |
38 | #ifndef OVERRIDE_64_set_tid_address | |
39 | SC_LTTNG_TRACEPOINT_EVENT(set_tid_address, | |
40 | TP_PROTO(sc_exit(long ret,) int * tidptr), | |
41 | TP_ARGS(sc_exit(ret,) tidptr), | |
42 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int *, tidptr, tidptr))) | |
43 | ) | |
44 | #endif | |
45 | #ifndef OVERRIDE_64_times | |
46 | SC_LTTNG_TRACEPOINT_EVENT(times, | |
47 | TP_PROTO(sc_exit(long ret,) struct tms * tbuf), | |
48 | TP_ARGS(sc_exit(ret,) tbuf), | |
49 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct tms *, tbuf, tbuf))) | |
50 | ) | |
51 | #endif | |
52 | #ifndef OVERRIDE_64_newuname | |
53 | SC_LTTNG_TRACEPOINT_EVENT(newuname, | |
54 | TP_PROTO(sc_exit(long ret,) struct new_utsname * name), | |
55 | TP_ARGS(sc_exit(ret,) name), | |
56 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct new_utsname *, name, name))) | |
57 | ) | |
58 | #endif | |
59 | #ifndef OVERRIDE_64_adjtimex | |
60 | SC_LTTNG_TRACEPOINT_EVENT(adjtimex, | |
61 | TP_PROTO(sc_exit(long ret,) struct timex * txc_p), | |
62 | TP_ARGS(sc_exit(ret,) txc_p), | |
63 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct timex *, txc_p, txc_p))) | |
64 | ) | |
65 | #endif | |
66 | #ifndef OVERRIDE_64_sysinfo | |
67 | SC_LTTNG_TRACEPOINT_EVENT(sysinfo, | |
68 | TP_PROTO(sc_exit(long ret,) struct sysinfo * info), | |
69 | TP_ARGS(sc_exit(ret,) info), | |
70 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct sysinfo *, info, info))) | |
71 | ) | |
72 | #endif | |
73 | #ifndef OVERRIDE_64_mq_unlink | |
74 | SC_LTTNG_TRACEPOINT_EVENT(mq_unlink, | |
75 | TP_PROTO(sc_exit(long ret,) const char * u_name), | |
76 | TP_ARGS(sc_exit(ret,) u_name), | |
77 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(u_name, u_name))) | |
78 | ) | |
79 | #endif | |
80 | #ifndef OVERRIDE_64_shmdt | |
81 | SC_LTTNG_TRACEPOINT_EVENT(shmdt, | |
82 | TP_PROTO(sc_exit(long ret,) char * shmaddr), | |
83 | TP_ARGS(sc_exit(ret,) shmaddr), | |
84 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(char *, shmaddr, shmaddr))) | |
85 | ) | |
86 | #endif | |
87 | #ifndef OVERRIDE_64_swapoff | |
88 | SC_LTTNG_TRACEPOINT_EVENT(swapoff, | |
89 | TP_PROTO(sc_exit(long ret,) const char * specialfile), | |
90 | TP_ARGS(sc_exit(ret,) specialfile), | |
91 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(specialfile, specialfile))) | |
92 | ) | |
93 | #endif | |
94 | #ifndef OVERRIDE_64_io_setup | |
95 | SC_LTTNG_TRACEPOINT_EVENT(io_setup, | |
96 | TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp), | |
97 | TP_ARGS(sc_exit(ret,) nr_events, ctxp), | |
98 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned, nr_events, nr_events)) sc_in(ctf_integer(aio_context_t *, ctxp, ctxp))) | |
99 | ) | |
100 | #endif | |
101 | #ifndef OVERRIDE_64_removexattr | |
102 | SC_LTTNG_TRACEPOINT_EVENT(removexattr, | |
103 | TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), | |
104 | TP_ARGS(sc_exit(ret,) pathname, name), | |
105 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) | |
106 | ) | |
107 | #endif | |
108 | #ifndef OVERRIDE_64_lremovexattr | |
109 | SC_LTTNG_TRACEPOINT_EVENT(lremovexattr, | |
110 | TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), | |
111 | TP_ARGS(sc_exit(ret,) pathname, name), | |
112 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) | |
113 | ) | |
114 | #endif | |
115 | #ifndef OVERRIDE_64_fremovexattr | |
116 | SC_LTTNG_TRACEPOINT_EVENT(fremovexattr, | |
117 | TP_PROTO(sc_exit(long ret,) int fd, const char * name), | |
118 | TP_ARGS(sc_exit(ret,) fd, name), | |
119 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name))) | |
120 | ) | |
121 | #endif | |
122 | #ifndef OVERRIDE_64_getcwd | |
123 | SC_LTTNG_TRACEPOINT_EVENT(getcwd, | |
124 | TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size), | |
125 | TP_ARGS(sc_exit(ret,) buf, size), | |
126 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(unsigned long, size, size))) | |
127 | ) | |
128 | #endif | |
129 | #ifndef OVERRIDE_64_umount | |
130 | SC_LTTNG_TRACEPOINT_EVENT(umount, | |
131 | TP_PROTO(sc_exit(long ret,) char * name, int flags), | |
132 | TP_ARGS(sc_exit(ret,) name, flags), | |
133 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, flags, flags))) | |
134 | ) | |
135 | #endif | |
136 | #ifndef OVERRIDE_64_pivot_root | |
137 | SC_LTTNG_TRACEPOINT_EVENT(pivot_root, | |
138 | TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old), | |
139 | TP_ARGS(sc_exit(ret,) new_root, put_old), | |
140 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(new_root, new_root)) sc_in(ctf_user_string(put_old, put_old))) | |
141 | ) | |
142 | #endif | |
143 | #ifndef OVERRIDE_64_statfs | |
144 | SC_LTTNG_TRACEPOINT_EVENT(statfs, | |
145 | TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf), | |
146 | TP_ARGS(sc_exit(ret,) pathname, buf), | |
147 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(struct statfs *, buf, buf))) | |
148 | ) | |
149 | #endif | |
150 | #ifndef OVERRIDE_64_fstatfs | |
151 | SC_LTTNG_TRACEPOINT_EVENT(fstatfs, | |
152 | TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf), | |
153 | TP_ARGS(sc_exit(ret,) fd, buf), | |
154 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(struct statfs *, buf, buf))) | |
155 | ) | |
156 | #endif | |
157 | #ifndef OVERRIDE_64_truncate | |
158 | SC_LTTNG_TRACEPOINT_EVENT(truncate, | |
159 | TP_PROTO(sc_exit(long ret,) const char * path, long length), | |
160 | TP_ARGS(sc_exit(ret,) path, length), | |
161 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(path, path)) sc_in(ctf_integer(long, length, length))) | |
162 | ) | |
163 | #endif | |
164 | #ifndef OVERRIDE_64_pipe2 | |
165 | SC_LTTNG_TRACEPOINT_EVENT(pipe2, | |
166 | TP_PROTO(sc_exit(long ret,) int * fildes, int flags), | |
167 | TP_ARGS(sc_exit(ret,) fildes, flags), | |
168 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes)) sc_in(ctf_integer(int, flags, flags))) | |
169 | ) | |
170 | #endif | |
171 | #ifndef OVERRIDE_64_newfstat | |
172 | SC_LTTNG_TRACEPOINT_EVENT(newfstat, | |
173 | TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf), | |
174 | TP_ARGS(sc_exit(ret,) fd, statbuf), | |
175 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) | |
176 | ) | |
177 | #endif | |
178 | #ifndef OVERRIDE_64_timerfd_gettime | |
179 | SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime, | |
180 | TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr), | |
181 | TP_ARGS(sc_exit(ret,) ufd, otmr), | |
182 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr))) | |
183 | ) | |
184 | #endif | |
185 | #ifndef OVERRIDE_64_set_robust_list | |
186 | SC_LTTNG_TRACEPOINT_EVENT(set_robust_list, | |
187 | TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len), | |
188 | TP_ARGS(sc_exit(ret,) head, len), | |
189 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(struct robust_list_head *, head, head)) sc_in(ctf_integer(size_t, len, len))) | |
190 | ) | |
191 | #endif | |
192 | #ifndef OVERRIDE_64_nanosleep | |
193 | SC_LTTNG_TRACEPOINT_EVENT(nanosleep, | |
194 | TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp), | |
195 | TP_ARGS(sc_exit(ret,) rqtp, rmtp), | |
196 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(struct timespec *, rqtp, rqtp)) sc_out(ctf_integer(struct timespec *, rmtp, rmtp))) | |
197 | ) | |
198 | #endif | |
199 | #ifndef OVERRIDE_64_getitimer | |
200 | SC_LTTNG_TRACEPOINT_EVENT(getitimer, | |
201 | TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value), | |
202 | TP_ARGS(sc_exit(ret,) which, value), | |
203 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_out(ctf_integer(struct itimerval *, value, value))) | |
204 | ) | |
205 | #endif | |
206 | #ifndef OVERRIDE_64_delete_module | |
207 | SC_LTTNG_TRACEPOINT_EVENT(delete_module, | |
208 | TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags), | |
209 | TP_ARGS(sc_exit(ret,) name_user, flags), | |
210 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name_user, name_user)) sc_in(ctf_integer(unsigned int, flags, flags))) | |
211 | ) | |
212 | #endif | |
213 | #ifndef OVERRIDE_64_timer_gettime | |
214 | SC_LTTNG_TRACEPOINT_EVENT(timer_gettime, | |
215 | TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting), | |
216 | TP_ARGS(sc_exit(ret,) timer_id, setting), | |
217 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id)) sc_out(ctf_integer(struct itimerspec *, setting, setting))) | |
218 | ) | |
219 | #endif | |
220 | #ifndef OVERRIDE_64_clock_settime | |
221 | SC_LTTNG_TRACEPOINT_EVENT(clock_settime, | |
222 | TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp), | |
223 | TP_ARGS(sc_exit(ret,) which_clock, tp), | |
224 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const clockid_t, which_clock, which_clock)) sc_in(ctf_integer(const struct timespec *, tp, tp))) | |
225 | ) | |
226 | #endif | |
227 | #ifndef OVERRIDE_64_clock_gettime | |
228 | SC_LTTNG_TRACEPOINT_EVENT(clock_gettime, | |
229 | TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), | |
230 | TP_ARGS(sc_exit(ret,) which_clock, tp), | |
231 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const clockid_t, which_clock, which_clock)) sc_out(ctf_integer(struct timespec *, tp, tp))) | |
232 | ) | |
233 | #endif | |
234 | #ifndef OVERRIDE_64_clock_getres | |
235 | SC_LTTNG_TRACEPOINT_EVENT(clock_getres, | |
236 | TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), | |
237 | TP_ARGS(sc_exit(ret,) which_clock, tp), | |
238 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const clockid_t, which_clock, which_clock)) sc_out(ctf_integer(struct timespec *, tp, tp))) | |
239 | ) | |
240 | #endif | |
241 | #ifndef OVERRIDE_64_sched_setparam | |
242 | SC_LTTNG_TRACEPOINT_EVENT(sched_setparam, | |
243 | TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), | |
244 | TP_ARGS(sc_exit(ret,) pid, param), | |
245 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(struct sched_param *, param, param))) | |
246 | ) | |
247 | #endif | |
248 | #ifndef OVERRIDE_64_sched_getparam | |
249 | SC_LTTNG_TRACEPOINT_EVENT(sched_getparam, | |
250 | TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), | |
251 | TP_ARGS(sc_exit(ret,) pid, param), | |
252 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_out(ctf_integer(struct sched_param *, param, param))) | |
253 | ) | |
254 | #endif | |
255 | #ifndef OVERRIDE_64_sched_rr_get_interval | |
256 | SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval, | |
257 | TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval), | |
258 | TP_ARGS(sc_exit(ret,) pid, interval), | |
259 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_out(ctf_integer(struct timespec *, interval, interval))) | |
260 | ) | |
261 | #endif | |
262 | #ifndef OVERRIDE_64_sigaltstack | |
263 | SC_LTTNG_TRACEPOINT_EVENT(sigaltstack, | |
264 | TP_PROTO(sc_exit(long ret,) const stack_t * uss, stack_t * uoss), | |
265 | TP_ARGS(sc_exit(ret,) uss, uoss), | |
266 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const stack_t *, uss, uss)) sc_inout(ctf_integer(stack_t *, uoss, uoss))) | |
267 | ) | |
268 | #endif | |
269 | #ifndef OVERRIDE_64_rt_sigsuspend | |
270 | SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend, | |
271 | TP_PROTO(sc_exit(long ret,) sigset_t * unewset, size_t sigsetsize), | |
272 | TP_ARGS(sc_exit(ret,) unewset, sigsetsize), | |
273 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(sigset_t *, unewset, unewset)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) | |
274 | ) | |
275 | #endif | |
276 | #ifndef OVERRIDE_64_rt_sigpending | |
277 | SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending, | |
278 | TP_PROTO(sc_exit(long ret,) sigset_t * uset, size_t sigsetsize), | |
279 | TP_ARGS(sc_exit(ret,) uset, sigsetsize), | |
280 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(sigset_t *, uset, uset)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) | |
281 | ) | |
282 | #endif | |
283 | #ifndef OVERRIDE_64_getgroups | |
284 | SC_LTTNG_TRACEPOINT_EVENT(getgroups, | |
285 | TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), | |
286 | TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), | |
287 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_out(ctf_integer(gid_t *, grouplist, grouplist))) | |
288 | ) | |
289 | #endif | |
290 | #ifndef OVERRIDE_64_setgroups | |
291 | SC_LTTNG_TRACEPOINT_EVENT(setgroups, | |
292 | TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), | |
293 | TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), | |
294 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_in(ctf_integer(gid_t *, grouplist, grouplist))) | |
295 | ) | |
296 | #endif | |
297 | #ifndef OVERRIDE_64_sethostname | |
298 | SC_LTTNG_TRACEPOINT_EVENT(sethostname, | |
299 | TP_PROTO(sc_exit(long ret,) char * name, int len), | |
300 | TP_ARGS(sc_exit(ret,) name, len), | |
301 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) | |
302 | ) | |
303 | #endif | |
304 | #ifndef OVERRIDE_64_setdomainname | |
305 | SC_LTTNG_TRACEPOINT_EVENT(setdomainname, | |
306 | TP_PROTO(sc_exit(long ret,) char * name, int len), | |
307 | TP_ARGS(sc_exit(ret,) name, len), | |
308 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) | |
309 | ) | |
310 | #endif | |
311 | #ifndef OVERRIDE_64_getrlimit | |
312 | SC_LTTNG_TRACEPOINT_EVENT(getrlimit, | |
313 | TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), | |
314 | TP_ARGS(sc_exit(ret,) resource, rlim), | |
315 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, resource, resource)) sc_out(ctf_integer(struct rlimit *, rlim, rlim))) | |
316 | ) | |
317 | #endif | |
318 | #ifndef OVERRIDE_64_setrlimit | |
319 | SC_LTTNG_TRACEPOINT_EVENT(setrlimit, | |
320 | TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), | |
321 | TP_ARGS(sc_exit(ret,) resource, rlim), | |
322 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, resource, resource)) sc_in(ctf_integer(struct rlimit *, rlim, rlim))) | |
323 | ) | |
324 | #endif | |
325 | #ifndef OVERRIDE_64_getrusage | |
326 | SC_LTTNG_TRACEPOINT_EVENT(getrusage, | |
327 | TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru), | |
328 | TP_ARGS(sc_exit(ret,) who, ru), | |
329 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, who, who)) sc_out(ctf_integer(struct rusage *, ru, ru))) | |
330 | ) | |
331 | #endif | |
332 | #ifndef OVERRIDE_64_gettimeofday | |
333 | SC_LTTNG_TRACEPOINT_EVENT(gettimeofday, | |
334 | TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), | |
335 | TP_ARGS(sc_exit(ret,) tv, tz), | |
336 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct timeval *, tv, tv)) sc_out(ctf_integer(struct timezone *, tz, tz))) | |
337 | ) | |
338 | #endif | |
339 | #ifndef OVERRIDE_64_settimeofday | |
340 | SC_LTTNG_TRACEPOINT_EVENT(settimeofday, | |
341 | TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), | |
342 | TP_ARGS(sc_exit(ret,) tv, tz), | |
343 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(struct timeval *, tv, tv)) sc_in(ctf_integer(struct timezone *, tz, tz))) | |
344 | ) | |
345 | #endif | |
346 | #ifndef OVERRIDE_64_mq_notify | |
347 | SC_LTTNG_TRACEPOINT_EVENT(mq_notify, | |
348 | TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct sigevent * u_notification), | |
349 | TP_ARGS(sc_exit(ret,) mqdes, u_notification), | |
350 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(mqd_t, mqdes, mqdes)) sc_in(ctf_integer(const struct sigevent *, u_notification, u_notification))) | |
351 | ) | |
352 | #endif | |
353 | #ifndef OVERRIDE_64_swapon | |
354 | SC_LTTNG_TRACEPOINT_EVENT(swapon, | |
355 | TP_PROTO(sc_exit(long ret,) const char * specialfile, int swap_flags), | |
356 | TP_ARGS(sc_exit(ret,) specialfile, swap_flags), | |
357 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(specialfile, specialfile)) sc_in(ctf_integer(int, swap_flags, swap_flags))) | |
358 | ) | |
359 | #endif | |
360 | #ifndef OVERRIDE_64_clock_adjtime | |
361 | SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime, | |
362 | TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx), | |
363 | TP_ARGS(sc_exit(ret,) which_clock, utx), | |
364 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const clockid_t, which_clock, which_clock)) sc_inout(ctf_integer(struct timex *, utx, utx))) | |
365 | ) | |
366 | #endif | |
367 | #ifndef OVERRIDE_64_memfd_create | |
368 | SC_LTTNG_TRACEPOINT_EVENT(memfd_create, | |
369 | TP_PROTO(sc_exit(long ret,) const char * uname, unsigned int flags), | |
370 | TP_ARGS(sc_exit(ret,) uname, flags), | |
371 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(uname, uname)) sc_inout(ctf_integer(unsigned int, flags, flags))) | |
372 | ) | |
373 | #endif | |
374 | #ifndef OVERRIDE_64_io_submit | |
375 | SC_LTTNG_TRACEPOINT_EVENT(io_submit, | |
376 | TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp), | |
377 | TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp), | |
378 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx_id, ctx_id)) sc_in(ctf_integer(long, nr, nr)) sc_in(ctf_integer(struct iocb * *, iocbpp, iocbpp))) | |
379 | ) | |
380 | #endif | |
381 | #ifndef OVERRIDE_64_io_cancel | |
382 | SC_LTTNG_TRACEPOINT_EVENT(io_cancel, | |
383 | TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), | |
384 | TP_ARGS(sc_exit(ret,) ctx_id, iocb, result), | |
385 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx_id, ctx_id)) sc_in(ctf_integer(struct iocb *, iocb, iocb)) sc_out(ctf_integer(struct io_event *, result, result))) | |
386 | ) | |
387 | #endif | |
388 | #ifndef OVERRIDE_64_listxattr | |
389 | SC_LTTNG_TRACEPOINT_EVENT(listxattr, | |
390 | TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), | |
391 | TP_ARGS(sc_exit(ret,) pathname, list, size), | |
392 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(char *, list, list)) sc_in(ctf_integer(size_t, size, size))) | |
393 | ) | |
394 | #endif | |
395 | #ifndef OVERRIDE_64_llistxattr | |
396 | SC_LTTNG_TRACEPOINT_EVENT(llistxattr, | |
397 | TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), | |
398 | TP_ARGS(sc_exit(ret,) pathname, list, size), | |
399 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(char *, list, list)) sc_in(ctf_integer(size_t, size, size))) | |
400 | ) | |
401 | #endif | |
402 | #ifndef OVERRIDE_64_flistxattr | |
403 | SC_LTTNG_TRACEPOINT_EVENT(flistxattr, | |
404 | TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size), | |
405 | TP_ARGS(sc_exit(ret,) fd, list, size), | |
406 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(char *, list, list)) sc_in(ctf_integer(size_t, size, size))) | |
407 | ) | |
408 | #endif | |
409 | #ifndef OVERRIDE_64_lookup_dcookie | |
410 | SC_LTTNG_TRACEPOINT_EVENT(lookup_dcookie, | |
411 | TP_PROTO(sc_exit(long ret,) u64 cookie64, char * buf, size_t len), | |
412 | TP_ARGS(sc_exit(ret,) cookie64, buf, len), | |
413 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(u64, cookie64, cookie64)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(size_t, len, len))) | |
414 | ) | |
415 | #endif | |
416 | #ifndef OVERRIDE_64_inotify_add_watch | |
417 | SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch, | |
418 | TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask), | |
419 | TP_ARGS(sc_exit(ret,) fd, pathname, mask), | |
420 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(u32, mask, mask))) | |
421 | ) | |
422 | #endif | |
423 | #ifndef OVERRIDE_64_mkdirat | |
424 | SC_LTTNG_TRACEPOINT_EVENT(mkdirat, | |
425 | TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, umode_t mode), | |
426 | TP_ARGS(sc_exit(ret,) dfd, pathname, mode), | |
427 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) | |
428 | ) | |
429 | #endif | |
430 | #ifndef OVERRIDE_64_unlinkat | |
431 | SC_LTTNG_TRACEPOINT_EVENT(unlinkat, | |
432 | TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag), | |
433 | TP_ARGS(sc_exit(ret,) dfd, pathname, flag), | |
434 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(int, flag, flag))) | |
435 | ) | |
436 | #endif | |
437 | #ifndef OVERRIDE_64_symlinkat | |
438 | SC_LTTNG_TRACEPOINT_EVENT(symlinkat, | |
439 | TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname), | |
440 | TP_ARGS(sc_exit(ret,) oldname, newdfd, newname), | |
441 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_integer(int, newdfd, newdfd)) sc_in(ctf_user_string(newname, newname))) | |
442 | ) | |
443 | #endif | |
444 | #ifndef OVERRIDE_64_faccessat | |
445 | SC_LTTNG_TRACEPOINT_EVENT(faccessat, | |
446 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode), | |
447 | TP_ARGS(sc_exit(ret,) dfd, filename, mode), | |
448 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, mode, mode))) | |
449 | ) | |
450 | #endif | |
451 | #ifndef OVERRIDE_64_fchmodat | |
452 | SC_LTTNG_TRACEPOINT_EVENT(fchmodat, | |
453 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode), | |
454 | TP_ARGS(sc_exit(ret,) dfd, filename, mode), | |
455 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode))) | |
456 | ) | |
457 | #endif | |
458 | #ifndef OVERRIDE_64_getdents64 | |
459 | SC_LTTNG_TRACEPOINT_EVENT(getdents64, | |
460 | TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), | |
461 | TP_ARGS(sc_exit(ret,) fd, dirent, count), | |
462 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(struct linux_dirent64 *, dirent, dirent)) sc_in(ctf_integer(unsigned int, count, count))) | |
463 | ) | |
464 | #endif | |
465 | #ifndef OVERRIDE_64_read | |
466 | SC_LTTNG_TRACEPOINT_EVENT(read, | |
467 | TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count), | |
468 | TP_ARGS(sc_exit(ret,) fd, buf, count), | |
469 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(size_t, count, count))) | |
470 | ) | |
471 | #endif | |
472 | #ifndef OVERRIDE_64_write | |
473 | SC_LTTNG_TRACEPOINT_EVENT(write, | |
474 | TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count), | |
475 | TP_ARGS(sc_exit(ret,) fd, buf, count), | |
476 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(const char *, buf, buf)) sc_in(ctf_integer(size_t, count, count))) | |
477 | ) | |
478 | #endif | |
479 | #ifndef OVERRIDE_64_readv | |
480 | SC_LTTNG_TRACEPOINT_EVENT(readv, | |
481 | TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), | |
482 | TP_ARGS(sc_exit(ret,) fd, vec, vlen), | |
483 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_in(ctf_integer(unsigned long, vlen, vlen))) | |
484 | ) | |
485 | #endif | |
486 | #ifndef OVERRIDE_64_writev | |
487 | SC_LTTNG_TRACEPOINT_EVENT(writev, | |
488 | TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), | |
489 | TP_ARGS(sc_exit(ret,) fd, vec, vlen), | |
490 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_in(ctf_integer(unsigned long, vlen, vlen))) | |
491 | ) | |
492 | #endif | |
493 | #ifndef OVERRIDE_64_get_robust_list | |
494 | SC_LTTNG_TRACEPOINT_EVENT(get_robust_list, | |
495 | TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), | |
496 | TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr), | |
497 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, pid, pid)) sc_out(ctf_integer(struct robust_list_head * *, head_ptr, head_ptr)) sc_out(ctf_integer(size_t *, len_ptr, len_ptr))) | |
498 | ) | |
499 | #endif | |
500 | #ifndef OVERRIDE_64_setitimer | |
501 | SC_LTTNG_TRACEPOINT_EVENT(setitimer, | |
502 | TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue), | |
503 | TP_ARGS(sc_exit(ret,) which, value, ovalue), | |
504 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(struct itimerval *, value, value)) sc_out(ctf_integer(struct itimerval *, ovalue, ovalue))) | |
505 | ) | |
506 | #endif | |
507 | #ifndef OVERRIDE_64_init_module | |
508 | SC_LTTNG_TRACEPOINT_EVENT(init_module, | |
509 | TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs), | |
510 | TP_ARGS(sc_exit(ret,) umod, len, uargs), | |
511 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(void *, umod, umod)) sc_in(ctf_integer(unsigned long, len, len)) sc_in(ctf_integer(const char *, uargs, uargs))) | |
512 | ) | |
513 | #endif | |
514 | #ifndef OVERRIDE_64_timer_create | |
515 | SC_LTTNG_TRACEPOINT_EVENT(timer_create, | |
516 | TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), | |
517 | TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id), | |
518 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const clockid_t, which_clock, which_clock)) sc_in(ctf_integer(struct sigevent *, timer_event_spec, timer_event_spec)) sc_out(ctf_integer(timer_t *, created_timer_id, created_timer_id))) | |
519 | ) | |
520 | #endif | |
521 | #ifndef OVERRIDE_64_syslog | |
522 | SC_LTTNG_TRACEPOINT_EVENT(syslog, | |
523 | TP_PROTO(sc_exit(long ret,) int type, char * buf, int len), | |
524 | TP_ARGS(sc_exit(ret,) type, buf, len), | |
525 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, type, type)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(int, len, len))) | |
526 | ) | |
527 | #endif | |
528 | #ifndef OVERRIDE_64_sched_setscheduler | |
529 | SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler, | |
530 | TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param), | |
531 | TP_ARGS(sc_exit(ret,) pid, policy, param), | |
532 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, policy, policy)) sc_in(ctf_integer(struct sched_param *, param, param))) | |
533 | ) | |
534 | #endif | |
535 | #ifndef OVERRIDE_64_sched_setaffinity | |
536 | SC_LTTNG_TRACEPOINT_EVENT(sched_setaffinity, | |
537 | TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), | |
538 | TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), | |
539 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(unsigned int, len, len)) sc_in(ctf_integer(unsigned long *, user_mask_ptr, user_mask_ptr))) | |
540 | ) | |
541 | #endif | |
542 | #ifndef OVERRIDE_64_sched_getaffinity | |
543 | SC_LTTNG_TRACEPOINT_EVENT(sched_getaffinity, | |
544 | TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), | |
545 | TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), | |
546 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(unsigned int, len, len)) sc_out(ctf_integer(unsigned long *, user_mask_ptr, user_mask_ptr))) | |
547 | ) | |
548 | #endif | |
549 | #ifndef OVERRIDE_64_rt_sigqueueinfo | |
550 | SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo, | |
551 | TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo), | |
552 | TP_ARGS(sc_exit(ret,) pid, sig, uinfo), | |
553 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig)) sc_in(ctf_integer(siginfo_t *, uinfo, uinfo))) | |
554 | ) | |
555 | #endif | |
556 | #ifndef OVERRIDE_64_getresuid | |
557 | SC_LTTNG_TRACEPOINT_EVENT(getresuid, | |
558 | TP_PROTO(sc_exit(long ret,) uid_t * ruidp, uid_t * euidp, uid_t * suidp), | |
559 | TP_ARGS(sc_exit(ret,) ruidp, euidp, suidp), | |
560 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(uid_t *, ruidp, ruidp)) sc_out(ctf_integer(uid_t *, euidp, euidp)) sc_out(ctf_integer(uid_t *, suidp, suidp))) | |
561 | ) | |
562 | #endif | |
563 | #ifndef OVERRIDE_64_getresgid | |
564 | SC_LTTNG_TRACEPOINT_EVENT(getresgid, | |
565 | TP_PROTO(sc_exit(long ret,) gid_t * rgidp, gid_t * egidp, gid_t * sgidp), | |
566 | TP_ARGS(sc_exit(ret,) rgidp, egidp, sgidp), | |
567 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(gid_t *, rgidp, rgidp)) sc_out(ctf_integer(gid_t *, egidp, egidp)) sc_out(ctf_integer(gid_t *, sgidp, sgidp))) | |
568 | ) | |
569 | #endif | |
570 | #ifndef OVERRIDE_64_getcpu | |
571 | SC_LTTNG_TRACEPOINT_EVENT(getcpu, | |
572 | TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), | |
573 | TP_ARGS(sc_exit(ret,) cpup, nodep, unused), | |
574 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(unsigned *, cpup, cpup)) sc_out(ctf_integer(unsigned *, nodep, nodep)) sc_inout(ctf_integer(struct getcpu_cache *, unused, unused))) | |
575 | ) | |
576 | #endif | |
577 | #ifndef OVERRIDE_64_mq_getsetattr | |
578 | SC_LTTNG_TRACEPOINT_EVENT(mq_getsetattr, | |
579 | TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct mq_attr * u_mqstat, struct mq_attr * u_omqstat), | |
580 | TP_ARGS(sc_exit(ret,) mqdes, u_mqstat, u_omqstat), | |
581 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(mqd_t, mqdes, mqdes)) sc_in(ctf_integer(const struct mq_attr *, u_mqstat, u_mqstat)) sc_out(ctf_integer(struct mq_attr *, u_omqstat, u_omqstat))) | |
582 | ) | |
583 | #endif | |
584 | #ifndef OVERRIDE_64_msgctl | |
585 | SC_LTTNG_TRACEPOINT_EVENT(msgctl, | |
586 | TP_PROTO(sc_exit(long ret,) int msqid, int cmd, struct msqid_ds * buf), | |
587 | TP_ARGS(sc_exit(ret,) msqid, cmd, buf), | |
588 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(struct msqid_ds *, buf, buf))) | |
589 | ) | |
590 | #endif | |
591 | #ifndef OVERRIDE_64_semop | |
592 | SC_LTTNG_TRACEPOINT_EVENT(semop, | |
593 | TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops), | |
594 | TP_ARGS(sc_exit(ret,) semid, tsops, nsops), | |
595 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(struct sembuf *, tsops, tsops)) sc_in(ctf_integer(unsigned, nsops, nsops))) | |
596 | ) | |
597 | #endif | |
598 | #ifndef OVERRIDE_64_shmctl | |
599 | SC_LTTNG_TRACEPOINT_EVENT(shmctl, | |
600 | TP_PROTO(sc_exit(long ret,) int shmid, int cmd, struct shmid_ds * buf), | |
601 | TP_ARGS(sc_exit(ret,) shmid, cmd, buf), | |
602 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, shmid, shmid)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(struct shmid_ds *, buf, buf))) | |
603 | ) | |
604 | #endif | |
605 | #ifndef OVERRIDE_64_shmat | |
606 | SC_LTTNG_TRACEPOINT_EVENT(shmat, | |
607 | TP_PROTO(sc_exit(long ret,) int shmid, char * shmaddr, int shmflg), | |
608 | TP_ARGS(sc_exit(ret,) shmid, shmaddr, shmflg), | |
609 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, shmid, shmid)) sc_in(ctf_integer(char *, shmaddr, shmaddr)) sc_in(ctf_integer(int, shmflg, shmflg))) | |
610 | ) | |
611 | #endif | |
612 | #ifndef OVERRIDE_64_bind | |
613 | SC_LTTNG_TRACEPOINT_EVENT(bind, | |
614 | TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * umyaddr, int addrlen), | |
615 | TP_ARGS(sc_exit(ret,) fd, umyaddr, addrlen), | |
616 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct sockaddr *, umyaddr, umyaddr)) sc_in(ctf_integer(int, addrlen, addrlen))) | |
617 | ) | |
618 | #endif | |
619 | #ifndef OVERRIDE_64_accept | |
620 | SC_LTTNG_TRACEPOINT_EVENT(accept, | |
621 | TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), | |
622 | TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen), | |
623 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(struct sockaddr *, upeer_sockaddr, upeer_sockaddr)) sc_inout(ctf_integer(int *, upeer_addrlen, upeer_addrlen))) | |
624 | ) | |
625 | #endif | |
626 | #ifndef OVERRIDE_64_connect | |
627 | SC_LTTNG_TRACEPOINT_EVENT(connect, | |
628 | TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * uservaddr, int addrlen), | |
629 | TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen), | |
630 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct sockaddr *, uservaddr, uservaddr)) sc_in(ctf_integer(int, addrlen, addrlen))) | |
631 | ) | |
632 | #endif | |
633 | #ifndef OVERRIDE_64_getsockname | |
634 | SC_LTTNG_TRACEPOINT_EVENT(getsockname, | |
635 | TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), | |
636 | TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), | |
637 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(struct sockaddr *, usockaddr, usockaddr)) sc_inout(ctf_integer(int *, usockaddr_len, usockaddr_len))) | |
638 | ) | |
639 | #endif | |
640 | #ifndef OVERRIDE_64_getpeername | |
641 | SC_LTTNG_TRACEPOINT_EVENT(getpeername, | |
642 | TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), | |
643 | TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), | |
644 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(struct sockaddr *, usockaddr, usockaddr)) sc_inout(ctf_integer(int *, usockaddr_len, usockaddr_len))) | |
645 | ) | |
646 | #endif | |
647 | #ifndef OVERRIDE_64_sendmsg | |
648 | SC_LTTNG_TRACEPOINT_EVENT(sendmsg, | |
649 | TP_PROTO(sc_exit(long ret,) int fd, struct user_msghdr * msg, unsigned int flags), | |
650 | TP_ARGS(sc_exit(ret,) fd, msg, flags), | |
651 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct user_msghdr *, msg, msg)) sc_in(ctf_integer(unsigned int, flags, flags))) | |
652 | ) | |
653 | #endif | |
654 | #ifndef OVERRIDE_64_recvmsg | |
655 | SC_LTTNG_TRACEPOINT_EVENT(recvmsg, | |
656 | TP_PROTO(sc_exit(long ret,) int fd, struct user_msghdr * msg, unsigned int flags), | |
657 | TP_ARGS(sc_exit(ret,) fd, msg, flags), | |
658 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(struct user_msghdr *, msg, msg)) sc_in(ctf_integer(unsigned int, flags, flags))) | |
659 | ) | |
660 | #endif | |
661 | #ifndef OVERRIDE_64_execve | |
662 | SC_LTTNG_TRACEPOINT_EVENT(execve, | |
663 | TP_PROTO(sc_exit(long ret,) const char * filename, const char *const * argv, const char *const * envp), | |
664 | TP_ARGS(sc_exit(ret,) filename, argv, envp), | |
665 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(const char *const *, argv, argv)) sc_inout(ctf_integer(const char *const *, envp, envp))) | |
666 | ) | |
667 | #endif | |
668 | #ifndef OVERRIDE_64_mincore | |
669 | SC_LTTNG_TRACEPOINT_EVENT(mincore, | |
670 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec), | |
671 | TP_ARGS(sc_exit(ret,) start, len, vec), | |
672 | 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_out(ctf_integer(unsigned char *, vec, vec))) | |
673 | ) | |
674 | #endif | |
675 | #ifndef OVERRIDE_64_open_by_handle_at | |
676 | SC_LTTNG_TRACEPOINT_EVENT(open_by_handle_at, | |
677 | TP_PROTO(sc_exit(long ret,) int mountdirfd, struct file_handle * handle, int flags), | |
678 | TP_ARGS(sc_exit(ret,) mountdirfd, handle, flags), | |
679 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mountdirfd, mountdirfd)) sc_in(ctf_integer(struct file_handle *, handle, handle)) sc_in(ctf_integer(int, flags, flags))) | |
680 | ) | |
681 | #endif | |
682 | #ifndef OVERRIDE_64_finit_module | |
683 | SC_LTTNG_TRACEPOINT_EVENT(finit_module, | |
684 | TP_PROTO(sc_exit(long ret,) int fd, const char * uargs, int flags), | |
685 | TP_ARGS(sc_exit(ret,) fd, uargs, flags), | |
686 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(const char *, uargs, uargs)) sc_in(ctf_integer(int, flags, flags))) | |
687 | ) | |
688 | #endif | |
689 | #ifndef OVERRIDE_64_sched_setattr | |
690 | SC_LTTNG_TRACEPOINT_EVENT(sched_setattr, | |
691 | TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_attr * uattr, unsigned int flags), | |
692 | TP_ARGS(sc_exit(ret,) pid, uattr, flags), | |
693 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(struct sched_attr *, uattr, uattr)) sc_inout(ctf_integer(unsigned int, flags, flags))) | |
694 | ) | |
695 | #endif | |
696 | #ifndef OVERRIDE_64_seccomp | |
697 | SC_LTTNG_TRACEPOINT_EVENT(seccomp, | |
698 | TP_PROTO(sc_exit(long ret,) unsigned int op, unsigned int flags, const char * uargs), | |
699 | TP_ARGS(sc_exit(ret,) op, flags, uargs), | |
700 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, op, op)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(const char *, uargs, uargs))) | |
701 | ) | |
702 | #endif | |
703 | #ifndef OVERRIDE_64_getrandom | |
704 | SC_LTTNG_TRACEPOINT_EVENT(getrandom, | |
705 | TP_PROTO(sc_exit(long ret,) char * buf, size_t count, unsigned int flags), | |
706 | TP_ARGS(sc_exit(ret,) buf, count, flags), | |
707 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(char *, buf, buf)) sc_inout(ctf_integer(size_t, count, count)) sc_inout(ctf_integer(unsigned int, flags, flags))) | |
708 | ) | |
709 | #endif | |
710 | #ifndef OVERRIDE_64_getxattr | |
711 | SC_LTTNG_TRACEPOINT_EVENT(getxattr, | |
712 | TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), | |
713 | TP_ARGS(sc_exit(ret,) pathname, name, value, size), | |
714 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)) sc_out(ctf_integer(void *, value, value)) sc_in(ctf_integer(size_t, size, size))) | |
715 | ) | |
716 | #endif | |
717 | #ifndef OVERRIDE_64_lgetxattr | |
718 | SC_LTTNG_TRACEPOINT_EVENT(lgetxattr, | |
719 | TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), | |
720 | TP_ARGS(sc_exit(ret,) pathname, name, value, size), | |
721 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)) sc_out(ctf_integer(void *, value, value)) sc_in(ctf_integer(size_t, size, size))) | |
722 | ) | |
723 | #endif | |
724 | #ifndef OVERRIDE_64_fgetxattr | |
725 | SC_LTTNG_TRACEPOINT_EVENT(fgetxattr, | |
726 | TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size), | |
727 | TP_ARGS(sc_exit(ret,) fd, name, value, size), | |
728 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name)) sc_out(ctf_integer(void *, value, value)) sc_in(ctf_integer(size_t, size, size))) | |
729 | ) | |
730 | #endif | |
731 | #ifndef OVERRIDE_64_epoll_ctl | |
732 | SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl, | |
733 | TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event), | |
734 | TP_ARGS(sc_exit(ret,) epfd, op, fd, event), | |
735 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, epfd, epfd)) sc_in(ctf_integer(int, op, op)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct epoll_event *, event, event))) | |
736 | ) | |
737 | #endif | |
738 | #ifndef OVERRIDE_64_mknodat | |
739 | SC_LTTNG_TRACEPOINT_EVENT(mknodat, | |
740 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode, unsigned dev), | |
741 | TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev), | |
742 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev))) | |
743 | ) | |
744 | #endif | |
745 | #ifndef OVERRIDE_64_renameat | |
746 | SC_LTTNG_TRACEPOINT_EVENT(renameat, | |
747 | TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname), | |
748 | TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname), | |
749 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, olddfd, olddfd)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_integer(int, newdfd, newdfd)) sc_in(ctf_user_string(newname, newname))) | |
750 | ) | |
751 | #endif | |
752 | #ifndef OVERRIDE_64_openat | |
753 | SC_LTTNG_TRACEPOINT_EVENT(openat, | |
754 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, umode_t mode), | |
755 | TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode), | |
756 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode))) | |
757 | ) | |
758 | #endif | |
759 | #ifndef OVERRIDE_64_quotactl | |
760 | SC_LTTNG_TRACEPOINT_EVENT(quotactl, | |
761 | TP_PROTO(sc_exit(long ret,) unsigned int cmd, const char * special, qid_t id, void * addr), | |
762 | TP_ARGS(sc_exit(ret,) cmd, special, id, addr), | |
763 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_in(ctf_integer(const char *, special, special)) sc_in(ctf_integer(qid_t, id, id)) sc_inout(ctf_integer(void *, addr, addr))) | |
764 | ) | |
765 | #endif | |
766 | #ifndef OVERRIDE_64_pread64 | |
767 | SC_LTTNG_TRACEPOINT_EVENT(pread64, | |
768 | TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count, loff_t pos), | |
769 | TP_ARGS(sc_exit(ret,) fd, buf, count, pos), | |
770 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(size_t, count, count)) sc_in(ctf_integer(loff_t, pos, pos))) | |
771 | ) | |
772 | #endif | |
773 | #ifndef OVERRIDE_64_pwrite64 | |
774 | SC_LTTNG_TRACEPOINT_EVENT(pwrite64, | |
775 | TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count, loff_t pos), | |
776 | TP_ARGS(sc_exit(ret,) fd, buf, count, pos), | |
777 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(const char *, buf, buf)) sc_in(ctf_integer(size_t, count, count)) sc_in(ctf_integer(loff_t, pos, pos))) | |
778 | ) | |
779 | #endif | |
780 | #ifndef OVERRIDE_64_sendfile64 | |
781 | SC_LTTNG_TRACEPOINT_EVENT(sendfile64, | |
782 | TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count), | |
783 | TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), | |
784 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, out_fd, out_fd)) sc_in(ctf_integer(int, in_fd, in_fd)) sc_inout(ctf_integer(loff_t *, offset, offset)) sc_in(ctf_integer(size_t, count, count))) | |
785 | ) | |
786 | #endif | |
787 | #ifndef OVERRIDE_64_signalfd4 | |
788 | SC_LTTNG_TRACEPOINT_EVENT(signalfd4, | |
789 | TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags), | |
790 | TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags), | |
791 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_in(ctf_integer(sigset_t *, user_mask, user_mask)) sc_in(ctf_integer(size_t, sizemask, sizemask)) sc_in(ctf_integer(int, flags, flags))) | |
792 | ) | |
793 | #endif | |
794 | #ifndef OVERRIDE_64_vmsplice | |
795 | SC_LTTNG_TRACEPOINT_EVENT(vmsplice, | |
796 | TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), | |
797 | TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags), | |
798 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(const struct iovec *, iov, iov)) sc_in(ctf_integer(unsigned long, nr_segs, nr_segs)) sc_in(ctf_integer(unsigned int, flags, flags))) | |
799 | ) | |
800 | #endif | |
801 | #ifndef OVERRIDE_64_readlinkat | |
802 | SC_LTTNG_TRACEPOINT_EVENT(readlinkat, | |
803 | TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz), | |
804 | TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz), | |
805 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(int, bufsiz, bufsiz))) | |
806 | ) | |
807 | #endif | |
808 | #ifndef OVERRIDE_64_newfstatat | |
809 | SC_LTTNG_TRACEPOINT_EVENT(newfstatat, | |
810 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat * statbuf, int flag), | |
811 | TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag), | |
812 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf)) sc_in(ctf_integer(int, flag, flag))) | |
813 | ) | |
814 | #endif | |
815 | #ifndef OVERRIDE_64_timerfd_settime | |
816 | SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime, | |
817 | TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), | |
818 | TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr), | |
819 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(const struct itimerspec *, utmr, utmr)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr))) | |
820 | ) | |
821 | #endif | |
822 | #ifndef OVERRIDE_64_utimensat | |
823 | SC_LTTNG_TRACEPOINT_EVENT(utimensat, | |
824 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags), | |
825 | TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags), | |
826 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timespec *, utimes, utimes)) sc_in(ctf_integer(int, flags, flags))) | |
827 | ) | |
828 | #endif | |
829 | #ifndef OVERRIDE_64_timer_settime | |
830 | SC_LTTNG_TRACEPOINT_EVENT(timer_settime, | |
831 | TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), | |
832 | TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting), | |
833 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(const struct itimerspec *, new_setting, new_setting)) sc_out(ctf_integer(struct itimerspec *, old_setting, old_setting))) | |
834 | ) | |
835 | #endif | |
836 | #ifndef OVERRIDE_64_clock_nanosleep | |
837 | SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep, | |
838 | TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), | |
839 | TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), | |
840 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const clockid_t, which_clock, which_clock)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(const struct timespec *, rqtp, rqtp)) sc_out(ctf_integer(struct timespec *, rmtp, rmtp))) | |
841 | ) | |
842 | #endif | |
843 | #ifndef OVERRIDE_64_rt_sigaction | |
844 | SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction, | |
845 | TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), | |
846 | TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize), | |
847 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, sig, sig)) sc_in(ctf_integer(const struct sigaction *, act, act)) sc_out(ctf_integer(struct sigaction *, oact, oact)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) | |
848 | ) | |
849 | #endif | |
850 | #ifndef OVERRIDE_64_rt_sigprocmask | |
851 | SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask, | |
852 | TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), | |
853 | TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize), | |
854 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, how, how)) sc_in(ctf_integer(sigset_t *, nset, nset)) sc_out(ctf_integer(sigset_t *, oset, oset)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) | |
855 | ) | |
856 | #endif | |
857 | #ifndef OVERRIDE_64_rt_sigtimedwait | |
858 | SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait, | |
859 | TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), | |
860 | TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize), | |
861 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(const sigset_t *, uthese, uthese)) sc_out(ctf_integer(siginfo_t *, uinfo, uinfo)) sc_in(ctf_integer(const struct timespec *, uts, uts)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) | |
862 | ) | |
863 | #endif | |
864 | #ifndef OVERRIDE_64_reboot | |
865 | SC_LTTNG_TRACEPOINT_EVENT(reboot, | |
866 | TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg), | |
867 | TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg), | |
868 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, magic1, magic1)) sc_in(ctf_integer(int, magic2, magic2)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_in(ctf_integer(void *, arg, arg))) | |
869 | ) | |
870 | #endif | |
871 | #ifndef OVERRIDE_64_mq_open | |
872 | SC_LTTNG_TRACEPOINT_EVENT(mq_open, | |
873 | TP_PROTO(sc_exit(long ret,) const char * u_name, int oflag, umode_t mode, struct mq_attr * u_attr), | |
874 | TP_ARGS(sc_exit(ret,) u_name, oflag, mode, u_attr), | |
875 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(u_name, u_name)) sc_in(ctf_integer(int, oflag, oflag)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(struct mq_attr *, u_attr, u_attr))) | |
876 | ) | |
877 | #endif | |
878 | #ifndef OVERRIDE_64_msgsnd | |
879 | SC_LTTNG_TRACEPOINT_EVENT(msgsnd, | |
880 | TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, int msgflg), | |
881 | TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgflg), | |
882 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_in(ctf_integer(struct msgbuf *, msgp, msgp)) sc_in(ctf_integer(size_t, msgsz, msgsz)) sc_in(ctf_integer(int, msgflg, msgflg))) | |
883 | ) | |
884 | #endif | |
885 | #ifndef OVERRIDE_64_semtimedop | |
886 | SC_LTTNG_TRACEPOINT_EVENT(semtimedop, | |
887 | TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops, const struct timespec * timeout), | |
888 | TP_ARGS(sc_exit(ret,) semid, tsops, nsops, timeout), | |
889 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(struct sembuf *, tsops, tsops)) sc_in(ctf_integer(unsigned, nsops, nsops)) sc_inout(ctf_integer(const struct timespec *, timeout, timeout))) | |
890 | ) | |
891 | #endif | |
892 | #ifndef OVERRIDE_64_socketpair | |
893 | SC_LTTNG_TRACEPOINT_EVENT(socketpair, | |
894 | TP_PROTO(sc_exit(long ret,) int family, int type, int protocol, int * usockvec), | |
895 | TP_ARGS(sc_exit(ret,) family, type, protocol, usockvec), | |
896 | 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)) sc_out(ctf_integer(int *, usockvec, usockvec))) | |
897 | ) | |
898 | #endif | |
899 | #ifndef OVERRIDE_64_request_key | |
900 | SC_LTTNG_TRACEPOINT_EVENT(request_key, | |
901 | TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const char * _callout_info, key_serial_t destringid), | |
902 | TP_ARGS(sc_exit(ret,) _type, _description, _callout_info, destringid), | |
903 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(_type, _type)) sc_in(ctf_integer(const char *, _description, _description)) sc_in(ctf_integer(const char *, _callout_info, _callout_info)) sc_in(ctf_integer(key_serial_t, destringid, destringid))) | |
904 | ) | |
905 | #endif | |
906 | #ifndef OVERRIDE_64_rt_tgsigqueueinfo | |
907 | SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo, | |
908 | TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), | |
909 | TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo), | |
910 | 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)) sc_in(ctf_integer(siginfo_t *, uinfo, uinfo))) | |
911 | ) | |
912 | #endif | |
913 | #ifndef OVERRIDE_64_accept4 | |
914 | SC_LTTNG_TRACEPOINT_EVENT(accept4, | |
915 | TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), | |
916 | TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags), | |
917 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(struct sockaddr *, upeer_sockaddr, upeer_sockaddr)) sc_inout(ctf_integer(int *, upeer_addrlen, upeer_addrlen)) sc_in(ctf_integer(int, flags, flags))) | |
918 | ) | |
919 | #endif | |
920 | #ifndef OVERRIDE_64_wait4 | |
921 | SC_LTTNG_TRACEPOINT_EVENT(wait4, | |
922 | TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru), | |
923 | TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru), | |
924 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, upid, upid)) sc_out(ctf_integer(int *, stat_addr, stat_addr)) sc_in(ctf_integer(int, options, options)) sc_out(ctf_integer(struct rusage *, ru, ru))) | |
925 | ) | |
926 | #endif | |
927 | #ifndef OVERRIDE_64_prlimit64 | |
928 | SC_LTTNG_TRACEPOINT_EVENT(prlimit64, | |
929 | TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), | |
930 | TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim), | |
931 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(unsigned int, resource, resource)) sc_in(ctf_integer(const struct rlimit64 *, new_rlim, new_rlim)) sc_out(ctf_integer(struct rlimit64 *, old_rlim, old_rlim))) | |
932 | ) | |
933 | #endif | |
934 | #ifndef OVERRIDE_64_sendmmsg | |
935 | SC_LTTNG_TRACEPOINT_EVENT(sendmmsg, | |
936 | TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), | |
937 | TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags), | |
938 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct mmsghdr *, mmsg, mmsg)) sc_in(ctf_integer(unsigned int, vlen, vlen)) sc_in(ctf_integer(unsigned int, flags, flags))) | |
939 | ) | |
940 | #endif | |
941 | #ifndef OVERRIDE_64_sched_getattr | |
942 | SC_LTTNG_TRACEPOINT_EVENT(sched_getattr, | |
943 | TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_attr * uattr, unsigned int size, unsigned int flags), | |
944 | TP_ARGS(sc_exit(ret,) pid, uattr, size, flags), | |
945 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(struct sched_attr *, uattr, uattr)) sc_inout(ctf_integer(unsigned int, size, size)) sc_inout(ctf_integer(unsigned int, flags, flags))) | |
946 | ) | |
947 | #endif | |
948 | #ifndef OVERRIDE_64_io_getevents | |
949 | SC_LTTNG_TRACEPOINT_EVENT(io_getevents, | |
950 | TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), | |
951 | TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout), | |
952 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx_id, ctx_id)) sc_in(ctf_integer(long, min_nr, min_nr)) sc_in(ctf_integer(long, nr, nr)) sc_out(ctf_integer(struct io_event *, events, events)) sc_inout(ctf_integer(struct timespec *, timeout, timeout))) | |
953 | ) | |
954 | #endif | |
955 | #ifndef OVERRIDE_64_setxattr | |
956 | SC_LTTNG_TRACEPOINT_EVENT(setxattr, | |
957 | TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), | |
958 | TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), | |
959 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(const void *, value, value)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(int, flags, flags))) | |
960 | ) | |
961 | #endif | |
962 | #ifndef OVERRIDE_64_lsetxattr | |
963 | SC_LTTNG_TRACEPOINT_EVENT(lsetxattr, | |
964 | TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), | |
965 | TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), | |
966 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(const void *, value, value)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(int, flags, flags))) | |
967 | ) | |
968 | #endif | |
969 | #ifndef OVERRIDE_64_fsetxattr | |
970 | SC_LTTNG_TRACEPOINT_EVENT(fsetxattr, | |
971 | TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags), | |
972 | TP_ARGS(sc_exit(ret,) fd, name, value, size, flags), | |
973 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(const void *, value, value)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(int, flags, flags))) | |
974 | ) | |
975 | #endif | |
976 | #ifndef OVERRIDE_64_linkat | |
977 | SC_LTTNG_TRACEPOINT_EVENT(linkat, | |
978 | TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags), | |
979 | TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), | |
980 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, olddfd, olddfd)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_integer(int, newdfd, newdfd)) sc_in(ctf_user_string(newname, newname)) sc_in(ctf_integer(int, flags, flags))) | |
981 | ) | |
982 | #endif | |
983 | #ifndef OVERRIDE_64_mount | |
984 | SC_LTTNG_TRACEPOINT_EVENT(mount, | |
985 | TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), | |
986 | TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data), | |
987 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(dev_name, dev_name)) sc_in(ctf_user_string(dir_name, dir_name)) sc_in(ctf_user_string(type, type)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(void *, data, data))) | |
988 | ) | |
989 | #endif | |
990 | #ifndef OVERRIDE_64_fchownat | |
991 | SC_LTTNG_TRACEPOINT_EVENT(fchownat, | |
992 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag), | |
993 | TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag), | |
994 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group)) sc_in(ctf_integer(int, flag, flag))) | |
995 | ) | |
996 | #endif | |
997 | #ifndef OVERRIDE_64_preadv | |
998 | SC_LTTNG_TRACEPOINT_EVENT(preadv, | |
999 | TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), | |
1000 | TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), | |
1001 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, fd, fd)) sc_out(ctf_integer(const struct iovec *, vec, vec)) sc_in(ctf_integer(unsigned long, vlen, vlen)) sc_in(ctf_integer(unsigned long, pos_l, pos_l)) sc_in(ctf_integer(unsigned long, pos_h, pos_h))) | |
1002 | ) | |
1003 | #endif | |
1004 | #ifndef OVERRIDE_64_pwritev | |
1005 | SC_LTTNG_TRACEPOINT_EVENT(pwritev, | |
1006 | TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), | |
1007 | TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), | |
1008 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, fd, fd)) sc_in(ctf_integer(const struct iovec *, vec, vec)) sc_in(ctf_integer(unsigned long, vlen, vlen)) sc_in(ctf_integer(unsigned long, pos_l, pos_l)) sc_in(ctf_integer(unsigned long, pos_h, pos_h))) | |
1009 | ) | |
1010 | #endif | |
1011 | #ifndef OVERRIDE_64_ppoll | |
1012 | SC_LTTNG_TRACEPOINT_EVENT(ppoll, | |
1013 | TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), | |
1014 | TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize), | |
1015 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct pollfd *, ufds, ufds)) sc_in(ctf_integer(unsigned int, nfds, nfds)) sc_in(ctf_integer(struct timespec *, tsp, tsp)) sc_in(ctf_integer(const sigset_t *, sigmask, sigmask)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) | |
1016 | ) | |
1017 | #endif | |
1018 | #ifndef OVERRIDE_64_waitid | |
1019 | SC_LTTNG_TRACEPOINT_EVENT(waitid, | |
1020 | TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), | |
1021 | TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru), | |
1022 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(pid_t, upid, upid)) sc_out(ctf_integer(struct siginfo *, infop, infop)) sc_in(ctf_integer(int, options, options)) sc_out(ctf_integer(struct rusage *, ru, ru))) | |
1023 | ) | |
1024 | #endif | |
1025 | #ifndef OVERRIDE_64_mq_timedsend | |
1026 | SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend, | |
1027 | TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const char * u_msg_ptr, size_t msg_len, unsigned int msg_prio, const struct timespec * u_abs_timeout), | |
1028 | TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout), | |
1029 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(mqd_t, mqdes, mqdes)) sc_in(ctf_integer(const char *, u_msg_ptr, u_msg_ptr)) sc_in(ctf_integer(size_t, msg_len, msg_len)) sc_in(ctf_integer(unsigned int, msg_prio, msg_prio)) sc_in(ctf_integer(const struct timespec *, u_abs_timeout, u_abs_timeout))) | |
1030 | ) | |
1031 | #endif | |
1032 | #ifndef OVERRIDE_64_mq_timedreceive | |
1033 | SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive, | |
1034 | TP_PROTO(sc_exit(long ret,) mqd_t mqdes, char * u_msg_ptr, size_t msg_len, unsigned int * u_msg_prio, const struct timespec * u_abs_timeout), | |
1035 | TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout), | |
1036 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(mqd_t, mqdes, mqdes)) sc_out(ctf_integer(char *, u_msg_ptr, u_msg_ptr)) sc_in(ctf_integer(size_t, msg_len, msg_len)) sc_out(ctf_integer(unsigned int *, u_msg_prio, u_msg_prio)) sc_in(ctf_integer(const struct timespec *, u_abs_timeout, u_abs_timeout))) | |
1037 | ) | |
1038 | #endif | |
1039 | #ifndef OVERRIDE_64_msgrcv | |
1040 | SC_LTTNG_TRACEPOINT_EVENT(msgrcv, | |
1041 | TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, long msgtyp, int msgflg), | |
1042 | TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgtyp, msgflg), | |
1043 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, msqid, msqid)) sc_out(ctf_integer(struct msgbuf *, msgp, msgp)) sc_in(ctf_integer(size_t, msgsz, msgsz)) sc_in(ctf_integer(long, msgtyp, msgtyp)) sc_in(ctf_integer(int, msgflg, msgflg))) | |
1044 | ) | |
1045 | #endif | |
1046 | #ifndef OVERRIDE_64_setsockopt | |
1047 | SC_LTTNG_TRACEPOINT_EVENT(setsockopt, | |
1048 | TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int optlen), | |
1049 | TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), | |
1050 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, level, level)) sc_in(ctf_integer(int, optname, optname)) sc_in(ctf_integer(char *, optval, optval)) sc_in(ctf_integer(int, optlen, optlen))) | |
1051 | ) | |
1052 | #endif | |
1053 | #ifndef OVERRIDE_64_getsockopt | |
1054 | SC_LTTNG_TRACEPOINT_EVENT(getsockopt, | |
1055 | TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int * optlen), | |
1056 | TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), | |
1057 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, level, level)) sc_in(ctf_integer(int, optname, optname)) sc_out(ctf_integer(char *, optval, optval)) sc_inout(ctf_integer(int *, optlen, optlen))) | |
1058 | ) | |
1059 | #endif | |
1060 | #ifndef OVERRIDE_64_add_key | |
1061 | SC_LTTNG_TRACEPOINT_EVENT(add_key, | |
1062 | TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const void * _payload, size_t plen, key_serial_t ringid), | |
1063 | TP_ARGS(sc_exit(ret,) _type, _description, _payload, plen, ringid), | |
1064 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(_type, _type)) sc_in(ctf_integer(const char *, _description, _description)) sc_in(ctf_integer(const void *, _payload, _payload)) sc_in(ctf_integer(size_t, plen, plen)) sc_in(ctf_integer(key_serial_t, ringid, ringid))) | |
1065 | ) | |
1066 | #endif | |
1067 | #ifndef OVERRIDE_64_perf_event_open | |
1068 | SC_LTTNG_TRACEPOINT_EVENT(perf_event_open, | |
1069 | TP_PROTO(sc_exit(long ret,) struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), | |
1070 | TP_ARGS(sc_exit(ret,) attr_uptr, pid, cpu, group_fd, flags), | |
1071 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(struct perf_event_attr *, attr_uptr, attr_uptr)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, cpu, cpu)) sc_in(ctf_integer(int, group_fd, group_fd)) sc_in(ctf_integer(unsigned long, flags, flags))) | |
1072 | ) | |
1073 | #endif | |
1074 | #ifndef OVERRIDE_64_recvmmsg | |
1075 | SC_LTTNG_TRACEPOINT_EVENT(recvmmsg, | |
1076 | TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), | |
1077 | TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout), | |
1078 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(struct mmsghdr *, mmsg, mmsg)) sc_in(ctf_integer(unsigned int, vlen, vlen)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(struct timespec *, timeout, timeout))) | |
1079 | ) | |
1080 | #endif | |
1081 | #ifndef OVERRIDE_64_fanotify_mark | |
1082 | SC_LTTNG_TRACEPOINT_EVENT(fanotify_mark, | |
1083 | TP_PROTO(sc_exit(long ret,) int fanotify_fd, unsigned int flags, __u64 mask, int dfd, const char * pathname), | |
1084 | TP_ARGS(sc_exit(ret,) fanotify_fd, flags, mask, dfd, pathname), | |
1085 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fanotify_fd, fanotify_fd)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_in(ctf_integer(__u64, mask, mask)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname))) | |
1086 | ) | |
1087 | #endif | |
1088 | #ifndef OVERRIDE_64_name_to_handle_at | |
1089 | SC_LTTNG_TRACEPOINT_EVENT(name_to_handle_at, | |
1090 | TP_PROTO(sc_exit(long ret,) int dfd, const char * name, struct file_handle * handle, int * mnt_id, int flag), | |
1091 | TP_ARGS(sc_exit(ret,) dfd, name, handle, mnt_id, flag), | |
1092 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(name, name)) sc_inout(ctf_integer(struct file_handle *, handle, handle)) sc_out(ctf_integer(int *, mnt_id, mnt_id)) sc_in(ctf_integer(int, flag, flag))) | |
1093 | ) | |
1094 | #endif | |
1095 | #ifndef OVERRIDE_64_renameat2 | |
1096 | SC_LTTNG_TRACEPOINT_EVENT(renameat2, | |
1097 | TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, unsigned int flags), | |
1098 | TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), | |
1099 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, olddfd, olddfd)) sc_inout(ctf_user_string(oldname, oldname)) sc_inout(ctf_integer(int, newdfd, newdfd)) sc_inout(ctf_user_string(newname, newname)) sc_inout(ctf_integer(unsigned int, flags, flags))) | |
1100 | ) | |
1101 | #endif | |
1102 | #ifndef OVERRIDE_64_execveat | |
1103 | SC_LTTNG_TRACEPOINT_EVENT(execveat, | |
1104 | TP_PROTO(sc_exit(long ret,) int fd, const char * filename, const char *const * argv, const char *const * envp, int flags), | |
1105 | TP_ARGS(sc_exit(ret,) fd, filename, argv, envp, flags), | |
1106 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(const char *const *, argv, argv)) sc_inout(ctf_integer(const char *const *, envp, envp)) sc_inout(ctf_integer(int, flags, flags))) | |
1107 | ) | |
1108 | #endif | |
1109 | #ifndef OVERRIDE_64_epoll_pwait | |
1110 | SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait, | |
1111 | TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), | |
1112 | TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize), | |
1113 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, epfd, epfd)) sc_out(ctf_integer(struct epoll_event *, events, events)) sc_in(ctf_integer(int, maxevents, maxevents)) sc_in(ctf_integer(int, timeout, timeout)) sc_in(ctf_integer(const sigset_t *, sigmask, sigmask)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) | |
1114 | ) | |
1115 | #endif | |
1116 | #ifndef OVERRIDE_64_pselect6 | |
1117 | SC_LTTNG_TRACEPOINT_EVENT(pselect6, | |
1118 | TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), | |
1119 | TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig), | |
1120 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, n, n)) sc_inout(ctf_integer(fd_set *, inp, inp)) sc_inout(ctf_integer(fd_set *, outp, outp)) sc_inout(ctf_integer(fd_set *, exp, exp)) sc_inout(ctf_integer(struct timespec *, tsp, tsp)) sc_in(ctf_integer(void *, sig, sig))) | |
1121 | ) | |
1122 | #endif | |
1123 | #ifndef OVERRIDE_64_splice | |
1124 | SC_LTTNG_TRACEPOINT_EVENT(splice, | |
1125 | TP_PROTO(sc_exit(long ret,) int fd_in, loff_t * off_in, int fd_out, loff_t * off_out, size_t len, unsigned int flags), | |
1126 | TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags), | |
1127 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd_in, fd_in)) sc_in(ctf_integer(loff_t *, off_in, off_in)) sc_in(ctf_integer(int, fd_out, fd_out)) sc_in(ctf_integer(loff_t *, off_out, off_out)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags))) | |
1128 | ) | |
1129 | #endif | |
1130 | #ifndef OVERRIDE_64_futex | |
1131 | SC_LTTNG_TRACEPOINT_EVENT(futex, | |
1132 | TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), | |
1133 | TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3), | |
1134 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(u32 *, uaddr, uaddr)) sc_in(ctf_integer(int, op, op)) sc_in(ctf_integer(u32, val, val)) sc_in(ctf_integer(struct timespec *, utime, utime)) sc_inout(ctf_integer(u32 *, uaddr2, uaddr2)) sc_in(ctf_integer(u32, val3, val3))) | |
1135 | ) | |
1136 | #endif | |
1137 | #ifndef OVERRIDE_64_sendto | |
1138 | SC_LTTNG_TRACEPOINT_EVENT(sendto, | |
1139 | TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags, struct sockaddr * addr, int addr_len), | |
1140 | TP_ARGS(sc_exit(ret,) fd, buff, len, flags, addr, addr_len), | |
1141 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(void *, buff, buff)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_in(ctf_integer(struct sockaddr *, addr, addr)) sc_in(ctf_integer(int, addr_len, addr_len))) | |
1142 | ) | |
1143 | #endif | |
1144 | #ifndef OVERRIDE_64_recvfrom | |
1145 | SC_LTTNG_TRACEPOINT_EVENT(recvfrom, | |
1146 | TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned int flags, struct sockaddr * addr, int * addr_len), | |
1147 | TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags, addr, addr_len), | |
1148 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(void *, ubuf, ubuf)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_out(ctf_integer(struct sockaddr *, addr, addr)) sc_inout(ctf_integer(int *, addr_len, addr_len))) | |
1149 | ) | |
1150 | #endif | |
1151 | #ifndef OVERRIDE_64_process_vm_readv | |
1152 | SC_LTTNG_TRACEPOINT_EVENT(process_vm_readv, | |
1153 | TP_PROTO(sc_exit(long ret,) pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), | |
1154 | TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags), | |
1155 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_out(ctf_integer(const struct iovec *, lvec, lvec)) sc_in(ctf_integer(unsigned long, liovcnt, liovcnt)) sc_in(ctf_integer(const struct iovec *, rvec, rvec)) sc_in(ctf_integer(unsigned long, riovcnt, riovcnt)) sc_in(ctf_integer(unsigned long, flags, flags))) | |
1156 | ) | |
1157 | #endif | |
1158 | #ifndef OVERRIDE_64_process_vm_writev | |
1159 | SC_LTTNG_TRACEPOINT_EVENT(process_vm_writev, | |
1160 | TP_PROTO(sc_exit(long ret,) pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), | |
1161 | TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags), | |
1162 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(const struct iovec *, lvec, lvec)) sc_in(ctf_integer(unsigned long, liovcnt, liovcnt)) sc_in(ctf_integer(const struct iovec *, rvec, rvec)) sc_in(ctf_integer(unsigned long, riovcnt, riovcnt)) sc_in(ctf_integer(unsigned long, flags, flags))) | |
1163 | ) | |
1164 | #endif | |
1165 | ||
1166 | #endif /* _TRACE_SYSCALLS_POINTERS_H */ | |
1167 | ||
1168 | /* This part must be outside protection */ | |
3b4aafcb | 1169 | #include <lttng/define_trace.h> |
f8ecaf94 JW |
1170 | |
1171 | #else /* CREATE_SYSCALL_TABLE */ | |
1172 | ||
6314c2d3 | 1173 | #include "arm-64-syscalls_pointers_override.h" |
f8ecaf94 JW |
1174 | #include "syscalls_pointers_override.h" |
1175 | ||
1176 | #ifndef OVERRIDE_TABLE_64_io_setup | |
1177 | TRACE_SYSCALL_TABLE(io_setup, io_setup, 0, 2) | |
1178 | #endif | |
1179 | #ifndef OVERRIDE_TABLE_64_io_submit | |
1180 | TRACE_SYSCALL_TABLE(io_submit, io_submit, 2, 3) | |
1181 | #endif | |
1182 | #ifndef OVERRIDE_TABLE_64_io_cancel | |
1183 | TRACE_SYSCALL_TABLE(io_cancel, io_cancel, 3, 3) | |
1184 | #endif | |
1185 | #ifndef OVERRIDE_TABLE_64_io_getevents | |
1186 | TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 4, 5) | |
1187 | #endif | |
1188 | #ifndef OVERRIDE_TABLE_64_setxattr | |
1189 | TRACE_SYSCALL_TABLE(setxattr, setxattr, 5, 5) | |
1190 | #endif | |
1191 | #ifndef OVERRIDE_TABLE_64_lsetxattr | |
1192 | TRACE_SYSCALL_TABLE(lsetxattr, lsetxattr, 6, 5) | |
1193 | #endif | |
1194 | #ifndef OVERRIDE_TABLE_64_fsetxattr | |
1195 | TRACE_SYSCALL_TABLE(fsetxattr, fsetxattr, 7, 5) | |
1196 | #endif | |
1197 | #ifndef OVERRIDE_TABLE_64_getxattr | |
1198 | TRACE_SYSCALL_TABLE(getxattr, getxattr, 8, 4) | |
1199 | #endif | |
1200 | #ifndef OVERRIDE_TABLE_64_lgetxattr | |
1201 | TRACE_SYSCALL_TABLE(lgetxattr, lgetxattr, 9, 4) | |
1202 | #endif | |
1203 | #ifndef OVERRIDE_TABLE_64_fgetxattr | |
1204 | TRACE_SYSCALL_TABLE(fgetxattr, fgetxattr, 10, 4) | |
1205 | #endif | |
1206 | #ifndef OVERRIDE_TABLE_64_listxattr | |
1207 | TRACE_SYSCALL_TABLE(listxattr, listxattr, 11, 3) | |
1208 | #endif | |
1209 | #ifndef OVERRIDE_TABLE_64_llistxattr | |
1210 | TRACE_SYSCALL_TABLE(llistxattr, llistxattr, 12, 3) | |
1211 | #endif | |
1212 | #ifndef OVERRIDE_TABLE_64_flistxattr | |
1213 | TRACE_SYSCALL_TABLE(flistxattr, flistxattr, 13, 3) | |
1214 | #endif | |
1215 | #ifndef OVERRIDE_TABLE_64_removexattr | |
1216 | TRACE_SYSCALL_TABLE(removexattr, removexattr, 14, 2) | |
1217 | #endif | |
1218 | #ifndef OVERRIDE_TABLE_64_lremovexattr | |
1219 | TRACE_SYSCALL_TABLE(lremovexattr, lremovexattr, 15, 2) | |
1220 | #endif | |
1221 | #ifndef OVERRIDE_TABLE_64_fremovexattr | |
1222 | TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 16, 2) | |
1223 | #endif | |
1224 | #ifndef OVERRIDE_TABLE_64_getcwd | |
1225 | TRACE_SYSCALL_TABLE(getcwd, getcwd, 17, 2) | |
1226 | #endif | |
1227 | #ifndef OVERRIDE_TABLE_64_lookup_dcookie | |
1228 | TRACE_SYSCALL_TABLE(lookup_dcookie, lookup_dcookie, 18, 3) | |
1229 | #endif | |
1230 | #ifndef OVERRIDE_TABLE_64_epoll_ctl | |
1231 | TRACE_SYSCALL_TABLE(epoll_ctl, epoll_ctl, 21, 4) | |
1232 | #endif | |
1233 | #ifndef OVERRIDE_TABLE_64_epoll_pwait | |
1234 | TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 22, 6) | |
1235 | #endif | |
1236 | #ifndef OVERRIDE_TABLE_64_inotify_add_watch | |
1237 | TRACE_SYSCALL_TABLE(inotify_add_watch, inotify_add_watch, 27, 3) | |
1238 | #endif | |
1239 | #ifndef OVERRIDE_TABLE_64_mknodat | |
1240 | TRACE_SYSCALL_TABLE(mknodat, mknodat, 33, 4) | |
1241 | #endif | |
1242 | #ifndef OVERRIDE_TABLE_64_mkdirat | |
1243 | TRACE_SYSCALL_TABLE(mkdirat, mkdirat, 34, 3) | |
1244 | #endif | |
1245 | #ifndef OVERRIDE_TABLE_64_unlinkat | |
1246 | TRACE_SYSCALL_TABLE(unlinkat, unlinkat, 35, 3) | |
1247 | #endif | |
1248 | #ifndef OVERRIDE_TABLE_64_symlinkat | |
1249 | TRACE_SYSCALL_TABLE(symlinkat, symlinkat, 36, 3) | |
1250 | #endif | |
1251 | #ifndef OVERRIDE_TABLE_64_linkat | |
1252 | TRACE_SYSCALL_TABLE(linkat, linkat, 37, 5) | |
1253 | #endif | |
1254 | #ifndef OVERRIDE_TABLE_64_renameat | |
1255 | TRACE_SYSCALL_TABLE(renameat, renameat, 38, 4) | |
1256 | #endif | |
1257 | #ifndef OVERRIDE_TABLE_64_umount | |
1258 | TRACE_SYSCALL_TABLE(umount, umount, 39, 2) | |
1259 | #endif | |
1260 | #ifndef OVERRIDE_TABLE_64_mount | |
1261 | TRACE_SYSCALL_TABLE(mount, mount, 40, 5) | |
1262 | #endif | |
1263 | #ifndef OVERRIDE_TABLE_64_pivot_root | |
1264 | TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 41, 2) | |
1265 | #endif | |
1266 | #ifndef OVERRIDE_TABLE_64_statfs | |
1267 | TRACE_SYSCALL_TABLE(statfs, statfs, 43, 2) | |
1268 | #endif | |
1269 | #ifndef OVERRIDE_TABLE_64_fstatfs | |
1270 | TRACE_SYSCALL_TABLE(fstatfs, fstatfs, 44, 2) | |
1271 | #endif | |
1272 | #ifndef OVERRIDE_TABLE_64_truncate | |
1273 | TRACE_SYSCALL_TABLE(truncate, truncate, 45, 2) | |
1274 | #endif | |
1275 | #ifndef OVERRIDE_TABLE_64_faccessat | |
1276 | TRACE_SYSCALL_TABLE(faccessat, faccessat, 48, 3) | |
1277 | #endif | |
1278 | #ifndef OVERRIDE_TABLE_64_chdir | |
1279 | TRACE_SYSCALL_TABLE(chdir, chdir, 49, 1) | |
1280 | #endif | |
1281 | #ifndef OVERRIDE_TABLE_64_chroot | |
1282 | TRACE_SYSCALL_TABLE(chroot, chroot, 51, 1) | |
1283 | #endif | |
1284 | #ifndef OVERRIDE_TABLE_64_fchmodat | |
1285 | TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 53, 3) | |
1286 | #endif | |
1287 | #ifndef OVERRIDE_TABLE_64_fchownat | |
1288 | TRACE_SYSCALL_TABLE(fchownat, fchownat, 54, 5) | |
1289 | #endif | |
1290 | #ifndef OVERRIDE_TABLE_64_openat | |
1291 | TRACE_SYSCALL_TABLE(openat, openat, 56, 4) | |
1292 | #endif | |
1293 | #ifndef OVERRIDE_TABLE_64_pipe2 | |
1294 | TRACE_SYSCALL_TABLE(pipe2, pipe2, 59, 2) | |
1295 | #endif | |
1296 | #ifndef OVERRIDE_TABLE_64_quotactl | |
1297 | TRACE_SYSCALL_TABLE(quotactl, quotactl, 60, 4) | |
1298 | #endif | |
1299 | #ifndef OVERRIDE_TABLE_64_getdents64 | |
1300 | TRACE_SYSCALL_TABLE(getdents64, getdents64, 61, 3) | |
1301 | #endif | |
1302 | #ifndef OVERRIDE_TABLE_64_read | |
1303 | TRACE_SYSCALL_TABLE(read, read, 63, 3) | |
1304 | #endif | |
1305 | #ifndef OVERRIDE_TABLE_64_write | |
1306 | TRACE_SYSCALL_TABLE(write, write, 64, 3) | |
1307 | #endif | |
1308 | #ifndef OVERRIDE_TABLE_64_readv | |
1309 | TRACE_SYSCALL_TABLE(readv, readv, 65, 3) | |
1310 | #endif | |
1311 | #ifndef OVERRIDE_TABLE_64_writev | |
1312 | TRACE_SYSCALL_TABLE(writev, writev, 66, 3) | |
1313 | #endif | |
1314 | #ifndef OVERRIDE_TABLE_64_pread64 | |
1315 | TRACE_SYSCALL_TABLE(pread64, pread64, 67, 4) | |
1316 | #endif | |
1317 | #ifndef OVERRIDE_TABLE_64_pwrite64 | |
1318 | TRACE_SYSCALL_TABLE(pwrite64, pwrite64, 68, 4) | |
1319 | #endif | |
1320 | #ifndef OVERRIDE_TABLE_64_preadv | |
1321 | TRACE_SYSCALL_TABLE(preadv, preadv, 69, 5) | |
1322 | #endif | |
1323 | #ifndef OVERRIDE_TABLE_64_pwritev | |
1324 | TRACE_SYSCALL_TABLE(pwritev, pwritev, 70, 5) | |
1325 | #endif | |
1326 | #ifndef OVERRIDE_TABLE_64_sendfile64 | |
1327 | TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 71, 4) | |
1328 | #endif | |
1329 | #ifndef OVERRIDE_TABLE_64_pselect6 | |
1330 | TRACE_SYSCALL_TABLE(pselect6, pselect6, 72, 6) | |
1331 | #endif | |
1332 | #ifndef OVERRIDE_TABLE_64_ppoll | |
1333 | TRACE_SYSCALL_TABLE(ppoll, ppoll, 73, 5) | |
1334 | #endif | |
1335 | #ifndef OVERRIDE_TABLE_64_signalfd4 | |
1336 | TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 74, 4) | |
1337 | #endif | |
1338 | #ifndef OVERRIDE_TABLE_64_vmsplice | |
1339 | TRACE_SYSCALL_TABLE(vmsplice, vmsplice, 75, 4) | |
1340 | #endif | |
1341 | #ifndef OVERRIDE_TABLE_64_splice | |
1342 | TRACE_SYSCALL_TABLE(splice, splice, 76, 6) | |
1343 | #endif | |
1344 | #ifndef OVERRIDE_TABLE_64_readlinkat | |
1345 | TRACE_SYSCALL_TABLE(readlinkat, readlinkat, 78, 4) | |
1346 | #endif | |
1347 | #ifndef OVERRIDE_TABLE_64_newfstatat | |
1348 | TRACE_SYSCALL_TABLE(newfstatat, newfstatat, 79, 4) | |
1349 | #endif | |
1350 | #ifndef OVERRIDE_TABLE_64_newfstat | |
1351 | TRACE_SYSCALL_TABLE(newfstat, newfstat, 80, 2) | |
1352 | #endif | |
1353 | #ifndef OVERRIDE_TABLE_64_timerfd_settime | |
1354 | TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 86, 4) | |
1355 | #endif | |
1356 | #ifndef OVERRIDE_TABLE_64_timerfd_gettime | |
1357 | TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 87, 2) | |
1358 | #endif | |
1359 | #ifndef OVERRIDE_TABLE_64_utimensat | |
1360 | TRACE_SYSCALL_TABLE(utimensat, utimensat, 88, 4) | |
1361 | #endif | |
1362 | #ifndef OVERRIDE_TABLE_64_acct | |
1363 | TRACE_SYSCALL_TABLE(acct, acct, 89, 1) | |
1364 | #endif | |
1365 | #ifndef OVERRIDE_TABLE_64_waitid | |
1366 | TRACE_SYSCALL_TABLE(waitid, waitid, 95, 5) | |
1367 | #endif | |
1368 | #ifndef OVERRIDE_TABLE_64_set_tid_address | |
1369 | TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 96, 1) | |
1370 | #endif | |
1371 | #ifndef OVERRIDE_TABLE_64_futex | |
1372 | TRACE_SYSCALL_TABLE(futex, futex, 98, 6) | |
1373 | #endif | |
1374 | #ifndef OVERRIDE_TABLE_64_set_robust_list | |
1375 | TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 99, 2) | |
1376 | #endif | |
1377 | #ifndef OVERRIDE_TABLE_64_get_robust_list | |
1378 | TRACE_SYSCALL_TABLE(get_robust_list, get_robust_list, 100, 3) | |
1379 | #endif | |
1380 | #ifndef OVERRIDE_TABLE_64_nanosleep | |
1381 | TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 101, 2) | |
1382 | #endif | |
1383 | #ifndef OVERRIDE_TABLE_64_getitimer | |
1384 | TRACE_SYSCALL_TABLE(getitimer, getitimer, 102, 2) | |
1385 | #endif | |
1386 | #ifndef OVERRIDE_TABLE_64_setitimer | |
1387 | TRACE_SYSCALL_TABLE(setitimer, setitimer, 103, 3) | |
1388 | #endif | |
1389 | #ifndef OVERRIDE_TABLE_64_init_module | |
1390 | TRACE_SYSCALL_TABLE(init_module, init_module, 105, 3) | |
1391 | #endif | |
1392 | #ifndef OVERRIDE_TABLE_64_delete_module | |
1393 | TRACE_SYSCALL_TABLE(delete_module, delete_module, 106, 2) | |
1394 | #endif | |
1395 | #ifndef OVERRIDE_TABLE_64_timer_create | |
1396 | TRACE_SYSCALL_TABLE(timer_create, timer_create, 107, 3) | |
1397 | #endif | |
1398 | #ifndef OVERRIDE_TABLE_64_timer_gettime | |
1399 | TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 108, 2) | |
1400 | #endif | |
1401 | #ifndef OVERRIDE_TABLE_64_timer_settime | |
1402 | TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 110, 4) | |
1403 | #endif | |
1404 | #ifndef OVERRIDE_TABLE_64_clock_settime | |
1405 | TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 112, 2) | |
1406 | #endif | |
1407 | #ifndef OVERRIDE_TABLE_64_clock_gettime | |
1408 | TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 113, 2) | |
1409 | #endif | |
1410 | #ifndef OVERRIDE_TABLE_64_clock_getres | |
1411 | TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 114, 2) | |
1412 | #endif | |
1413 | #ifndef OVERRIDE_TABLE_64_clock_nanosleep | |
1414 | TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 115, 4) | |
1415 | #endif | |
1416 | #ifndef OVERRIDE_TABLE_64_syslog | |
1417 | TRACE_SYSCALL_TABLE(syslog, syslog, 116, 3) | |
1418 | #endif | |
1419 | #ifndef OVERRIDE_TABLE_64_sched_setparam | |
1420 | TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 118, 2) | |
1421 | #endif | |
1422 | #ifndef OVERRIDE_TABLE_64_sched_setscheduler | |
1423 | TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 119, 3) | |
1424 | #endif | |
1425 | #ifndef OVERRIDE_TABLE_64_sched_getparam | |
1426 | TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 121, 2) | |
1427 | #endif | |
1428 | #ifndef OVERRIDE_TABLE_64_sched_setaffinity | |
1429 | TRACE_SYSCALL_TABLE(sched_setaffinity, sched_setaffinity, 122, 3) | |
1430 | #endif | |
1431 | #ifndef OVERRIDE_TABLE_64_sched_getaffinity | |
1432 | TRACE_SYSCALL_TABLE(sched_getaffinity, sched_getaffinity, 123, 3) | |
1433 | #endif | |
1434 | #ifndef OVERRIDE_TABLE_64_sched_rr_get_interval | |
1435 | TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 127, 2) | |
1436 | #endif | |
1437 | #ifndef OVERRIDE_TABLE_64_sigaltstack | |
1438 | TRACE_SYSCALL_TABLE(sigaltstack, sigaltstack, 132, 2) | |
1439 | #endif | |
1440 | #ifndef OVERRIDE_TABLE_64_rt_sigsuspend | |
1441 | TRACE_SYSCALL_TABLE(rt_sigsuspend, rt_sigsuspend, 133, 2) | |
1442 | #endif | |
1443 | #ifndef OVERRIDE_TABLE_64_rt_sigaction | |
1444 | TRACE_SYSCALL_TABLE(rt_sigaction, rt_sigaction, 134, 4) | |
1445 | #endif | |
1446 | #ifndef OVERRIDE_TABLE_64_rt_sigprocmask | |
1447 | TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 135, 4) | |
1448 | #endif | |
1449 | #ifndef OVERRIDE_TABLE_64_rt_sigpending | |
1450 | TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 136, 2) | |
1451 | #endif | |
1452 | #ifndef OVERRIDE_TABLE_64_rt_sigtimedwait | |
1453 | TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 137, 4) | |
1454 | #endif | |
1455 | #ifndef OVERRIDE_TABLE_64_rt_sigqueueinfo | |
1456 | TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 138, 3) | |
1457 | #endif | |
1458 | #ifndef OVERRIDE_TABLE_64_reboot | |
1459 | TRACE_SYSCALL_TABLE(reboot, reboot, 142, 4) | |
1460 | #endif | |
1461 | #ifndef OVERRIDE_TABLE_64_getresuid | |
1462 | TRACE_SYSCALL_TABLE(getresuid, getresuid, 148, 3) | |
1463 | #endif | |
1464 | #ifndef OVERRIDE_TABLE_64_getresgid | |
1465 | TRACE_SYSCALL_TABLE(getresgid, getresgid, 150, 3) | |
1466 | #endif | |
1467 | #ifndef OVERRIDE_TABLE_64_times | |
1468 | TRACE_SYSCALL_TABLE(times, times, 153, 1) | |
1469 | #endif | |
1470 | #ifndef OVERRIDE_TABLE_64_getgroups | |
1471 | TRACE_SYSCALL_TABLE(getgroups, getgroups, 158, 2) | |
1472 | #endif | |
1473 | #ifndef OVERRIDE_TABLE_64_setgroups | |
1474 | TRACE_SYSCALL_TABLE(setgroups, setgroups, 159, 2) | |
1475 | #endif | |
1476 | #ifndef OVERRIDE_TABLE_64_newuname | |
1477 | TRACE_SYSCALL_TABLE(newuname, newuname, 160, 1) | |
1478 | #endif | |
1479 | #ifndef OVERRIDE_TABLE_64_sethostname | |
1480 | TRACE_SYSCALL_TABLE(sethostname, sethostname, 161, 2) | |
1481 | #endif | |
1482 | #ifndef OVERRIDE_TABLE_64_setdomainname | |
1483 | TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 162, 2) | |
1484 | #endif | |
1485 | #ifndef OVERRIDE_TABLE_64_getrlimit | |
1486 | TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 163, 2) | |
1487 | #endif | |
1488 | #ifndef OVERRIDE_TABLE_64_setrlimit | |
1489 | TRACE_SYSCALL_TABLE(setrlimit, setrlimit, 164, 2) | |
1490 | #endif | |
1491 | #ifndef OVERRIDE_TABLE_64_getrusage | |
1492 | TRACE_SYSCALL_TABLE(getrusage, getrusage, 165, 2) | |
1493 | #endif | |
1494 | #ifndef OVERRIDE_TABLE_64_getcpu | |
1495 | TRACE_SYSCALL_TABLE(getcpu, getcpu, 168, 3) | |
1496 | #endif | |
1497 | #ifndef OVERRIDE_TABLE_64_gettimeofday | |
1498 | TRACE_SYSCALL_TABLE(gettimeofday, gettimeofday, 169, 2) | |
1499 | #endif | |
1500 | #ifndef OVERRIDE_TABLE_64_settimeofday | |
1501 | TRACE_SYSCALL_TABLE(settimeofday, settimeofday, 170, 2) | |
1502 | #endif | |
1503 | #ifndef OVERRIDE_TABLE_64_adjtimex | |
1504 | TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 171, 1) | |
1505 | #endif | |
1506 | #ifndef OVERRIDE_TABLE_64_sysinfo | |
1507 | TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 179, 1) | |
1508 | #endif | |
1509 | #ifndef OVERRIDE_TABLE_64_mq_open | |
1510 | TRACE_SYSCALL_TABLE(mq_open, mq_open, 180, 4) | |
1511 | #endif | |
1512 | #ifndef OVERRIDE_TABLE_64_mq_unlink | |
1513 | TRACE_SYSCALL_TABLE(mq_unlink, mq_unlink, 181, 1) | |
1514 | #endif | |
1515 | #ifndef OVERRIDE_TABLE_64_mq_timedsend | |
1516 | TRACE_SYSCALL_TABLE(mq_timedsend, mq_timedsend, 182, 5) | |
1517 | #endif | |
1518 | #ifndef OVERRIDE_TABLE_64_mq_timedreceive | |
1519 | TRACE_SYSCALL_TABLE(mq_timedreceive, mq_timedreceive, 183, 5) | |
1520 | #endif | |
1521 | #ifndef OVERRIDE_TABLE_64_mq_notify | |
1522 | TRACE_SYSCALL_TABLE(mq_notify, mq_notify, 184, 2) | |
1523 | #endif | |
1524 | #ifndef OVERRIDE_TABLE_64_mq_getsetattr | |
1525 | TRACE_SYSCALL_TABLE(mq_getsetattr, mq_getsetattr, 185, 3) | |
1526 | #endif | |
1527 | #ifndef OVERRIDE_TABLE_64_msgctl | |
1528 | TRACE_SYSCALL_TABLE(msgctl, msgctl, 187, 3) | |
1529 | #endif | |
1530 | #ifndef OVERRIDE_TABLE_64_msgrcv | |
1531 | TRACE_SYSCALL_TABLE(msgrcv, msgrcv, 188, 5) | |
1532 | #endif | |
1533 | #ifndef OVERRIDE_TABLE_64_msgsnd | |
1534 | TRACE_SYSCALL_TABLE(msgsnd, msgsnd, 189, 4) | |
1535 | #endif | |
1536 | #ifndef OVERRIDE_TABLE_64_semtimedop | |
1537 | TRACE_SYSCALL_TABLE(semtimedop, semtimedop, 192, 4) | |
1538 | #endif | |
1539 | #ifndef OVERRIDE_TABLE_64_semop | |
1540 | TRACE_SYSCALL_TABLE(semop, semop, 193, 3) | |
1541 | #endif | |
1542 | #ifndef OVERRIDE_TABLE_64_shmctl | |
1543 | TRACE_SYSCALL_TABLE(shmctl, shmctl, 195, 3) | |
1544 | #endif | |
1545 | #ifndef OVERRIDE_TABLE_64_shmat | |
1546 | TRACE_SYSCALL_TABLE(shmat, shmat, 196, 3) | |
1547 | #endif | |
1548 | #ifndef OVERRIDE_TABLE_64_shmdt | |
1549 | TRACE_SYSCALL_TABLE(shmdt, shmdt, 197, 1) | |
1550 | #endif | |
1551 | #ifndef OVERRIDE_TABLE_64_socketpair | |
1552 | TRACE_SYSCALL_TABLE(socketpair, socketpair, 199, 4) | |
1553 | #endif | |
1554 | #ifndef OVERRIDE_TABLE_64_bind | |
1555 | TRACE_SYSCALL_TABLE(bind, bind, 200, 3) | |
1556 | #endif | |
1557 | #ifndef OVERRIDE_TABLE_64_accept | |
1558 | TRACE_SYSCALL_TABLE(accept, accept, 202, 3) | |
1559 | #endif | |
1560 | #ifndef OVERRIDE_TABLE_64_connect | |
1561 | TRACE_SYSCALL_TABLE(connect, connect, 203, 3) | |
1562 | #endif | |
1563 | #ifndef OVERRIDE_TABLE_64_getsockname | |
1564 | TRACE_SYSCALL_TABLE(getsockname, getsockname, 204, 3) | |
1565 | #endif | |
1566 | #ifndef OVERRIDE_TABLE_64_getpeername | |
1567 | TRACE_SYSCALL_TABLE(getpeername, getpeername, 205, 3) | |
1568 | #endif | |
1569 | #ifndef OVERRIDE_TABLE_64_sendto | |
1570 | TRACE_SYSCALL_TABLE(sendto, sendto, 206, 6) | |
1571 | #endif | |
1572 | #ifndef OVERRIDE_TABLE_64_recvfrom | |
1573 | TRACE_SYSCALL_TABLE(recvfrom, recvfrom, 207, 6) | |
1574 | #endif | |
1575 | #ifndef OVERRIDE_TABLE_64_setsockopt | |
1576 | TRACE_SYSCALL_TABLE(setsockopt, setsockopt, 208, 5) | |
1577 | #endif | |
1578 | #ifndef OVERRIDE_TABLE_64_getsockopt | |
1579 | TRACE_SYSCALL_TABLE(getsockopt, getsockopt, 209, 5) | |
1580 | #endif | |
1581 | #ifndef OVERRIDE_TABLE_64_sendmsg | |
1582 | TRACE_SYSCALL_TABLE(sendmsg, sendmsg, 211, 3) | |
1583 | #endif | |
1584 | #ifndef OVERRIDE_TABLE_64_recvmsg | |
1585 | TRACE_SYSCALL_TABLE(recvmsg, recvmsg, 212, 3) | |
1586 | #endif | |
1587 | #ifndef OVERRIDE_TABLE_64_add_key | |
1588 | TRACE_SYSCALL_TABLE(add_key, add_key, 217, 5) | |
1589 | #endif | |
1590 | #ifndef OVERRIDE_TABLE_64_request_key | |
1591 | TRACE_SYSCALL_TABLE(request_key, request_key, 218, 4) | |
1592 | #endif | |
1593 | #ifndef OVERRIDE_TABLE_64_execve | |
1594 | TRACE_SYSCALL_TABLE(execve, execve, 221, 3) | |
1595 | #endif | |
1596 | #ifndef OVERRIDE_TABLE_64_swapon | |
1597 | TRACE_SYSCALL_TABLE(swapon, swapon, 224, 2) | |
1598 | #endif | |
1599 | #ifndef OVERRIDE_TABLE_64_swapoff | |
1600 | TRACE_SYSCALL_TABLE(swapoff, swapoff, 225, 1) | |
1601 | #endif | |
1602 | #ifndef OVERRIDE_TABLE_64_mincore | |
1603 | TRACE_SYSCALL_TABLE(mincore, mincore, 232, 3) | |
1604 | #endif | |
1605 | #ifndef OVERRIDE_TABLE_64_rt_tgsigqueueinfo | |
1606 | TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 240, 4) | |
1607 | #endif | |
1608 | #ifndef OVERRIDE_TABLE_64_perf_event_open | |
1609 | TRACE_SYSCALL_TABLE(perf_event_open, perf_event_open, 241, 5) | |
1610 | #endif | |
1611 | #ifndef OVERRIDE_TABLE_64_accept4 | |
1612 | TRACE_SYSCALL_TABLE(accept4, accept4, 242, 4) | |
1613 | #endif | |
1614 | #ifndef OVERRIDE_TABLE_64_recvmmsg | |
1615 | TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 243, 5) | |
1616 | #endif | |
1617 | #ifndef OVERRIDE_TABLE_64_wait4 | |
1618 | TRACE_SYSCALL_TABLE(wait4, wait4, 260, 4) | |
1619 | #endif | |
1620 | #ifndef OVERRIDE_TABLE_64_prlimit64 | |
1621 | TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 261, 4) | |
1622 | #endif | |
1623 | #ifndef OVERRIDE_TABLE_64_fanotify_mark | |
1624 | TRACE_SYSCALL_TABLE(fanotify_mark, fanotify_mark, 263, 5) | |
1625 | #endif | |
1626 | #ifndef OVERRIDE_TABLE_64_name_to_handle_at | |
1627 | TRACE_SYSCALL_TABLE(name_to_handle_at, name_to_handle_at, 264, 5) | |
1628 | #endif | |
1629 | #ifndef OVERRIDE_TABLE_64_open_by_handle_at | |
1630 | TRACE_SYSCALL_TABLE(open_by_handle_at, open_by_handle_at, 265, 3) | |
1631 | #endif | |
1632 | #ifndef OVERRIDE_TABLE_64_clock_adjtime | |
1633 | TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 266, 2) | |
1634 | #endif | |
1635 | #ifndef OVERRIDE_TABLE_64_sendmmsg | |
1636 | TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 269, 4) | |
1637 | #endif | |
1638 | #ifndef OVERRIDE_TABLE_64_process_vm_readv | |
1639 | TRACE_SYSCALL_TABLE(process_vm_readv, process_vm_readv, 270, 6) | |
1640 | #endif | |
1641 | #ifndef OVERRIDE_TABLE_64_process_vm_writev | |
1642 | TRACE_SYSCALL_TABLE(process_vm_writev, process_vm_writev, 271, 6) | |
1643 | #endif | |
1644 | #ifndef OVERRIDE_TABLE_64_finit_module | |
1645 | TRACE_SYSCALL_TABLE(finit_module, finit_module, 273, 3) | |
1646 | #endif | |
1647 | #ifndef OVERRIDE_TABLE_64_sched_setattr | |
1648 | TRACE_SYSCALL_TABLE(sched_setattr, sched_setattr, 274, 3) | |
1649 | #endif | |
1650 | #ifndef OVERRIDE_TABLE_64_sched_getattr | |
1651 | TRACE_SYSCALL_TABLE(sched_getattr, sched_getattr, 275, 4) | |
1652 | #endif | |
1653 | #ifndef OVERRIDE_TABLE_64_renameat2 | |
1654 | TRACE_SYSCALL_TABLE(renameat2, renameat2, 276, 5) | |
1655 | #endif | |
1656 | #ifndef OVERRIDE_TABLE_64_seccomp | |
1657 | TRACE_SYSCALL_TABLE(seccomp, seccomp, 277, 3) | |
1658 | #endif | |
1659 | #ifndef OVERRIDE_TABLE_64_getrandom | |
1660 | TRACE_SYSCALL_TABLE(getrandom, getrandom, 278, 3) | |
1661 | #endif | |
1662 | #ifndef OVERRIDE_TABLE_64_memfd_create | |
1663 | TRACE_SYSCALL_TABLE(memfd_create, memfd_create, 279, 2) | |
1664 | #endif | |
1665 | #ifndef OVERRIDE_TABLE_64_execveat | |
1666 | TRACE_SYSCALL_TABLE(execveat, execveat, 281, 5) | |
1667 | #endif | |
1668 | ||
1669 | #endif /* CREATE_SYSCALL_TABLE */ |