Commit | Line | Data |
---|---|---|
046f293c LP |
1 | /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ |
2 | #ifndef CREATE_SYSCALL_TABLE | |
3 | ||
4 | #if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) | |
5 | #define _TRACE_SYSCALLS_POINTERS_H | |
6 | ||
3bc29f0a | 7 | #include "../../../probes/lttng-tracepoint-event.h" |
046f293c LP |
8 | #include <linux/syscalls.h> |
9 | #include "mips-32-syscalls-3.13.0_pointers_override.h" | |
10 | #include "syscalls_pointers_override.h" | |
11 | ||
f1e7d826 MD |
12 | #ifndef OVERRIDE_32_unlink |
13 | SC_LTTNG_TRACEPOINT_EVENT(unlink, | |
14 | TP_PROTO(sc_exit(long ret,) const char * pathname), | |
15 | TP_ARGS(sc_exit(ret,) pathname), | |
e0976e2b | 16 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) |
046f293c LP |
17 | ) |
18 | #endif | |
f1e7d826 MD |
19 | #ifndef OVERRIDE_32_chdir |
20 | SC_LTTNG_TRACEPOINT_EVENT(chdir, | |
21 | TP_PROTO(sc_exit(long ret,) const char * filename), | |
22 | TP_ARGS(sc_exit(ret,) filename), | |
e0976e2b | 23 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) |
046f293c LP |
24 | ) |
25 | #endif | |
f1e7d826 MD |
26 | #ifndef OVERRIDE_32_time |
27 | SC_LTTNG_TRACEPOINT_EVENT(time, | |
28 | TP_PROTO(sc_exit(long ret,) time_t * tloc), | |
29 | TP_ARGS(sc_exit(ret,) tloc), | |
e0976e2b | 30 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(time_t *, tloc, tloc))) |
046f293c LP |
31 | ) |
32 | #endif | |
f1e7d826 MD |
33 | #ifndef OVERRIDE_32_oldumount |
34 | SC_LTTNG_TRACEPOINT_EVENT(oldumount, | |
35 | TP_PROTO(sc_exit(long ret,) char * name), | |
36 | TP_ARGS(sc_exit(ret,) name), | |
e0976e2b | 37 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(name, name))) |
046f293c LP |
38 | ) |
39 | #endif | |
f1e7d826 MD |
40 | #ifndef OVERRIDE_32_stime |
41 | SC_LTTNG_TRACEPOINT_EVENT(stime, | |
42 | TP_PROTO(sc_exit(long ret,) time_t * tptr), | |
43 | TP_ARGS(sc_exit(ret,) tptr), | |
e0976e2b | 44 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(time_t *, tptr, tptr))) |
046f293c LP |
45 | ) |
46 | #endif | |
f1e7d826 MD |
47 | #ifndef OVERRIDE_32_rmdir |
48 | SC_LTTNG_TRACEPOINT_EVENT(rmdir, | |
49 | TP_PROTO(sc_exit(long ret,) const char * pathname), | |
50 | TP_ARGS(sc_exit(ret,) pathname), | |
e0976e2b | 51 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) |
046f293c LP |
52 | ) |
53 | #endif | |
f1e7d826 MD |
54 | #ifndef OVERRIDE_32_times |
55 | SC_LTTNG_TRACEPOINT_EVENT(times, | |
56 | TP_PROTO(sc_exit(long ret,) struct tms * tbuf), | |
57 | TP_ARGS(sc_exit(ret,) tbuf), | |
e0976e2b | 58 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct tms *, tbuf, tbuf))) |
046f293c LP |
59 | ) |
60 | #endif | |
f1e7d826 MD |
61 | #ifndef OVERRIDE_32_olduname |
62 | SC_LTTNG_TRACEPOINT_EVENT(olduname, | |
63 | TP_PROTO(sc_exit(long ret,) struct oldold_utsname * name), | |
64 | TP_ARGS(sc_exit(ret,) name), | |
e0976e2b | 65 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct oldold_utsname *, name, name))) |
046f293c LP |
66 | ) |
67 | #endif | |
f1e7d826 MD |
68 | #ifndef OVERRIDE_32_chroot |
69 | SC_LTTNG_TRACEPOINT_EVENT(chroot, | |
70 | TP_PROTO(sc_exit(long ret,) const char * filename), | |
71 | TP_ARGS(sc_exit(ret,) filename), | |
e0976e2b | 72 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) |
046f293c LP |
73 | ) |
74 | #endif | |
f1e7d826 MD |
75 | #ifndef OVERRIDE_32_sigsuspend |
76 | SC_LTTNG_TRACEPOINT_EVENT(sigsuspend, | |
77 | TP_PROTO(sc_exit(long ret,) sigset_t * uset), | |
78 | TP_ARGS(sc_exit(ret,) uset), | |
e0976e2b | 79 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(sigset_t *, uset, uset))) |
046f293c LP |
80 | ) |
81 | #endif | |
f1e7d826 MD |
82 | #ifndef OVERRIDE_32_sigpending |
83 | SC_LTTNG_TRACEPOINT_EVENT(sigpending, | |
84 | TP_PROTO(sc_exit(long ret,) old_sigset_t * set), | |
85 | TP_ARGS(sc_exit(ret,) set), | |
e0976e2b | 86 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_sigset_t *, set, set))) |
046f293c LP |
87 | ) |
88 | #endif | |
f1e7d826 MD |
89 | #ifndef OVERRIDE_32_uselib |
90 | SC_LTTNG_TRACEPOINT_EVENT(uselib, | |
91 | TP_PROTO(sc_exit(long ret,) const char * library), | |
92 | TP_ARGS(sc_exit(ret,) library), | |
e0976e2b | 93 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(const char *, library, library))) |
046f293c LP |
94 | ) |
95 | #endif | |
f1e7d826 MD |
96 | #ifndef OVERRIDE_32_uname |
97 | SC_LTTNG_TRACEPOINT_EVENT(uname, | |
98 | TP_PROTO(sc_exit(long ret,) struct old_utsname * name), | |
99 | TP_ARGS(sc_exit(ret,) name), | |
e0976e2b | 100 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct old_utsname *, name, name))) |
046f293c LP |
101 | ) |
102 | #endif | |
f1e7d826 MD |
103 | #ifndef OVERRIDE_32_sysinfo |
104 | SC_LTTNG_TRACEPOINT_EVENT(sysinfo, | |
105 | TP_PROTO(sc_exit(long ret,) struct sysinfo * info), | |
106 | TP_ARGS(sc_exit(ret,) info), | |
e0976e2b | 107 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct sysinfo *, info, info))) |
046f293c LP |
108 | ) |
109 | #endif | |
f1e7d826 MD |
110 | #ifndef OVERRIDE_32_newuname |
111 | SC_LTTNG_TRACEPOINT_EVENT(newuname, | |
112 | TP_PROTO(sc_exit(long ret,) struct new_utsname * name), | |
113 | TP_ARGS(sc_exit(ret,) name), | |
e0976e2b | 114 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct new_utsname *, name, name))) |
046f293c LP |
115 | ) |
116 | #endif | |
f1e7d826 MD |
117 | #ifndef OVERRIDE_32_adjtimex |
118 | SC_LTTNG_TRACEPOINT_EVENT(adjtimex, | |
119 | TP_PROTO(sc_exit(long ret,) struct timex * txc_p), | |
120 | TP_ARGS(sc_exit(ret,) txc_p), | |
e0976e2b | 121 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct timex *, txc_p, txc_p))) |
046f293c LP |
122 | ) |
123 | #endif | |
f1e7d826 MD |
124 | #ifndef OVERRIDE_32_sysctl |
125 | SC_LTTNG_TRACEPOINT_EVENT(sysctl, | |
126 | TP_PROTO(sc_exit(long ret,) struct __sysctl_args * args), | |
127 | TP_ARGS(sc_exit(ret,) args), | |
e0976e2b | 128 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct __sysctl_args *, args, args))) |
046f293c LP |
129 | ) |
130 | #endif | |
f1e7d826 MD |
131 | #ifndef OVERRIDE_32_set_tid_address |
132 | SC_LTTNG_TRACEPOINT_EVENT(set_tid_address, | |
133 | TP_PROTO(sc_exit(long ret,) int * tidptr), | |
134 | TP_ARGS(sc_exit(ret,) tidptr), | |
e0976e2b | 135 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int *, tidptr, tidptr))) |
046f293c LP |
136 | ) |
137 | #endif | |
f1e7d826 MD |
138 | #ifndef OVERRIDE_32_creat |
139 | SC_LTTNG_TRACEPOINT_EVENT(creat, | |
140 | TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), | |
141 | TP_ARGS(sc_exit(ret,) pathname, mode), | |
e0976e2b | 142 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) |
046f293c LP |
143 | ) |
144 | #endif | |
f1e7d826 MD |
145 | #ifndef OVERRIDE_32_link |
146 | SC_LTTNG_TRACEPOINT_EVENT(link, | |
147 | TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), | |
148 | TP_ARGS(sc_exit(ret,) oldname, newname), | |
e0976e2b | 149 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) |
046f293c LP |
150 | ) |
151 | #endif | |
f1e7d826 MD |
152 | #ifndef OVERRIDE_32_chmod |
153 | SC_LTTNG_TRACEPOINT_EVENT(chmod, | |
154 | TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode), | |
155 | TP_ARGS(sc_exit(ret,) filename, mode), | |
e0976e2b | 156 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode))) |
046f293c LP |
157 | ) |
158 | #endif | |
f1e7d826 MD |
159 | #ifndef OVERRIDE_32_utime |
160 | SC_LTTNG_TRACEPOINT_EVENT(utime, | |
161 | TP_PROTO(sc_exit(long ret,) char * filename, struct utimbuf * times), | |
162 | TP_ARGS(sc_exit(ret,) filename, times), | |
e0976e2b | 163 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct utimbuf *, times, times))) |
046f293c LP |
164 | ) |
165 | #endif | |
f1e7d826 MD |
166 | #ifndef OVERRIDE_32_access |
167 | SC_LTTNG_TRACEPOINT_EVENT(access, | |
168 | TP_PROTO(sc_exit(long ret,) const char * filename, int mode), | |
169 | TP_ARGS(sc_exit(ret,) filename, mode), | |
e0976e2b | 170 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, mode, mode))) |
046f293c LP |
171 | ) |
172 | #endif | |
f1e7d826 MD |
173 | #ifndef OVERRIDE_32_rename |
174 | SC_LTTNG_TRACEPOINT_EVENT(rename, | |
175 | TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), | |
176 | TP_ARGS(sc_exit(ret,) oldname, newname), | |
e0976e2b | 177 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) |
046f293c LP |
178 | ) |
179 | #endif | |
f1e7d826 MD |
180 | #ifndef OVERRIDE_32_mkdir |
181 | SC_LTTNG_TRACEPOINT_EVENT(mkdir, | |
182 | TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), | |
183 | TP_ARGS(sc_exit(ret,) pathname, mode), | |
e0976e2b | 184 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) |
046f293c LP |
185 | ) |
186 | #endif | |
f1e7d826 MD |
187 | #ifndef OVERRIDE_32_umount |
188 | SC_LTTNG_TRACEPOINT_EVENT(umount, | |
189 | TP_PROTO(sc_exit(long ret,) char * name, int flags), | |
190 | TP_ARGS(sc_exit(ret,) name, flags), | |
e0976e2b | 191 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, flags, flags))) |
046f293c LP |
192 | ) |
193 | #endif | |
f1e7d826 MD |
194 | #ifndef OVERRIDE_32_ustat |
195 | SC_LTTNG_TRACEPOINT_EVENT(ustat, | |
196 | TP_PROTO(sc_exit(long ret,) unsigned dev, struct ustat * ubuf), | |
197 | TP_ARGS(sc_exit(ret,) dev, ubuf), | |
e0976e2b | 198 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned, dev, dev)) sc_out(ctf_integer(struct ustat *, ubuf, ubuf))) |
046f293c LP |
199 | ) |
200 | #endif | |
f1e7d826 MD |
201 | #ifndef OVERRIDE_32_sethostname |
202 | SC_LTTNG_TRACEPOINT_EVENT(sethostname, | |
203 | TP_PROTO(sc_exit(long ret,) char * name, int len), | |
204 | TP_ARGS(sc_exit(ret,) name, len), | |
e0976e2b | 205 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) |
046f293c LP |
206 | ) |
207 | #endif | |
f1e7d826 MD |
208 | #ifndef OVERRIDE_32_setrlimit |
209 | SC_LTTNG_TRACEPOINT_EVENT(setrlimit, | |
210 | TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), | |
211 | TP_ARGS(sc_exit(ret,) resource, rlim), | |
e0976e2b | 212 | 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))) |
046f293c LP |
213 | ) |
214 | #endif | |
f1e7d826 MD |
215 | #ifndef OVERRIDE_32_getrlimit |
216 | SC_LTTNG_TRACEPOINT_EVENT(getrlimit, | |
217 | TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), | |
218 | TP_ARGS(sc_exit(ret,) resource, rlim), | |
e0976e2b | 219 | 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))) |
046f293c LP |
220 | ) |
221 | #endif | |
f1e7d826 MD |
222 | #ifndef OVERRIDE_32_getrusage |
223 | SC_LTTNG_TRACEPOINT_EVENT(getrusage, | |
224 | TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru), | |
225 | TP_ARGS(sc_exit(ret,) who, ru), | |
e0976e2b | 226 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, who, who)) sc_out(ctf_integer(struct rusage *, ru, ru))) |
046f293c LP |
227 | ) |
228 | #endif | |
f1e7d826 MD |
229 | #ifndef OVERRIDE_32_gettimeofday |
230 | SC_LTTNG_TRACEPOINT_EVENT(gettimeofday, | |
231 | TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), | |
232 | TP_ARGS(sc_exit(ret,) tv, tz), | |
e0976e2b | 233 | 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))) |
046f293c LP |
234 | ) |
235 | #endif | |
f1e7d826 MD |
236 | #ifndef OVERRIDE_32_settimeofday |
237 | SC_LTTNG_TRACEPOINT_EVENT(settimeofday, | |
238 | TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), | |
239 | TP_ARGS(sc_exit(ret,) tv, tz), | |
e0976e2b | 240 | 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))) |
046f293c LP |
241 | ) |
242 | #endif | |
f1e7d826 MD |
243 | #ifndef OVERRIDE_32_getgroups |
244 | SC_LTTNG_TRACEPOINT_EVENT(getgroups, | |
245 | TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), | |
246 | TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), | |
e0976e2b | 247 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_out(ctf_integer(gid_t *, grouplist, grouplist))) |
046f293c LP |
248 | ) |
249 | #endif | |
f1e7d826 MD |
250 | #ifndef OVERRIDE_32_setgroups |
251 | SC_LTTNG_TRACEPOINT_EVENT(setgroups, | |
252 | TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), | |
253 | TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), | |
e0976e2b | 254 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_in(ctf_integer(gid_t *, grouplist, grouplist))) |
046f293c LP |
255 | ) |
256 | #endif | |
f1e7d826 MD |
257 | #ifndef OVERRIDE_32_symlink |
258 | SC_LTTNG_TRACEPOINT_EVENT(symlink, | |
259 | TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), | |
260 | TP_ARGS(sc_exit(ret,) oldname, newname), | |
e0976e2b | 261 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) |
046f293c LP |
262 | ) |
263 | #endif | |
f1e7d826 MD |
264 | #ifndef OVERRIDE_32_truncate |
265 | SC_LTTNG_TRACEPOINT_EVENT(truncate, | |
266 | TP_PROTO(sc_exit(long ret,) const char * path, long length), | |
267 | TP_ARGS(sc_exit(ret,) path, length), | |
e0976e2b | 268 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(path, path)) sc_in(ctf_integer(long, length, length))) |
046f293c LP |
269 | ) |
270 | #endif | |
f1e7d826 MD |
271 | #ifndef OVERRIDE_32_statfs |
272 | SC_LTTNG_TRACEPOINT_EVENT(statfs, | |
273 | TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf), | |
274 | TP_ARGS(sc_exit(ret,) pathname, buf), | |
e0976e2b | 275 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(struct statfs *, buf, buf))) |
046f293c LP |
276 | ) |
277 | #endif | |
f1e7d826 MD |
278 | #ifndef OVERRIDE_32_fstatfs |
279 | SC_LTTNG_TRACEPOINT_EVENT(fstatfs, | |
280 | TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf), | |
281 | TP_ARGS(sc_exit(ret,) fd, buf), | |
e0976e2b | 282 | 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))) |
046f293c LP |
283 | ) |
284 | #endif | |
f1e7d826 MD |
285 | #ifndef OVERRIDE_32_socketcall |
286 | SC_LTTNG_TRACEPOINT_EVENT(socketcall, | |
287 | TP_PROTO(sc_exit(long ret,) int call, unsigned long * args), | |
288 | TP_ARGS(sc_exit(ret,) call, args), | |
e0976e2b | 289 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, call, call)) sc_inout(ctf_integer(unsigned long *, args, args))) |
046f293c LP |
290 | ) |
291 | #endif | |
f1e7d826 MD |
292 | #ifndef OVERRIDE_32_getitimer |
293 | SC_LTTNG_TRACEPOINT_EVENT(getitimer, | |
294 | TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value), | |
295 | TP_ARGS(sc_exit(ret,) which, value), | |
e0976e2b | 296 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_out(ctf_integer(struct itimerval *, value, value))) |
046f293c LP |
297 | ) |
298 | #endif | |
f1e7d826 MD |
299 | #ifndef OVERRIDE_32_newstat |
300 | SC_LTTNG_TRACEPOINT_EVENT(newstat, | |
301 | TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), | |
302 | TP_ARGS(sc_exit(ret,) filename, statbuf), | |
e0976e2b | 303 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) |
046f293c LP |
304 | ) |
305 | #endif | |
f1e7d826 MD |
306 | #ifndef OVERRIDE_32_newlstat |
307 | SC_LTTNG_TRACEPOINT_EVENT(newlstat, | |
308 | TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), | |
309 | TP_ARGS(sc_exit(ret,) filename, statbuf), | |
e0976e2b | 310 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) |
046f293c LP |
311 | ) |
312 | #endif | |
f1e7d826 MD |
313 | #ifndef OVERRIDE_32_newfstat |
314 | SC_LTTNG_TRACEPOINT_EVENT(newfstat, | |
315 | TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf), | |
316 | TP_ARGS(sc_exit(ret,) fd, statbuf), | |
e0976e2b | 317 | 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))) |
046f293c LP |
318 | ) |
319 | #endif | |
f1e7d826 MD |
320 | #ifndef OVERRIDE_32_setdomainname |
321 | SC_LTTNG_TRACEPOINT_EVENT(setdomainname, | |
322 | TP_PROTO(sc_exit(long ret,) char * name, int len), | |
323 | TP_ARGS(sc_exit(ret,) name, len), | |
e0976e2b | 324 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) |
046f293c LP |
325 | ) |
326 | #endif | |
f1e7d826 MD |
327 | #ifndef OVERRIDE_32_delete_module |
328 | SC_LTTNG_TRACEPOINT_EVENT(delete_module, | |
329 | TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags), | |
330 | TP_ARGS(sc_exit(ret,) name_user, flags), | |
e0976e2b | 331 | 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))) |
046f293c LP |
332 | ) |
333 | #endif | |
f1e7d826 MD |
334 | #ifndef OVERRIDE_32_sched_setparam |
335 | SC_LTTNG_TRACEPOINT_EVENT(sched_setparam, | |
336 | TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), | |
337 | TP_ARGS(sc_exit(ret,) pid, param), | |
e0976e2b | 338 | 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))) |
046f293c LP |
339 | ) |
340 | #endif | |
f1e7d826 MD |
341 | #ifndef OVERRIDE_32_sched_getparam |
342 | SC_LTTNG_TRACEPOINT_EVENT(sched_getparam, | |
343 | TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), | |
344 | TP_ARGS(sc_exit(ret,) pid, param), | |
e0976e2b | 345 | 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))) |
046f293c LP |
346 | ) |
347 | #endif | |
f1e7d826 MD |
348 | #ifndef OVERRIDE_32_sched_rr_get_interval |
349 | SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval, | |
350 | TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval), | |
351 | TP_ARGS(sc_exit(ret,) pid, interval), | |
e0976e2b | 352 | 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))) |
046f293c LP |
353 | ) |
354 | #endif | |
f1e7d826 MD |
355 | #ifndef OVERRIDE_32_nanosleep |
356 | SC_LTTNG_TRACEPOINT_EVENT(nanosleep, | |
357 | TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp), | |
358 | TP_ARGS(sc_exit(ret,) rqtp, rmtp), | |
e0976e2b | 359 | 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))) |
046f293c LP |
360 | ) |
361 | #endif | |
f1e7d826 MD |
362 | #ifndef OVERRIDE_32_rt_sigpending |
363 | SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending, | |
364 | TP_PROTO(sc_exit(long ret,) sigset_t * uset, size_t sigsetsize), | |
365 | TP_ARGS(sc_exit(ret,) uset, sigsetsize), | |
e0976e2b | 366 | 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))) |
046f293c LP |
367 | ) |
368 | #endif | |
f1e7d826 MD |
369 | #ifndef OVERRIDE_32_rt_sigsuspend |
370 | SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend, | |
371 | TP_PROTO(sc_exit(long ret,) sigset_t * unewset, size_t sigsetsize), | |
372 | TP_ARGS(sc_exit(ret,) unewset, sigsetsize), | |
e0976e2b | 373 | 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))) |
046f293c LP |
374 | ) |
375 | #endif | |
f1e7d826 MD |
376 | #ifndef OVERRIDE_32_getcwd |
377 | SC_LTTNG_TRACEPOINT_EVENT(getcwd, | |
378 | TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size), | |
379 | TP_ARGS(sc_exit(ret,) buf, size), | |
e0976e2b | 380 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(unsigned long, size, size))) |
046f293c LP |
381 | ) |
382 | #endif | |
f1e7d826 MD |
383 | #ifndef OVERRIDE_32_sigaltstack |
384 | SC_LTTNG_TRACEPOINT_EVENT(sigaltstack, | |
385 | TP_PROTO(sc_exit(long ret,) const stack_t * uss, stack_t * uoss), | |
386 | TP_ARGS(sc_exit(ret,) uss, uoss), | |
e0976e2b | 387 | 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))) |
046f293c LP |
388 | ) |
389 | #endif | |
f1e7d826 MD |
390 | #ifndef OVERRIDE_32_truncate64 |
391 | SC_LTTNG_TRACEPOINT_EVENT(truncate64, | |
392 | TP_PROTO(sc_exit(long ret,) const char * path, loff_t length), | |
393 | TP_ARGS(sc_exit(ret,) path, length), | |
e0976e2b | 394 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(path, path)) sc_inout(ctf_integer(loff_t, length, length))) |
046f293c LP |
395 | ) |
396 | #endif | |
f1e7d826 MD |
397 | #ifndef OVERRIDE_32_stat64 |
398 | SC_LTTNG_TRACEPOINT_EVENT(stat64, | |
399 | TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), | |
400 | TP_ARGS(sc_exit(ret,) filename, statbuf), | |
e0976e2b | 401 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf))) |
046f293c LP |
402 | ) |
403 | #endif | |
f1e7d826 MD |
404 | #ifndef OVERRIDE_32_lstat64 |
405 | SC_LTTNG_TRACEPOINT_EVENT(lstat64, | |
406 | TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), | |
407 | TP_ARGS(sc_exit(ret,) filename, statbuf), | |
e0976e2b | 408 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf))) |
046f293c LP |
409 | ) |
410 | #endif | |
f1e7d826 MD |
411 | #ifndef OVERRIDE_32_fstat64 |
412 | SC_LTTNG_TRACEPOINT_EVENT(fstat64, | |
413 | TP_PROTO(sc_exit(long ret,) unsigned long fd, struct stat64 * statbuf), | |
414 | TP_ARGS(sc_exit(ret,) fd, statbuf), | |
e0976e2b | 415 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf))) |
046f293c LP |
416 | ) |
417 | #endif | |
f1e7d826 MD |
418 | #ifndef OVERRIDE_32_pivot_root |
419 | SC_LTTNG_TRACEPOINT_EVENT(pivot_root, | |
420 | TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old), | |
421 | TP_ARGS(sc_exit(ret,) new_root, put_old), | |
e0976e2b | 422 | 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))) |
046f293c LP |
423 | ) |
424 | #endif | |
f1e7d826 MD |
425 | #ifndef OVERRIDE_32_removexattr |
426 | SC_LTTNG_TRACEPOINT_EVENT(removexattr, | |
427 | TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), | |
428 | TP_ARGS(sc_exit(ret,) pathname, name), | |
e0976e2b | 429 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) |
046f293c LP |
430 | ) |
431 | #endif | |
f1e7d826 MD |
432 | #ifndef OVERRIDE_32_lremovexattr |
433 | SC_LTTNG_TRACEPOINT_EVENT(lremovexattr, | |
434 | TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), | |
435 | TP_ARGS(sc_exit(ret,) pathname, name), | |
e0976e2b | 436 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) |
046f293c LP |
437 | ) |
438 | #endif | |
f1e7d826 MD |
439 | #ifndef OVERRIDE_32_fremovexattr |
440 | SC_LTTNG_TRACEPOINT_EVENT(fremovexattr, | |
441 | TP_PROTO(sc_exit(long ret,) int fd, const char * name), | |
442 | TP_ARGS(sc_exit(ret,) fd, name), | |
e0976e2b | 443 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name))) |
046f293c LP |
444 | ) |
445 | #endif | |
f1e7d826 MD |
446 | #ifndef OVERRIDE_32_io_setup |
447 | SC_LTTNG_TRACEPOINT_EVENT(io_setup, | |
448 | TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp), | |
449 | TP_ARGS(sc_exit(ret,) nr_events, ctxp), | |
e0976e2b | 450 | 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))) |
046f293c LP |
451 | ) |
452 | #endif | |
f1e7d826 MD |
453 | #ifndef OVERRIDE_32_timer_gettime |
454 | SC_LTTNG_TRACEPOINT_EVENT(timer_gettime, | |
455 | TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting), | |
456 | TP_ARGS(sc_exit(ret,) timer_id, setting), | |
e0976e2b | 457 | 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))) |
046f293c LP |
458 | ) |
459 | #endif | |
f1e7d826 MD |
460 | #ifndef OVERRIDE_32_clock_settime |
461 | SC_LTTNG_TRACEPOINT_EVENT(clock_settime, | |
462 | TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp), | |
463 | TP_ARGS(sc_exit(ret,) which_clock, tp), | |
e0976e2b | 464 | 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))) |
046f293c LP |
465 | ) |
466 | #endif | |
f1e7d826 MD |
467 | #ifndef OVERRIDE_32_clock_gettime |
468 | SC_LTTNG_TRACEPOINT_EVENT(clock_gettime, | |
469 | TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), | |
470 | TP_ARGS(sc_exit(ret,) which_clock, tp), | |
e0976e2b | 471 | 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))) |
046f293c LP |
472 | ) |
473 | #endif | |
f1e7d826 MD |
474 | #ifndef OVERRIDE_32_clock_getres |
475 | SC_LTTNG_TRACEPOINT_EVENT(clock_getres, | |
476 | TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), | |
477 | TP_ARGS(sc_exit(ret,) which_clock, tp), | |
e0976e2b | 478 | 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))) |
046f293c LP |
479 | ) |
480 | #endif | |
f1e7d826 MD |
481 | #ifndef OVERRIDE_32_utimes |
482 | SC_LTTNG_TRACEPOINT_EVENT(utimes, | |
483 | TP_PROTO(sc_exit(long ret,) char * filename, struct timeval * utimes), | |
484 | TP_ARGS(sc_exit(ret,) filename, utimes), | |
e0976e2b | 485 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timeval *, utimes, utimes))) |
046f293c LP |
486 | ) |
487 | #endif | |
f1e7d826 MD |
488 | #ifndef OVERRIDE_32_set_robust_list |
489 | SC_LTTNG_TRACEPOINT_EVENT(set_robust_list, | |
490 | TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len), | |
491 | TP_ARGS(sc_exit(ret,) head, len), | |
e0976e2b | 492 | 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))) |
046f293c LP |
493 | ) |
494 | #endif | |
f1e7d826 MD |
495 | #ifndef OVERRIDE_32_timerfd_gettime |
496 | SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime, | |
497 | TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr), | |
498 | TP_ARGS(sc_exit(ret,) ufd, otmr), | |
e0976e2b | 499 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr))) |
046f293c LP |
500 | ) |
501 | #endif | |
f1e7d826 MD |
502 | #ifndef OVERRIDE_32_pipe2 |
503 | SC_LTTNG_TRACEPOINT_EVENT(pipe2, | |
504 | TP_PROTO(sc_exit(long ret,) int * fildes, int flags), | |
505 | TP_ARGS(sc_exit(ret,) fildes, flags), | |
e0976e2b | 506 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes)) sc_in(ctf_integer(int, flags, flags))) |
046f293c LP |
507 | ) |
508 | #endif | |
f1e7d826 MD |
509 | #ifndef OVERRIDE_32_clock_adjtime |
510 | SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime, | |
511 | TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx), | |
512 | TP_ARGS(sc_exit(ret,) which_clock, utx), | |
e0976e2b | 513 | 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))) |
046f293c LP |
514 | ) |
515 | #endif | |
f1e7d826 MD |
516 | #ifndef OVERRIDE_32_read |
517 | SC_LTTNG_TRACEPOINT_EVENT(read, | |
518 | TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count), | |
519 | TP_ARGS(sc_exit(ret,) fd, buf, count), | |
e0976e2b | 520 | 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))) |
046f293c LP |
521 | ) |
522 | #endif | |
f1e7d826 MD |
523 | #ifndef OVERRIDE_32_write |
524 | SC_LTTNG_TRACEPOINT_EVENT(write, | |
525 | TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count), | |
526 | TP_ARGS(sc_exit(ret,) fd, buf, count), | |
e0976e2b | 527 | 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))) |
046f293c LP |
528 | ) |
529 | #endif | |
f1e7d826 MD |
530 | #ifndef OVERRIDE_32_open |
531 | SC_LTTNG_TRACEPOINT_EVENT(open, | |
532 | TP_PROTO(sc_exit(long ret,) const char * filename, int flags, umode_t mode), | |
533 | TP_ARGS(sc_exit(ret,) filename, flags, mode), | |
e0976e2b | 534 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode))) |
046f293c LP |
535 | ) |
536 | #endif | |
f1e7d826 MD |
537 | #ifndef OVERRIDE_32_waitpid |
538 | SC_LTTNG_TRACEPOINT_EVENT(waitpid, | |
539 | TP_PROTO(sc_exit(long ret,) pid_t pid, int * stat_addr, int options), | |
540 | TP_ARGS(sc_exit(ret,) pid, stat_addr, options), | |
e0976e2b | 541 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(int *, stat_addr, stat_addr)) sc_inout(ctf_integer(int, options, options))) |
046f293c LP |
542 | ) |
543 | #endif | |
f1e7d826 MD |
544 | #ifndef OVERRIDE_32_execve |
545 | SC_LTTNG_TRACEPOINT_EVENT(execve, | |
546 | TP_PROTO(sc_exit(long ret,) const char * filename, const char *const * argv, const char *const * envp), | |
547 | TP_ARGS(sc_exit(ret,) filename, argv, envp), | |
e0976e2b | 548 | 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))) |
046f293c LP |
549 | ) |
550 | #endif | |
f1e7d826 MD |
551 | #ifndef OVERRIDE_32_mknod |
552 | SC_LTTNG_TRACEPOINT_EVENT(mknod, | |
553 | TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode, unsigned dev), | |
554 | TP_ARGS(sc_exit(ret,) filename, mode, dev), | |
e0976e2b | 555 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev))) |
046f293c LP |
556 | ) |
557 | #endif | |
f1e7d826 MD |
558 | #ifndef OVERRIDE_32_lchown |
559 | SC_LTTNG_TRACEPOINT_EVENT(lchown, | |
560 | TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), | |
561 | TP_ARGS(sc_exit(ret,) filename, user, group), | |
e0976e2b | 562 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group))) |
046f293c LP |
563 | ) |
564 | #endif | |
f1e7d826 MD |
565 | #ifndef OVERRIDE_32_sigaction |
566 | SC_LTTNG_TRACEPOINT_EVENT(sigaction, | |
567 | TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact), | |
568 | TP_ARGS(sc_exit(ret,) sig, act, oact), | |
e0976e2b | 569 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, sig, sig)) sc_inout(ctf_integer(const struct sigaction *, act, act)) sc_inout(ctf_integer(struct sigaction *, oact, oact))) |
046f293c LP |
570 | ) |
571 | #endif | |
f1e7d826 MD |
572 | #ifndef OVERRIDE_32_readlink |
573 | SC_LTTNG_TRACEPOINT_EVENT(readlink, | |
574 | TP_PROTO(sc_exit(long ret,) const char * path, char * buf, int bufsiz), | |
575 | TP_ARGS(sc_exit(ret,) path, buf, bufsiz), | |
e0976e2b | 576 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(path, path)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(int, bufsiz, bufsiz))) |
046f293c LP |
577 | ) |
578 | #endif | |
f1e7d826 MD |
579 | #ifndef OVERRIDE_32_old_readdir |
580 | SC_LTTNG_TRACEPOINT_EVENT(old_readdir, | |
581 | TP_PROTO(sc_exit(long ret,) unsigned int fd, struct old_linux_dirent * dirent, unsigned int count), | |
582 | TP_ARGS(sc_exit(ret,) fd, dirent, count), | |
e0976e2b | 583 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(struct old_linux_dirent *, dirent, dirent)) sc_inout(ctf_integer(unsigned int, count, count))) |
046f293c LP |
584 | ) |
585 | #endif | |
f1e7d826 MD |
586 | #ifndef OVERRIDE_32_syslog |
587 | SC_LTTNG_TRACEPOINT_EVENT(syslog, | |
588 | TP_PROTO(sc_exit(long ret,) int type, char * buf, int len), | |
589 | TP_ARGS(sc_exit(ret,) type, buf, len), | |
e0976e2b | 590 | 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))) |
046f293c LP |
591 | ) |
592 | #endif | |
f1e7d826 MD |
593 | #ifndef OVERRIDE_32_setitimer |
594 | SC_LTTNG_TRACEPOINT_EVENT(setitimer, | |
595 | TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue), | |
596 | TP_ARGS(sc_exit(ret,) which, value, ovalue), | |
e0976e2b | 597 | 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))) |
046f293c LP |
598 | ) |
599 | #endif | |
f1e7d826 MD |
600 | #ifndef OVERRIDE_32_sigprocmask |
601 | SC_LTTNG_TRACEPOINT_EVENT(sigprocmask, | |
602 | TP_PROTO(sc_exit(long ret,) int how, old_sigset_t * nset, old_sigset_t * oset), | |
603 | TP_ARGS(sc_exit(ret,) how, nset, oset), | |
e0976e2b | 604 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, how, how)) sc_inout(ctf_integer(old_sigset_t *, nset, nset)) sc_inout(ctf_integer(old_sigset_t *, oset, oset))) |
046f293c LP |
605 | ) |
606 | #endif | |
f1e7d826 MD |
607 | #ifndef OVERRIDE_32_init_module |
608 | SC_LTTNG_TRACEPOINT_EVENT(init_module, | |
609 | TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs), | |
610 | TP_ARGS(sc_exit(ret,) umod, len, uargs), | |
e0976e2b | 611 | 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))) |
046f293c LP |
612 | ) |
613 | #endif | |
f1e7d826 MD |
614 | #ifndef OVERRIDE_32_getdents |
615 | SC_LTTNG_TRACEPOINT_EVENT(getdents, | |
616 | TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent * dirent, unsigned int count), | |
617 | TP_ARGS(sc_exit(ret,) fd, dirent, count), | |
e0976e2b | 618 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(struct linux_dirent *, dirent, dirent)) sc_in(ctf_integer(unsigned int, count, count))) |
046f293c LP |
619 | ) |
620 | #endif | |
f1e7d826 MD |
621 | #ifndef OVERRIDE_32_readv |
622 | SC_LTTNG_TRACEPOINT_EVENT(readv, | |
623 | TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), | |
624 | TP_ARGS(sc_exit(ret,) fd, vec, vlen), | |
e0976e2b | 625 | 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))) |
046f293c LP |
626 | ) |
627 | #endif | |
f1e7d826 MD |
628 | #ifndef OVERRIDE_32_writev |
629 | SC_LTTNG_TRACEPOINT_EVENT(writev, | |
630 | TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), | |
631 | TP_ARGS(sc_exit(ret,) fd, vec, vlen), | |
e0976e2b | 632 | 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))) |
046f293c LP |
633 | ) |
634 | #endif | |
f1e7d826 MD |
635 | #ifndef OVERRIDE_32_cachectl |
636 | SC_LTTNG_TRACEPOINT_EVENT(cachectl, | |
637 | TP_PROTO(sc_exit(long ret,) char * addr, int nbytes, int op), | |
638 | TP_ARGS(sc_exit(ret,) addr, nbytes, op), | |
e0976e2b | 639 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(char *, addr, addr)) sc_inout(ctf_integer(int, nbytes, nbytes)) sc_inout(ctf_integer(int, op, op))) |
046f293c LP |
640 | ) |
641 | #endif | |
f1e7d826 MD |
642 | #ifndef OVERRIDE_32_sched_setscheduler |
643 | SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler, | |
644 | TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param), | |
645 | TP_ARGS(sc_exit(ret,) pid, policy, param), | |
e0976e2b | 646 | 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))) |
046f293c LP |
647 | ) |
648 | #endif | |
f1e7d826 MD |
649 | #ifndef OVERRIDE_32_accept |
650 | SC_LTTNG_TRACEPOINT_EVENT(accept, | |
651 | TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), | |
652 | TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen), | |
e0976e2b | 653 | 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))) |
046f293c LP |
654 | ) |
655 | #endif | |
f1e7d826 MD |
656 | #ifndef OVERRIDE_32_bind |
657 | SC_LTTNG_TRACEPOINT_EVENT(bind, | |
658 | TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * umyaddr, int addrlen), | |
659 | TP_ARGS(sc_exit(ret,) fd, umyaddr, addrlen), | |
e0976e2b | 660 | 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))) |
046f293c LP |
661 | ) |
662 | #endif | |
f1e7d826 MD |
663 | #ifndef OVERRIDE_32_connect |
664 | SC_LTTNG_TRACEPOINT_EVENT(connect, | |
665 | TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * uservaddr, int addrlen), | |
666 | TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen), | |
e0976e2b | 667 | 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))) |
046f293c LP |
668 | ) |
669 | #endif | |
f1e7d826 MD |
670 | #ifndef OVERRIDE_32_getpeername |
671 | SC_LTTNG_TRACEPOINT_EVENT(getpeername, | |
672 | TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), | |
673 | TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), | |
e0976e2b | 674 | 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))) |
046f293c LP |
675 | ) |
676 | #endif | |
f1e7d826 MD |
677 | #ifndef OVERRIDE_32_getsockname |
678 | SC_LTTNG_TRACEPOINT_EVENT(getsockname, | |
679 | TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), | |
680 | TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), | |
e0976e2b | 681 | 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))) |
046f293c LP |
682 | ) |
683 | #endif | |
f1e7d826 MD |
684 | #ifndef OVERRIDE_32_recvmsg |
685 | SC_LTTNG_TRACEPOINT_EVENT(recvmsg, | |
686 | TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), | |
687 | TP_ARGS(sc_exit(ret,) fd, msg, flags), | |
e0976e2b | 688 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(struct msghdr *, msg, msg)) sc_in(ctf_integer(unsigned int, flags, flags))) |
046f293c LP |
689 | ) |
690 | #endif | |
f1e7d826 MD |
691 | #ifndef OVERRIDE_32_sendmsg |
692 | SC_LTTNG_TRACEPOINT_EVENT(sendmsg, | |
693 | TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), | |
694 | TP_ARGS(sc_exit(ret,) fd, msg, flags), | |
e0976e2b | 695 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct msghdr *, msg, msg)) sc_in(ctf_integer(unsigned int, flags, flags))) |
046f293c LP |
696 | ) |
697 | #endif | |
f1e7d826 MD |
698 | #ifndef OVERRIDE_32_getresuid |
699 | SC_LTTNG_TRACEPOINT_EVENT(getresuid, | |
700 | TP_PROTO(sc_exit(long ret,) uid_t * ruidp, uid_t * euidp, uid_t * suidp), | |
701 | TP_ARGS(sc_exit(ret,) ruidp, euidp, suidp), | |
e0976e2b | 702 | 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))) |
046f293c LP |
703 | ) |
704 | #endif | |
f1e7d826 MD |
705 | #ifndef OVERRIDE_32_poll |
706 | SC_LTTNG_TRACEPOINT_EVENT(poll, | |
707 | TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, int timeout_msecs), | |
708 | TP_ARGS(sc_exit(ret,) ufds, nfds, timeout_msecs), | |
e0976e2b | 709 | 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(int, timeout_msecs, timeout_msecs))) |
046f293c LP |
710 | ) |
711 | #endif | |
f1e7d826 MD |
712 | #ifndef OVERRIDE_32_getresgid |
713 | SC_LTTNG_TRACEPOINT_EVENT(getresgid, | |
714 | TP_PROTO(sc_exit(long ret,) gid_t * rgidp, gid_t * egidp, gid_t * sgidp), | |
715 | TP_ARGS(sc_exit(ret,) rgidp, egidp, sgidp), | |
e0976e2b | 716 | 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))) |
046f293c LP |
717 | ) |
718 | #endif | |
f1e7d826 MD |
719 | #ifndef OVERRIDE_32_rt_sigqueueinfo |
720 | SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo, | |
721 | TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo), | |
722 | TP_ARGS(sc_exit(ret,) pid, sig, uinfo), | |
e0976e2b | 723 | 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))) |
046f293c LP |
724 | ) |
725 | #endif | |
f1e7d826 MD |
726 | #ifndef OVERRIDE_32_chown |
727 | SC_LTTNG_TRACEPOINT_EVENT(chown, | |
728 | TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), | |
729 | TP_ARGS(sc_exit(ret,) filename, user, group), | |
e0976e2b | 730 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group))) |
046f293c LP |
731 | ) |
732 | #endif | |
f1e7d826 MD |
733 | #ifndef OVERRIDE_32_mincore |
734 | SC_LTTNG_TRACEPOINT_EVENT(mincore, | |
735 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec), | |
736 | TP_ARGS(sc_exit(ret,) start, len, vec), | |
e0976e2b | 737 | 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))) |
046f293c LP |
738 | ) |
739 | #endif | |
f1e7d826 MD |
740 | #ifndef OVERRIDE_32_getdents64 |
741 | SC_LTTNG_TRACEPOINT_EVENT(getdents64, | |
742 | TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), | |
743 | TP_ARGS(sc_exit(ret,) fd, dirent, count), | |
e0976e2b | 744 | 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))) |
046f293c LP |
745 | ) |
746 | #endif | |
f1e7d826 MD |
747 | #ifndef OVERRIDE_32_listxattr |
748 | SC_LTTNG_TRACEPOINT_EVENT(listxattr, | |
749 | TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), | |
750 | TP_ARGS(sc_exit(ret,) pathname, list, size), | |
e0976e2b | 751 | 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))) |
046f293c LP |
752 | ) |
753 | #endif | |
f1e7d826 MD |
754 | #ifndef OVERRIDE_32_llistxattr |
755 | SC_LTTNG_TRACEPOINT_EVENT(llistxattr, | |
756 | TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), | |
757 | TP_ARGS(sc_exit(ret,) pathname, list, size), | |
e0976e2b | 758 | 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))) |
046f293c LP |
759 | ) |
760 | #endif | |
f1e7d826 MD |
761 | #ifndef OVERRIDE_32_flistxattr |
762 | SC_LTTNG_TRACEPOINT_EVENT(flistxattr, | |
763 | TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size), | |
764 | TP_ARGS(sc_exit(ret,) fd, list, size), | |
e0976e2b | 765 | 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))) |
046f293c LP |
766 | ) |
767 | #endif | |
f1e7d826 MD |
768 | #ifndef OVERRIDE_32_io_submit |
769 | SC_LTTNG_TRACEPOINT_EVENT(io_submit, | |
770 | TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp), | |
771 | TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp), | |
e0976e2b | 772 | 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))) |
046f293c LP |
773 | ) |
774 | #endif | |
f1e7d826 MD |
775 | #ifndef OVERRIDE_32_io_cancel |
776 | SC_LTTNG_TRACEPOINT_EVENT(io_cancel, | |
777 | TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), | |
778 | TP_ARGS(sc_exit(ret,) ctx_id, iocb, result), | |
e0976e2b | 779 | 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))) |
046f293c LP |
780 | ) |
781 | #endif | |
f1e7d826 MD |
782 | #ifndef OVERRIDE_32_statfs64 |
783 | SC_LTTNG_TRACEPOINT_EVENT(statfs64, | |
784 | TP_PROTO(sc_exit(long ret,) const char * pathname, size_t sz, struct statfs64 * buf), | |
785 | TP_ARGS(sc_exit(ret,) pathname, sz, buf), | |
e0976e2b | 786 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(pathname, pathname)) sc_inout(ctf_integer(size_t, sz, sz)) sc_inout(ctf_integer(struct statfs64 *, buf, buf))) |
046f293c LP |
787 | ) |
788 | #endif | |
f1e7d826 MD |
789 | #ifndef OVERRIDE_32_fstatfs64 |
790 | SC_LTTNG_TRACEPOINT_EVENT(fstatfs64, | |
791 | TP_PROTO(sc_exit(long ret,) unsigned int fd, size_t sz, struct statfs64 * buf), | |
792 | TP_ARGS(sc_exit(ret,) fd, sz, buf), | |
e0976e2b | 793 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(size_t, sz, sz)) sc_inout(ctf_integer(struct statfs64 *, buf, buf))) |
046f293c LP |
794 | ) |
795 | #endif | |
f1e7d826 MD |
796 | #ifndef OVERRIDE_32_timer_create |
797 | SC_LTTNG_TRACEPOINT_EVENT(timer_create, | |
798 | TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), | |
799 | TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id), | |
e0976e2b | 800 | 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))) |
046f293c LP |
801 | ) |
802 | #endif | |
f1e7d826 MD |
803 | #ifndef OVERRIDE_32_inotify_add_watch |
804 | SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch, | |
805 | TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask), | |
806 | TP_ARGS(sc_exit(ret,) fd, pathname, mask), | |
e0976e2b | 807 | 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))) |
046f293c LP |
808 | ) |
809 | #endif | |
f1e7d826 MD |
810 | #ifndef OVERRIDE_32_mkdirat |
811 | SC_LTTNG_TRACEPOINT_EVENT(mkdirat, | |
812 | TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, umode_t mode), | |
813 | TP_ARGS(sc_exit(ret,) dfd, pathname, mode), | |
e0976e2b | 814 | 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))) |
046f293c LP |
815 | ) |
816 | #endif | |
f1e7d826 MD |
817 | #ifndef OVERRIDE_32_futimesat |
818 | SC_LTTNG_TRACEPOINT_EVENT(futimesat, | |
819 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timeval * utimes), | |
820 | TP_ARGS(sc_exit(ret,) dfd, filename, utimes), | |
e0976e2b | 821 | 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 timeval *, utimes, utimes))) |
046f293c LP |
822 | ) |
823 | #endif | |
f1e7d826 MD |
824 | #ifndef OVERRIDE_32_unlinkat |
825 | SC_LTTNG_TRACEPOINT_EVENT(unlinkat, | |
826 | TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag), | |
827 | TP_ARGS(sc_exit(ret,) dfd, pathname, flag), | |
e0976e2b | 828 | 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))) |
046f293c LP |
829 | ) |
830 | #endif | |
f1e7d826 MD |
831 | #ifndef OVERRIDE_32_symlinkat |
832 | SC_LTTNG_TRACEPOINT_EVENT(symlinkat, | |
833 | TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname), | |
834 | TP_ARGS(sc_exit(ret,) oldname, newdfd, newname), | |
e0976e2b | 835 | 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))) |
046f293c LP |
836 | ) |
837 | #endif | |
f1e7d826 MD |
838 | #ifndef OVERRIDE_32_fchmodat |
839 | SC_LTTNG_TRACEPOINT_EVENT(fchmodat, | |
840 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode), | |
841 | TP_ARGS(sc_exit(ret,) dfd, filename, mode), | |
e0976e2b | 842 | 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))) |
046f293c LP |
843 | ) |
844 | #endif | |
f1e7d826 MD |
845 | #ifndef OVERRIDE_32_faccessat |
846 | SC_LTTNG_TRACEPOINT_EVENT(faccessat, | |
847 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode), | |
848 | TP_ARGS(sc_exit(ret,) dfd, filename, mode), | |
e0976e2b | 849 | 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))) |
046f293c LP |
850 | ) |
851 | #endif | |
f1e7d826 MD |
852 | #ifndef OVERRIDE_32_get_robust_list |
853 | SC_LTTNG_TRACEPOINT_EVENT(get_robust_list, | |
854 | TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), | |
855 | TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr), | |
e0976e2b | 856 | 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))) |
046f293c LP |
857 | ) |
858 | #endif | |
f1e7d826 MD |
859 | #ifndef OVERRIDE_32_getcpu |
860 | SC_LTTNG_TRACEPOINT_EVENT(getcpu, | |
861 | TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), | |
862 | TP_ARGS(sc_exit(ret,) cpup, nodep, unused), | |
e0976e2b | 863 | 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))) |
046f293c LP |
864 | ) |
865 | #endif | |
f1e7d826 MD |
866 | #ifndef OVERRIDE_32_signalfd |
867 | SC_LTTNG_TRACEPOINT_EVENT(signalfd, | |
868 | TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask), | |
869 | TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask), | |
e0976e2b | 870 | 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))) |
046f293c LP |
871 | ) |
872 | #endif | |
f1e7d826 MD |
873 | #ifndef OVERRIDE_32_open_by_handle_at |
874 | SC_LTTNG_TRACEPOINT_EVENT(open_by_handle_at, | |
875 | TP_PROTO(sc_exit(long ret,) int mountdirfd, struct file_handle * handle, int flags), | |
876 | TP_ARGS(sc_exit(ret,) mountdirfd, handle, flags), | |
e0976e2b | 877 | 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))) |
046f293c LP |
878 | ) |
879 | #endif | |
f1e7d826 MD |
880 | #ifndef OVERRIDE_32_reboot |
881 | SC_LTTNG_TRACEPOINT_EVENT(reboot, | |
882 | TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg), | |
883 | TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg), | |
e0976e2b | 884 | 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))) |
046f293c LP |
885 | ) |
886 | #endif | |
f1e7d826 MD |
887 | #ifndef OVERRIDE_32_wait4 |
888 | SC_LTTNG_TRACEPOINT_EVENT(wait4, | |
889 | TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru), | |
890 | TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru), | |
e0976e2b | 891 | 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))) |
046f293c LP |
892 | ) |
893 | #endif | |
f1e7d826 MD |
894 | #ifndef OVERRIDE_32_send |
895 | SC_LTTNG_TRACEPOINT_EVENT(send, | |
896 | TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags), | |
897 | TP_ARGS(sc_exit(ret,) fd, buff, len, flags), | |
e0976e2b | 898 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(void *, buff, buff)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(unsigned int, flags, flags))) |
046f293c LP |
899 | ) |
900 | #endif | |
f1e7d826 MD |
901 | #ifndef OVERRIDE_32_socketpair |
902 | SC_LTTNG_TRACEPOINT_EVENT(socketpair, | |
903 | TP_PROTO(sc_exit(long ret,) int family, int type, int protocol, int * usockvec), | |
904 | TP_ARGS(sc_exit(ret,) family, type, protocol, usockvec), | |
e0976e2b | 905 | 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))) |
046f293c LP |
906 | ) |
907 | #endif | |
f1e7d826 MD |
908 | #ifndef OVERRIDE_32_rt_sigaction |
909 | SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction, | |
910 | TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), | |
911 | TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize), | |
e0976e2b | 912 | 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))) |
046f293c LP |
913 | ) |
914 | #endif | |
f1e7d826 MD |
915 | #ifndef OVERRIDE_32_rt_sigprocmask |
916 | SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask, | |
917 | TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), | |
918 | TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize), | |
e0976e2b | 919 | 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))) |
046f293c LP |
920 | ) |
921 | #endif | |
f1e7d826 MD |
922 | #ifndef OVERRIDE_32_rt_sigtimedwait |
923 | SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait, | |
924 | TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), | |
925 | TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize), | |
e0976e2b | 926 | 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))) |
046f293c LP |
927 | ) |
928 | #endif | |
f1e7d826 MD |
929 | #ifndef OVERRIDE_32_pread64 |
930 | SC_LTTNG_TRACEPOINT_EVENT(pread64, | |
931 | TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count, loff_t pos), | |
932 | TP_ARGS(sc_exit(ret,) fd, buf, count, pos), | |
e0976e2b | 933 | 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))) |
046f293c LP |
934 | ) |
935 | #endif | |
f1e7d826 MD |
936 | #ifndef OVERRIDE_32_pwrite64 |
937 | SC_LTTNG_TRACEPOINT_EVENT(pwrite64, | |
938 | TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count, loff_t pos), | |
939 | TP_ARGS(sc_exit(ret,) fd, buf, count, pos), | |
e0976e2b | 940 | 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))) |
046f293c LP |
941 | ) |
942 | #endif | |
f1e7d826 MD |
943 | #ifndef OVERRIDE_32_sendfile |
944 | SC_LTTNG_TRACEPOINT_EVENT(sendfile, | |
945 | TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, off_t * offset, size_t count), | |
946 | TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), | |
e0976e2b | 947 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, out_fd, out_fd)) sc_inout(ctf_integer(int, in_fd, in_fd)) sc_inout(ctf_integer(off_t *, offset, offset)) sc_inout(ctf_integer(size_t, count, count))) |
046f293c LP |
948 | ) |
949 | #endif | |
f1e7d826 MD |
950 | #ifndef OVERRIDE_32_getxattr |
951 | SC_LTTNG_TRACEPOINT_EVENT(getxattr, | |
952 | TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), | |
953 | TP_ARGS(sc_exit(ret,) pathname, name, value, size), | |
e0976e2b | 954 | 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))) |
046f293c LP |
955 | ) |
956 | #endif | |
f1e7d826 MD |
957 | #ifndef OVERRIDE_32_lgetxattr |
958 | SC_LTTNG_TRACEPOINT_EVENT(lgetxattr, | |
959 | TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), | |
960 | TP_ARGS(sc_exit(ret,) pathname, name, value, size), | |
e0976e2b | 961 | 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))) |
046f293c LP |
962 | ) |
963 | #endif | |
f1e7d826 MD |
964 | #ifndef OVERRIDE_32_fgetxattr |
965 | SC_LTTNG_TRACEPOINT_EVENT(fgetxattr, | |
966 | TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size), | |
967 | TP_ARGS(sc_exit(ret,) fd, name, value, size), | |
e0976e2b | 968 | 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))) |
046f293c LP |
969 | ) |
970 | #endif | |
f1e7d826 MD |
971 | #ifndef OVERRIDE_32_sendfile64 |
972 | SC_LTTNG_TRACEPOINT_EVENT(sendfile64, | |
973 | TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count), | |
974 | TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), | |
e0976e2b | 975 | 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))) |
046f293c LP |
976 | ) |
977 | #endif | |
f1e7d826 MD |
978 | #ifndef OVERRIDE_32_epoll_ctl |
979 | SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl, | |
980 | TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event), | |
981 | TP_ARGS(sc_exit(ret,) epfd, op, fd, event), | |
e0976e2b | 982 | 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))) |
046f293c LP |
983 | ) |
984 | #endif | |
f1e7d826 MD |
985 | #ifndef OVERRIDE_32_epoll_wait |
986 | SC_LTTNG_TRACEPOINT_EVENT(epoll_wait, | |
987 | TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout), | |
988 | TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout), | |
e0976e2b | 989 | 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))) |
046f293c LP |
990 | ) |
991 | #endif | |
f1e7d826 MD |
992 | #ifndef OVERRIDE_32_timer_settime |
993 | SC_LTTNG_TRACEPOINT_EVENT(timer_settime, | |
994 | TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), | |
995 | TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting), | |
e0976e2b | 996 | 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))) |
046f293c LP |
997 | ) |
998 | #endif | |
f1e7d826 MD |
999 | #ifndef OVERRIDE_32_clock_nanosleep |
1000 | SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep, | |
1001 | TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), | |
1002 | TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), | |
e0976e2b | 1003 | 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))) |
046f293c LP |
1004 | ) |
1005 | #endif | |
f1e7d826 MD |
1006 | #ifndef OVERRIDE_32_openat |
1007 | SC_LTTNG_TRACEPOINT_EVENT(openat, | |
1008 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, umode_t mode), | |
1009 | TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode), | |
e0976e2b | 1010 | 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))) |
046f293c LP |
1011 | ) |
1012 | #endif | |
f1e7d826 MD |
1013 | #ifndef OVERRIDE_32_mknodat |
1014 | SC_LTTNG_TRACEPOINT_EVENT(mknodat, | |
1015 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode, unsigned dev), | |
1016 | TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev), | |
e0976e2b | 1017 | 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))) |
046f293c LP |
1018 | ) |
1019 | #endif | |
f1e7d826 MD |
1020 | #ifndef OVERRIDE_32_fstatat64 |
1021 | SC_LTTNG_TRACEPOINT_EVENT(fstatat64, | |
1022 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat64 * statbuf, int flag), | |
1023 | TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag), | |
e0976e2b | 1024 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, dfd, dfd)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf)) sc_inout(ctf_integer(int, flag, flag))) |
046f293c LP |
1025 | ) |
1026 | #endif | |
f1e7d826 MD |
1027 | #ifndef OVERRIDE_32_renameat |
1028 | SC_LTTNG_TRACEPOINT_EVENT(renameat, | |
1029 | TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname), | |
1030 | TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname), | |
e0976e2b | 1031 | 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))) |
046f293c LP |
1032 | ) |
1033 | #endif | |
f1e7d826 MD |
1034 | #ifndef OVERRIDE_32_readlinkat |
1035 | SC_LTTNG_TRACEPOINT_EVENT(readlinkat, | |
1036 | TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz), | |
1037 | TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz), | |
e0976e2b | 1038 | 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))) |
046f293c LP |
1039 | ) |
1040 | #endif | |
f1e7d826 MD |
1041 | #ifndef OVERRIDE_32_vmsplice |
1042 | SC_LTTNG_TRACEPOINT_EVENT(vmsplice, | |
1043 | TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), | |
1044 | TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags), | |
e0976e2b | 1045 | 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))) |
046f293c LP |
1046 | ) |
1047 | #endif | |
f1e7d826 MD |
1048 | #ifndef OVERRIDE_32_utimensat |
1049 | SC_LTTNG_TRACEPOINT_EVENT(utimensat, | |
1050 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags), | |
1051 | TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags), | |
e0976e2b | 1052 | 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))) |
046f293c LP |
1053 | ) |
1054 | #endif | |
f1e7d826 MD |
1055 | #ifndef OVERRIDE_32_timerfd_settime |
1056 | SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime, | |
1057 | TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), | |
1058 | TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr), | |
e0976e2b | 1059 | 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))) |
046f293c LP |
1060 | ) |
1061 | #endif | |
f1e7d826 MD |
1062 | #ifndef OVERRIDE_32_signalfd4 |
1063 | SC_LTTNG_TRACEPOINT_EVENT(signalfd4, | |
1064 | TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags), | |
1065 | TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags), | |
e0976e2b | 1066 | 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))) |
046f293c LP |
1067 | ) |
1068 | #endif | |
f1e7d826 MD |
1069 | #ifndef OVERRIDE_32_rt_tgsigqueueinfo |
1070 | SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo, | |
1071 | TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), | |
1072 | TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo), | |
e0976e2b | 1073 | 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))) |
046f293c LP |
1074 | ) |
1075 | #endif | |
f1e7d826 MD |
1076 | #ifndef OVERRIDE_32_accept4 |
1077 | SC_LTTNG_TRACEPOINT_EVENT(accept4, | |
1078 | TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), | |
1079 | TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags), | |
e0976e2b | 1080 | 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))) |
046f293c LP |
1081 | ) |
1082 | #endif | |
f1e7d826 MD |
1083 | #ifndef OVERRIDE_32_prlimit64 |
1084 | SC_LTTNG_TRACEPOINT_EVENT(prlimit64, | |
1085 | TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), | |
1086 | TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim), | |
e0976e2b | 1087 | 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))) |
046f293c LP |
1088 | ) |
1089 | #endif | |
f1e7d826 MD |
1090 | #ifndef OVERRIDE_32_sendmmsg |
1091 | SC_LTTNG_TRACEPOINT_EVENT(sendmmsg, | |
1092 | TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), | |
1093 | TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags), | |
e0976e2b | 1094 | 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))) |
046f293c LP |
1095 | ) |
1096 | #endif | |
f1e7d826 MD |
1097 | #ifndef OVERRIDE_32_mount |
1098 | SC_LTTNG_TRACEPOINT_EVENT(mount, | |
1099 | TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), | |
1100 | TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data), | |
e0976e2b | 1101 | 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))) |
046f293c LP |
1102 | ) |
1103 | #endif | |
f1e7d826 MD |
1104 | #ifndef OVERRIDE_32_llseek |
1105 | SC_LTTNG_TRACEPOINT_EVENT(llseek, | |
1106 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int whence), | |
1107 | TP_ARGS(sc_exit(ret,) fd, offset_high, offset_low, result, whence), | |
e0976e2b | 1108 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned long, offset_high, offset_high)) sc_inout(ctf_integer(unsigned long, offset_low, offset_low)) sc_inout(ctf_integer(loff_t *, result, result)) sc_inout(ctf_integer(unsigned int, whence, whence))) |
046f293c LP |
1109 | ) |
1110 | #endif | |
f1e7d826 MD |
1111 | #ifndef OVERRIDE_32_select |
1112 | SC_LTTNG_TRACEPOINT_EVENT(select, | |
1113 | TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), | |
1114 | TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp), | |
e0976e2b | 1115 | 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 timeval *, tvp, tvp))) |
046f293c LP |
1116 | ) |
1117 | #endif | |
f1e7d826 MD |
1118 | #ifndef OVERRIDE_32_getsockopt |
1119 | SC_LTTNG_TRACEPOINT_EVENT(getsockopt, | |
1120 | TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int * optlen), | |
1121 | TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), | |
e0976e2b | 1122 | 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))) |
046f293c LP |
1123 | ) |
1124 | #endif | |
f1e7d826 MD |
1125 | #ifndef OVERRIDE_32_setsockopt |
1126 | SC_LTTNG_TRACEPOINT_EVENT(setsockopt, | |
1127 | TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int optlen), | |
1128 | TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), | |
e0976e2b | 1129 | 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))) |
046f293c LP |
1130 | ) |
1131 | #endif | |
f1e7d826 MD |
1132 | #ifndef OVERRIDE_32_setxattr |
1133 | SC_LTTNG_TRACEPOINT_EVENT(setxattr, | |
1134 | TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), | |
1135 | TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), | |
e0976e2b | 1136 | 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))) |
046f293c LP |
1137 | ) |
1138 | #endif | |
f1e7d826 MD |
1139 | #ifndef OVERRIDE_32_lsetxattr |
1140 | SC_LTTNG_TRACEPOINT_EVENT(lsetxattr, | |
1141 | TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), | |
1142 | TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), | |
e0976e2b | 1143 | 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))) |
046f293c LP |
1144 | ) |
1145 | #endif | |
f1e7d826 MD |
1146 | #ifndef OVERRIDE_32_fsetxattr |
1147 | SC_LTTNG_TRACEPOINT_EVENT(fsetxattr, | |
1148 | TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags), | |
1149 | TP_ARGS(sc_exit(ret,) fd, name, value, size, flags), | |
e0976e2b | 1150 | 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))) |
046f293c LP |
1151 | ) |
1152 | #endif | |
f1e7d826 MD |
1153 | #ifndef OVERRIDE_32_io_getevents |
1154 | SC_LTTNG_TRACEPOINT_EVENT(io_getevents, | |
1155 | TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), | |
1156 | TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout), | |
e0976e2b | 1157 | 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))) |
046f293c LP |
1158 | ) |
1159 | #endif | |
f1e7d826 MD |
1160 | #ifndef OVERRIDE_32_waitid |
1161 | SC_LTTNG_TRACEPOINT_EVENT(waitid, | |
1162 | TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), | |
1163 | TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru), | |
e0976e2b | 1164 | 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))) |
046f293c LP |
1165 | ) |
1166 | #endif | |
f1e7d826 MD |
1167 | #ifndef OVERRIDE_32_fchownat |
1168 | SC_LTTNG_TRACEPOINT_EVENT(fchownat, | |
1169 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag), | |
1170 | TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag), | |
e0976e2b | 1171 | 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))) |
046f293c LP |
1172 | ) |
1173 | #endif | |
f1e7d826 MD |
1174 | #ifndef OVERRIDE_32_linkat |
1175 | SC_LTTNG_TRACEPOINT_EVENT(linkat, | |
1176 | TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags), | |
1177 | TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), | |
e0976e2b | 1178 | 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))) |
046f293c LP |
1179 | ) |
1180 | #endif | |
f1e7d826 MD |
1181 | #ifndef OVERRIDE_32_ppoll |
1182 | SC_LTTNG_TRACEPOINT_EVENT(ppoll, | |
1183 | TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), | |
1184 | TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize), | |
e0976e2b | 1185 | 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))) |
046f293c LP |
1186 | ) |
1187 | #endif | |
f1e7d826 MD |
1188 | #ifndef OVERRIDE_32_preadv |
1189 | SC_LTTNG_TRACEPOINT_EVENT(preadv, | |
1190 | TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), | |
1191 | TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), | |
e0976e2b | 1192 | 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))) |
046f293c LP |
1193 | ) |
1194 | #endif | |
f1e7d826 MD |
1195 | #ifndef OVERRIDE_32_pwritev |
1196 | SC_LTTNG_TRACEPOINT_EVENT(pwritev, | |
1197 | TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), | |
1198 | TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), | |
e0976e2b | 1199 | 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))) |
046f293c LP |
1200 | ) |
1201 | #endif | |
f1e7d826 MD |
1202 | #ifndef OVERRIDE_32_perf_event_open |
1203 | SC_LTTNG_TRACEPOINT_EVENT(perf_event_open, | |
1204 | TP_PROTO(sc_exit(long ret,) struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), | |
1205 | TP_ARGS(sc_exit(ret,) attr_uptr, pid, cpu, group_fd, flags), | |
e0976e2b | 1206 | 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))) |
046f293c LP |
1207 | ) |
1208 | #endif | |
f1e7d826 MD |
1209 | #ifndef OVERRIDE_32_recvmmsg |
1210 | SC_LTTNG_TRACEPOINT_EVENT(recvmmsg, | |
1211 | TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), | |
1212 | TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout), | |
e0976e2b | 1213 | 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))) |
046f293c LP |
1214 | ) |
1215 | #endif | |
f1e7d826 MD |
1216 | #ifndef OVERRIDE_32_name_to_handle_at |
1217 | SC_LTTNG_TRACEPOINT_EVENT(name_to_handle_at, | |
1218 | TP_PROTO(sc_exit(long ret,) int dfd, const char * name, struct file_handle * handle, int * mnt_id, int flag), | |
1219 | TP_ARGS(sc_exit(ret,) dfd, name, handle, mnt_id, flag), | |
e0976e2b | 1220 | 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))) |
046f293c LP |
1221 | ) |
1222 | #endif | |
f1e7d826 MD |
1223 | #ifndef OVERRIDE_32_ipc |
1224 | SC_LTTNG_TRACEPOINT_EVENT(ipc, | |
1225 | TP_PROTO(sc_exit(long ret,) unsigned int call, int first, unsigned long second, unsigned long third, void * ptr, long fifth), | |
1226 | TP_ARGS(sc_exit(ret,) call, first, second, third, ptr, fifth), | |
e0976e2b | 1227 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, call, call)) sc_inout(ctf_integer(int, first, first)) sc_inout(ctf_integer(unsigned long, second, second)) sc_inout(ctf_integer(unsigned long, third, third)) sc_inout(ctf_integer(void *, ptr, ptr)) sc_inout(ctf_integer(long, fifth, fifth))) |
046f293c LP |
1228 | ) |
1229 | #endif | |
f1e7d826 MD |
1230 | #ifndef OVERRIDE_32_recvfrom |
1231 | SC_LTTNG_TRACEPOINT_EVENT(recvfrom, | |
1232 | TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned int flags, struct sockaddr * addr, int * addr_len), | |
1233 | TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags, addr, addr_len), | |
e0976e2b | 1234 | 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))) |
046f293c LP |
1235 | ) |
1236 | #endif | |
f1e7d826 MD |
1237 | #ifndef OVERRIDE_32_sendto |
1238 | SC_LTTNG_TRACEPOINT_EVENT(sendto, | |
1239 | TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags, struct sockaddr * addr, int addr_len), | |
1240 | TP_ARGS(sc_exit(ret,) fd, buff, len, flags, addr, addr_len), | |
e0976e2b | 1241 | 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))) |
046f293c LP |
1242 | ) |
1243 | #endif | |
f1e7d826 MD |
1244 | #ifndef OVERRIDE_32_futex |
1245 | SC_LTTNG_TRACEPOINT_EVENT(futex, | |
1246 | TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), | |
1247 | TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3), | |
e0976e2b | 1248 | 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))) |
046f293c LP |
1249 | ) |
1250 | #endif | |
f1e7d826 MD |
1251 | #ifndef OVERRIDE_32_pselect6 |
1252 | SC_LTTNG_TRACEPOINT_EVENT(pselect6, | |
1253 | TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), | |
1254 | TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig), | |
e0976e2b | 1255 | 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))) |
046f293c LP |
1256 | ) |
1257 | #endif | |
f1e7d826 MD |
1258 | #ifndef OVERRIDE_32_splice |
1259 | SC_LTTNG_TRACEPOINT_EVENT(splice, | |
1260 | 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), | |
1261 | TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags), | |
e0976e2b | 1262 | 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))) |
046f293c LP |
1263 | ) |
1264 | #endif | |
f1e7d826 MD |
1265 | #ifndef OVERRIDE_32_epoll_pwait |
1266 | SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait, | |
1267 | TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), | |
1268 | TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize), | |
e0976e2b | 1269 | 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))) |
046f293c LP |
1270 | ) |
1271 | #endif | |
1272 | ||
1273 | #endif /* _TRACE_SYSCALLS_POINTERS_H */ | |
1274 | ||
1275 | /* This part must be outside protection */ | |
1276 | #include "../../../probes/define_trace.h" | |
1277 | ||
1278 | #else /* CREATE_SYSCALL_TABLE */ | |
1279 | ||
1280 | #include "mips-32-syscalls-3.13.0_pointers_override.h" | |
1281 | #include "syscalls_pointers_override.h" | |
1282 | ||
f1e7d826 MD |
1283 | #ifndef OVERRIDE_TABLE_32_read |
1284 | TRACE_SYSCALL_TABLE(read, read, 4003, 3) | |
046f293c | 1285 | #endif |
f1e7d826 MD |
1286 | #ifndef OVERRIDE_TABLE_32_write |
1287 | TRACE_SYSCALL_TABLE(write, write, 4004, 3) | |
046f293c | 1288 | #endif |
f1e7d826 MD |
1289 | #ifndef OVERRIDE_TABLE_32_open |
1290 | TRACE_SYSCALL_TABLE(open, open, 4005, 3) | |
046f293c | 1291 | #endif |
f1e7d826 MD |
1292 | #ifndef OVERRIDE_TABLE_32_waitpid |
1293 | TRACE_SYSCALL_TABLE(waitpid, waitpid, 4007, 3) | |
046f293c | 1294 | #endif |
f1e7d826 MD |
1295 | #ifndef OVERRIDE_TABLE_32_creat |
1296 | TRACE_SYSCALL_TABLE(creat, creat, 4008, 2) | |
046f293c | 1297 | #endif |
f1e7d826 MD |
1298 | #ifndef OVERRIDE_TABLE_32_link |
1299 | TRACE_SYSCALL_TABLE(link, link, 4009, 2) | |
046f293c | 1300 | #endif |
f1e7d826 MD |
1301 | #ifndef OVERRIDE_TABLE_32_unlink |
1302 | TRACE_SYSCALL_TABLE(unlink, unlink, 4010, 1) | |
046f293c | 1303 | #endif |
f1e7d826 MD |
1304 | #ifndef OVERRIDE_TABLE_32_execve |
1305 | TRACE_SYSCALL_TABLE(execve, execve, 4011, 3) | |
046f293c | 1306 | #endif |
f1e7d826 MD |
1307 | #ifndef OVERRIDE_TABLE_32_chdir |
1308 | TRACE_SYSCALL_TABLE(chdir, chdir, 4012, 1) | |
046f293c | 1309 | #endif |
f1e7d826 MD |
1310 | #ifndef OVERRIDE_TABLE_32_time |
1311 | TRACE_SYSCALL_TABLE(time, time, 4013, 1) | |
046f293c | 1312 | #endif |
f1e7d826 MD |
1313 | #ifndef OVERRIDE_TABLE_32_mknod |
1314 | TRACE_SYSCALL_TABLE(mknod, mknod, 4014, 3) | |
046f293c | 1315 | #endif |
f1e7d826 MD |
1316 | #ifndef OVERRIDE_TABLE_32_chmod |
1317 | TRACE_SYSCALL_TABLE(chmod, chmod, 4015, 2) | |
046f293c | 1318 | #endif |
f1e7d826 MD |
1319 | #ifndef OVERRIDE_TABLE_32_lchown |
1320 | TRACE_SYSCALL_TABLE(lchown, lchown, 4016, 3) | |
046f293c | 1321 | #endif |
f1e7d826 MD |
1322 | #ifndef OVERRIDE_TABLE_32_mount |
1323 | TRACE_SYSCALL_TABLE(mount, mount, 4021, 5) | |
046f293c | 1324 | #endif |
f1e7d826 MD |
1325 | #ifndef OVERRIDE_TABLE_32_oldumount |
1326 | TRACE_SYSCALL_TABLE(oldumount, oldumount, 4022, 1) | |
046f293c | 1327 | #endif |
f1e7d826 MD |
1328 | #ifndef OVERRIDE_TABLE_32_stime |
1329 | TRACE_SYSCALL_TABLE(stime, stime, 4025, 1) | |
046f293c | 1330 | #endif |
f1e7d826 MD |
1331 | #ifndef OVERRIDE_TABLE_32_utime |
1332 | TRACE_SYSCALL_TABLE(utime, utime, 4030, 2) | |
046f293c | 1333 | #endif |
f1e7d826 MD |
1334 | #ifndef OVERRIDE_TABLE_32_access |
1335 | TRACE_SYSCALL_TABLE(access, access, 4033, 2) | |
046f293c | 1336 | #endif |
f1e7d826 MD |
1337 | #ifndef OVERRIDE_TABLE_32_rename |
1338 | TRACE_SYSCALL_TABLE(rename, rename, 4038, 2) | |
046f293c | 1339 | #endif |
f1e7d826 MD |
1340 | #ifndef OVERRIDE_TABLE_32_mkdir |
1341 | TRACE_SYSCALL_TABLE(mkdir, mkdir, 4039, 2) | |
046f293c | 1342 | #endif |
f1e7d826 MD |
1343 | #ifndef OVERRIDE_TABLE_32_rmdir |
1344 | TRACE_SYSCALL_TABLE(rmdir, rmdir, 4040, 1) | |
046f293c | 1345 | #endif |
f1e7d826 MD |
1346 | #ifndef OVERRIDE_TABLE_32_times |
1347 | TRACE_SYSCALL_TABLE(times, times, 4043, 1) | |
046f293c | 1348 | #endif |
f1e7d826 MD |
1349 | #ifndef OVERRIDE_TABLE_32_umount |
1350 | TRACE_SYSCALL_TABLE(umount, umount, 4052, 2) | |
046f293c | 1351 | #endif |
f1e7d826 MD |
1352 | #ifndef OVERRIDE_TABLE_32_olduname |
1353 | TRACE_SYSCALL_TABLE(olduname, olduname, 4059, 1) | |
046f293c | 1354 | #endif |
f1e7d826 MD |
1355 | #ifndef OVERRIDE_TABLE_32_chroot |
1356 | TRACE_SYSCALL_TABLE(chroot, chroot, 4061, 1) | |
046f293c | 1357 | #endif |
f1e7d826 MD |
1358 | #ifndef OVERRIDE_TABLE_32_ustat |
1359 | TRACE_SYSCALL_TABLE(ustat, ustat, 4062, 2) | |
046f293c | 1360 | #endif |
f1e7d826 MD |
1361 | #ifndef OVERRIDE_TABLE_32_sigaction |
1362 | TRACE_SYSCALL_TABLE(sigaction, sigaction, 4067, 3) | |
046f293c | 1363 | #endif |
f1e7d826 MD |
1364 | #ifndef OVERRIDE_TABLE_32_sigsuspend |
1365 | TRACE_SYSCALL_TABLE(sigsuspend, sigsuspend, 4072, 1) | |
046f293c | 1366 | #endif |
f1e7d826 MD |
1367 | #ifndef OVERRIDE_TABLE_32_sigpending |
1368 | TRACE_SYSCALL_TABLE(sigpending, sigpending, 4073, 1) | |
046f293c | 1369 | #endif |
f1e7d826 MD |
1370 | #ifndef OVERRIDE_TABLE_32_sethostname |
1371 | TRACE_SYSCALL_TABLE(sethostname, sethostname, 4074, 2) | |
046f293c | 1372 | #endif |
f1e7d826 MD |
1373 | #ifndef OVERRIDE_TABLE_32_setrlimit |
1374 | TRACE_SYSCALL_TABLE(setrlimit, setrlimit, 4075, 2) | |
046f293c | 1375 | #endif |
f1e7d826 MD |
1376 | #ifndef OVERRIDE_TABLE_32_getrlimit |
1377 | TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 4076, 2) | |
046f293c | 1378 | #endif |
f1e7d826 MD |
1379 | #ifndef OVERRIDE_TABLE_32_getrusage |
1380 | TRACE_SYSCALL_TABLE(getrusage, getrusage, 4077, 2) | |
046f293c | 1381 | #endif |
f1e7d826 MD |
1382 | #ifndef OVERRIDE_TABLE_32_gettimeofday |
1383 | TRACE_SYSCALL_TABLE(gettimeofday, gettimeofday, 4078, 2) | |
046f293c | 1384 | #endif |
f1e7d826 MD |
1385 | #ifndef OVERRIDE_TABLE_32_settimeofday |
1386 | TRACE_SYSCALL_TABLE(settimeofday, settimeofday, 4079, 2) | |
046f293c | 1387 | #endif |
f1e7d826 MD |
1388 | #ifndef OVERRIDE_TABLE_32_getgroups |
1389 | TRACE_SYSCALL_TABLE(getgroups, getgroups, 4080, 2) | |
046f293c | 1390 | #endif |
f1e7d826 MD |
1391 | #ifndef OVERRIDE_TABLE_32_setgroups |
1392 | TRACE_SYSCALL_TABLE(setgroups, setgroups, 4081, 2) | |
046f293c | 1393 | #endif |
f1e7d826 MD |
1394 | #ifndef OVERRIDE_TABLE_32_symlink |
1395 | TRACE_SYSCALL_TABLE(symlink, symlink, 4083, 2) | |
046f293c | 1396 | #endif |
f1e7d826 MD |
1397 | #ifndef OVERRIDE_TABLE_32_readlink |
1398 | TRACE_SYSCALL_TABLE(readlink, readlink, 4085, 3) | |
046f293c | 1399 | #endif |
f1e7d826 MD |
1400 | #ifndef OVERRIDE_TABLE_32_uselib |
1401 | TRACE_SYSCALL_TABLE(uselib, uselib, 4086, 1) | |
046f293c | 1402 | #endif |
f1e7d826 MD |
1403 | #ifndef OVERRIDE_TABLE_32_reboot |
1404 | TRACE_SYSCALL_TABLE(reboot, reboot, 4088, 4) | |
046f293c | 1405 | #endif |
f1e7d826 MD |
1406 | #ifndef OVERRIDE_TABLE_32_old_readdir |
1407 | TRACE_SYSCALL_TABLE(old_readdir, old_readdir, 4089, 3) | |
046f293c | 1408 | #endif |
f1e7d826 MD |
1409 | #ifndef OVERRIDE_TABLE_32_truncate |
1410 | TRACE_SYSCALL_TABLE(truncate, truncate, 4092, 2) | |
046f293c | 1411 | #endif |
f1e7d826 MD |
1412 | #ifndef OVERRIDE_TABLE_32_statfs |
1413 | TRACE_SYSCALL_TABLE(statfs, statfs, 4099, 2) | |
046f293c | 1414 | #endif |
f1e7d826 MD |
1415 | #ifndef OVERRIDE_TABLE_32_fstatfs |
1416 | TRACE_SYSCALL_TABLE(fstatfs, fstatfs, 4100, 2) | |
046f293c | 1417 | #endif |
f1e7d826 MD |
1418 | #ifndef OVERRIDE_TABLE_32_socketcall |
1419 | TRACE_SYSCALL_TABLE(socketcall, socketcall, 4102, 2) | |
046f293c | 1420 | #endif |
f1e7d826 MD |
1421 | #ifndef OVERRIDE_TABLE_32_syslog |
1422 | TRACE_SYSCALL_TABLE(syslog, syslog, 4103, 3) | |
046f293c | 1423 | #endif |
f1e7d826 MD |
1424 | #ifndef OVERRIDE_TABLE_32_setitimer |
1425 | TRACE_SYSCALL_TABLE(setitimer, setitimer, 4104, 3) | |
046f293c | 1426 | #endif |
f1e7d826 MD |
1427 | #ifndef OVERRIDE_TABLE_32_getitimer |
1428 | TRACE_SYSCALL_TABLE(getitimer, getitimer, 4105, 2) | |
046f293c | 1429 | #endif |
f1e7d826 MD |
1430 | #ifndef OVERRIDE_TABLE_32_newstat |
1431 | TRACE_SYSCALL_TABLE(newstat, newstat, 4106, 2) | |
046f293c | 1432 | #endif |
f1e7d826 MD |
1433 | #ifndef OVERRIDE_TABLE_32_newlstat |
1434 | TRACE_SYSCALL_TABLE(newlstat, newlstat, 4107, 2) | |
046f293c | 1435 | #endif |
f1e7d826 MD |
1436 | #ifndef OVERRIDE_TABLE_32_newfstat |
1437 | TRACE_SYSCALL_TABLE(newfstat, newfstat, 4108, 2) | |
046f293c | 1438 | #endif |
f1e7d826 MD |
1439 | #ifndef OVERRIDE_TABLE_32_uname |
1440 | TRACE_SYSCALL_TABLE(uname, uname, 4109, 1) | |
046f293c | 1441 | #endif |
f1e7d826 MD |
1442 | #ifndef OVERRIDE_TABLE_32_wait4 |
1443 | TRACE_SYSCALL_TABLE(wait4, wait4, 4114, 4) | |
046f293c | 1444 | #endif |
f1e7d826 MD |
1445 | #ifndef OVERRIDE_TABLE_32_sysinfo |
1446 | TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 4116, 1) | |
046f293c | 1447 | #endif |
f1e7d826 MD |
1448 | #ifndef OVERRIDE_TABLE_32_ipc |
1449 | TRACE_SYSCALL_TABLE(ipc, ipc, 4117, 6) | |
046f293c | 1450 | #endif |
f1e7d826 MD |
1451 | #ifndef OVERRIDE_TABLE_32_setdomainname |
1452 | TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 4121, 2) | |
046f293c | 1453 | #endif |
f1e7d826 MD |
1454 | #ifndef OVERRIDE_TABLE_32_newuname |
1455 | TRACE_SYSCALL_TABLE(newuname, newuname, 4122, 1) | |
046f293c | 1456 | #endif |
f1e7d826 MD |
1457 | #ifndef OVERRIDE_TABLE_32_adjtimex |
1458 | TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 4124, 1) | |
046f293c | 1459 | #endif |
f1e7d826 MD |
1460 | #ifndef OVERRIDE_TABLE_32_sigprocmask |
1461 | TRACE_SYSCALL_TABLE(sigprocmask, sigprocmask, 4126, 3) | |
046f293c | 1462 | #endif |
f1e7d826 MD |
1463 | #ifndef OVERRIDE_TABLE_32_init_module |
1464 | TRACE_SYSCALL_TABLE(init_module, init_module, 4128, 3) | |
046f293c | 1465 | #endif |
f1e7d826 MD |
1466 | #ifndef OVERRIDE_TABLE_32_delete_module |
1467 | TRACE_SYSCALL_TABLE(delete_module, delete_module, 4129, 2) | |
046f293c | 1468 | #endif |
f1e7d826 MD |
1469 | #ifndef OVERRIDE_TABLE_32_llseek |
1470 | TRACE_SYSCALL_TABLE(llseek, llseek, 4140, 5) | |
046f293c | 1471 | #endif |
f1e7d826 MD |
1472 | #ifndef OVERRIDE_TABLE_32_getdents |
1473 | TRACE_SYSCALL_TABLE(getdents, getdents, 4141, 3) | |
046f293c | 1474 | #endif |
f1e7d826 MD |
1475 | #ifndef OVERRIDE_TABLE_32_select |
1476 | TRACE_SYSCALL_TABLE(select, select, 4142, 5) | |
046f293c | 1477 | #endif |
f1e7d826 MD |
1478 | #ifndef OVERRIDE_TABLE_32_readv |
1479 | TRACE_SYSCALL_TABLE(readv, readv, 4145, 3) | |
046f293c | 1480 | #endif |
f1e7d826 MD |
1481 | #ifndef OVERRIDE_TABLE_32_writev |
1482 | TRACE_SYSCALL_TABLE(writev, writev, 4146, 3) | |
046f293c | 1483 | #endif |
f1e7d826 MD |
1484 | #ifndef OVERRIDE_TABLE_32_cachectl |
1485 | TRACE_SYSCALL_TABLE(cachectl, cachectl, 4148, 3) | |
046f293c | 1486 | #endif |
f1e7d826 MD |
1487 | #ifndef OVERRIDE_TABLE_32_sysctl |
1488 | TRACE_SYSCALL_TABLE(sysctl, sysctl, 4153, 1) | |
046f293c | 1489 | #endif |
f1e7d826 MD |
1490 | #ifndef OVERRIDE_TABLE_32_sched_setparam |
1491 | TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 4158, 2) | |
046f293c | 1492 | #endif |
f1e7d826 MD |
1493 | #ifndef OVERRIDE_TABLE_32_sched_getparam |
1494 | TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 4159, 2) | |
046f293c | 1495 | #endif |
f1e7d826 MD |
1496 | #ifndef OVERRIDE_TABLE_32_sched_setscheduler |
1497 | TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 4160, 3) | |
046f293c | 1498 | #endif |
f1e7d826 MD |
1499 | #ifndef OVERRIDE_TABLE_32_sched_rr_get_interval |
1500 | TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 4165, 2) | |
046f293c | 1501 | #endif |
f1e7d826 MD |
1502 | #ifndef OVERRIDE_TABLE_32_nanosleep |
1503 | TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 4166, 2) | |
046f293c | 1504 | #endif |
f1e7d826 MD |
1505 | #ifndef OVERRIDE_TABLE_32_accept |
1506 | TRACE_SYSCALL_TABLE(accept, accept, 4168, 3) | |
046f293c | 1507 | #endif |
f1e7d826 MD |
1508 | #ifndef OVERRIDE_TABLE_32_bind |
1509 | TRACE_SYSCALL_TABLE(bind, bind, 4169, 3) | |
046f293c | 1510 | #endif |
f1e7d826 MD |
1511 | #ifndef OVERRIDE_TABLE_32_connect |
1512 | TRACE_SYSCALL_TABLE(connect, connect, 4170, 3) | |
046f293c | 1513 | #endif |
f1e7d826 MD |
1514 | #ifndef OVERRIDE_TABLE_32_getpeername |
1515 | TRACE_SYSCALL_TABLE(getpeername, getpeername, 4171, 3) | |
046f293c | 1516 | #endif |
f1e7d826 MD |
1517 | #ifndef OVERRIDE_TABLE_32_getsockname |
1518 | TRACE_SYSCALL_TABLE(getsockname, getsockname, 4172, 3) | |
046f293c | 1519 | #endif |
f1e7d826 MD |
1520 | #ifndef OVERRIDE_TABLE_32_getsockopt |
1521 | TRACE_SYSCALL_TABLE(getsockopt, getsockopt, 4173, 5) | |
046f293c | 1522 | #endif |
f1e7d826 MD |
1523 | #ifndef OVERRIDE_TABLE_32_recvfrom |
1524 | TRACE_SYSCALL_TABLE(recvfrom, recvfrom, 4176, 6) | |
046f293c | 1525 | #endif |
f1e7d826 MD |
1526 | #ifndef OVERRIDE_TABLE_32_recvmsg |
1527 | TRACE_SYSCALL_TABLE(recvmsg, recvmsg, 4177, 3) | |
046f293c | 1528 | #endif |
f1e7d826 MD |
1529 | #ifndef OVERRIDE_TABLE_32_send |
1530 | TRACE_SYSCALL_TABLE(send, send, 4178, 4) | |
046f293c | 1531 | #endif |
f1e7d826 MD |
1532 | #ifndef OVERRIDE_TABLE_32_sendmsg |
1533 | TRACE_SYSCALL_TABLE(sendmsg, sendmsg, 4179, 3) | |
046f293c | 1534 | #endif |
f1e7d826 MD |
1535 | #ifndef OVERRIDE_TABLE_32_sendto |
1536 | TRACE_SYSCALL_TABLE(sendto, sendto, 4180, 6) | |
046f293c | 1537 | #endif |
f1e7d826 MD |
1538 | #ifndef OVERRIDE_TABLE_32_setsockopt |
1539 | TRACE_SYSCALL_TABLE(setsockopt, setsockopt, 4181, 5) | |
046f293c | 1540 | #endif |
f1e7d826 MD |
1541 | #ifndef OVERRIDE_TABLE_32_socketpair |
1542 | TRACE_SYSCALL_TABLE(socketpair, socketpair, 4184, 4) | |
046f293c | 1543 | #endif |
f1e7d826 MD |
1544 | #ifndef OVERRIDE_TABLE_32_getresuid |
1545 | TRACE_SYSCALL_TABLE(getresuid, getresuid, 4186, 3) | |
046f293c | 1546 | #endif |
f1e7d826 MD |
1547 | #ifndef OVERRIDE_TABLE_32_poll |
1548 | TRACE_SYSCALL_TABLE(poll, poll, 4188, 3) | |
046f293c | 1549 | #endif |
f1e7d826 MD |
1550 | #ifndef OVERRIDE_TABLE_32_getresgid |
1551 | TRACE_SYSCALL_TABLE(getresgid, getresgid, 4191, 3) | |
046f293c | 1552 | #endif |
f1e7d826 MD |
1553 | #ifndef OVERRIDE_TABLE_32_rt_sigaction |
1554 | TRACE_SYSCALL_TABLE(rt_sigaction, rt_sigaction, 4194, 4) | |
046f293c | 1555 | #endif |
f1e7d826 MD |
1556 | #ifndef OVERRIDE_TABLE_32_rt_sigprocmask |
1557 | TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 4195, 4) | |
046f293c | 1558 | #endif |
f1e7d826 MD |
1559 | #ifndef OVERRIDE_TABLE_32_rt_sigpending |
1560 | TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 4196, 2) | |
046f293c | 1561 | #endif |
f1e7d826 MD |
1562 | #ifndef OVERRIDE_TABLE_32_rt_sigtimedwait |
1563 | TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 4197, 4) | |
046f293c | 1564 | #endif |
f1e7d826 MD |
1565 | #ifndef OVERRIDE_TABLE_32_rt_sigqueueinfo |
1566 | TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 4198, 3) | |
046f293c | 1567 | #endif |
f1e7d826 MD |
1568 | #ifndef OVERRIDE_TABLE_32_rt_sigsuspend |
1569 | TRACE_SYSCALL_TABLE(rt_sigsuspend, rt_sigsuspend, 4199, 2) | |
046f293c | 1570 | #endif |
f1e7d826 MD |
1571 | #ifndef OVERRIDE_TABLE_32_pread64 |
1572 | TRACE_SYSCALL_TABLE(pread64, pread64, 4200, 4) | |
046f293c | 1573 | #endif |
f1e7d826 MD |
1574 | #ifndef OVERRIDE_TABLE_32_pwrite64 |
1575 | TRACE_SYSCALL_TABLE(pwrite64, pwrite64, 4201, 4) | |
046f293c | 1576 | #endif |
f1e7d826 MD |
1577 | #ifndef OVERRIDE_TABLE_32_chown |
1578 | TRACE_SYSCALL_TABLE(chown, chown, 4202, 3) | |
046f293c | 1579 | #endif |
f1e7d826 MD |
1580 | #ifndef OVERRIDE_TABLE_32_getcwd |
1581 | TRACE_SYSCALL_TABLE(getcwd, getcwd, 4203, 2) | |
046f293c | 1582 | #endif |
f1e7d826 MD |
1583 | #ifndef OVERRIDE_TABLE_32_sigaltstack |
1584 | TRACE_SYSCALL_TABLE(sigaltstack, sigaltstack, 4206, 2) | |
046f293c | 1585 | #endif |
f1e7d826 MD |
1586 | #ifndef OVERRIDE_TABLE_32_sendfile |
1587 | TRACE_SYSCALL_TABLE(sendfile, sendfile, 4207, 4) | |
046f293c | 1588 | #endif |
f1e7d826 MD |
1589 | #ifndef OVERRIDE_TABLE_32_truncate64 |
1590 | TRACE_SYSCALL_TABLE(truncate64, truncate64, 4211, 2) | |
046f293c | 1591 | #endif |
f1e7d826 MD |
1592 | #ifndef OVERRIDE_TABLE_32_stat64 |
1593 | TRACE_SYSCALL_TABLE(stat64, stat64, 4213, 2) | |
046f293c | 1594 | #endif |
f1e7d826 MD |
1595 | #ifndef OVERRIDE_TABLE_32_lstat64 |
1596 | TRACE_SYSCALL_TABLE(lstat64, lstat64, 4214, 2) | |
046f293c | 1597 | #endif |
f1e7d826 MD |
1598 | #ifndef OVERRIDE_TABLE_32_fstat64 |
1599 | TRACE_SYSCALL_TABLE(fstat64, fstat64, 4215, 2) | |
046f293c | 1600 | #endif |
f1e7d826 MD |
1601 | #ifndef OVERRIDE_TABLE_32_pivot_root |
1602 | TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 4216, 2) | |
046f293c | 1603 | #endif |
f1e7d826 MD |
1604 | #ifndef OVERRIDE_TABLE_32_mincore |
1605 | TRACE_SYSCALL_TABLE(mincore, mincore, 4217, 3) | |
046f293c | 1606 | #endif |
f1e7d826 MD |
1607 | #ifndef OVERRIDE_TABLE_32_getdents64 |
1608 | TRACE_SYSCALL_TABLE(getdents64, getdents64, 4219, 3) | |
046f293c | 1609 | #endif |
f1e7d826 MD |
1610 | #ifndef OVERRIDE_TABLE_32_setxattr |
1611 | TRACE_SYSCALL_TABLE(setxattr, setxattr, 4224, 5) | |
046f293c | 1612 | #endif |
f1e7d826 MD |
1613 | #ifndef OVERRIDE_TABLE_32_lsetxattr |
1614 | TRACE_SYSCALL_TABLE(lsetxattr, lsetxattr, 4225, 5) | |
046f293c | 1615 | #endif |
f1e7d826 MD |
1616 | #ifndef OVERRIDE_TABLE_32_fsetxattr |
1617 | TRACE_SYSCALL_TABLE(fsetxattr, fsetxattr, 4226, 5) | |
046f293c | 1618 | #endif |
f1e7d826 MD |
1619 | #ifndef OVERRIDE_TABLE_32_getxattr |
1620 | TRACE_SYSCALL_TABLE(getxattr, getxattr, 4227, 4) | |
046f293c | 1621 | #endif |
f1e7d826 MD |
1622 | #ifndef OVERRIDE_TABLE_32_lgetxattr |
1623 | TRACE_SYSCALL_TABLE(lgetxattr, lgetxattr, 4228, 4) | |
046f293c | 1624 | #endif |
f1e7d826 MD |
1625 | #ifndef OVERRIDE_TABLE_32_fgetxattr |
1626 | TRACE_SYSCALL_TABLE(fgetxattr, fgetxattr, 4229, 4) | |
046f293c | 1627 | #endif |
f1e7d826 MD |
1628 | #ifndef OVERRIDE_TABLE_32_listxattr |
1629 | TRACE_SYSCALL_TABLE(listxattr, listxattr, 4230, 3) | |
046f293c | 1630 | #endif |
f1e7d826 MD |
1631 | #ifndef OVERRIDE_TABLE_32_llistxattr |
1632 | TRACE_SYSCALL_TABLE(llistxattr, llistxattr, 4231, 3) | |
046f293c | 1633 | #endif |
f1e7d826 MD |
1634 | #ifndef OVERRIDE_TABLE_32_flistxattr |
1635 | TRACE_SYSCALL_TABLE(flistxattr, flistxattr, 4232, 3) | |
046f293c | 1636 | #endif |
f1e7d826 MD |
1637 | #ifndef OVERRIDE_TABLE_32_removexattr |
1638 | TRACE_SYSCALL_TABLE(removexattr, removexattr, 4233, 2) | |
046f293c | 1639 | #endif |
f1e7d826 MD |
1640 | #ifndef OVERRIDE_TABLE_32_lremovexattr |
1641 | TRACE_SYSCALL_TABLE(lremovexattr, lremovexattr, 4234, 2) | |
046f293c | 1642 | #endif |
f1e7d826 MD |
1643 | #ifndef OVERRIDE_TABLE_32_fremovexattr |
1644 | TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 4235, 2) | |
046f293c | 1645 | #endif |
f1e7d826 MD |
1646 | #ifndef OVERRIDE_TABLE_32_sendfile64 |
1647 | TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 4237, 4) | |
046f293c | 1648 | #endif |
f1e7d826 MD |
1649 | #ifndef OVERRIDE_TABLE_32_futex |
1650 | TRACE_SYSCALL_TABLE(futex, futex, 4238, 6) | |
046f293c | 1651 | #endif |
f1e7d826 MD |
1652 | #ifndef OVERRIDE_TABLE_32_io_setup |
1653 | TRACE_SYSCALL_TABLE(io_setup, io_setup, 4241, 2) | |
046f293c | 1654 | #endif |
f1e7d826 MD |
1655 | #ifndef OVERRIDE_TABLE_32_io_getevents |
1656 | TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 4243, 5) | |
046f293c | 1657 | #endif |
f1e7d826 MD |
1658 | #ifndef OVERRIDE_TABLE_32_io_submit |
1659 | TRACE_SYSCALL_TABLE(io_submit, io_submit, 4244, 3) | |
046f293c | 1660 | #endif |
f1e7d826 MD |
1661 | #ifndef OVERRIDE_TABLE_32_io_cancel |
1662 | TRACE_SYSCALL_TABLE(io_cancel, io_cancel, 4245, 3) | |
046f293c | 1663 | #endif |
f1e7d826 MD |
1664 | #ifndef OVERRIDE_TABLE_32_epoll_ctl |
1665 | TRACE_SYSCALL_TABLE(epoll_ctl, epoll_ctl, 4249, 4) | |
046f293c | 1666 | #endif |
f1e7d826 MD |
1667 | #ifndef OVERRIDE_TABLE_32_epoll_wait |
1668 | TRACE_SYSCALL_TABLE(epoll_wait, epoll_wait, 4250, 4) | |
046f293c | 1669 | #endif |
f1e7d826 MD |
1670 | #ifndef OVERRIDE_TABLE_32_set_tid_address |
1671 | TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 4252, 1) | |
046f293c | 1672 | #endif |
f1e7d826 MD |
1673 | #ifndef OVERRIDE_TABLE_32_statfs64 |
1674 | TRACE_SYSCALL_TABLE(statfs64, statfs64, 4255, 3) | |
046f293c | 1675 | #endif |
f1e7d826 MD |
1676 | #ifndef OVERRIDE_TABLE_32_fstatfs64 |
1677 | TRACE_SYSCALL_TABLE(fstatfs64, fstatfs64, 4256, 3) | |
046f293c | 1678 | #endif |
f1e7d826 MD |
1679 | #ifndef OVERRIDE_TABLE_32_timer_create |
1680 | TRACE_SYSCALL_TABLE(timer_create, timer_create, 4257, 3) | |
046f293c | 1681 | #endif |
f1e7d826 MD |
1682 | #ifndef OVERRIDE_TABLE_32_timer_settime |
1683 | TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 4258, 4) | |
046f293c | 1684 | #endif |
f1e7d826 MD |
1685 | #ifndef OVERRIDE_TABLE_32_timer_gettime |
1686 | TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 4259, 2) | |
046f293c | 1687 | #endif |
f1e7d826 MD |
1688 | #ifndef OVERRIDE_TABLE_32_clock_settime |
1689 | TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 4262, 2) | |
046f293c | 1690 | #endif |
f1e7d826 MD |
1691 | #ifndef OVERRIDE_TABLE_32_clock_gettime |
1692 | TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 4263, 2) | |
046f293c | 1693 | #endif |
f1e7d826 MD |
1694 | #ifndef OVERRIDE_TABLE_32_clock_getres |
1695 | TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 4264, 2) | |
046f293c | 1696 | #endif |
f1e7d826 MD |
1697 | #ifndef OVERRIDE_TABLE_32_clock_nanosleep |
1698 | TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 4265, 4) | |
046f293c | 1699 | #endif |
f1e7d826 MD |
1700 | #ifndef OVERRIDE_TABLE_32_utimes |
1701 | TRACE_SYSCALL_TABLE(utimes, utimes, 4267, 2) | |
046f293c | 1702 | #endif |
f1e7d826 MD |
1703 | #ifndef OVERRIDE_TABLE_32_waitid |
1704 | TRACE_SYSCALL_TABLE(waitid, waitid, 4278, 5) | |
046f293c | 1705 | #endif |
f1e7d826 MD |
1706 | #ifndef OVERRIDE_TABLE_32_inotify_add_watch |
1707 | TRACE_SYSCALL_TABLE(inotify_add_watch, inotify_add_watch, 4285, 3) | |
046f293c | 1708 | #endif |
f1e7d826 MD |
1709 | #ifndef OVERRIDE_TABLE_32_openat |
1710 | TRACE_SYSCALL_TABLE(openat, openat, 4288, 4) | |
046f293c | 1711 | #endif |
f1e7d826 MD |
1712 | #ifndef OVERRIDE_TABLE_32_mkdirat |
1713 | TRACE_SYSCALL_TABLE(mkdirat, mkdirat, 4289, 3) | |
046f293c | 1714 | #endif |
f1e7d826 MD |
1715 | #ifndef OVERRIDE_TABLE_32_mknodat |
1716 | TRACE_SYSCALL_TABLE(mknodat, mknodat, 4290, 4) | |
046f293c | 1717 | #endif |
f1e7d826 MD |
1718 | #ifndef OVERRIDE_TABLE_32_fchownat |
1719 | TRACE_SYSCALL_TABLE(fchownat, fchownat, 4291, 5) | |
046f293c | 1720 | #endif |
f1e7d826 MD |
1721 | #ifndef OVERRIDE_TABLE_32_futimesat |
1722 | TRACE_SYSCALL_TABLE(futimesat, futimesat, 4292, 3) | |
046f293c | 1723 | #endif |
f1e7d826 MD |
1724 | #ifndef OVERRIDE_TABLE_32_fstatat64 |
1725 | TRACE_SYSCALL_TABLE(fstatat64, fstatat64, 4293, 4) | |
046f293c | 1726 | #endif |
f1e7d826 MD |
1727 | #ifndef OVERRIDE_TABLE_32_unlinkat |
1728 | TRACE_SYSCALL_TABLE(unlinkat, unlinkat, 4294, 3) | |
046f293c | 1729 | #endif |
f1e7d826 MD |
1730 | #ifndef OVERRIDE_TABLE_32_renameat |
1731 | TRACE_SYSCALL_TABLE(renameat, renameat, 4295, 4) | |
046f293c | 1732 | #endif |
f1e7d826 MD |
1733 | #ifndef OVERRIDE_TABLE_32_linkat |
1734 | TRACE_SYSCALL_TABLE(linkat, linkat, 4296, 5) | |
046f293c | 1735 | #endif |
f1e7d826 MD |
1736 | #ifndef OVERRIDE_TABLE_32_symlinkat |
1737 | TRACE_SYSCALL_TABLE(symlinkat, symlinkat, 4297, 3) | |
046f293c | 1738 | #endif |
f1e7d826 MD |
1739 | #ifndef OVERRIDE_TABLE_32_readlinkat |
1740 | TRACE_SYSCALL_TABLE(readlinkat, readlinkat, 4298, 4) | |
046f293c | 1741 | #endif |
f1e7d826 MD |
1742 | #ifndef OVERRIDE_TABLE_32_fchmodat |
1743 | TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 4299, 3) | |
046f293c | 1744 | #endif |
f1e7d826 MD |
1745 | #ifndef OVERRIDE_TABLE_32_faccessat |
1746 | TRACE_SYSCALL_TABLE(faccessat, faccessat, 4300, 3) | |
046f293c | 1747 | #endif |
f1e7d826 MD |
1748 | #ifndef OVERRIDE_TABLE_32_pselect6 |
1749 | TRACE_SYSCALL_TABLE(pselect6, pselect6, 4301, 6) | |
046f293c | 1750 | #endif |
f1e7d826 MD |
1751 | #ifndef OVERRIDE_TABLE_32_ppoll |
1752 | TRACE_SYSCALL_TABLE(ppoll, ppoll, 4302, 5) | |
046f293c | 1753 | #endif |
f1e7d826 MD |
1754 | #ifndef OVERRIDE_TABLE_32_splice |
1755 | TRACE_SYSCALL_TABLE(splice, splice, 4304, 6) | |
046f293c | 1756 | #endif |
f1e7d826 MD |
1757 | #ifndef OVERRIDE_TABLE_32_vmsplice |
1758 | TRACE_SYSCALL_TABLE(vmsplice, vmsplice, 4307, 4) | |
046f293c | 1759 | #endif |
f1e7d826 MD |
1760 | #ifndef OVERRIDE_TABLE_32_set_robust_list |
1761 | TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 4309, 2) | |
046f293c | 1762 | #endif |
f1e7d826 MD |
1763 | #ifndef OVERRIDE_TABLE_32_get_robust_list |
1764 | TRACE_SYSCALL_TABLE(get_robust_list, get_robust_list, 4310, 3) | |
046f293c | 1765 | #endif |
f1e7d826 MD |
1766 | #ifndef OVERRIDE_TABLE_32_getcpu |
1767 | TRACE_SYSCALL_TABLE(getcpu, getcpu, 4312, 3) | |
046f293c | 1768 | #endif |
f1e7d826 MD |
1769 | #ifndef OVERRIDE_TABLE_32_epoll_pwait |
1770 | TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 4313, 6) | |
046f293c | 1771 | #endif |
f1e7d826 MD |
1772 | #ifndef OVERRIDE_TABLE_32_utimensat |
1773 | TRACE_SYSCALL_TABLE(utimensat, utimensat, 4316, 4) | |
046f293c | 1774 | #endif |
f1e7d826 MD |
1775 | #ifndef OVERRIDE_TABLE_32_signalfd |
1776 | TRACE_SYSCALL_TABLE(signalfd, signalfd, 4317, 3) | |
046f293c | 1777 | #endif |
f1e7d826 MD |
1778 | #ifndef OVERRIDE_TABLE_32_timerfd_gettime |
1779 | TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 4322, 2) | |
046f293c | 1780 | #endif |
f1e7d826 MD |
1781 | #ifndef OVERRIDE_TABLE_32_timerfd_settime |
1782 | TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 4323, 4) | |
046f293c | 1783 | #endif |
f1e7d826 MD |
1784 | #ifndef OVERRIDE_TABLE_32_signalfd4 |
1785 | TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 4324, 4) | |
046f293c | 1786 | #endif |
f1e7d826 MD |
1787 | #ifndef OVERRIDE_TABLE_32_pipe2 |
1788 | TRACE_SYSCALL_TABLE(pipe2, pipe2, 4328, 2) | |
046f293c | 1789 | #endif |
f1e7d826 MD |
1790 | #ifndef OVERRIDE_TABLE_32_preadv |
1791 | TRACE_SYSCALL_TABLE(preadv, preadv, 4330, 5) | |
046f293c | 1792 | #endif |
f1e7d826 MD |
1793 | #ifndef OVERRIDE_TABLE_32_pwritev |
1794 | TRACE_SYSCALL_TABLE(pwritev, pwritev, 4331, 5) | |
046f293c | 1795 | #endif |
f1e7d826 MD |
1796 | #ifndef OVERRIDE_TABLE_32_rt_tgsigqueueinfo |
1797 | TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 4332, 4) | |
046f293c | 1798 | #endif |
f1e7d826 MD |
1799 | #ifndef OVERRIDE_TABLE_32_perf_event_open |
1800 | TRACE_SYSCALL_TABLE(perf_event_open, perf_event_open, 4333, 5) | |
046f293c | 1801 | #endif |
f1e7d826 MD |
1802 | #ifndef OVERRIDE_TABLE_32_accept4 |
1803 | TRACE_SYSCALL_TABLE(accept4, accept4, 4334, 4) | |
046f293c | 1804 | #endif |
f1e7d826 MD |
1805 | #ifndef OVERRIDE_TABLE_32_recvmmsg |
1806 | TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 4335, 5) | |
046f293c | 1807 | #endif |
f1e7d826 MD |
1808 | #ifndef OVERRIDE_TABLE_32_prlimit64 |
1809 | TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 4338, 4) | |
046f293c | 1810 | #endif |
f1e7d826 MD |
1811 | #ifndef OVERRIDE_TABLE_32_name_to_handle_at |
1812 | TRACE_SYSCALL_TABLE(name_to_handle_at, name_to_handle_at, 4339, 5) | |
046f293c | 1813 | #endif |
f1e7d826 MD |
1814 | #ifndef OVERRIDE_TABLE_32_open_by_handle_at |
1815 | TRACE_SYSCALL_TABLE(open_by_handle_at, open_by_handle_at, 4340, 3) | |
046f293c | 1816 | #endif |
f1e7d826 MD |
1817 | #ifndef OVERRIDE_TABLE_32_clock_adjtime |
1818 | TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 4341, 2) | |
046f293c | 1819 | #endif |
f1e7d826 MD |
1820 | #ifndef OVERRIDE_TABLE_32_sendmmsg |
1821 | TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 4343, 4) | |
046f293c LP |
1822 | #endif |
1823 | ||
1824 | #endif /* CREATE_SYSCALL_TABLE */ |