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 | ||
12 | #ifndef OVERRIDE_32_sys_unlink | |
cb3ef14c | 13 | SC_LTTNG_TRACEPOINT_EVENT(sys_unlink, |
046f293c LP |
14 | TP_PROTO(const char * pathname), |
15 | TP_ARGS(pathname), | |
16 | TP_STRUCT__entry(__string_from_user(pathname, pathname)), | |
17 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname)), | |
18 | TP_printk() | |
19 | ) | |
20 | #endif | |
21 | #ifndef OVERRIDE_32_sys_chdir | |
cb3ef14c | 22 | SC_LTTNG_TRACEPOINT_EVENT(sys_chdir, |
046f293c LP |
23 | TP_PROTO(const char * filename), |
24 | TP_ARGS(filename), | |
25 | TP_STRUCT__entry(__string_from_user(filename, filename)), | |
26 | TP_fast_assign(tp_copy_string_from_user(filename, filename)), | |
27 | TP_printk() | |
28 | ) | |
29 | #endif | |
30 | #ifndef OVERRIDE_32_sys_time | |
cb3ef14c | 31 | SC_LTTNG_TRACEPOINT_EVENT(sys_time, |
046f293c LP |
32 | TP_PROTO(time_t * tloc), |
33 | TP_ARGS(tloc), | |
34 | TP_STRUCT__entry(__field_hex(time_t *, tloc)), | |
35 | TP_fast_assign(tp_assign(tloc, tloc)), | |
36 | TP_printk() | |
37 | ) | |
38 | #endif | |
39 | #ifndef OVERRIDE_32_sys_oldumount | |
cb3ef14c | 40 | SC_LTTNG_TRACEPOINT_EVENT(sys_oldumount, |
046f293c LP |
41 | TP_PROTO(char * name), |
42 | TP_ARGS(name), | |
43 | TP_STRUCT__entry(__string_from_user(name, name)), | |
44 | TP_fast_assign(tp_copy_string_from_user(name, name)), | |
45 | TP_printk() | |
46 | ) | |
47 | #endif | |
48 | #ifndef OVERRIDE_32_sys_stime | |
cb3ef14c | 49 | SC_LTTNG_TRACEPOINT_EVENT(sys_stime, |
046f293c LP |
50 | TP_PROTO(time_t * tptr), |
51 | TP_ARGS(tptr), | |
52 | TP_STRUCT__entry(__field_hex(time_t *, tptr)), | |
53 | TP_fast_assign(tp_assign(tptr, tptr)), | |
54 | TP_printk() | |
55 | ) | |
56 | #endif | |
57 | #ifndef OVERRIDE_32_sys_rmdir | |
cb3ef14c | 58 | SC_LTTNG_TRACEPOINT_EVENT(sys_rmdir, |
046f293c LP |
59 | TP_PROTO(const char * pathname), |
60 | TP_ARGS(pathname), | |
61 | TP_STRUCT__entry(__string_from_user(pathname, pathname)), | |
62 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname)), | |
63 | TP_printk() | |
64 | ) | |
65 | #endif | |
66 | #ifndef OVERRIDE_32_sys_times | |
cb3ef14c | 67 | SC_LTTNG_TRACEPOINT_EVENT(sys_times, |
046f293c LP |
68 | TP_PROTO(struct tms * tbuf), |
69 | TP_ARGS(tbuf), | |
70 | TP_STRUCT__entry(__field_hex(struct tms *, tbuf)), | |
71 | TP_fast_assign(tp_assign(tbuf, tbuf)), | |
72 | TP_printk() | |
73 | ) | |
74 | #endif | |
75 | #ifndef OVERRIDE_32_sys_olduname | |
cb3ef14c | 76 | SC_LTTNG_TRACEPOINT_EVENT(sys_olduname, |
046f293c LP |
77 | TP_PROTO(struct oldold_utsname * name), |
78 | TP_ARGS(name), | |
79 | TP_STRUCT__entry(__field_hex(struct oldold_utsname *, name)), | |
80 | TP_fast_assign(tp_assign(name, name)), | |
81 | TP_printk() | |
82 | ) | |
83 | #endif | |
84 | #ifndef OVERRIDE_32_sys_chroot | |
cb3ef14c | 85 | SC_LTTNG_TRACEPOINT_EVENT(sys_chroot, |
046f293c LP |
86 | TP_PROTO(const char * filename), |
87 | TP_ARGS(filename), | |
88 | TP_STRUCT__entry(__string_from_user(filename, filename)), | |
89 | TP_fast_assign(tp_copy_string_from_user(filename, filename)), | |
90 | TP_printk() | |
91 | ) | |
92 | #endif | |
93 | #ifndef OVERRIDE_32_sys_sigsuspend | |
cb3ef14c | 94 | SC_LTTNG_TRACEPOINT_EVENT(sys_sigsuspend, |
046f293c LP |
95 | TP_PROTO(sigset_t * uset), |
96 | TP_ARGS(uset), | |
97 | TP_STRUCT__entry(__field_hex(sigset_t *, uset)), | |
98 | TP_fast_assign(tp_assign(uset, uset)), | |
99 | TP_printk() | |
100 | ) | |
101 | #endif | |
102 | #ifndef OVERRIDE_32_sys_sigpending | |
cb3ef14c | 103 | SC_LTTNG_TRACEPOINT_EVENT(sys_sigpending, |
046f293c LP |
104 | TP_PROTO(old_sigset_t * set), |
105 | TP_ARGS(set), | |
106 | TP_STRUCT__entry(__field_hex(old_sigset_t *, set)), | |
107 | TP_fast_assign(tp_assign(set, set)), | |
108 | TP_printk() | |
109 | ) | |
110 | #endif | |
111 | #ifndef OVERRIDE_32_sys_uselib | |
cb3ef14c | 112 | SC_LTTNG_TRACEPOINT_EVENT(sys_uselib, |
046f293c LP |
113 | TP_PROTO(const char * library), |
114 | TP_ARGS(library), | |
115 | TP_STRUCT__entry(__field_hex(const char *, library)), | |
116 | TP_fast_assign(tp_assign(library, library)), | |
117 | TP_printk() | |
118 | ) | |
119 | #endif | |
120 | #ifndef OVERRIDE_32_sys_uname | |
cb3ef14c | 121 | SC_LTTNG_TRACEPOINT_EVENT(sys_uname, |
046f293c LP |
122 | TP_PROTO(struct old_utsname * name), |
123 | TP_ARGS(name), | |
124 | TP_STRUCT__entry(__field_hex(struct old_utsname *, name)), | |
125 | TP_fast_assign(tp_assign(name, name)), | |
126 | TP_printk() | |
127 | ) | |
128 | #endif | |
129 | #ifndef OVERRIDE_32_sys_sysinfo | |
cb3ef14c | 130 | SC_LTTNG_TRACEPOINT_EVENT(sys_sysinfo, |
046f293c LP |
131 | TP_PROTO(struct sysinfo * info), |
132 | TP_ARGS(info), | |
133 | TP_STRUCT__entry(__field_hex(struct sysinfo *, info)), | |
134 | TP_fast_assign(tp_assign(info, info)), | |
135 | TP_printk() | |
136 | ) | |
137 | #endif | |
138 | #ifndef OVERRIDE_32_sys_newuname | |
cb3ef14c | 139 | SC_LTTNG_TRACEPOINT_EVENT(sys_newuname, |
046f293c LP |
140 | TP_PROTO(struct new_utsname * name), |
141 | TP_ARGS(name), | |
142 | TP_STRUCT__entry(__field_hex(struct new_utsname *, name)), | |
143 | TP_fast_assign(tp_assign(name, name)), | |
144 | TP_printk() | |
145 | ) | |
146 | #endif | |
147 | #ifndef OVERRIDE_32_sys_adjtimex | |
cb3ef14c | 148 | SC_LTTNG_TRACEPOINT_EVENT(sys_adjtimex, |
046f293c LP |
149 | TP_PROTO(struct timex * txc_p), |
150 | TP_ARGS(txc_p), | |
151 | TP_STRUCT__entry(__field_hex(struct timex *, txc_p)), | |
152 | TP_fast_assign(tp_assign(txc_p, txc_p)), | |
153 | TP_printk() | |
154 | ) | |
155 | #endif | |
156 | #ifndef OVERRIDE_32_sys_sysctl | |
cb3ef14c | 157 | SC_LTTNG_TRACEPOINT_EVENT(sys_sysctl, |
046f293c LP |
158 | TP_PROTO(struct __sysctl_args * args), |
159 | TP_ARGS(args), | |
160 | TP_STRUCT__entry(__field_hex(struct __sysctl_args *, args)), | |
161 | TP_fast_assign(tp_assign(args, args)), | |
162 | TP_printk() | |
163 | ) | |
164 | #endif | |
165 | #ifndef OVERRIDE_32_sys_set_tid_address | |
cb3ef14c | 166 | SC_LTTNG_TRACEPOINT_EVENT(sys_set_tid_address, |
046f293c LP |
167 | TP_PROTO(int * tidptr), |
168 | TP_ARGS(tidptr), | |
169 | TP_STRUCT__entry(__field_hex(int *, tidptr)), | |
170 | TP_fast_assign(tp_assign(tidptr, tidptr)), | |
171 | TP_printk() | |
172 | ) | |
173 | #endif | |
174 | #ifndef OVERRIDE_32_sys_creat | |
cb3ef14c | 175 | SC_LTTNG_TRACEPOINT_EVENT(sys_creat, |
046f293c LP |
176 | TP_PROTO(const char * pathname, umode_t mode), |
177 | TP_ARGS(pathname, mode), | |
178 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(umode_t, mode)), | |
179 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(mode, mode)), | |
180 | TP_printk() | |
181 | ) | |
182 | #endif | |
183 | #ifndef OVERRIDE_32_sys_link | |
cb3ef14c | 184 | SC_LTTNG_TRACEPOINT_EVENT(sys_link, |
046f293c LP |
185 | TP_PROTO(const char * oldname, const char * newname), |
186 | TP_ARGS(oldname, newname), | |
187 | TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), | |
188 | TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_copy_string_from_user(newname, newname)), | |
189 | TP_printk() | |
190 | ) | |
191 | #endif | |
192 | #ifndef OVERRIDE_32_sys_chmod | |
cb3ef14c | 193 | SC_LTTNG_TRACEPOINT_EVENT(sys_chmod, |
046f293c LP |
194 | TP_PROTO(const char * filename, umode_t mode), |
195 | TP_ARGS(filename, mode), | |
196 | TP_STRUCT__entry(__string_from_user(filename, filename) __field(umode_t, mode)), | |
197 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), | |
198 | TP_printk() | |
199 | ) | |
200 | #endif | |
201 | #ifndef OVERRIDE_32_sys_utime | |
cb3ef14c | 202 | SC_LTTNG_TRACEPOINT_EVENT(sys_utime, |
046f293c LP |
203 | TP_PROTO(char * filename, struct utimbuf * times), |
204 | TP_ARGS(filename, times), | |
205 | TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct utimbuf *, times)), | |
206 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(times, times)), | |
207 | TP_printk() | |
208 | ) | |
209 | #endif | |
210 | #ifndef OVERRIDE_32_sys_access | |
cb3ef14c | 211 | SC_LTTNG_TRACEPOINT_EVENT(sys_access, |
046f293c LP |
212 | TP_PROTO(const char * filename, int mode), |
213 | TP_ARGS(filename, mode), | |
214 | TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, mode)), | |
215 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), | |
216 | TP_printk() | |
217 | ) | |
218 | #endif | |
219 | #ifndef OVERRIDE_32_sys_rename | |
cb3ef14c | 220 | SC_LTTNG_TRACEPOINT_EVENT(sys_rename, |
046f293c LP |
221 | TP_PROTO(const char * oldname, const char * newname), |
222 | TP_ARGS(oldname, newname), | |
223 | TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), | |
224 | TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_copy_string_from_user(newname, newname)), | |
225 | TP_printk() | |
226 | ) | |
227 | #endif | |
228 | #ifndef OVERRIDE_32_sys_mkdir | |
cb3ef14c | 229 | SC_LTTNG_TRACEPOINT_EVENT(sys_mkdir, |
046f293c LP |
230 | TP_PROTO(const char * pathname, umode_t mode), |
231 | TP_ARGS(pathname, mode), | |
232 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(umode_t, mode)), | |
233 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(mode, mode)), | |
234 | TP_printk() | |
235 | ) | |
236 | #endif | |
237 | #ifndef OVERRIDE_32_sys_umount | |
cb3ef14c | 238 | SC_LTTNG_TRACEPOINT_EVENT(sys_umount, |
046f293c LP |
239 | TP_PROTO(char * name, int flags), |
240 | TP_ARGS(name, flags), | |
241 | TP_STRUCT__entry(__string_from_user(name, name) __field(int, flags)), | |
242 | TP_fast_assign(tp_copy_string_from_user(name, name) tp_assign(flags, flags)), | |
243 | TP_printk() | |
244 | ) | |
245 | #endif | |
246 | #ifndef OVERRIDE_32_sys_ustat | |
cb3ef14c | 247 | SC_LTTNG_TRACEPOINT_EVENT(sys_ustat, |
046f293c LP |
248 | TP_PROTO(unsigned dev, struct ustat * ubuf), |
249 | TP_ARGS(dev, ubuf), | |
250 | TP_STRUCT__entry(__field(unsigned, dev) __field_hex(struct ustat *, ubuf)), | |
251 | TP_fast_assign(tp_assign(dev, dev) tp_assign(ubuf, ubuf)), | |
252 | TP_printk() | |
253 | ) | |
254 | #endif | |
255 | #ifndef OVERRIDE_32_sys_sethostname | |
cb3ef14c | 256 | SC_LTTNG_TRACEPOINT_EVENT(sys_sethostname, |
046f293c LP |
257 | TP_PROTO(char * name, int len), |
258 | TP_ARGS(name, len), | |
259 | TP_STRUCT__entry(__string_from_user(name, name) __field(int, len)), | |
260 | TP_fast_assign(tp_copy_string_from_user(name, name) tp_assign(len, len)), | |
261 | TP_printk() | |
262 | ) | |
263 | #endif | |
264 | #ifndef OVERRIDE_32_sys_setrlimit | |
cb3ef14c | 265 | SC_LTTNG_TRACEPOINT_EVENT(sys_setrlimit, |
046f293c LP |
266 | TP_PROTO(unsigned int resource, struct rlimit * rlim), |
267 | TP_ARGS(resource, rlim), | |
268 | TP_STRUCT__entry(__field(unsigned int, resource) __field_hex(struct rlimit *, rlim)), | |
269 | TP_fast_assign(tp_assign(resource, resource) tp_assign(rlim, rlim)), | |
270 | TP_printk() | |
271 | ) | |
272 | #endif | |
273 | #ifndef OVERRIDE_32_sys_getrlimit | |
cb3ef14c | 274 | SC_LTTNG_TRACEPOINT_EVENT(sys_getrlimit, |
046f293c LP |
275 | TP_PROTO(unsigned int resource, struct rlimit * rlim), |
276 | TP_ARGS(resource, rlim), | |
277 | TP_STRUCT__entry(__field(unsigned int, resource) __field_hex(struct rlimit *, rlim)), | |
278 | TP_fast_assign(tp_assign(resource, resource) tp_assign(rlim, rlim)), | |
279 | TP_printk() | |
280 | ) | |
281 | #endif | |
282 | #ifndef OVERRIDE_32_sys_getrusage | |
cb3ef14c | 283 | SC_LTTNG_TRACEPOINT_EVENT(sys_getrusage, |
046f293c LP |
284 | TP_PROTO(int who, struct rusage * ru), |
285 | TP_ARGS(who, ru), | |
286 | TP_STRUCT__entry(__field(int, who) __field_hex(struct rusage *, ru)), | |
287 | TP_fast_assign(tp_assign(who, who) tp_assign(ru, ru)), | |
288 | TP_printk() | |
289 | ) | |
290 | #endif | |
291 | #ifndef OVERRIDE_32_sys_gettimeofday | |
cb3ef14c | 292 | SC_LTTNG_TRACEPOINT_EVENT(sys_gettimeofday, |
046f293c LP |
293 | TP_PROTO(struct timeval * tv, struct timezone * tz), |
294 | TP_ARGS(tv, tz), | |
295 | TP_STRUCT__entry(__field_hex(struct timeval *, tv) __field_hex(struct timezone *, tz)), | |
296 | TP_fast_assign(tp_assign(tv, tv) tp_assign(tz, tz)), | |
297 | TP_printk() | |
298 | ) | |
299 | #endif | |
300 | #ifndef OVERRIDE_32_sys_settimeofday | |
cb3ef14c | 301 | SC_LTTNG_TRACEPOINT_EVENT(sys_settimeofday, |
046f293c LP |
302 | TP_PROTO(struct timeval * tv, struct timezone * tz), |
303 | TP_ARGS(tv, tz), | |
304 | TP_STRUCT__entry(__field_hex(struct timeval *, tv) __field_hex(struct timezone *, tz)), | |
305 | TP_fast_assign(tp_assign(tv, tv) tp_assign(tz, tz)), | |
306 | TP_printk() | |
307 | ) | |
308 | #endif | |
309 | #ifndef OVERRIDE_32_sys_getgroups | |
cb3ef14c | 310 | SC_LTTNG_TRACEPOINT_EVENT(sys_getgroups, |
046f293c LP |
311 | TP_PROTO(int gidsetsize, gid_t * grouplist), |
312 | TP_ARGS(gidsetsize, grouplist), | |
313 | TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(gid_t *, grouplist)), | |
314 | TP_fast_assign(tp_assign(gidsetsize, gidsetsize) tp_assign(grouplist, grouplist)), | |
315 | TP_printk() | |
316 | ) | |
317 | #endif | |
318 | #ifndef OVERRIDE_32_sys_setgroups | |
cb3ef14c | 319 | SC_LTTNG_TRACEPOINT_EVENT(sys_setgroups, |
046f293c LP |
320 | TP_PROTO(int gidsetsize, gid_t * grouplist), |
321 | TP_ARGS(gidsetsize, grouplist), | |
322 | TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(gid_t *, grouplist)), | |
323 | TP_fast_assign(tp_assign(gidsetsize, gidsetsize) tp_assign(grouplist, grouplist)), | |
324 | TP_printk() | |
325 | ) | |
326 | #endif | |
327 | #ifndef OVERRIDE_32_sys_symlink | |
cb3ef14c | 328 | SC_LTTNG_TRACEPOINT_EVENT(sys_symlink, |
046f293c LP |
329 | TP_PROTO(const char * oldname, const char * newname), |
330 | TP_ARGS(oldname, newname), | |
331 | TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), | |
332 | TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_copy_string_from_user(newname, newname)), | |
333 | TP_printk() | |
334 | ) | |
335 | #endif | |
336 | #ifndef OVERRIDE_32_sys_truncate | |
cb3ef14c | 337 | SC_LTTNG_TRACEPOINT_EVENT(sys_truncate, |
046f293c LP |
338 | TP_PROTO(const char * path, long length), |
339 | TP_ARGS(path, length), | |
340 | TP_STRUCT__entry(__string_from_user(path, path) __field(long, length)), | |
341 | TP_fast_assign(tp_copy_string_from_user(path, path) tp_assign(length, length)), | |
342 | TP_printk() | |
343 | ) | |
344 | #endif | |
345 | #ifndef OVERRIDE_32_sys_statfs | |
cb3ef14c | 346 | SC_LTTNG_TRACEPOINT_EVENT(sys_statfs, |
046f293c LP |
347 | TP_PROTO(const char * pathname, struct statfs * buf), |
348 | TP_ARGS(pathname, buf), | |
349 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(struct statfs *, buf)), | |
350 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(buf, buf)), | |
351 | TP_printk() | |
352 | ) | |
353 | #endif | |
354 | #ifndef OVERRIDE_32_sys_fstatfs | |
cb3ef14c | 355 | SC_LTTNG_TRACEPOINT_EVENT(sys_fstatfs, |
046f293c LP |
356 | TP_PROTO(unsigned int fd, struct statfs * buf), |
357 | TP_ARGS(fd, buf), | |
358 | TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct statfs *, buf)), | |
359 | TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf)), | |
360 | TP_printk() | |
361 | ) | |
362 | #endif | |
363 | #ifndef OVERRIDE_32_sys_socketcall | |
cb3ef14c | 364 | SC_LTTNG_TRACEPOINT_EVENT(sys_socketcall, |
046f293c LP |
365 | TP_PROTO(int call, unsigned long * args), |
366 | TP_ARGS(call, args), | |
367 | TP_STRUCT__entry(__field(int, call) __field_hex(unsigned long *, args)), | |
368 | TP_fast_assign(tp_assign(call, call) tp_assign(args, args)), | |
369 | TP_printk() | |
370 | ) | |
371 | #endif | |
372 | #ifndef OVERRIDE_32_sys_getitimer | |
cb3ef14c | 373 | SC_LTTNG_TRACEPOINT_EVENT(sys_getitimer, |
046f293c LP |
374 | TP_PROTO(int which, struct itimerval * value), |
375 | TP_ARGS(which, value), | |
376 | TP_STRUCT__entry(__field(int, which) __field_hex(struct itimerval *, value)), | |
377 | TP_fast_assign(tp_assign(which, which) tp_assign(value, value)), | |
378 | TP_printk() | |
379 | ) | |
380 | #endif | |
381 | #ifndef OVERRIDE_32_sys_newstat | |
cb3ef14c | 382 | SC_LTTNG_TRACEPOINT_EVENT(sys_newstat, |
046f293c LP |
383 | TP_PROTO(const char * filename, struct stat * statbuf), |
384 | TP_ARGS(filename, statbuf), | |
385 | TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat *, statbuf)), | |
386 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf)), | |
387 | TP_printk() | |
388 | ) | |
389 | #endif | |
390 | #ifndef OVERRIDE_32_sys_newlstat | |
cb3ef14c | 391 | SC_LTTNG_TRACEPOINT_EVENT(sys_newlstat, |
046f293c LP |
392 | TP_PROTO(const char * filename, struct stat * statbuf), |
393 | TP_ARGS(filename, statbuf), | |
394 | TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat *, statbuf)), | |
395 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf)), | |
396 | TP_printk() | |
397 | ) | |
398 | #endif | |
399 | #ifndef OVERRIDE_32_sys_newfstat | |
cb3ef14c | 400 | SC_LTTNG_TRACEPOINT_EVENT(sys_newfstat, |
046f293c LP |
401 | TP_PROTO(unsigned int fd, struct stat * statbuf), |
402 | TP_ARGS(fd, statbuf), | |
403 | TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct stat *, statbuf)), | |
404 | TP_fast_assign(tp_assign(fd, fd) tp_assign(statbuf, statbuf)), | |
405 | TP_printk() | |
406 | ) | |
407 | #endif | |
408 | #ifndef OVERRIDE_32_sys_setdomainname | |
cb3ef14c | 409 | SC_LTTNG_TRACEPOINT_EVENT(sys_setdomainname, |
046f293c LP |
410 | TP_PROTO(char * name, int len), |
411 | TP_ARGS(name, len), | |
412 | TP_STRUCT__entry(__string_from_user(name, name) __field(int, len)), | |
413 | TP_fast_assign(tp_copy_string_from_user(name, name) tp_assign(len, len)), | |
414 | TP_printk() | |
415 | ) | |
416 | #endif | |
417 | #ifndef OVERRIDE_32_sys_delete_module | |
cb3ef14c | 418 | SC_LTTNG_TRACEPOINT_EVENT(sys_delete_module, |
046f293c LP |
419 | TP_PROTO(const char * name_user, unsigned int flags), |
420 | TP_ARGS(name_user, flags), | |
421 | TP_STRUCT__entry(__string_from_user(name_user, name_user) __field(unsigned int, flags)), | |
422 | TP_fast_assign(tp_copy_string_from_user(name_user, name_user) tp_assign(flags, flags)), | |
423 | TP_printk() | |
424 | ) | |
425 | #endif | |
426 | #ifndef OVERRIDE_32_sys_sched_setparam | |
cb3ef14c | 427 | SC_LTTNG_TRACEPOINT_EVENT(sys_sched_setparam, |
046f293c LP |
428 | TP_PROTO(pid_t pid, struct sched_param * param), |
429 | TP_ARGS(pid, param), | |
430 | TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct sched_param *, param)), | |
431 | TP_fast_assign(tp_assign(pid, pid) tp_assign(param, param)), | |
432 | TP_printk() | |
433 | ) | |
434 | #endif | |
435 | #ifndef OVERRIDE_32_sys_sched_getparam | |
cb3ef14c | 436 | SC_LTTNG_TRACEPOINT_EVENT(sys_sched_getparam, |
046f293c LP |
437 | TP_PROTO(pid_t pid, struct sched_param * param), |
438 | TP_ARGS(pid, param), | |
439 | TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct sched_param *, param)), | |
440 | TP_fast_assign(tp_assign(pid, pid) tp_assign(param, param)), | |
441 | TP_printk() | |
442 | ) | |
443 | #endif | |
444 | #ifndef OVERRIDE_32_sys_sched_rr_get_interval | |
cb3ef14c | 445 | SC_LTTNG_TRACEPOINT_EVENT(sys_sched_rr_get_interval, |
046f293c LP |
446 | TP_PROTO(pid_t pid, struct timespec * interval), |
447 | TP_ARGS(pid, interval), | |
448 | TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct timespec *, interval)), | |
449 | TP_fast_assign(tp_assign(pid, pid) tp_assign(interval, interval)), | |
450 | TP_printk() | |
451 | ) | |
452 | #endif | |
453 | #ifndef OVERRIDE_32_sys_nanosleep | |
cb3ef14c | 454 | SC_LTTNG_TRACEPOINT_EVENT(sys_nanosleep, |
046f293c LP |
455 | TP_PROTO(struct timespec * rqtp, struct timespec * rmtp), |
456 | TP_ARGS(rqtp, rmtp), | |
457 | TP_STRUCT__entry(__field_hex(struct timespec *, rqtp) __field_hex(struct timespec *, rmtp)), | |
458 | TP_fast_assign(tp_assign(rqtp, rqtp) tp_assign(rmtp, rmtp)), | |
459 | TP_printk() | |
460 | ) | |
461 | #endif | |
462 | #ifndef OVERRIDE_32_sys_rt_sigpending | |
cb3ef14c | 463 | SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigpending, |
046f293c LP |
464 | TP_PROTO(sigset_t * uset, size_t sigsetsize), |
465 | TP_ARGS(uset, sigsetsize), | |
466 | TP_STRUCT__entry(__field_hex(sigset_t *, uset) __field(size_t, sigsetsize)), | |
467 | TP_fast_assign(tp_assign(uset, uset) tp_assign(sigsetsize, sigsetsize)), | |
468 | TP_printk() | |
469 | ) | |
470 | #endif | |
471 | #ifndef OVERRIDE_32_sys_rt_sigsuspend | |
cb3ef14c | 472 | SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigsuspend, |
046f293c LP |
473 | TP_PROTO(sigset_t * unewset, size_t sigsetsize), |
474 | TP_ARGS(unewset, sigsetsize), | |
475 | TP_STRUCT__entry(__field_hex(sigset_t *, unewset) __field(size_t, sigsetsize)), | |
476 | TP_fast_assign(tp_assign(unewset, unewset) tp_assign(sigsetsize, sigsetsize)), | |
477 | TP_printk() | |
478 | ) | |
479 | #endif | |
480 | #ifndef OVERRIDE_32_sys_getcwd | |
cb3ef14c | 481 | SC_LTTNG_TRACEPOINT_EVENT(sys_getcwd, |
046f293c LP |
482 | TP_PROTO(char * buf, unsigned long size), |
483 | TP_ARGS(buf, size), | |
484 | TP_STRUCT__entry(__field_hex(char *, buf) __field(unsigned long, size)), | |
485 | TP_fast_assign(tp_assign(buf, buf) tp_assign(size, size)), | |
486 | TP_printk() | |
487 | ) | |
488 | #endif | |
489 | #ifndef OVERRIDE_32_sys_sigaltstack | |
cb3ef14c | 490 | SC_LTTNG_TRACEPOINT_EVENT(sys_sigaltstack, |
046f293c LP |
491 | TP_PROTO(const stack_t * uss, stack_t * uoss), |
492 | TP_ARGS(uss, uoss), | |
493 | TP_STRUCT__entry(__field_hex(const stack_t *, uss) __field_hex(stack_t *, uoss)), | |
494 | TP_fast_assign(tp_assign(uss, uss) tp_assign(uoss, uoss)), | |
495 | TP_printk() | |
496 | ) | |
497 | #endif | |
498 | #ifndef OVERRIDE_32_sys_truncate64 | |
cb3ef14c | 499 | SC_LTTNG_TRACEPOINT_EVENT(sys_truncate64, |
046f293c LP |
500 | TP_PROTO(const char * path, loff_t length), |
501 | TP_ARGS(path, length), | |
502 | TP_STRUCT__entry(__string_from_user(path, path) __field(loff_t, length)), | |
503 | TP_fast_assign(tp_copy_string_from_user(path, path) tp_assign(length, length)), | |
504 | TP_printk() | |
505 | ) | |
506 | #endif | |
507 | #ifndef OVERRIDE_32_sys_stat64 | |
cb3ef14c | 508 | SC_LTTNG_TRACEPOINT_EVENT(sys_stat64, |
046f293c LP |
509 | TP_PROTO(const char * filename, struct stat64 * statbuf), |
510 | TP_ARGS(filename, statbuf), | |
511 | TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat64 *, statbuf)), | |
512 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf)), | |
513 | TP_printk() | |
514 | ) | |
515 | #endif | |
516 | #ifndef OVERRIDE_32_sys_lstat64 | |
cb3ef14c | 517 | SC_LTTNG_TRACEPOINT_EVENT(sys_lstat64, |
046f293c LP |
518 | TP_PROTO(const char * filename, struct stat64 * statbuf), |
519 | TP_ARGS(filename, statbuf), | |
520 | TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat64 *, statbuf)), | |
521 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf)), | |
522 | TP_printk() | |
523 | ) | |
524 | #endif | |
525 | #ifndef OVERRIDE_32_sys_fstat64 | |
cb3ef14c | 526 | SC_LTTNG_TRACEPOINT_EVENT(sys_fstat64, |
046f293c LP |
527 | TP_PROTO(unsigned long fd, struct stat64 * statbuf), |
528 | TP_ARGS(fd, statbuf), | |
529 | TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(struct stat64 *, statbuf)), | |
530 | TP_fast_assign(tp_assign(fd, fd) tp_assign(statbuf, statbuf)), | |
531 | TP_printk() | |
532 | ) | |
533 | #endif | |
534 | #ifndef OVERRIDE_32_sys_pivot_root | |
cb3ef14c | 535 | SC_LTTNG_TRACEPOINT_EVENT(sys_pivot_root, |
046f293c LP |
536 | TP_PROTO(const char * new_root, const char * put_old), |
537 | TP_ARGS(new_root, put_old), | |
538 | TP_STRUCT__entry(__string_from_user(new_root, new_root) __string_from_user(put_old, put_old)), | |
539 | TP_fast_assign(tp_copy_string_from_user(new_root, new_root) tp_copy_string_from_user(put_old, put_old)), | |
540 | TP_printk() | |
541 | ) | |
542 | #endif | |
543 | #ifndef OVERRIDE_32_sys_removexattr | |
cb3ef14c | 544 | SC_LTTNG_TRACEPOINT_EVENT(sys_removexattr, |
046f293c LP |
545 | TP_PROTO(const char * pathname, const char * name), |
546 | TP_ARGS(pathname, name), | |
547 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name)), | |
548 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name)), | |
549 | TP_printk() | |
550 | ) | |
551 | #endif | |
552 | #ifndef OVERRIDE_32_sys_lremovexattr | |
cb3ef14c | 553 | SC_LTTNG_TRACEPOINT_EVENT(sys_lremovexattr, |
046f293c LP |
554 | TP_PROTO(const char * pathname, const char * name), |
555 | TP_ARGS(pathname, name), | |
556 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name)), | |
557 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name)), | |
558 | TP_printk() | |
559 | ) | |
560 | #endif | |
561 | #ifndef OVERRIDE_32_sys_fremovexattr | |
cb3ef14c | 562 | SC_LTTNG_TRACEPOINT_EVENT(sys_fremovexattr, |
046f293c LP |
563 | TP_PROTO(int fd, const char * name), |
564 | TP_ARGS(fd, name), | |
565 | TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name)), | |
566 | TP_fast_assign(tp_assign(fd, fd) tp_copy_string_from_user(name, name)), | |
567 | TP_printk() | |
568 | ) | |
569 | #endif | |
570 | #ifndef OVERRIDE_32_sys_io_setup | |
cb3ef14c | 571 | SC_LTTNG_TRACEPOINT_EVENT(sys_io_setup, |
046f293c LP |
572 | TP_PROTO(unsigned nr_events, aio_context_t * ctxp), |
573 | TP_ARGS(nr_events, ctxp), | |
574 | TP_STRUCT__entry(__field(unsigned, nr_events) __field_hex(aio_context_t *, ctxp)), | |
575 | TP_fast_assign(tp_assign(nr_events, nr_events) tp_assign(ctxp, ctxp)), | |
576 | TP_printk() | |
577 | ) | |
578 | #endif | |
579 | #ifndef OVERRIDE_32_sys_timer_gettime | |
cb3ef14c | 580 | SC_LTTNG_TRACEPOINT_EVENT(sys_timer_gettime, |
046f293c LP |
581 | TP_PROTO(timer_t timer_id, struct itimerspec * setting), |
582 | TP_ARGS(timer_id, setting), | |
583 | TP_STRUCT__entry(__field(timer_t, timer_id) __field_hex(struct itimerspec *, setting)), | |
584 | TP_fast_assign(tp_assign(timer_id, timer_id) tp_assign(setting, setting)), | |
585 | TP_printk() | |
586 | ) | |
587 | #endif | |
588 | #ifndef OVERRIDE_32_sys_clock_settime | |
cb3ef14c | 589 | SC_LTTNG_TRACEPOINT_EVENT(sys_clock_settime, |
046f293c LP |
590 | TP_PROTO(const clockid_t which_clock, const struct timespec * tp), |
591 | TP_ARGS(which_clock, tp), | |
592 | TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(const struct timespec *, tp)), | |
593 | TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(tp, tp)), | |
594 | TP_printk() | |
595 | ) | |
596 | #endif | |
597 | #ifndef OVERRIDE_32_sys_clock_gettime | |
cb3ef14c | 598 | SC_LTTNG_TRACEPOINT_EVENT(sys_clock_gettime, |
046f293c LP |
599 | TP_PROTO(const clockid_t which_clock, struct timespec * tp), |
600 | TP_ARGS(which_clock, tp), | |
601 | TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timespec *, tp)), | |
602 | TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(tp, tp)), | |
603 | TP_printk() | |
604 | ) | |
605 | #endif | |
606 | #ifndef OVERRIDE_32_sys_clock_getres | |
cb3ef14c | 607 | SC_LTTNG_TRACEPOINT_EVENT(sys_clock_getres, |
046f293c LP |
608 | TP_PROTO(const clockid_t which_clock, struct timespec * tp), |
609 | TP_ARGS(which_clock, tp), | |
610 | TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timespec *, tp)), | |
611 | TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(tp, tp)), | |
612 | TP_printk() | |
613 | ) | |
614 | #endif | |
615 | #ifndef OVERRIDE_32_sys_utimes | |
cb3ef14c | 616 | SC_LTTNG_TRACEPOINT_EVENT(sys_utimes, |
046f293c LP |
617 | TP_PROTO(char * filename, struct timeval * utimes), |
618 | TP_ARGS(filename, utimes), | |
619 | TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct timeval *, utimes)), | |
620 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(utimes, utimes)), | |
621 | TP_printk() | |
622 | ) | |
623 | #endif | |
624 | #ifndef OVERRIDE_32_sys_set_robust_list | |
cb3ef14c | 625 | SC_LTTNG_TRACEPOINT_EVENT(sys_set_robust_list, |
046f293c LP |
626 | TP_PROTO(struct robust_list_head * head, size_t len), |
627 | TP_ARGS(head, len), | |
628 | TP_STRUCT__entry(__field_hex(struct robust_list_head *, head) __field(size_t, len)), | |
629 | TP_fast_assign(tp_assign(head, head) tp_assign(len, len)), | |
630 | TP_printk() | |
631 | ) | |
632 | #endif | |
633 | #ifndef OVERRIDE_32_sys_timerfd_gettime | |
cb3ef14c | 634 | SC_LTTNG_TRACEPOINT_EVENT(sys_timerfd_gettime, |
046f293c LP |
635 | TP_PROTO(int ufd, struct itimerspec * otmr), |
636 | TP_ARGS(ufd, otmr), | |
637 | TP_STRUCT__entry(__field(int, ufd) __field_hex(struct itimerspec *, otmr)), | |
638 | TP_fast_assign(tp_assign(ufd, ufd) tp_assign(otmr, otmr)), | |
639 | TP_printk() | |
640 | ) | |
641 | #endif | |
642 | #ifndef OVERRIDE_32_sys_pipe2 | |
cb3ef14c | 643 | SC_LTTNG_TRACEPOINT_EVENT(sys_pipe2, |
046f293c LP |
644 | TP_PROTO(int * fildes, int flags), |
645 | TP_ARGS(fildes, flags), | |
646 | TP_STRUCT__entry(__field_hex(int *, fildes) __field(int, flags)), | |
647 | TP_fast_assign(tp_assign(fildes, fildes) tp_assign(flags, flags)), | |
648 | TP_printk() | |
649 | ) | |
650 | #endif | |
651 | #ifndef OVERRIDE_32_sys_clock_adjtime | |
cb3ef14c | 652 | SC_LTTNG_TRACEPOINT_EVENT(sys_clock_adjtime, |
046f293c LP |
653 | TP_PROTO(const clockid_t which_clock, struct timex * utx), |
654 | TP_ARGS(which_clock, utx), | |
655 | TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timex *, utx)), | |
656 | TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(utx, utx)), | |
657 | TP_printk() | |
658 | ) | |
659 | #endif | |
660 | #ifndef OVERRIDE_32_sys_read | |
cb3ef14c | 661 | SC_LTTNG_TRACEPOINT_EVENT(sys_read, |
046f293c LP |
662 | TP_PROTO(unsigned int fd, char * buf, size_t count), |
663 | TP_ARGS(fd, buf, count), | |
664 | TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(char *, buf) __field(size_t, count)), | |
665 | TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf) tp_assign(count, count)), | |
666 | TP_printk() | |
667 | ) | |
668 | #endif | |
669 | #ifndef OVERRIDE_32_sys_write | |
cb3ef14c | 670 | SC_LTTNG_TRACEPOINT_EVENT(sys_write, |
046f293c LP |
671 | TP_PROTO(unsigned int fd, const char * buf, size_t count), |
672 | TP_ARGS(fd, buf, count), | |
673 | TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(const char *, buf) __field(size_t, count)), | |
674 | TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf) tp_assign(count, count)), | |
675 | TP_printk() | |
676 | ) | |
677 | #endif | |
678 | #ifndef OVERRIDE_32_sys_open | |
cb3ef14c | 679 | SC_LTTNG_TRACEPOINT_EVENT(sys_open, |
046f293c LP |
680 | TP_PROTO(const char * filename, int flags, umode_t mode), |
681 | TP_ARGS(filename, flags, mode), | |
682 | TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, flags) __field(umode_t, mode)), | |
683 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(flags, flags) tp_assign(mode, mode)), | |
684 | TP_printk() | |
685 | ) | |
686 | #endif | |
687 | #ifndef OVERRIDE_32_sys_waitpid | |
cb3ef14c | 688 | SC_LTTNG_TRACEPOINT_EVENT(sys_waitpid, |
046f293c LP |
689 | TP_PROTO(pid_t pid, int * stat_addr, int options), |
690 | TP_ARGS(pid, stat_addr, options), | |
691 | TP_STRUCT__entry(__field(pid_t, pid) __field_hex(int *, stat_addr) __field(int, options)), | |
692 | TP_fast_assign(tp_assign(pid, pid) tp_assign(stat_addr, stat_addr) tp_assign(options, options)), | |
693 | TP_printk() | |
694 | ) | |
695 | #endif | |
696 | #ifndef OVERRIDE_32_sys_execve | |
cb3ef14c | 697 | SC_LTTNG_TRACEPOINT_EVENT(sys_execve, |
046f293c LP |
698 | TP_PROTO(const char * filename, const char *const * argv, const char *const * envp), |
699 | TP_ARGS(filename, argv, envp), | |
700 | TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(const char *const *, argv) __field_hex(const char *const *, envp)), | |
701 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(argv, argv) tp_assign(envp, envp)), | |
702 | TP_printk() | |
703 | ) | |
704 | #endif | |
705 | #ifndef OVERRIDE_32_sys_mknod | |
cb3ef14c | 706 | SC_LTTNG_TRACEPOINT_EVENT(sys_mknod, |
046f293c LP |
707 | TP_PROTO(const char * filename, umode_t mode, unsigned dev), |
708 | TP_ARGS(filename, mode, dev), | |
709 | TP_STRUCT__entry(__string_from_user(filename, filename) __field(umode_t, mode) __field(unsigned, dev)), | |
710 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(mode, mode) tp_assign(dev, dev)), | |
711 | TP_printk() | |
712 | ) | |
713 | #endif | |
714 | #ifndef OVERRIDE_32_sys_lchown | |
cb3ef14c | 715 | SC_LTTNG_TRACEPOINT_EVENT(sys_lchown, |
046f293c LP |
716 | TP_PROTO(const char * filename, uid_t user, gid_t group), |
717 | TP_ARGS(filename, user, group), | |
718 | TP_STRUCT__entry(__string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group)), | |
719 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(user, user) tp_assign(group, group)), | |
720 | TP_printk() | |
721 | ) | |
722 | #endif | |
723 | #ifndef OVERRIDE_32_sys_sigaction | |
cb3ef14c | 724 | SC_LTTNG_TRACEPOINT_EVENT(sys_sigaction, |
046f293c LP |
725 | TP_PROTO(int sig, const struct sigaction * act, struct sigaction * oact), |
726 | TP_ARGS(sig, act, oact), | |
727 | TP_STRUCT__entry(__field(int, sig) __field_hex(const struct sigaction *, act) __field_hex(struct sigaction *, oact)), | |
728 | TP_fast_assign(tp_assign(sig, sig) tp_assign(act, act) tp_assign(oact, oact)), | |
729 | TP_printk() | |
730 | ) | |
731 | #endif | |
732 | #ifndef OVERRIDE_32_sys_readlink | |
cb3ef14c | 733 | SC_LTTNG_TRACEPOINT_EVENT(sys_readlink, |
046f293c LP |
734 | TP_PROTO(const char * path, char * buf, int bufsiz), |
735 | TP_ARGS(path, buf, bufsiz), | |
736 | TP_STRUCT__entry(__string_from_user(path, path) __field_hex(char *, buf) __field(int, bufsiz)), | |
737 | TP_fast_assign(tp_copy_string_from_user(path, path) tp_assign(buf, buf) tp_assign(bufsiz, bufsiz)), | |
738 | TP_printk() | |
739 | ) | |
740 | #endif | |
741 | #ifndef OVERRIDE_32_sys_old_readdir | |
cb3ef14c | 742 | SC_LTTNG_TRACEPOINT_EVENT(sys_old_readdir, |
046f293c LP |
743 | TP_PROTO(unsigned int fd, struct old_linux_dirent * dirent, unsigned int count), |
744 | TP_ARGS(fd, dirent, count), | |
745 | TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct old_linux_dirent *, dirent) __field(unsigned int, count)), | |
746 | TP_fast_assign(tp_assign(fd, fd) tp_assign(dirent, dirent) tp_assign(count, count)), | |
747 | TP_printk() | |
748 | ) | |
749 | #endif | |
750 | #ifndef OVERRIDE_32_sys_syslog | |
cb3ef14c | 751 | SC_LTTNG_TRACEPOINT_EVENT(sys_syslog, |
046f293c LP |
752 | TP_PROTO(int type, char * buf, int len), |
753 | TP_ARGS(type, buf, len), | |
754 | TP_STRUCT__entry(__field(int, type) __field_hex(char *, buf) __field(int, len)), | |
755 | TP_fast_assign(tp_assign(type, type) tp_assign(buf, buf) tp_assign(len, len)), | |
756 | TP_printk() | |
757 | ) | |
758 | #endif | |
759 | #ifndef OVERRIDE_32_sys_setitimer | |
cb3ef14c | 760 | SC_LTTNG_TRACEPOINT_EVENT(sys_setitimer, |
046f293c LP |
761 | TP_PROTO(int which, struct itimerval * value, struct itimerval * ovalue), |
762 | TP_ARGS(which, value, ovalue), | |
763 | TP_STRUCT__entry(__field(int, which) __field_hex(struct itimerval *, value) __field_hex(struct itimerval *, ovalue)), | |
764 | TP_fast_assign(tp_assign(which, which) tp_assign(value, value) tp_assign(ovalue, ovalue)), | |
765 | TP_printk() | |
766 | ) | |
767 | #endif | |
768 | #ifndef OVERRIDE_32_sys_sigprocmask | |
cb3ef14c | 769 | SC_LTTNG_TRACEPOINT_EVENT(sys_sigprocmask, |
046f293c LP |
770 | TP_PROTO(int how, old_sigset_t * nset, old_sigset_t * oset), |
771 | TP_ARGS(how, nset, oset), | |
772 | TP_STRUCT__entry(__field(int, how) __field_hex(old_sigset_t *, nset) __field_hex(old_sigset_t *, oset)), | |
773 | TP_fast_assign(tp_assign(how, how) tp_assign(nset, nset) tp_assign(oset, oset)), | |
774 | TP_printk() | |
775 | ) | |
776 | #endif | |
777 | #ifndef OVERRIDE_32_sys_init_module | |
cb3ef14c | 778 | SC_LTTNG_TRACEPOINT_EVENT(sys_init_module, |
046f293c LP |
779 | TP_PROTO(void * umod, unsigned long len, const char * uargs), |
780 | TP_ARGS(umod, len, uargs), | |
781 | TP_STRUCT__entry(__field_hex(void *, umod) __field(unsigned long, len) __field_hex(const char *, uargs)), | |
782 | TP_fast_assign(tp_assign(umod, umod) tp_assign(len, len) tp_assign(uargs, uargs)), | |
783 | TP_printk() | |
784 | ) | |
785 | #endif | |
786 | #ifndef OVERRIDE_32_sys_getdents | |
cb3ef14c | 787 | SC_LTTNG_TRACEPOINT_EVENT(sys_getdents, |
046f293c LP |
788 | TP_PROTO(unsigned int fd, struct linux_dirent * dirent, unsigned int count), |
789 | TP_ARGS(fd, dirent, count), | |
790 | TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct linux_dirent *, dirent) __field(unsigned int, count)), | |
791 | TP_fast_assign(tp_assign(fd, fd) tp_assign(dirent, dirent) tp_assign(count, count)), | |
792 | TP_printk() | |
793 | ) | |
794 | #endif | |
795 | #ifndef OVERRIDE_32_sys_readv | |
cb3ef14c | 796 | SC_LTTNG_TRACEPOINT_EVENT(sys_readv, |
046f293c LP |
797 | TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), |
798 | TP_ARGS(fd, vec, vlen), | |
799 | TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen)), | |
800 | TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen)), | |
801 | TP_printk() | |
802 | ) | |
803 | #endif | |
804 | #ifndef OVERRIDE_32_sys_writev | |
cb3ef14c | 805 | SC_LTTNG_TRACEPOINT_EVENT(sys_writev, |
046f293c LP |
806 | TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), |
807 | TP_ARGS(fd, vec, vlen), | |
808 | TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen)), | |
809 | TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen)), | |
810 | TP_printk() | |
811 | ) | |
812 | #endif | |
813 | #ifndef OVERRIDE_32_sys_cachectl | |
cb3ef14c | 814 | SC_LTTNG_TRACEPOINT_EVENT(sys_cachectl, |
046f293c LP |
815 | TP_PROTO(char * addr, int nbytes, int op), |
816 | TP_ARGS(addr, nbytes, op), | |
817 | TP_STRUCT__entry(__field_hex(char *, addr) __field(int, nbytes) __field(int, op)), | |
818 | TP_fast_assign(tp_assign(addr, addr) tp_assign(nbytes, nbytes) tp_assign(op, op)), | |
819 | TP_printk() | |
820 | ) | |
821 | #endif | |
822 | #ifndef OVERRIDE_32_sys_sched_setscheduler | |
cb3ef14c | 823 | SC_LTTNG_TRACEPOINT_EVENT(sys_sched_setscheduler, |
046f293c LP |
824 | TP_PROTO(pid_t pid, int policy, struct sched_param * param), |
825 | TP_ARGS(pid, policy, param), | |
826 | TP_STRUCT__entry(__field(pid_t, pid) __field(int, policy) __field_hex(struct sched_param *, param)), | |
827 | TP_fast_assign(tp_assign(pid, pid) tp_assign(policy, policy) tp_assign(param, param)), | |
828 | TP_printk() | |
829 | ) | |
830 | #endif | |
831 | #ifndef OVERRIDE_32_sys_accept | |
cb3ef14c | 832 | SC_LTTNG_TRACEPOINT_EVENT(sys_accept, |
046f293c LP |
833 | TP_PROTO(int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), |
834 | TP_ARGS(fd, upeer_sockaddr, upeer_addrlen), | |
835 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, upeer_sockaddr) __field_hex(int *, upeer_addrlen)), | |
836 | TP_fast_assign(tp_assign(fd, fd) tp_assign(upeer_sockaddr, upeer_sockaddr) tp_assign(upeer_addrlen, upeer_addrlen)), | |
837 | TP_printk() | |
838 | ) | |
839 | #endif | |
840 | #ifndef OVERRIDE_32_sys_bind | |
cb3ef14c | 841 | SC_LTTNG_TRACEPOINT_EVENT(sys_bind, |
046f293c LP |
842 | TP_PROTO(int fd, struct sockaddr * umyaddr, int addrlen), |
843 | TP_ARGS(fd, umyaddr, addrlen), | |
844 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, umyaddr) __field_hex(int, addrlen)), | |
845 | TP_fast_assign(tp_assign(fd, fd) tp_assign(umyaddr, umyaddr) tp_assign(addrlen, addrlen)), | |
846 | TP_printk() | |
847 | ) | |
848 | #endif | |
849 | #ifndef OVERRIDE_32_sys_connect | |
cb3ef14c | 850 | SC_LTTNG_TRACEPOINT_EVENT(sys_connect, |
046f293c LP |
851 | TP_PROTO(int fd, struct sockaddr * uservaddr, int addrlen), |
852 | TP_ARGS(fd, uservaddr, addrlen), | |
853 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, uservaddr) __field_hex(int, addrlen)), | |
854 | TP_fast_assign(tp_assign(fd, fd) tp_assign(uservaddr, uservaddr) tp_assign(addrlen, addrlen)), | |
855 | TP_printk() | |
856 | ) | |
857 | #endif | |
858 | #ifndef OVERRIDE_32_sys_getpeername | |
cb3ef14c | 859 | SC_LTTNG_TRACEPOINT_EVENT(sys_getpeername, |
046f293c LP |
860 | TP_PROTO(int fd, struct sockaddr * usockaddr, int * usockaddr_len), |
861 | TP_ARGS(fd, usockaddr, usockaddr_len), | |
862 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, usockaddr) __field_hex(int *, usockaddr_len)), | |
863 | TP_fast_assign(tp_assign(fd, fd) tp_assign(usockaddr, usockaddr) tp_assign(usockaddr_len, usockaddr_len)), | |
864 | TP_printk() | |
865 | ) | |
866 | #endif | |
867 | #ifndef OVERRIDE_32_sys_getsockname | |
cb3ef14c | 868 | SC_LTTNG_TRACEPOINT_EVENT(sys_getsockname, |
046f293c LP |
869 | TP_PROTO(int fd, struct sockaddr * usockaddr, int * usockaddr_len), |
870 | TP_ARGS(fd, usockaddr, usockaddr_len), | |
871 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, usockaddr) __field_hex(int *, usockaddr_len)), | |
872 | TP_fast_assign(tp_assign(fd, fd) tp_assign(usockaddr, usockaddr) tp_assign(usockaddr_len, usockaddr_len)), | |
873 | TP_printk() | |
874 | ) | |
875 | #endif | |
876 | #ifndef OVERRIDE_32_sys_recvmsg | |
cb3ef14c | 877 | SC_LTTNG_TRACEPOINT_EVENT(sys_recvmsg, |
046f293c LP |
878 | TP_PROTO(int fd, struct msghdr * msg, unsigned int flags), |
879 | TP_ARGS(fd, msg, flags), | |
880 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct msghdr *, msg) __field(unsigned int, flags)), | |
881 | TP_fast_assign(tp_assign(fd, fd) tp_assign(msg, msg) tp_assign(flags, flags)), | |
882 | TP_printk() | |
883 | ) | |
884 | #endif | |
885 | #ifndef OVERRIDE_32_sys_sendmsg | |
cb3ef14c | 886 | SC_LTTNG_TRACEPOINT_EVENT(sys_sendmsg, |
046f293c LP |
887 | TP_PROTO(int fd, struct msghdr * msg, unsigned int flags), |
888 | TP_ARGS(fd, msg, flags), | |
889 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct msghdr *, msg) __field(unsigned int, flags)), | |
890 | TP_fast_assign(tp_assign(fd, fd) tp_assign(msg, msg) tp_assign(flags, flags)), | |
891 | TP_printk() | |
892 | ) | |
893 | #endif | |
894 | #ifndef OVERRIDE_32_sys_getresuid | |
cb3ef14c | 895 | SC_LTTNG_TRACEPOINT_EVENT(sys_getresuid, |
046f293c LP |
896 | TP_PROTO(uid_t * ruidp, uid_t * euidp, uid_t * suidp), |
897 | TP_ARGS(ruidp, euidp, suidp), | |
898 | TP_STRUCT__entry(__field_hex(uid_t *, ruidp) __field_hex(uid_t *, euidp) __field_hex(uid_t *, suidp)), | |
899 | TP_fast_assign(tp_assign(ruidp, ruidp) tp_assign(euidp, euidp) tp_assign(suidp, suidp)), | |
900 | TP_printk() | |
901 | ) | |
902 | #endif | |
903 | #ifndef OVERRIDE_32_sys_poll | |
cb3ef14c | 904 | SC_LTTNG_TRACEPOINT_EVENT(sys_poll, |
046f293c LP |
905 | TP_PROTO(struct pollfd * ufds, unsigned int nfds, int timeout_msecs), |
906 | TP_ARGS(ufds, nfds, timeout_msecs), | |
907 | TP_STRUCT__entry(__field_hex(struct pollfd *, ufds) __field(unsigned int, nfds) __field(int, timeout_msecs)), | |
908 | TP_fast_assign(tp_assign(ufds, ufds) tp_assign(nfds, nfds) tp_assign(timeout_msecs, timeout_msecs)), | |
909 | TP_printk() | |
910 | ) | |
911 | #endif | |
912 | #ifndef OVERRIDE_32_sys_getresgid | |
cb3ef14c | 913 | SC_LTTNG_TRACEPOINT_EVENT(sys_getresgid, |
046f293c LP |
914 | TP_PROTO(gid_t * rgidp, gid_t * egidp, gid_t * sgidp), |
915 | TP_ARGS(rgidp, egidp, sgidp), | |
916 | TP_STRUCT__entry(__field_hex(gid_t *, rgidp) __field_hex(gid_t *, egidp) __field_hex(gid_t *, sgidp)), | |
917 | TP_fast_assign(tp_assign(rgidp, rgidp) tp_assign(egidp, egidp) tp_assign(sgidp, sgidp)), | |
918 | TP_printk() | |
919 | ) | |
920 | #endif | |
921 | #ifndef OVERRIDE_32_sys_rt_sigqueueinfo | |
cb3ef14c | 922 | SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigqueueinfo, |
046f293c LP |
923 | TP_PROTO(pid_t pid, int sig, siginfo_t * uinfo), |
924 | TP_ARGS(pid, sig, uinfo), | |
925 | TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig) __field_hex(siginfo_t *, uinfo)), | |
926 | TP_fast_assign(tp_assign(pid, pid) tp_assign(sig, sig) tp_assign(uinfo, uinfo)), | |
927 | TP_printk() | |
928 | ) | |
929 | #endif | |
930 | #ifndef OVERRIDE_32_sys_chown | |
cb3ef14c | 931 | SC_LTTNG_TRACEPOINT_EVENT(sys_chown, |
046f293c LP |
932 | TP_PROTO(const char * filename, uid_t user, gid_t group), |
933 | TP_ARGS(filename, user, group), | |
934 | TP_STRUCT__entry(__string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group)), | |
935 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(user, user) tp_assign(group, group)), | |
936 | TP_printk() | |
937 | ) | |
938 | #endif | |
939 | #ifndef OVERRIDE_32_sys_mincore | |
cb3ef14c | 940 | SC_LTTNG_TRACEPOINT_EVENT(sys_mincore, |
046f293c LP |
941 | TP_PROTO(unsigned long start, size_t len, unsigned char * vec), |
942 | TP_ARGS(start, len, vec), | |
943 | TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field_hex(unsigned char *, vec)), | |
944 | TP_fast_assign(tp_assign(start, start) tp_assign(len, len) tp_assign(vec, vec)), | |
945 | TP_printk() | |
946 | ) | |
947 | #endif | |
948 | #ifndef OVERRIDE_32_sys_getdents64 | |
cb3ef14c | 949 | SC_LTTNG_TRACEPOINT_EVENT(sys_getdents64, |
046f293c LP |
950 | TP_PROTO(unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), |
951 | TP_ARGS(fd, dirent, count), | |
952 | TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct linux_dirent64 *, dirent) __field(unsigned int, count)), | |
953 | TP_fast_assign(tp_assign(fd, fd) tp_assign(dirent, dirent) tp_assign(count, count)), | |
954 | TP_printk() | |
955 | ) | |
956 | #endif | |
957 | #ifndef OVERRIDE_32_sys_listxattr | |
cb3ef14c | 958 | SC_LTTNG_TRACEPOINT_EVENT(sys_listxattr, |
046f293c LP |
959 | TP_PROTO(const char * pathname, char * list, size_t size), |
960 | TP_ARGS(pathname, list, size), | |
961 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(char *, list) __field(size_t, size)), | |
962 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(list, list) tp_assign(size, size)), | |
963 | TP_printk() | |
964 | ) | |
965 | #endif | |
966 | #ifndef OVERRIDE_32_sys_llistxattr | |
cb3ef14c | 967 | SC_LTTNG_TRACEPOINT_EVENT(sys_llistxattr, |
046f293c LP |
968 | TP_PROTO(const char * pathname, char * list, size_t size), |
969 | TP_ARGS(pathname, list, size), | |
970 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(char *, list) __field(size_t, size)), | |
971 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(list, list) tp_assign(size, size)), | |
972 | TP_printk() | |
973 | ) | |
974 | #endif | |
975 | #ifndef OVERRIDE_32_sys_flistxattr | |
cb3ef14c | 976 | SC_LTTNG_TRACEPOINT_EVENT(sys_flistxattr, |
046f293c LP |
977 | TP_PROTO(int fd, char * list, size_t size), |
978 | TP_ARGS(fd, list, size), | |
979 | TP_STRUCT__entry(__field(int, fd) __field_hex(char *, list) __field(size_t, size)), | |
980 | TP_fast_assign(tp_assign(fd, fd) tp_assign(list, list) tp_assign(size, size)), | |
981 | TP_printk() | |
982 | ) | |
983 | #endif | |
984 | #ifndef OVERRIDE_32_sys_io_submit | |
cb3ef14c | 985 | SC_LTTNG_TRACEPOINT_EVENT(sys_io_submit, |
046f293c LP |
986 | TP_PROTO(aio_context_t ctx_id, long nr, struct iocb * * iocbpp), |
987 | TP_ARGS(ctx_id, nr, iocbpp), | |
988 | TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field(long, nr) __field_hex(struct iocb * *, iocbpp)), | |
989 | TP_fast_assign(tp_assign(ctx_id, ctx_id) tp_assign(nr, nr) tp_assign(iocbpp, iocbpp)), | |
990 | TP_printk() | |
991 | ) | |
992 | #endif | |
993 | #ifndef OVERRIDE_32_sys_io_cancel | |
cb3ef14c | 994 | SC_LTTNG_TRACEPOINT_EVENT(sys_io_cancel, |
046f293c LP |
995 | TP_PROTO(aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), |
996 | TP_ARGS(ctx_id, iocb, result), | |
997 | TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field_hex(struct iocb *, iocb) __field_hex(struct io_event *, result)), | |
998 | TP_fast_assign(tp_assign(ctx_id, ctx_id) tp_assign(iocb, iocb) tp_assign(result, result)), | |
999 | TP_printk() | |
1000 | ) | |
1001 | #endif | |
1002 | #ifndef OVERRIDE_32_sys_statfs64 | |
cb3ef14c | 1003 | SC_LTTNG_TRACEPOINT_EVENT(sys_statfs64, |
046f293c LP |
1004 | TP_PROTO(const char * pathname, size_t sz, struct statfs64 * buf), |
1005 | TP_ARGS(pathname, sz, buf), | |
1006 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(size_t, sz) __field_hex(struct statfs64 *, buf)), | |
1007 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(sz, sz) tp_assign(buf, buf)), | |
1008 | TP_printk() | |
1009 | ) | |
1010 | #endif | |
1011 | #ifndef OVERRIDE_32_sys_fstatfs64 | |
cb3ef14c | 1012 | SC_LTTNG_TRACEPOINT_EVENT(sys_fstatfs64, |
046f293c LP |
1013 | TP_PROTO(unsigned int fd, size_t sz, struct statfs64 * buf), |
1014 | TP_ARGS(fd, sz, buf), | |
1015 | TP_STRUCT__entry(__field(unsigned int, fd) __field(size_t, sz) __field_hex(struct statfs64 *, buf)), | |
1016 | TP_fast_assign(tp_assign(fd, fd) tp_assign(sz, sz) tp_assign(buf, buf)), | |
1017 | TP_printk() | |
1018 | ) | |
1019 | #endif | |
1020 | #ifndef OVERRIDE_32_sys_timer_create | |
cb3ef14c | 1021 | SC_LTTNG_TRACEPOINT_EVENT(sys_timer_create, |
046f293c LP |
1022 | TP_PROTO(const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), |
1023 | TP_ARGS(which_clock, timer_event_spec, created_timer_id), | |
1024 | TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct sigevent *, timer_event_spec) __field_hex(timer_t *, created_timer_id)), | |
1025 | TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(timer_event_spec, timer_event_spec) tp_assign(created_timer_id, created_timer_id)), | |
1026 | TP_printk() | |
1027 | ) | |
1028 | #endif | |
1029 | #ifndef OVERRIDE_32_sys_inotify_add_watch | |
cb3ef14c | 1030 | SC_LTTNG_TRACEPOINT_EVENT(sys_inotify_add_watch, |
046f293c LP |
1031 | TP_PROTO(int fd, const char * pathname, u32 mask), |
1032 | TP_ARGS(fd, pathname, mask), | |
1033 | TP_STRUCT__entry(__field(int, fd) __string_from_user(pathname, pathname) __field(u32, mask)), | |
1034 | TP_fast_assign(tp_assign(fd, fd) tp_copy_string_from_user(pathname, pathname) tp_assign(mask, mask)), | |
1035 | TP_printk() | |
1036 | ) | |
1037 | #endif | |
1038 | #ifndef OVERRIDE_32_sys_mkdirat | |
cb3ef14c | 1039 | SC_LTTNG_TRACEPOINT_EVENT(sys_mkdirat, |
046f293c LP |
1040 | TP_PROTO(int dfd, const char * pathname, umode_t mode), |
1041 | TP_ARGS(dfd, pathname, mode), | |
1042 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field(umode_t, mode)), | |
1043 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(pathname, pathname) tp_assign(mode, mode)), | |
1044 | TP_printk() | |
1045 | ) | |
1046 | #endif | |
1047 | #ifndef OVERRIDE_32_sys_futimesat | |
cb3ef14c | 1048 | SC_LTTNG_TRACEPOINT_EVENT(sys_futimesat, |
046f293c LP |
1049 | TP_PROTO(int dfd, const char * filename, struct timeval * utimes), |
1050 | TP_ARGS(dfd, filename, utimes), | |
1051 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct timeval *, utimes)), | |
1052 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(utimes, utimes)), | |
1053 | TP_printk() | |
1054 | ) | |
1055 | #endif | |
1056 | #ifndef OVERRIDE_32_sys_unlinkat | |
cb3ef14c | 1057 | SC_LTTNG_TRACEPOINT_EVENT(sys_unlinkat, |
046f293c LP |
1058 | TP_PROTO(int dfd, const char * pathname, int flag), |
1059 | TP_ARGS(dfd, pathname, flag), | |
1060 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field(int, flag)), | |
1061 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(pathname, pathname) tp_assign(flag, flag)), | |
1062 | TP_printk() | |
1063 | ) | |
1064 | #endif | |
1065 | #ifndef OVERRIDE_32_sys_symlinkat | |
cb3ef14c | 1066 | SC_LTTNG_TRACEPOINT_EVENT(sys_symlinkat, |
046f293c LP |
1067 | TP_PROTO(const char * oldname, int newdfd, const char * newname), |
1068 | TP_ARGS(oldname, newdfd, newname), | |
1069 | TP_STRUCT__entry(__string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname)), | |
1070 | TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_assign(newdfd, newdfd) tp_copy_string_from_user(newname, newname)), | |
1071 | TP_printk() | |
1072 | ) | |
1073 | #endif | |
1074 | #ifndef OVERRIDE_32_sys_fchmodat | |
cb3ef14c | 1075 | SC_LTTNG_TRACEPOINT_EVENT(sys_fchmodat, |
046f293c LP |
1076 | TP_PROTO(int dfd, const char * filename, umode_t mode), |
1077 | TP_ARGS(dfd, filename, mode), | |
1078 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(umode_t, mode)), | |
1079 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), | |
1080 | TP_printk() | |
1081 | ) | |
1082 | #endif | |
1083 | #ifndef OVERRIDE_32_sys_faccessat | |
cb3ef14c | 1084 | SC_LTTNG_TRACEPOINT_EVENT(sys_faccessat, |
046f293c LP |
1085 | TP_PROTO(int dfd, const char * filename, int mode), |
1086 | TP_ARGS(dfd, filename, mode), | |
1087 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(int, mode)), | |
1088 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), | |
1089 | TP_printk() | |
1090 | ) | |
1091 | #endif | |
1092 | #ifndef OVERRIDE_32_sys_get_robust_list | |
cb3ef14c | 1093 | SC_LTTNG_TRACEPOINT_EVENT(sys_get_robust_list, |
046f293c LP |
1094 | TP_PROTO(int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), |
1095 | TP_ARGS(pid, head_ptr, len_ptr), | |
1096 | TP_STRUCT__entry(__field(int, pid) __field_hex(struct robust_list_head * *, head_ptr) __field_hex(size_t *, len_ptr)), | |
1097 | TP_fast_assign(tp_assign(pid, pid) tp_assign(head_ptr, head_ptr) tp_assign(len_ptr, len_ptr)), | |
1098 | TP_printk() | |
1099 | ) | |
1100 | #endif | |
1101 | #ifndef OVERRIDE_32_sys_getcpu | |
cb3ef14c | 1102 | SC_LTTNG_TRACEPOINT_EVENT(sys_getcpu, |
046f293c LP |
1103 | TP_PROTO(unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), |
1104 | TP_ARGS(cpup, nodep, unused), | |
1105 | TP_STRUCT__entry(__field_hex(unsigned *, cpup) __field_hex(unsigned *, nodep) __field_hex(struct getcpu_cache *, unused)), | |
1106 | TP_fast_assign(tp_assign(cpup, cpup) tp_assign(nodep, nodep) tp_assign(unused, unused)), | |
1107 | TP_printk() | |
1108 | ) | |
1109 | #endif | |
1110 | #ifndef OVERRIDE_32_sys_signalfd | |
cb3ef14c | 1111 | SC_LTTNG_TRACEPOINT_EVENT(sys_signalfd, |
046f293c LP |
1112 | TP_PROTO(int ufd, sigset_t * user_mask, size_t sizemask), |
1113 | TP_ARGS(ufd, user_mask, sizemask), | |
1114 | TP_STRUCT__entry(__field(int, ufd) __field_hex(sigset_t *, user_mask) __field(size_t, sizemask)), | |
1115 | TP_fast_assign(tp_assign(ufd, ufd) tp_assign(user_mask, user_mask) tp_assign(sizemask, sizemask)), | |
1116 | TP_printk() | |
1117 | ) | |
1118 | #endif | |
1119 | #ifndef OVERRIDE_32_sys_open_by_handle_at | |
cb3ef14c | 1120 | SC_LTTNG_TRACEPOINT_EVENT(sys_open_by_handle_at, |
046f293c LP |
1121 | TP_PROTO(int mountdirfd, struct file_handle * handle, int flags), |
1122 | TP_ARGS(mountdirfd, handle, flags), | |
1123 | TP_STRUCT__entry(__field(int, mountdirfd) __field_hex(struct file_handle *, handle) __field(int, flags)), | |
1124 | TP_fast_assign(tp_assign(mountdirfd, mountdirfd) tp_assign(handle, handle) tp_assign(flags, flags)), | |
1125 | TP_printk() | |
1126 | ) | |
1127 | #endif | |
1128 | #ifndef OVERRIDE_32_sys_reboot | |
cb3ef14c | 1129 | SC_LTTNG_TRACEPOINT_EVENT(sys_reboot, |
046f293c LP |
1130 | TP_PROTO(int magic1, int magic2, unsigned int cmd, void * arg), |
1131 | TP_ARGS(magic1, magic2, cmd, arg), | |
1132 | TP_STRUCT__entry(__field(int, magic1) __field(int, magic2) __field(unsigned int, cmd) __field_hex(void *, arg)), | |
1133 | TP_fast_assign(tp_assign(magic1, magic1) tp_assign(magic2, magic2) tp_assign(cmd, cmd) tp_assign(arg, arg)), | |
1134 | TP_printk() | |
1135 | ) | |
1136 | #endif | |
1137 | #ifndef OVERRIDE_32_sys_wait4 | |
cb3ef14c | 1138 | SC_LTTNG_TRACEPOINT_EVENT(sys_wait4, |
046f293c LP |
1139 | TP_PROTO(pid_t upid, int * stat_addr, int options, struct rusage * ru), |
1140 | TP_ARGS(upid, stat_addr, options, ru), | |
1141 | TP_STRUCT__entry(__field(pid_t, upid) __field_hex(int *, stat_addr) __field(int, options) __field_hex(struct rusage *, ru)), | |
1142 | TP_fast_assign(tp_assign(upid, upid) tp_assign(stat_addr, stat_addr) tp_assign(options, options) tp_assign(ru, ru)), | |
1143 | TP_printk() | |
1144 | ) | |
1145 | #endif | |
1146 | #ifndef OVERRIDE_32_sys_send | |
cb3ef14c | 1147 | SC_LTTNG_TRACEPOINT_EVENT(sys_send, |
046f293c LP |
1148 | TP_PROTO(int fd, void * buff, size_t len, unsigned int flags), |
1149 | TP_ARGS(fd, buff, len, flags), | |
1150 | TP_STRUCT__entry(__field(int, fd) __field_hex(void *, buff) __field(size_t, len) __field(unsigned int, flags)), | |
1151 | TP_fast_assign(tp_assign(fd, fd) tp_assign(buff, buff) tp_assign(len, len) tp_assign(flags, flags)), | |
1152 | TP_printk() | |
1153 | ) | |
1154 | #endif | |
1155 | #ifndef OVERRIDE_32_sys_socketpair | |
cb3ef14c | 1156 | SC_LTTNG_TRACEPOINT_EVENT(sys_socketpair, |
046f293c LP |
1157 | TP_PROTO(int family, int type, int protocol, int * usockvec), |
1158 | TP_ARGS(family, type, protocol, usockvec), | |
1159 | TP_STRUCT__entry(__field(int, family) __field(int, type) __field(int, protocol) __field_hex(int *, usockvec)), | |
1160 | TP_fast_assign(tp_assign(family, family) tp_assign(type, type) tp_assign(protocol, protocol) tp_assign(usockvec, usockvec)), | |
1161 | TP_printk() | |
1162 | ) | |
1163 | #endif | |
1164 | #ifndef OVERRIDE_32_sys_rt_sigaction | |
cb3ef14c | 1165 | SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigaction, |
046f293c LP |
1166 | TP_PROTO(int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), |
1167 | TP_ARGS(sig, act, oact, sigsetsize), | |
1168 | TP_STRUCT__entry(__field(int, sig) __field_hex(const struct sigaction *, act) __field_hex(struct sigaction *, oact) __field(size_t, sigsetsize)), | |
1169 | TP_fast_assign(tp_assign(sig, sig) tp_assign(act, act) tp_assign(oact, oact) tp_assign(sigsetsize, sigsetsize)), | |
1170 | TP_printk() | |
1171 | ) | |
1172 | #endif | |
1173 | #ifndef OVERRIDE_32_sys_rt_sigprocmask | |
cb3ef14c | 1174 | SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigprocmask, |
046f293c LP |
1175 | TP_PROTO(int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), |
1176 | TP_ARGS(how, nset, oset, sigsetsize), | |
1177 | TP_STRUCT__entry(__field(int, how) __field_hex(sigset_t *, nset) __field_hex(sigset_t *, oset) __field(size_t, sigsetsize)), | |
1178 | TP_fast_assign(tp_assign(how, how) tp_assign(nset, nset) tp_assign(oset, oset) tp_assign(sigsetsize, sigsetsize)), | |
1179 | TP_printk() | |
1180 | ) | |
1181 | #endif | |
1182 | #ifndef OVERRIDE_32_sys_rt_sigtimedwait | |
cb3ef14c | 1183 | SC_LTTNG_TRACEPOINT_EVENT(sys_rt_sigtimedwait, |
046f293c LP |
1184 | TP_PROTO(const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), |
1185 | TP_ARGS(uthese, uinfo, uts, sigsetsize), | |
1186 | TP_STRUCT__entry(__field_hex(const sigset_t *, uthese) __field_hex(siginfo_t *, uinfo) __field_hex(const struct timespec *, uts) __field(size_t, sigsetsize)), | |
1187 | TP_fast_assign(tp_assign(uthese, uthese) tp_assign(uinfo, uinfo) tp_assign(uts, uts) tp_assign(sigsetsize, sigsetsize)), | |
1188 | TP_printk() | |
1189 | ) | |
1190 | #endif | |
1191 | #ifndef OVERRIDE_32_sys_pread64 | |
cb3ef14c | 1192 | SC_LTTNG_TRACEPOINT_EVENT(sys_pread64, |
046f293c LP |
1193 | TP_PROTO(unsigned int fd, char * buf, size_t count, loff_t pos), |
1194 | TP_ARGS(fd, buf, count, pos), | |
1195 | TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(char *, buf) __field(size_t, count) __field(loff_t, pos)), | |
1196 | TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf) tp_assign(count, count) tp_assign(pos, pos)), | |
1197 | TP_printk() | |
1198 | ) | |
1199 | #endif | |
1200 | #ifndef OVERRIDE_32_sys_pwrite64 | |
cb3ef14c | 1201 | SC_LTTNG_TRACEPOINT_EVENT(sys_pwrite64, |
046f293c LP |
1202 | TP_PROTO(unsigned int fd, const char * buf, size_t count, loff_t pos), |
1203 | TP_ARGS(fd, buf, count, pos), | |
1204 | TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(const char *, buf) __field(size_t, count) __field(loff_t, pos)), | |
1205 | TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf) tp_assign(count, count) tp_assign(pos, pos)), | |
1206 | TP_printk() | |
1207 | ) | |
1208 | #endif | |
1209 | #ifndef OVERRIDE_32_sys_sendfile | |
cb3ef14c | 1210 | SC_LTTNG_TRACEPOINT_EVENT(sys_sendfile, |
046f293c LP |
1211 | TP_PROTO(int out_fd, int in_fd, off_t * offset, size_t count), |
1212 | TP_ARGS(out_fd, in_fd, offset, count), | |
1213 | TP_STRUCT__entry(__field(int, out_fd) __field(int, in_fd) __field_hex(off_t *, offset) __field(size_t, count)), | |
1214 | TP_fast_assign(tp_assign(out_fd, out_fd) tp_assign(in_fd, in_fd) tp_assign(offset, offset) tp_assign(count, count)), | |
1215 | TP_printk() | |
1216 | ) | |
1217 | #endif | |
1218 | #ifndef OVERRIDE_32_sys_getxattr | |
cb3ef14c | 1219 | SC_LTTNG_TRACEPOINT_EVENT(sys_getxattr, |
046f293c LP |
1220 | TP_PROTO(const char * pathname, const char * name, void * value, size_t size), |
1221 | TP_ARGS(pathname, name, value, size), | |
1222 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), | |
1223 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size)), | |
1224 | TP_printk() | |
1225 | ) | |
1226 | #endif | |
1227 | #ifndef OVERRIDE_32_sys_lgetxattr | |
cb3ef14c | 1228 | SC_LTTNG_TRACEPOINT_EVENT(sys_lgetxattr, |
046f293c LP |
1229 | TP_PROTO(const char * pathname, const char * name, void * value, size_t size), |
1230 | TP_ARGS(pathname, name, value, size), | |
1231 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), | |
1232 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size)), | |
1233 | TP_printk() | |
1234 | ) | |
1235 | #endif | |
1236 | #ifndef OVERRIDE_32_sys_fgetxattr | |
cb3ef14c | 1237 | SC_LTTNG_TRACEPOINT_EVENT(sys_fgetxattr, |
046f293c LP |
1238 | TP_PROTO(int fd, const char * name, void * value, size_t size), |
1239 | TP_ARGS(fd, name, value, size), | |
1240 | TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), | |
1241 | TP_fast_assign(tp_assign(fd, fd) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size)), | |
1242 | TP_printk() | |
1243 | ) | |
1244 | #endif | |
1245 | #ifndef OVERRIDE_32_sys_sendfile64 | |
cb3ef14c | 1246 | SC_LTTNG_TRACEPOINT_EVENT(sys_sendfile64, |
046f293c LP |
1247 | TP_PROTO(int out_fd, int in_fd, loff_t * offset, size_t count), |
1248 | TP_ARGS(out_fd, in_fd, offset, count), | |
1249 | TP_STRUCT__entry(__field(int, out_fd) __field(int, in_fd) __field_hex(loff_t *, offset) __field(size_t, count)), | |
1250 | TP_fast_assign(tp_assign(out_fd, out_fd) tp_assign(in_fd, in_fd) tp_assign(offset, offset) tp_assign(count, count)), | |
1251 | TP_printk() | |
1252 | ) | |
1253 | #endif | |
1254 | #ifndef OVERRIDE_32_sys_epoll_ctl | |
cb3ef14c | 1255 | SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_ctl, |
046f293c LP |
1256 | TP_PROTO(int epfd, int op, int fd, struct epoll_event * event), |
1257 | TP_ARGS(epfd, op, fd, event), | |
1258 | TP_STRUCT__entry(__field(int, epfd) __field(int, op) __field(int, fd) __field_hex(struct epoll_event *, event)), | |
1259 | TP_fast_assign(tp_assign(epfd, epfd) tp_assign(op, op) tp_assign(fd, fd) tp_assign(event, event)), | |
1260 | TP_printk() | |
1261 | ) | |
1262 | #endif | |
1263 | #ifndef OVERRIDE_32_sys_epoll_wait | |
cb3ef14c | 1264 | SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_wait, |
046f293c LP |
1265 | TP_PROTO(int epfd, struct epoll_event * events, int maxevents, int timeout), |
1266 | TP_ARGS(epfd, events, maxevents, timeout), | |
1267 | TP_STRUCT__entry(__field(int, epfd) __field_hex(struct epoll_event *, events) __field(int, maxevents) __field(int, timeout)), | |
1268 | TP_fast_assign(tp_assign(epfd, epfd) tp_assign(events, events) tp_assign(maxevents, maxevents) tp_assign(timeout, timeout)), | |
1269 | TP_printk() | |
1270 | ) | |
1271 | #endif | |
1272 | #ifndef OVERRIDE_32_sys_timer_settime | |
cb3ef14c | 1273 | SC_LTTNG_TRACEPOINT_EVENT(sys_timer_settime, |
046f293c LP |
1274 | TP_PROTO(timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), |
1275 | TP_ARGS(timer_id, flags, new_setting, old_setting), | |
1276 | TP_STRUCT__entry(__field(timer_t, timer_id) __field(int, flags) __field_hex(const struct itimerspec *, new_setting) __field_hex(struct itimerspec *, old_setting)), | |
1277 | TP_fast_assign(tp_assign(timer_id, timer_id) tp_assign(flags, flags) tp_assign(new_setting, new_setting) tp_assign(old_setting, old_setting)), | |
1278 | TP_printk() | |
1279 | ) | |
1280 | #endif | |
1281 | #ifndef OVERRIDE_32_sys_clock_nanosleep | |
cb3ef14c | 1282 | SC_LTTNG_TRACEPOINT_EVENT(sys_clock_nanosleep, |
046f293c LP |
1283 | TP_PROTO(const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), |
1284 | TP_ARGS(which_clock, flags, rqtp, rmtp), | |
1285 | TP_STRUCT__entry(__field(const clockid_t, which_clock) __field(int, flags) __field_hex(const struct timespec *, rqtp) __field_hex(struct timespec *, rmtp)), | |
1286 | TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(flags, flags) tp_assign(rqtp, rqtp) tp_assign(rmtp, rmtp)), | |
1287 | TP_printk() | |
1288 | ) | |
1289 | #endif | |
1290 | #ifndef OVERRIDE_32_sys_openat | |
cb3ef14c | 1291 | SC_LTTNG_TRACEPOINT_EVENT(sys_openat, |
046f293c LP |
1292 | TP_PROTO(int dfd, const char * filename, int flags, umode_t mode), |
1293 | TP_ARGS(dfd, filename, flags, mode), | |
1294 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(int, flags) __field(umode_t, mode)), | |
1295 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(flags, flags) tp_assign(mode, mode)), | |
1296 | TP_printk() | |
1297 | ) | |
1298 | #endif | |
1299 | #ifndef OVERRIDE_32_sys_mknodat | |
cb3ef14c | 1300 | SC_LTTNG_TRACEPOINT_EVENT(sys_mknodat, |
046f293c LP |
1301 | TP_PROTO(int dfd, const char * filename, umode_t mode, unsigned dev), |
1302 | TP_ARGS(dfd, filename, mode, dev), | |
1303 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(umode_t, mode) __field(unsigned, dev)), | |
1304 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(mode, mode) tp_assign(dev, dev)), | |
1305 | TP_printk() | |
1306 | ) | |
1307 | #endif | |
1308 | #ifndef OVERRIDE_32_sys_fstatat64 | |
cb3ef14c | 1309 | SC_LTTNG_TRACEPOINT_EVENT(sys_fstatat64, |
046f293c LP |
1310 | TP_PROTO(int dfd, const char * filename, struct stat64 * statbuf, int flag), |
1311 | TP_ARGS(dfd, filename, statbuf, flag), | |
1312 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct stat64 *, statbuf) __field(int, flag)), | |
1313 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf) tp_assign(flag, flag)), | |
1314 | TP_printk() | |
1315 | ) | |
1316 | #endif | |
1317 | #ifndef OVERRIDE_32_sys_renameat | |
cb3ef14c | 1318 | SC_LTTNG_TRACEPOINT_EVENT(sys_renameat, |
046f293c LP |
1319 | TP_PROTO(int olddfd, const char * oldname, int newdfd, const char * newname), |
1320 | TP_ARGS(olddfd, oldname, newdfd, newname), | |
1321 | TP_STRUCT__entry(__field(int, olddfd) __string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname)), | |
1322 | TP_fast_assign(tp_assign(olddfd, olddfd) tp_copy_string_from_user(oldname, oldname) tp_assign(newdfd, newdfd) tp_copy_string_from_user(newname, newname)), | |
1323 | TP_printk() | |
1324 | ) | |
1325 | #endif | |
1326 | #ifndef OVERRIDE_32_sys_readlinkat | |
cb3ef14c | 1327 | SC_LTTNG_TRACEPOINT_EVENT(sys_readlinkat, |
046f293c LP |
1328 | TP_PROTO(int dfd, const char * pathname, char * buf, int bufsiz), |
1329 | TP_ARGS(dfd, pathname, buf, bufsiz), | |
1330 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field_hex(char *, buf) __field(int, bufsiz)), | |
1331 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(pathname, pathname) tp_assign(buf, buf) tp_assign(bufsiz, bufsiz)), | |
1332 | TP_printk() | |
1333 | ) | |
1334 | #endif | |
1335 | #ifndef OVERRIDE_32_sys_vmsplice | |
cb3ef14c | 1336 | SC_LTTNG_TRACEPOINT_EVENT(sys_vmsplice, |
046f293c LP |
1337 | TP_PROTO(int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), |
1338 | TP_ARGS(fd, iov, nr_segs, flags), | |
1339 | TP_STRUCT__entry(__field(int, fd) __field_hex(const struct iovec *, iov) __field(unsigned long, nr_segs) __field(unsigned int, flags)), | |
1340 | TP_fast_assign(tp_assign(fd, fd) tp_assign(iov, iov) tp_assign(nr_segs, nr_segs) tp_assign(flags, flags)), | |
1341 | TP_printk() | |
1342 | ) | |
1343 | #endif | |
1344 | #ifndef OVERRIDE_32_sys_utimensat | |
cb3ef14c | 1345 | SC_LTTNG_TRACEPOINT_EVENT(sys_utimensat, |
046f293c LP |
1346 | TP_PROTO(int dfd, const char * filename, struct timespec * utimes, int flags), |
1347 | TP_ARGS(dfd, filename, utimes, flags), | |
1348 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct timespec *, utimes) __field(int, flags)), | |
1349 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(utimes, utimes) tp_assign(flags, flags)), | |
1350 | TP_printk() | |
1351 | ) | |
1352 | #endif | |
1353 | #ifndef OVERRIDE_32_sys_timerfd_settime | |
cb3ef14c | 1354 | SC_LTTNG_TRACEPOINT_EVENT(sys_timerfd_settime, |
046f293c LP |
1355 | TP_PROTO(int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), |
1356 | TP_ARGS(ufd, flags, utmr, otmr), | |
1357 | TP_STRUCT__entry(__field(int, ufd) __field(int, flags) __field_hex(const struct itimerspec *, utmr) __field_hex(struct itimerspec *, otmr)), | |
1358 | TP_fast_assign(tp_assign(ufd, ufd) tp_assign(flags, flags) tp_assign(utmr, utmr) tp_assign(otmr, otmr)), | |
1359 | TP_printk() | |
1360 | ) | |
1361 | #endif | |
1362 | #ifndef OVERRIDE_32_sys_signalfd4 | |
cb3ef14c | 1363 | SC_LTTNG_TRACEPOINT_EVENT(sys_signalfd4, |
046f293c LP |
1364 | TP_PROTO(int ufd, sigset_t * user_mask, size_t sizemask, int flags), |
1365 | TP_ARGS(ufd, user_mask, sizemask, flags), | |
1366 | TP_STRUCT__entry(__field(int, ufd) __field_hex(sigset_t *, user_mask) __field(size_t, sizemask) __field(int, flags)), | |
1367 | TP_fast_assign(tp_assign(ufd, ufd) tp_assign(user_mask, user_mask) tp_assign(sizemask, sizemask) tp_assign(flags, flags)), | |
1368 | TP_printk() | |
1369 | ) | |
1370 | #endif | |
1371 | #ifndef OVERRIDE_32_sys_rt_tgsigqueueinfo | |
cb3ef14c | 1372 | SC_LTTNG_TRACEPOINT_EVENT(sys_rt_tgsigqueueinfo, |
046f293c LP |
1373 | TP_PROTO(pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), |
1374 | TP_ARGS(tgid, pid, sig, uinfo), | |
1375 | TP_STRUCT__entry(__field(pid_t, tgid) __field(pid_t, pid) __field(int, sig) __field_hex(siginfo_t *, uinfo)), | |
1376 | TP_fast_assign(tp_assign(tgid, tgid) tp_assign(pid, pid) tp_assign(sig, sig) tp_assign(uinfo, uinfo)), | |
1377 | TP_printk() | |
1378 | ) | |
1379 | #endif | |
1380 | #ifndef OVERRIDE_32_sys_accept4 | |
cb3ef14c | 1381 | SC_LTTNG_TRACEPOINT_EVENT(sys_accept4, |
046f293c LP |
1382 | TP_PROTO(int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), |
1383 | TP_ARGS(fd, upeer_sockaddr, upeer_addrlen, flags), | |
1384 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, upeer_sockaddr) __field_hex(int *, upeer_addrlen) __field(int, flags)), | |
1385 | TP_fast_assign(tp_assign(fd, fd) tp_assign(upeer_sockaddr, upeer_sockaddr) tp_assign(upeer_addrlen, upeer_addrlen) tp_assign(flags, flags)), | |
1386 | TP_printk() | |
1387 | ) | |
1388 | #endif | |
1389 | #ifndef OVERRIDE_32_sys_prlimit64 | |
cb3ef14c | 1390 | SC_LTTNG_TRACEPOINT_EVENT(sys_prlimit64, |
046f293c LP |
1391 | TP_PROTO(pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), |
1392 | TP_ARGS(pid, resource, new_rlim, old_rlim), | |
1393 | TP_STRUCT__entry(__field(pid_t, pid) __field(unsigned int, resource) __field_hex(const struct rlimit64 *, new_rlim) __field_hex(struct rlimit64 *, old_rlim)), | |
1394 | TP_fast_assign(tp_assign(pid, pid) tp_assign(resource, resource) tp_assign(new_rlim, new_rlim) tp_assign(old_rlim, old_rlim)), | |
1395 | TP_printk() | |
1396 | ) | |
1397 | #endif | |
1398 | #ifndef OVERRIDE_32_sys_sendmmsg | |
cb3ef14c | 1399 | SC_LTTNG_TRACEPOINT_EVENT(sys_sendmmsg, |
046f293c LP |
1400 | TP_PROTO(int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), |
1401 | TP_ARGS(fd, mmsg, vlen, flags), | |
1402 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct mmsghdr *, mmsg) __field(unsigned int, vlen) __field(unsigned int, flags)), | |
1403 | TP_fast_assign(tp_assign(fd, fd) tp_assign(mmsg, mmsg) tp_assign(vlen, vlen) tp_assign(flags, flags)), | |
1404 | TP_printk() | |
1405 | ) | |
1406 | #endif | |
1407 | #ifndef OVERRIDE_32_sys_mount | |
cb3ef14c | 1408 | SC_LTTNG_TRACEPOINT_EVENT(sys_mount, |
046f293c LP |
1409 | TP_PROTO(char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), |
1410 | TP_ARGS(dev_name, dir_name, type, flags, data), | |
1411 | TP_STRUCT__entry(__string_from_user(dev_name, dev_name) __string_from_user(dir_name, dir_name) __string_from_user(type, type) __field(unsigned long, flags) __field_hex(void *, data)), | |
1412 | TP_fast_assign(tp_copy_string_from_user(dev_name, dev_name) tp_copy_string_from_user(dir_name, dir_name) tp_copy_string_from_user(type, type) tp_assign(flags, flags) tp_assign(data, data)), | |
1413 | TP_printk() | |
1414 | ) | |
1415 | #endif | |
1416 | #ifndef OVERRIDE_32_sys_llseek | |
cb3ef14c | 1417 | SC_LTTNG_TRACEPOINT_EVENT(sys_llseek, |
046f293c LP |
1418 | TP_PROTO(unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int whence), |
1419 | TP_ARGS(fd, offset_high, offset_low, result, whence), | |
1420 | TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned long, offset_high) __field(unsigned long, offset_low) __field_hex(loff_t *, result) __field(unsigned int, whence)), | |
1421 | TP_fast_assign(tp_assign(fd, fd) tp_assign(offset_high, offset_high) tp_assign(offset_low, offset_low) tp_assign(result, result) tp_assign(whence, whence)), | |
1422 | TP_printk() | |
1423 | ) | |
1424 | #endif | |
1425 | #ifndef OVERRIDE_32_sys_select | |
cb3ef14c | 1426 | SC_LTTNG_TRACEPOINT_EVENT(sys_select, |
046f293c LP |
1427 | TP_PROTO(int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), |
1428 | TP_ARGS(n, inp, outp, exp, tvp), | |
1429 | TP_STRUCT__entry(__field(int, n) __field_hex(fd_set *, inp) __field_hex(fd_set *, outp) __field_hex(fd_set *, exp) __field_hex(struct timeval *, tvp)), | |
1430 | TP_fast_assign(tp_assign(n, n) tp_assign(inp, inp) tp_assign(outp, outp) tp_assign(exp, exp) tp_assign(tvp, tvp)), | |
1431 | TP_printk() | |
1432 | ) | |
1433 | #endif | |
1434 | #ifndef OVERRIDE_32_sys_getsockopt | |
cb3ef14c | 1435 | SC_LTTNG_TRACEPOINT_EVENT(sys_getsockopt, |
046f293c LP |
1436 | TP_PROTO(int fd, int level, int optname, char * optval, int * optlen), |
1437 | TP_ARGS(fd, level, optname, optval, optlen), | |
1438 | TP_STRUCT__entry(__field(int, fd) __field(int, level) __field(int, optname) __field_hex(char *, optval) __field_hex(int *, optlen)), | |
1439 | TP_fast_assign(tp_assign(fd, fd) tp_assign(level, level) tp_assign(optname, optname) tp_assign(optval, optval) tp_assign(optlen, optlen)), | |
1440 | TP_printk() | |
1441 | ) | |
1442 | #endif | |
1443 | #ifndef OVERRIDE_32_sys_setsockopt | |
cb3ef14c | 1444 | SC_LTTNG_TRACEPOINT_EVENT(sys_setsockopt, |
046f293c LP |
1445 | TP_PROTO(int fd, int level, int optname, char * optval, int optlen), |
1446 | TP_ARGS(fd, level, optname, optval, optlen), | |
1447 | TP_STRUCT__entry(__field(int, fd) __field(int, level) __field(int, optname) __field_hex(char *, optval) __field(int, optlen)), | |
1448 | TP_fast_assign(tp_assign(fd, fd) tp_assign(level, level) tp_assign(optname, optname) tp_assign(optval, optval) tp_assign(optlen, optlen)), | |
1449 | TP_printk() | |
1450 | ) | |
1451 | #endif | |
1452 | #ifndef OVERRIDE_32_sys_setxattr | |
cb3ef14c | 1453 | SC_LTTNG_TRACEPOINT_EVENT(sys_setxattr, |
046f293c LP |
1454 | TP_PROTO(const char * pathname, const char * name, const void * value, size_t size, int flags), |
1455 | TP_ARGS(pathname, name, value, size, flags), | |
1456 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), | |
1457 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size) tp_assign(flags, flags)), | |
1458 | TP_printk() | |
1459 | ) | |
1460 | #endif | |
1461 | #ifndef OVERRIDE_32_sys_lsetxattr | |
cb3ef14c | 1462 | SC_LTTNG_TRACEPOINT_EVENT(sys_lsetxattr, |
046f293c LP |
1463 | TP_PROTO(const char * pathname, const char * name, const void * value, size_t size, int flags), |
1464 | TP_ARGS(pathname, name, value, size, flags), | |
1465 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), | |
1466 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size) tp_assign(flags, flags)), | |
1467 | TP_printk() | |
1468 | ) | |
1469 | #endif | |
1470 | #ifndef OVERRIDE_32_sys_fsetxattr | |
cb3ef14c | 1471 | SC_LTTNG_TRACEPOINT_EVENT(sys_fsetxattr, |
046f293c LP |
1472 | TP_PROTO(int fd, const char * name, const void * value, size_t size, int flags), |
1473 | TP_ARGS(fd, name, value, size, flags), | |
1474 | TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), | |
1475 | TP_fast_assign(tp_assign(fd, fd) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size) tp_assign(flags, flags)), | |
1476 | TP_printk() | |
1477 | ) | |
1478 | #endif | |
1479 | #ifndef OVERRIDE_32_sys_io_getevents | |
cb3ef14c | 1480 | SC_LTTNG_TRACEPOINT_EVENT(sys_io_getevents, |
046f293c LP |
1481 | TP_PROTO(aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), |
1482 | TP_ARGS(ctx_id, min_nr, nr, events, timeout), | |
1483 | TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field(long, min_nr) __field(long, nr) __field_hex(struct io_event *, events) __field_hex(struct timespec *, timeout)), | |
1484 | TP_fast_assign(tp_assign(ctx_id, ctx_id) tp_assign(min_nr, min_nr) tp_assign(nr, nr) tp_assign(events, events) tp_assign(timeout, timeout)), | |
1485 | TP_printk() | |
1486 | ) | |
1487 | #endif | |
1488 | #ifndef OVERRIDE_32_sys_waitid | |
cb3ef14c | 1489 | SC_LTTNG_TRACEPOINT_EVENT(sys_waitid, |
046f293c LP |
1490 | TP_PROTO(int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), |
1491 | TP_ARGS(which, upid, infop, options, ru), | |
1492 | TP_STRUCT__entry(__field(int, which) __field(pid_t, upid) __field_hex(struct siginfo *, infop) __field(int, options) __field_hex(struct rusage *, ru)), | |
1493 | TP_fast_assign(tp_assign(which, which) tp_assign(upid, upid) tp_assign(infop, infop) tp_assign(options, options) tp_assign(ru, ru)), | |
1494 | TP_printk() | |
1495 | ) | |
1496 | #endif | |
1497 | #ifndef OVERRIDE_32_sys_fchownat | |
cb3ef14c | 1498 | SC_LTTNG_TRACEPOINT_EVENT(sys_fchownat, |
046f293c LP |
1499 | TP_PROTO(int dfd, const char * filename, uid_t user, gid_t group, int flag), |
1500 | TP_ARGS(dfd, filename, user, group, flag), | |
1501 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group) __field(int, flag)), | |
1502 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(user, user) tp_assign(group, group) tp_assign(flag, flag)), | |
1503 | TP_printk() | |
1504 | ) | |
1505 | #endif | |
1506 | #ifndef OVERRIDE_32_sys_linkat | |
cb3ef14c | 1507 | SC_LTTNG_TRACEPOINT_EVENT(sys_linkat, |
046f293c LP |
1508 | TP_PROTO(int olddfd, const char * oldname, int newdfd, const char * newname, int flags), |
1509 | TP_ARGS(olddfd, oldname, newdfd, newname, flags), | |
1510 | TP_STRUCT__entry(__field(int, olddfd) __string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname) __field(int, flags)), | |
1511 | TP_fast_assign(tp_assign(olddfd, olddfd) tp_copy_string_from_user(oldname, oldname) tp_assign(newdfd, newdfd) tp_copy_string_from_user(newname, newname) tp_assign(flags, flags)), | |
1512 | TP_printk() | |
1513 | ) | |
1514 | #endif | |
1515 | #ifndef OVERRIDE_32_sys_ppoll | |
cb3ef14c | 1516 | SC_LTTNG_TRACEPOINT_EVENT(sys_ppoll, |
046f293c LP |
1517 | TP_PROTO(struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), |
1518 | TP_ARGS(ufds, nfds, tsp, sigmask, sigsetsize), | |
1519 | TP_STRUCT__entry(__field_hex(struct pollfd *, ufds) __field(unsigned int, nfds) __field_hex(struct timespec *, tsp) __field_hex(const sigset_t *, sigmask) __field(size_t, sigsetsize)), | |
1520 | TP_fast_assign(tp_assign(ufds, ufds) tp_assign(nfds, nfds) tp_assign(tsp, tsp) tp_assign(sigmask, sigmask) tp_assign(sigsetsize, sigsetsize)), | |
1521 | TP_printk() | |
1522 | ) | |
1523 | #endif | |
1524 | #ifndef OVERRIDE_32_sys_preadv | |
cb3ef14c | 1525 | SC_LTTNG_TRACEPOINT_EVENT(sys_preadv, |
046f293c LP |
1526 | TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), |
1527 | TP_ARGS(fd, vec, vlen, pos_l, pos_h), | |
1528 | TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen) __field(unsigned long, pos_l) __field(unsigned long, pos_h)), | |
1529 | TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen) tp_assign(pos_l, pos_l) tp_assign(pos_h, pos_h)), | |
1530 | TP_printk() | |
1531 | ) | |
1532 | #endif | |
1533 | #ifndef OVERRIDE_32_sys_pwritev | |
cb3ef14c | 1534 | SC_LTTNG_TRACEPOINT_EVENT(sys_pwritev, |
046f293c LP |
1535 | TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), |
1536 | TP_ARGS(fd, vec, vlen, pos_l, pos_h), | |
1537 | TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen) __field(unsigned long, pos_l) __field(unsigned long, pos_h)), | |
1538 | TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen) tp_assign(pos_l, pos_l) tp_assign(pos_h, pos_h)), | |
1539 | TP_printk() | |
1540 | ) | |
1541 | #endif | |
1542 | #ifndef OVERRIDE_32_sys_perf_event_open | |
cb3ef14c | 1543 | SC_LTTNG_TRACEPOINT_EVENT(sys_perf_event_open, |
046f293c LP |
1544 | TP_PROTO(struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), |
1545 | TP_ARGS(attr_uptr, pid, cpu, group_fd, flags), | |
1546 | TP_STRUCT__entry(__field_hex(struct perf_event_attr *, attr_uptr) __field(pid_t, pid) __field(int, cpu) __field(int, group_fd) __field(unsigned long, flags)), | |
1547 | TP_fast_assign(tp_assign(attr_uptr, attr_uptr) tp_assign(pid, pid) tp_assign(cpu, cpu) tp_assign(group_fd, group_fd) tp_assign(flags, flags)), | |
1548 | TP_printk() | |
1549 | ) | |
1550 | #endif | |
1551 | #ifndef OVERRIDE_32_sys_recvmmsg | |
cb3ef14c | 1552 | SC_LTTNG_TRACEPOINT_EVENT(sys_recvmmsg, |
046f293c LP |
1553 | TP_PROTO(int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), |
1554 | TP_ARGS(fd, mmsg, vlen, flags, timeout), | |
1555 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct mmsghdr *, mmsg) __field(unsigned int, vlen) __field(unsigned int, flags) __field_hex(struct timespec *, timeout)), | |
1556 | TP_fast_assign(tp_assign(fd, fd) tp_assign(mmsg, mmsg) tp_assign(vlen, vlen) tp_assign(flags, flags) tp_assign(timeout, timeout)), | |
1557 | TP_printk() | |
1558 | ) | |
1559 | #endif | |
1560 | #ifndef OVERRIDE_32_sys_name_to_handle_at | |
cb3ef14c | 1561 | SC_LTTNG_TRACEPOINT_EVENT(sys_name_to_handle_at, |
046f293c LP |
1562 | TP_PROTO(int dfd, const char * name, struct file_handle * handle, int * mnt_id, int flag), |
1563 | TP_ARGS(dfd, name, handle, mnt_id, flag), | |
1564 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(name, name) __field_hex(struct file_handle *, handle) __field_hex(int *, mnt_id) __field(int, flag)), | |
1565 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(name, name) tp_assign(handle, handle) tp_assign(mnt_id, mnt_id) tp_assign(flag, flag)), | |
1566 | TP_printk() | |
1567 | ) | |
1568 | #endif | |
1569 | #ifndef OVERRIDE_32_sys_ipc | |
cb3ef14c | 1570 | SC_LTTNG_TRACEPOINT_EVENT(sys_ipc, |
046f293c LP |
1571 | TP_PROTO(unsigned int call, int first, unsigned long second, unsigned long third, void * ptr, long fifth), |
1572 | TP_ARGS(call, first, second, third, ptr, fifth), | |
1573 | TP_STRUCT__entry(__field(unsigned int, call) __field(int, first) __field(unsigned long, second) __field(unsigned long, third) __field_hex(void *, ptr) __field(long, fifth)), | |
1574 | TP_fast_assign(tp_assign(call, call) tp_assign(first, first) tp_assign(second, second) tp_assign(third, third) tp_assign(ptr, ptr) tp_assign(fifth, fifth)), | |
1575 | TP_printk() | |
1576 | ) | |
1577 | #endif | |
1578 | #ifndef OVERRIDE_32_sys_recvfrom | |
cb3ef14c | 1579 | SC_LTTNG_TRACEPOINT_EVENT(sys_recvfrom, |
046f293c LP |
1580 | TP_PROTO(int fd, void * ubuf, size_t size, unsigned int flags, struct sockaddr * addr, int * addr_len), |
1581 | TP_ARGS(fd, ubuf, size, flags, addr, addr_len), | |
1582 | TP_STRUCT__entry(__field(int, fd) __field_hex(void *, ubuf) __field(size_t, size) __field(unsigned int, flags) __field_hex(struct sockaddr *, addr) __field_hex(int *, addr_len)), | |
1583 | TP_fast_assign(tp_assign(fd, fd) tp_assign(ubuf, ubuf) tp_assign(size, size) tp_assign(flags, flags) tp_assign(addr, addr) tp_assign(addr_len, addr_len)), | |
1584 | TP_printk() | |
1585 | ) | |
1586 | #endif | |
1587 | #ifndef OVERRIDE_32_sys_sendto | |
cb3ef14c | 1588 | SC_LTTNG_TRACEPOINT_EVENT(sys_sendto, |
046f293c LP |
1589 | TP_PROTO(int fd, void * buff, size_t len, unsigned int flags, struct sockaddr * addr, int addr_len), |
1590 | TP_ARGS(fd, buff, len, flags, addr, addr_len), | |
1591 | TP_STRUCT__entry(__field(int, fd) __field_hex(void *, buff) __field(size_t, len) __field(unsigned int, flags) __field_hex(struct sockaddr *, addr) __field_hex(int, addr_len)), | |
1592 | TP_fast_assign(tp_assign(fd, fd) tp_assign(buff, buff) tp_assign(len, len) tp_assign(flags, flags) tp_assign(addr, addr) tp_assign(addr_len, addr_len)), | |
1593 | TP_printk() | |
1594 | ) | |
1595 | #endif | |
1596 | #ifndef OVERRIDE_32_sys_futex | |
cb3ef14c | 1597 | SC_LTTNG_TRACEPOINT_EVENT(sys_futex, |
046f293c LP |
1598 | TP_PROTO(u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), |
1599 | TP_ARGS(uaddr, op, val, utime, uaddr2, val3), | |
1600 | TP_STRUCT__entry(__field_hex(u32 *, uaddr) __field(int, op) __field(u32, val) __field_hex(struct timespec *, utime) __field_hex(u32 *, uaddr2) __field(u32, val3)), | |
1601 | TP_fast_assign(tp_assign(uaddr, uaddr) tp_assign(op, op) tp_assign(val, val) tp_assign(utime, utime) tp_assign(uaddr2, uaddr2) tp_assign(val3, val3)), | |
1602 | TP_printk() | |
1603 | ) | |
1604 | #endif | |
1605 | #ifndef OVERRIDE_32_sys_pselect6 | |
cb3ef14c | 1606 | SC_LTTNG_TRACEPOINT_EVENT(sys_pselect6, |
046f293c LP |
1607 | TP_PROTO(int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), |
1608 | TP_ARGS(n, inp, outp, exp, tsp, sig), | |
1609 | TP_STRUCT__entry(__field(int, n) __field_hex(fd_set *, inp) __field_hex(fd_set *, outp) __field_hex(fd_set *, exp) __field_hex(struct timespec *, tsp) __field_hex(void *, sig)), | |
1610 | TP_fast_assign(tp_assign(n, n) tp_assign(inp, inp) tp_assign(outp, outp) tp_assign(exp, exp) tp_assign(tsp, tsp) tp_assign(sig, sig)), | |
1611 | TP_printk() | |
1612 | ) | |
1613 | #endif | |
1614 | #ifndef OVERRIDE_32_sys_splice | |
cb3ef14c | 1615 | SC_LTTNG_TRACEPOINT_EVENT(sys_splice, |
046f293c LP |
1616 | TP_PROTO(int fd_in, loff_t * off_in, int fd_out, loff_t * off_out, size_t len, unsigned int flags), |
1617 | TP_ARGS(fd_in, off_in, fd_out, off_out, len, flags), | |
1618 | TP_STRUCT__entry(__field(int, fd_in) __field_hex(loff_t *, off_in) __field(int, fd_out) __field_hex(loff_t *, off_out) __field(size_t, len) __field(unsigned int, flags)), | |
1619 | TP_fast_assign(tp_assign(fd_in, fd_in) tp_assign(off_in, off_in) tp_assign(fd_out, fd_out) tp_assign(off_out, off_out) tp_assign(len, len) tp_assign(flags, flags)), | |
1620 | TP_printk() | |
1621 | ) | |
1622 | #endif | |
1623 | #ifndef OVERRIDE_32_sys_epoll_pwait | |
cb3ef14c | 1624 | SC_LTTNG_TRACEPOINT_EVENT(sys_epoll_pwait, |
046f293c LP |
1625 | TP_PROTO(int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), |
1626 | TP_ARGS(epfd, events, maxevents, timeout, sigmask, sigsetsize), | |
1627 | TP_STRUCT__entry(__field(int, epfd) __field_hex(struct epoll_event *, events) __field(int, maxevents) __field(int, timeout) __field_hex(const sigset_t *, sigmask) __field(size_t, sigsetsize)), | |
1628 | TP_fast_assign(tp_assign(epfd, epfd) tp_assign(events, events) tp_assign(maxevents, maxevents) tp_assign(timeout, timeout) tp_assign(sigmask, sigmask) tp_assign(sigsetsize, sigsetsize)), | |
1629 | TP_printk() | |
1630 | ) | |
1631 | #endif | |
1632 | ||
1633 | #endif /* _TRACE_SYSCALLS_POINTERS_H */ | |
1634 | ||
1635 | /* This part must be outside protection */ | |
1636 | #include "../../../probes/define_trace.h" | |
1637 | ||
1638 | #else /* CREATE_SYSCALL_TABLE */ | |
1639 | ||
1640 | #include "mips-32-syscalls-3.13.0_pointers_override.h" | |
1641 | #include "syscalls_pointers_override.h" | |
1642 | ||
1643 | #ifndef OVERRIDE_TABLE_32_sys_read | |
1644 | TRACE_SYSCALL_TABLE(sys_read, sys_read, 4003, 3) | |
1645 | #endif | |
1646 | #ifndef OVERRIDE_TABLE_32_sys_write | |
1647 | TRACE_SYSCALL_TABLE(sys_write, sys_write, 4004, 3) | |
1648 | #endif | |
1649 | #ifndef OVERRIDE_TABLE_32_sys_open | |
1650 | TRACE_SYSCALL_TABLE(sys_open, sys_open, 4005, 3) | |
1651 | #endif | |
1652 | #ifndef OVERRIDE_TABLE_32_sys_waitpid | |
1653 | TRACE_SYSCALL_TABLE(sys_waitpid, sys_waitpid, 4007, 3) | |
1654 | #endif | |
1655 | #ifndef OVERRIDE_TABLE_32_sys_creat | |
1656 | TRACE_SYSCALL_TABLE(sys_creat, sys_creat, 4008, 2) | |
1657 | #endif | |
1658 | #ifndef OVERRIDE_TABLE_32_sys_link | |
1659 | TRACE_SYSCALL_TABLE(sys_link, sys_link, 4009, 2) | |
1660 | #endif | |
1661 | #ifndef OVERRIDE_TABLE_32_sys_unlink | |
1662 | TRACE_SYSCALL_TABLE(sys_unlink, sys_unlink, 4010, 1) | |
1663 | #endif | |
1664 | #ifndef OVERRIDE_TABLE_32_sys_execve | |
1665 | TRACE_SYSCALL_TABLE(sys_execve, sys_execve, 4011, 3) | |
1666 | #endif | |
1667 | #ifndef OVERRIDE_TABLE_32_sys_chdir | |
1668 | TRACE_SYSCALL_TABLE(sys_chdir, sys_chdir, 4012, 1) | |
1669 | #endif | |
1670 | #ifndef OVERRIDE_TABLE_32_sys_time | |
1671 | TRACE_SYSCALL_TABLE(sys_time, sys_time, 4013, 1) | |
1672 | #endif | |
1673 | #ifndef OVERRIDE_TABLE_32_sys_mknod | |
1674 | TRACE_SYSCALL_TABLE(sys_mknod, sys_mknod, 4014, 3) | |
1675 | #endif | |
1676 | #ifndef OVERRIDE_TABLE_32_sys_chmod | |
1677 | TRACE_SYSCALL_TABLE(sys_chmod, sys_chmod, 4015, 2) | |
1678 | #endif | |
1679 | #ifndef OVERRIDE_TABLE_32_sys_lchown | |
1680 | TRACE_SYSCALL_TABLE(sys_lchown, sys_lchown, 4016, 3) | |
1681 | #endif | |
1682 | #ifndef OVERRIDE_TABLE_32_sys_mount | |
1683 | TRACE_SYSCALL_TABLE(sys_mount, sys_mount, 4021, 5) | |
1684 | #endif | |
1685 | #ifndef OVERRIDE_TABLE_32_sys_oldumount | |
1686 | TRACE_SYSCALL_TABLE(sys_oldumount, sys_oldumount, 4022, 1) | |
1687 | #endif | |
1688 | #ifndef OVERRIDE_TABLE_32_sys_stime | |
1689 | TRACE_SYSCALL_TABLE(sys_stime, sys_stime, 4025, 1) | |
1690 | #endif | |
1691 | #ifndef OVERRIDE_TABLE_32_sys_utime | |
1692 | TRACE_SYSCALL_TABLE(sys_utime, sys_utime, 4030, 2) | |
1693 | #endif | |
1694 | #ifndef OVERRIDE_TABLE_32_sys_access | |
1695 | TRACE_SYSCALL_TABLE(sys_access, sys_access, 4033, 2) | |
1696 | #endif | |
1697 | #ifndef OVERRIDE_TABLE_32_sys_rename | |
1698 | TRACE_SYSCALL_TABLE(sys_rename, sys_rename, 4038, 2) | |
1699 | #endif | |
1700 | #ifndef OVERRIDE_TABLE_32_sys_mkdir | |
1701 | TRACE_SYSCALL_TABLE(sys_mkdir, sys_mkdir, 4039, 2) | |
1702 | #endif | |
1703 | #ifndef OVERRIDE_TABLE_32_sys_rmdir | |
1704 | TRACE_SYSCALL_TABLE(sys_rmdir, sys_rmdir, 4040, 1) | |
1705 | #endif | |
1706 | #ifndef OVERRIDE_TABLE_32_sys_times | |
1707 | TRACE_SYSCALL_TABLE(sys_times, sys_times, 4043, 1) | |
1708 | #endif | |
1709 | #ifndef OVERRIDE_TABLE_32_sys_umount | |
1710 | TRACE_SYSCALL_TABLE(sys_umount, sys_umount, 4052, 2) | |
1711 | #endif | |
1712 | #ifndef OVERRIDE_TABLE_32_sys_olduname | |
1713 | TRACE_SYSCALL_TABLE(sys_olduname, sys_olduname, 4059, 1) | |
1714 | #endif | |
1715 | #ifndef OVERRIDE_TABLE_32_sys_chroot | |
1716 | TRACE_SYSCALL_TABLE(sys_chroot, sys_chroot, 4061, 1) | |
1717 | #endif | |
1718 | #ifndef OVERRIDE_TABLE_32_sys_ustat | |
1719 | TRACE_SYSCALL_TABLE(sys_ustat, sys_ustat, 4062, 2) | |
1720 | #endif | |
1721 | #ifndef OVERRIDE_TABLE_32_sys_sigaction | |
1722 | TRACE_SYSCALL_TABLE(sys_sigaction, sys_sigaction, 4067, 3) | |
1723 | #endif | |
1724 | #ifndef OVERRIDE_TABLE_32_sys_sigsuspend | |
1725 | TRACE_SYSCALL_TABLE(sys_sigsuspend, sys_sigsuspend, 4072, 1) | |
1726 | #endif | |
1727 | #ifndef OVERRIDE_TABLE_32_sys_sigpending | |
1728 | TRACE_SYSCALL_TABLE(sys_sigpending, sys_sigpending, 4073, 1) | |
1729 | #endif | |
1730 | #ifndef OVERRIDE_TABLE_32_sys_sethostname | |
1731 | TRACE_SYSCALL_TABLE(sys_sethostname, sys_sethostname, 4074, 2) | |
1732 | #endif | |
1733 | #ifndef OVERRIDE_TABLE_32_sys_setrlimit | |
1734 | TRACE_SYSCALL_TABLE(sys_setrlimit, sys_setrlimit, 4075, 2) | |
1735 | #endif | |
1736 | #ifndef OVERRIDE_TABLE_32_sys_getrlimit | |
1737 | TRACE_SYSCALL_TABLE(sys_getrlimit, sys_getrlimit, 4076, 2) | |
1738 | #endif | |
1739 | #ifndef OVERRIDE_TABLE_32_sys_getrusage | |
1740 | TRACE_SYSCALL_TABLE(sys_getrusage, sys_getrusage, 4077, 2) | |
1741 | #endif | |
1742 | #ifndef OVERRIDE_TABLE_32_sys_gettimeofday | |
1743 | TRACE_SYSCALL_TABLE(sys_gettimeofday, sys_gettimeofday, 4078, 2) | |
1744 | #endif | |
1745 | #ifndef OVERRIDE_TABLE_32_sys_settimeofday | |
1746 | TRACE_SYSCALL_TABLE(sys_settimeofday, sys_settimeofday, 4079, 2) | |
1747 | #endif | |
1748 | #ifndef OVERRIDE_TABLE_32_sys_getgroups | |
1749 | TRACE_SYSCALL_TABLE(sys_getgroups, sys_getgroups, 4080, 2) | |
1750 | #endif | |
1751 | #ifndef OVERRIDE_TABLE_32_sys_setgroups | |
1752 | TRACE_SYSCALL_TABLE(sys_setgroups, sys_setgroups, 4081, 2) | |
1753 | #endif | |
1754 | #ifndef OVERRIDE_TABLE_32_sys_symlink | |
1755 | TRACE_SYSCALL_TABLE(sys_symlink, sys_symlink, 4083, 2) | |
1756 | #endif | |
1757 | #ifndef OVERRIDE_TABLE_32_sys_readlink | |
1758 | TRACE_SYSCALL_TABLE(sys_readlink, sys_readlink, 4085, 3) | |
1759 | #endif | |
1760 | #ifndef OVERRIDE_TABLE_32_sys_uselib | |
1761 | TRACE_SYSCALL_TABLE(sys_uselib, sys_uselib, 4086, 1) | |
1762 | #endif | |
1763 | #ifndef OVERRIDE_TABLE_32_sys_reboot | |
1764 | TRACE_SYSCALL_TABLE(sys_reboot, sys_reboot, 4088, 4) | |
1765 | #endif | |
1766 | #ifndef OVERRIDE_TABLE_32_sys_old_readdir | |
1767 | TRACE_SYSCALL_TABLE(sys_old_readdir, sys_old_readdir, 4089, 3) | |
1768 | #endif | |
1769 | #ifndef OVERRIDE_TABLE_32_sys_truncate | |
1770 | TRACE_SYSCALL_TABLE(sys_truncate, sys_truncate, 4092, 2) | |
1771 | #endif | |
1772 | #ifndef OVERRIDE_TABLE_32_sys_statfs | |
1773 | TRACE_SYSCALL_TABLE(sys_statfs, sys_statfs, 4099, 2) | |
1774 | #endif | |
1775 | #ifndef OVERRIDE_TABLE_32_sys_fstatfs | |
1776 | TRACE_SYSCALL_TABLE(sys_fstatfs, sys_fstatfs, 4100, 2) | |
1777 | #endif | |
1778 | #ifndef OVERRIDE_TABLE_32_sys_socketcall | |
1779 | TRACE_SYSCALL_TABLE(sys_socketcall, sys_socketcall, 4102, 2) | |
1780 | #endif | |
1781 | #ifndef OVERRIDE_TABLE_32_sys_syslog | |
1782 | TRACE_SYSCALL_TABLE(sys_syslog, sys_syslog, 4103, 3) | |
1783 | #endif | |
1784 | #ifndef OVERRIDE_TABLE_32_sys_setitimer | |
1785 | TRACE_SYSCALL_TABLE(sys_setitimer, sys_setitimer, 4104, 3) | |
1786 | #endif | |
1787 | #ifndef OVERRIDE_TABLE_32_sys_getitimer | |
1788 | TRACE_SYSCALL_TABLE(sys_getitimer, sys_getitimer, 4105, 2) | |
1789 | #endif | |
1790 | #ifndef OVERRIDE_TABLE_32_sys_newstat | |
1791 | TRACE_SYSCALL_TABLE(sys_newstat, sys_newstat, 4106, 2) | |
1792 | #endif | |
1793 | #ifndef OVERRIDE_TABLE_32_sys_newlstat | |
1794 | TRACE_SYSCALL_TABLE(sys_newlstat, sys_newlstat, 4107, 2) | |
1795 | #endif | |
1796 | #ifndef OVERRIDE_TABLE_32_sys_newfstat | |
1797 | TRACE_SYSCALL_TABLE(sys_newfstat, sys_newfstat, 4108, 2) | |
1798 | #endif | |
1799 | #ifndef OVERRIDE_TABLE_32_sys_uname | |
1800 | TRACE_SYSCALL_TABLE(sys_uname, sys_uname, 4109, 1) | |
1801 | #endif | |
1802 | #ifndef OVERRIDE_TABLE_32_sys_wait4 | |
1803 | TRACE_SYSCALL_TABLE(sys_wait4, sys_wait4, 4114, 4) | |
1804 | #endif | |
1805 | #ifndef OVERRIDE_TABLE_32_sys_sysinfo | |
1806 | TRACE_SYSCALL_TABLE(sys_sysinfo, sys_sysinfo, 4116, 1) | |
1807 | #endif | |
1808 | #ifndef OVERRIDE_TABLE_32_sys_ipc | |
1809 | TRACE_SYSCALL_TABLE(sys_ipc, sys_ipc, 4117, 6) | |
1810 | #endif | |
1811 | #ifndef OVERRIDE_TABLE_32_sys_setdomainname | |
1812 | TRACE_SYSCALL_TABLE(sys_setdomainname, sys_setdomainname, 4121, 2) | |
1813 | #endif | |
1814 | #ifndef OVERRIDE_TABLE_32_sys_newuname | |
1815 | TRACE_SYSCALL_TABLE(sys_newuname, sys_newuname, 4122, 1) | |
1816 | #endif | |
1817 | #ifndef OVERRIDE_TABLE_32_sys_adjtimex | |
1818 | TRACE_SYSCALL_TABLE(sys_adjtimex, sys_adjtimex, 4124, 1) | |
1819 | #endif | |
1820 | #ifndef OVERRIDE_TABLE_32_sys_sigprocmask | |
1821 | TRACE_SYSCALL_TABLE(sys_sigprocmask, sys_sigprocmask, 4126, 3) | |
1822 | #endif | |
1823 | #ifndef OVERRIDE_TABLE_32_sys_init_module | |
1824 | TRACE_SYSCALL_TABLE(sys_init_module, sys_init_module, 4128, 3) | |
1825 | #endif | |
1826 | #ifndef OVERRIDE_TABLE_32_sys_delete_module | |
1827 | TRACE_SYSCALL_TABLE(sys_delete_module, sys_delete_module, 4129, 2) | |
1828 | #endif | |
1829 | #ifndef OVERRIDE_TABLE_32_sys_llseek | |
1830 | TRACE_SYSCALL_TABLE(sys_llseek, sys_llseek, 4140, 5) | |
1831 | #endif | |
1832 | #ifndef OVERRIDE_TABLE_32_sys_getdents | |
1833 | TRACE_SYSCALL_TABLE(sys_getdents, sys_getdents, 4141, 3) | |
1834 | #endif | |
1835 | #ifndef OVERRIDE_TABLE_32_sys_select | |
1836 | TRACE_SYSCALL_TABLE(sys_select, sys_select, 4142, 5) | |
1837 | #endif | |
1838 | #ifndef OVERRIDE_TABLE_32_sys_readv | |
1839 | TRACE_SYSCALL_TABLE(sys_readv, sys_readv, 4145, 3) | |
1840 | #endif | |
1841 | #ifndef OVERRIDE_TABLE_32_sys_writev | |
1842 | TRACE_SYSCALL_TABLE(sys_writev, sys_writev, 4146, 3) | |
1843 | #endif | |
1844 | #ifndef OVERRIDE_TABLE_32_sys_cachectl | |
1845 | TRACE_SYSCALL_TABLE(sys_cachectl, sys_cachectl, 4148, 3) | |
1846 | #endif | |
1847 | #ifndef OVERRIDE_TABLE_32_sys_sysctl | |
1848 | TRACE_SYSCALL_TABLE(sys_sysctl, sys_sysctl, 4153, 1) | |
1849 | #endif | |
1850 | #ifndef OVERRIDE_TABLE_32_sys_sched_setparam | |
1851 | TRACE_SYSCALL_TABLE(sys_sched_setparam, sys_sched_setparam, 4158, 2) | |
1852 | #endif | |
1853 | #ifndef OVERRIDE_TABLE_32_sys_sched_getparam | |
1854 | TRACE_SYSCALL_TABLE(sys_sched_getparam, sys_sched_getparam, 4159, 2) | |
1855 | #endif | |
1856 | #ifndef OVERRIDE_TABLE_32_sys_sched_setscheduler | |
1857 | TRACE_SYSCALL_TABLE(sys_sched_setscheduler, sys_sched_setscheduler, 4160, 3) | |
1858 | #endif | |
1859 | #ifndef OVERRIDE_TABLE_32_sys_sched_rr_get_interval | |
1860 | TRACE_SYSCALL_TABLE(sys_sched_rr_get_interval, sys_sched_rr_get_interval, 4165, 2) | |
1861 | #endif | |
1862 | #ifndef OVERRIDE_TABLE_32_sys_nanosleep | |
1863 | TRACE_SYSCALL_TABLE(sys_nanosleep, sys_nanosleep, 4166, 2) | |
1864 | #endif | |
1865 | #ifndef OVERRIDE_TABLE_32_sys_accept | |
1866 | TRACE_SYSCALL_TABLE(sys_accept, sys_accept, 4168, 3) | |
1867 | #endif | |
1868 | #ifndef OVERRIDE_TABLE_32_sys_bind | |
1869 | TRACE_SYSCALL_TABLE(sys_bind, sys_bind, 4169, 3) | |
1870 | #endif | |
1871 | #ifndef OVERRIDE_TABLE_32_sys_connect | |
1872 | TRACE_SYSCALL_TABLE(sys_connect, sys_connect, 4170, 3) | |
1873 | #endif | |
1874 | #ifndef OVERRIDE_TABLE_32_sys_getpeername | |
1875 | TRACE_SYSCALL_TABLE(sys_getpeername, sys_getpeername, 4171, 3) | |
1876 | #endif | |
1877 | #ifndef OVERRIDE_TABLE_32_sys_getsockname | |
1878 | TRACE_SYSCALL_TABLE(sys_getsockname, sys_getsockname, 4172, 3) | |
1879 | #endif | |
1880 | #ifndef OVERRIDE_TABLE_32_sys_getsockopt | |
1881 | TRACE_SYSCALL_TABLE(sys_getsockopt, sys_getsockopt, 4173, 5) | |
1882 | #endif | |
1883 | #ifndef OVERRIDE_TABLE_32_sys_recvfrom | |
1884 | TRACE_SYSCALL_TABLE(sys_recvfrom, sys_recvfrom, 4176, 6) | |
1885 | #endif | |
1886 | #ifndef OVERRIDE_TABLE_32_sys_recvmsg | |
1887 | TRACE_SYSCALL_TABLE(sys_recvmsg, sys_recvmsg, 4177, 3) | |
1888 | #endif | |
1889 | #ifndef OVERRIDE_TABLE_32_sys_send | |
1890 | TRACE_SYSCALL_TABLE(sys_send, sys_send, 4178, 4) | |
1891 | #endif | |
1892 | #ifndef OVERRIDE_TABLE_32_sys_sendmsg | |
1893 | TRACE_SYSCALL_TABLE(sys_sendmsg, sys_sendmsg, 4179, 3) | |
1894 | #endif | |
1895 | #ifndef OVERRIDE_TABLE_32_sys_sendto | |
1896 | TRACE_SYSCALL_TABLE(sys_sendto, sys_sendto, 4180, 6) | |
1897 | #endif | |
1898 | #ifndef OVERRIDE_TABLE_32_sys_setsockopt | |
1899 | TRACE_SYSCALL_TABLE(sys_setsockopt, sys_setsockopt, 4181, 5) | |
1900 | #endif | |
1901 | #ifndef OVERRIDE_TABLE_32_sys_socketpair | |
1902 | TRACE_SYSCALL_TABLE(sys_socketpair, sys_socketpair, 4184, 4) | |
1903 | #endif | |
1904 | #ifndef OVERRIDE_TABLE_32_sys_getresuid | |
1905 | TRACE_SYSCALL_TABLE(sys_getresuid, sys_getresuid, 4186, 3) | |
1906 | #endif | |
1907 | #ifndef OVERRIDE_TABLE_32_sys_poll | |
1908 | TRACE_SYSCALL_TABLE(sys_poll, sys_poll, 4188, 3) | |
1909 | #endif | |
1910 | #ifndef OVERRIDE_TABLE_32_sys_getresgid | |
1911 | TRACE_SYSCALL_TABLE(sys_getresgid, sys_getresgid, 4191, 3) | |
1912 | #endif | |
1913 | #ifndef OVERRIDE_TABLE_32_sys_rt_sigaction | |
1914 | TRACE_SYSCALL_TABLE(sys_rt_sigaction, sys_rt_sigaction, 4194, 4) | |
1915 | #endif | |
1916 | #ifndef OVERRIDE_TABLE_32_sys_rt_sigprocmask | |
1917 | TRACE_SYSCALL_TABLE(sys_rt_sigprocmask, sys_rt_sigprocmask, 4195, 4) | |
1918 | #endif | |
1919 | #ifndef OVERRIDE_TABLE_32_sys_rt_sigpending | |
1920 | TRACE_SYSCALL_TABLE(sys_rt_sigpending, sys_rt_sigpending, 4196, 2) | |
1921 | #endif | |
1922 | #ifndef OVERRIDE_TABLE_32_sys_rt_sigtimedwait | |
1923 | TRACE_SYSCALL_TABLE(sys_rt_sigtimedwait, sys_rt_sigtimedwait, 4197, 4) | |
1924 | #endif | |
1925 | #ifndef OVERRIDE_TABLE_32_sys_rt_sigqueueinfo | |
1926 | TRACE_SYSCALL_TABLE(sys_rt_sigqueueinfo, sys_rt_sigqueueinfo, 4198, 3) | |
1927 | #endif | |
1928 | #ifndef OVERRIDE_TABLE_32_sys_rt_sigsuspend | |
1929 | TRACE_SYSCALL_TABLE(sys_rt_sigsuspend, sys_rt_sigsuspend, 4199, 2) | |
1930 | #endif | |
1931 | #ifndef OVERRIDE_TABLE_32_sys_pread64 | |
1932 | TRACE_SYSCALL_TABLE(sys_pread64, sys_pread64, 4200, 4) | |
1933 | #endif | |
1934 | #ifndef OVERRIDE_TABLE_32_sys_pwrite64 | |
1935 | TRACE_SYSCALL_TABLE(sys_pwrite64, sys_pwrite64, 4201, 4) | |
1936 | #endif | |
1937 | #ifndef OVERRIDE_TABLE_32_sys_chown | |
1938 | TRACE_SYSCALL_TABLE(sys_chown, sys_chown, 4202, 3) | |
1939 | #endif | |
1940 | #ifndef OVERRIDE_TABLE_32_sys_getcwd | |
1941 | TRACE_SYSCALL_TABLE(sys_getcwd, sys_getcwd, 4203, 2) | |
1942 | #endif | |
1943 | #ifndef OVERRIDE_TABLE_32_sys_sigaltstack | |
1944 | TRACE_SYSCALL_TABLE(sys_sigaltstack, sys_sigaltstack, 4206, 2) | |
1945 | #endif | |
1946 | #ifndef OVERRIDE_TABLE_32_sys_sendfile | |
1947 | TRACE_SYSCALL_TABLE(sys_sendfile, sys_sendfile, 4207, 4) | |
1948 | #endif | |
1949 | #ifndef OVERRIDE_TABLE_32_sys_truncate64 | |
1950 | TRACE_SYSCALL_TABLE(sys_truncate64, sys_truncate64, 4211, 2) | |
1951 | #endif | |
1952 | #ifndef OVERRIDE_TABLE_32_sys_stat64 | |
1953 | TRACE_SYSCALL_TABLE(sys_stat64, sys_stat64, 4213, 2) | |
1954 | #endif | |
1955 | #ifndef OVERRIDE_TABLE_32_sys_lstat64 | |
1956 | TRACE_SYSCALL_TABLE(sys_lstat64, sys_lstat64, 4214, 2) | |
1957 | #endif | |
1958 | #ifndef OVERRIDE_TABLE_32_sys_fstat64 | |
1959 | TRACE_SYSCALL_TABLE(sys_fstat64, sys_fstat64, 4215, 2) | |
1960 | #endif | |
1961 | #ifndef OVERRIDE_TABLE_32_sys_pivot_root | |
1962 | TRACE_SYSCALL_TABLE(sys_pivot_root, sys_pivot_root, 4216, 2) | |
1963 | #endif | |
1964 | #ifndef OVERRIDE_TABLE_32_sys_mincore | |
1965 | TRACE_SYSCALL_TABLE(sys_mincore, sys_mincore, 4217, 3) | |
1966 | #endif | |
1967 | #ifndef OVERRIDE_TABLE_32_sys_getdents64 | |
1968 | TRACE_SYSCALL_TABLE(sys_getdents64, sys_getdents64, 4219, 3) | |
1969 | #endif | |
1970 | #ifndef OVERRIDE_TABLE_32_sys_setxattr | |
1971 | TRACE_SYSCALL_TABLE(sys_setxattr, sys_setxattr, 4224, 5) | |
1972 | #endif | |
1973 | #ifndef OVERRIDE_TABLE_32_sys_lsetxattr | |
1974 | TRACE_SYSCALL_TABLE(sys_lsetxattr, sys_lsetxattr, 4225, 5) | |
1975 | #endif | |
1976 | #ifndef OVERRIDE_TABLE_32_sys_fsetxattr | |
1977 | TRACE_SYSCALL_TABLE(sys_fsetxattr, sys_fsetxattr, 4226, 5) | |
1978 | #endif | |
1979 | #ifndef OVERRIDE_TABLE_32_sys_getxattr | |
1980 | TRACE_SYSCALL_TABLE(sys_getxattr, sys_getxattr, 4227, 4) | |
1981 | #endif | |
1982 | #ifndef OVERRIDE_TABLE_32_sys_lgetxattr | |
1983 | TRACE_SYSCALL_TABLE(sys_lgetxattr, sys_lgetxattr, 4228, 4) | |
1984 | #endif | |
1985 | #ifndef OVERRIDE_TABLE_32_sys_fgetxattr | |
1986 | TRACE_SYSCALL_TABLE(sys_fgetxattr, sys_fgetxattr, 4229, 4) | |
1987 | #endif | |
1988 | #ifndef OVERRIDE_TABLE_32_sys_listxattr | |
1989 | TRACE_SYSCALL_TABLE(sys_listxattr, sys_listxattr, 4230, 3) | |
1990 | #endif | |
1991 | #ifndef OVERRIDE_TABLE_32_sys_llistxattr | |
1992 | TRACE_SYSCALL_TABLE(sys_llistxattr, sys_llistxattr, 4231, 3) | |
1993 | #endif | |
1994 | #ifndef OVERRIDE_TABLE_32_sys_flistxattr | |
1995 | TRACE_SYSCALL_TABLE(sys_flistxattr, sys_flistxattr, 4232, 3) | |
1996 | #endif | |
1997 | #ifndef OVERRIDE_TABLE_32_sys_removexattr | |
1998 | TRACE_SYSCALL_TABLE(sys_removexattr, sys_removexattr, 4233, 2) | |
1999 | #endif | |
2000 | #ifndef OVERRIDE_TABLE_32_sys_lremovexattr | |
2001 | TRACE_SYSCALL_TABLE(sys_lremovexattr, sys_lremovexattr, 4234, 2) | |
2002 | #endif | |
2003 | #ifndef OVERRIDE_TABLE_32_sys_fremovexattr | |
2004 | TRACE_SYSCALL_TABLE(sys_fremovexattr, sys_fremovexattr, 4235, 2) | |
2005 | #endif | |
2006 | #ifndef OVERRIDE_TABLE_32_sys_sendfile64 | |
2007 | TRACE_SYSCALL_TABLE(sys_sendfile64, sys_sendfile64, 4237, 4) | |
2008 | #endif | |
2009 | #ifndef OVERRIDE_TABLE_32_sys_futex | |
2010 | TRACE_SYSCALL_TABLE(sys_futex, sys_futex, 4238, 6) | |
2011 | #endif | |
2012 | #ifndef OVERRIDE_TABLE_32_sys_io_setup | |
2013 | TRACE_SYSCALL_TABLE(sys_io_setup, sys_io_setup, 4241, 2) | |
2014 | #endif | |
2015 | #ifndef OVERRIDE_TABLE_32_sys_io_getevents | |
2016 | TRACE_SYSCALL_TABLE(sys_io_getevents, sys_io_getevents, 4243, 5) | |
2017 | #endif | |
2018 | #ifndef OVERRIDE_TABLE_32_sys_io_submit | |
2019 | TRACE_SYSCALL_TABLE(sys_io_submit, sys_io_submit, 4244, 3) | |
2020 | #endif | |
2021 | #ifndef OVERRIDE_TABLE_32_sys_io_cancel | |
2022 | TRACE_SYSCALL_TABLE(sys_io_cancel, sys_io_cancel, 4245, 3) | |
2023 | #endif | |
2024 | #ifndef OVERRIDE_TABLE_32_sys_epoll_ctl | |
2025 | TRACE_SYSCALL_TABLE(sys_epoll_ctl, sys_epoll_ctl, 4249, 4) | |
2026 | #endif | |
2027 | #ifndef OVERRIDE_TABLE_32_sys_epoll_wait | |
2028 | TRACE_SYSCALL_TABLE(sys_epoll_wait, sys_epoll_wait, 4250, 4) | |
2029 | #endif | |
2030 | #ifndef OVERRIDE_TABLE_32_sys_set_tid_address | |
2031 | TRACE_SYSCALL_TABLE(sys_set_tid_address, sys_set_tid_address, 4252, 1) | |
2032 | #endif | |
2033 | #ifndef OVERRIDE_TABLE_32_sys_statfs64 | |
2034 | TRACE_SYSCALL_TABLE(sys_statfs64, sys_statfs64, 4255, 3) | |
2035 | #endif | |
2036 | #ifndef OVERRIDE_TABLE_32_sys_fstatfs64 | |
2037 | TRACE_SYSCALL_TABLE(sys_fstatfs64, sys_fstatfs64, 4256, 3) | |
2038 | #endif | |
2039 | #ifndef OVERRIDE_TABLE_32_sys_timer_create | |
2040 | TRACE_SYSCALL_TABLE(sys_timer_create, sys_timer_create, 4257, 3) | |
2041 | #endif | |
2042 | #ifndef OVERRIDE_TABLE_32_sys_timer_settime | |
2043 | TRACE_SYSCALL_TABLE(sys_timer_settime, sys_timer_settime, 4258, 4) | |
2044 | #endif | |
2045 | #ifndef OVERRIDE_TABLE_32_sys_timer_gettime | |
2046 | TRACE_SYSCALL_TABLE(sys_timer_gettime, sys_timer_gettime, 4259, 2) | |
2047 | #endif | |
2048 | #ifndef OVERRIDE_TABLE_32_sys_clock_settime | |
2049 | TRACE_SYSCALL_TABLE(sys_clock_settime, sys_clock_settime, 4262, 2) | |
2050 | #endif | |
2051 | #ifndef OVERRIDE_TABLE_32_sys_clock_gettime | |
2052 | TRACE_SYSCALL_TABLE(sys_clock_gettime, sys_clock_gettime, 4263, 2) | |
2053 | #endif | |
2054 | #ifndef OVERRIDE_TABLE_32_sys_clock_getres | |
2055 | TRACE_SYSCALL_TABLE(sys_clock_getres, sys_clock_getres, 4264, 2) | |
2056 | #endif | |
2057 | #ifndef OVERRIDE_TABLE_32_sys_clock_nanosleep | |
2058 | TRACE_SYSCALL_TABLE(sys_clock_nanosleep, sys_clock_nanosleep, 4265, 4) | |
2059 | #endif | |
2060 | #ifndef OVERRIDE_TABLE_32_sys_utimes | |
2061 | TRACE_SYSCALL_TABLE(sys_utimes, sys_utimes, 4267, 2) | |
2062 | #endif | |
2063 | #ifndef OVERRIDE_TABLE_32_sys_waitid | |
2064 | TRACE_SYSCALL_TABLE(sys_waitid, sys_waitid, 4278, 5) | |
2065 | #endif | |
2066 | #ifndef OVERRIDE_TABLE_32_sys_inotify_add_watch | |
2067 | TRACE_SYSCALL_TABLE(sys_inotify_add_watch, sys_inotify_add_watch, 4285, 3) | |
2068 | #endif | |
2069 | #ifndef OVERRIDE_TABLE_32_sys_openat | |
2070 | TRACE_SYSCALL_TABLE(sys_openat, sys_openat, 4288, 4) | |
2071 | #endif | |
2072 | #ifndef OVERRIDE_TABLE_32_sys_mkdirat | |
2073 | TRACE_SYSCALL_TABLE(sys_mkdirat, sys_mkdirat, 4289, 3) | |
2074 | #endif | |
2075 | #ifndef OVERRIDE_TABLE_32_sys_mknodat | |
2076 | TRACE_SYSCALL_TABLE(sys_mknodat, sys_mknodat, 4290, 4) | |
2077 | #endif | |
2078 | #ifndef OVERRIDE_TABLE_32_sys_fchownat | |
2079 | TRACE_SYSCALL_TABLE(sys_fchownat, sys_fchownat, 4291, 5) | |
2080 | #endif | |
2081 | #ifndef OVERRIDE_TABLE_32_sys_futimesat | |
2082 | TRACE_SYSCALL_TABLE(sys_futimesat, sys_futimesat, 4292, 3) | |
2083 | #endif | |
2084 | #ifndef OVERRIDE_TABLE_32_sys_fstatat64 | |
2085 | TRACE_SYSCALL_TABLE(sys_fstatat64, sys_fstatat64, 4293, 4) | |
2086 | #endif | |
2087 | #ifndef OVERRIDE_TABLE_32_sys_unlinkat | |
2088 | TRACE_SYSCALL_TABLE(sys_unlinkat, sys_unlinkat, 4294, 3) | |
2089 | #endif | |
2090 | #ifndef OVERRIDE_TABLE_32_sys_renameat | |
2091 | TRACE_SYSCALL_TABLE(sys_renameat, sys_renameat, 4295, 4) | |
2092 | #endif | |
2093 | #ifndef OVERRIDE_TABLE_32_sys_linkat | |
2094 | TRACE_SYSCALL_TABLE(sys_linkat, sys_linkat, 4296, 5) | |
2095 | #endif | |
2096 | #ifndef OVERRIDE_TABLE_32_sys_symlinkat | |
2097 | TRACE_SYSCALL_TABLE(sys_symlinkat, sys_symlinkat, 4297, 3) | |
2098 | #endif | |
2099 | #ifndef OVERRIDE_TABLE_32_sys_readlinkat | |
2100 | TRACE_SYSCALL_TABLE(sys_readlinkat, sys_readlinkat, 4298, 4) | |
2101 | #endif | |
2102 | #ifndef OVERRIDE_TABLE_32_sys_fchmodat | |
2103 | TRACE_SYSCALL_TABLE(sys_fchmodat, sys_fchmodat, 4299, 3) | |
2104 | #endif | |
2105 | #ifndef OVERRIDE_TABLE_32_sys_faccessat | |
2106 | TRACE_SYSCALL_TABLE(sys_faccessat, sys_faccessat, 4300, 3) | |
2107 | #endif | |
2108 | #ifndef OVERRIDE_TABLE_32_sys_pselect6 | |
2109 | TRACE_SYSCALL_TABLE(sys_pselect6, sys_pselect6, 4301, 6) | |
2110 | #endif | |
2111 | #ifndef OVERRIDE_TABLE_32_sys_ppoll | |
2112 | TRACE_SYSCALL_TABLE(sys_ppoll, sys_ppoll, 4302, 5) | |
2113 | #endif | |
2114 | #ifndef OVERRIDE_TABLE_32_sys_splice | |
2115 | TRACE_SYSCALL_TABLE(sys_splice, sys_splice, 4304, 6) | |
2116 | #endif | |
2117 | #ifndef OVERRIDE_TABLE_32_sys_vmsplice | |
2118 | TRACE_SYSCALL_TABLE(sys_vmsplice, sys_vmsplice, 4307, 4) | |
2119 | #endif | |
2120 | #ifndef OVERRIDE_TABLE_32_sys_set_robust_list | |
2121 | TRACE_SYSCALL_TABLE(sys_set_robust_list, sys_set_robust_list, 4309, 2) | |
2122 | #endif | |
2123 | #ifndef OVERRIDE_TABLE_32_sys_get_robust_list | |
2124 | TRACE_SYSCALL_TABLE(sys_get_robust_list, sys_get_robust_list, 4310, 3) | |
2125 | #endif | |
2126 | #ifndef OVERRIDE_TABLE_32_sys_getcpu | |
2127 | TRACE_SYSCALL_TABLE(sys_getcpu, sys_getcpu, 4312, 3) | |
2128 | #endif | |
2129 | #ifndef OVERRIDE_TABLE_32_sys_epoll_pwait | |
2130 | TRACE_SYSCALL_TABLE(sys_epoll_pwait, sys_epoll_pwait, 4313, 6) | |
2131 | #endif | |
2132 | #ifndef OVERRIDE_TABLE_32_sys_utimensat | |
2133 | TRACE_SYSCALL_TABLE(sys_utimensat, sys_utimensat, 4316, 4) | |
2134 | #endif | |
2135 | #ifndef OVERRIDE_TABLE_32_sys_signalfd | |
2136 | TRACE_SYSCALL_TABLE(sys_signalfd, sys_signalfd, 4317, 3) | |
2137 | #endif | |
2138 | #ifndef OVERRIDE_TABLE_32_sys_timerfd_gettime | |
2139 | TRACE_SYSCALL_TABLE(sys_timerfd_gettime, sys_timerfd_gettime, 4322, 2) | |
2140 | #endif | |
2141 | #ifndef OVERRIDE_TABLE_32_sys_timerfd_settime | |
2142 | TRACE_SYSCALL_TABLE(sys_timerfd_settime, sys_timerfd_settime, 4323, 4) | |
2143 | #endif | |
2144 | #ifndef OVERRIDE_TABLE_32_sys_signalfd4 | |
2145 | TRACE_SYSCALL_TABLE(sys_signalfd4, sys_signalfd4, 4324, 4) | |
2146 | #endif | |
2147 | #ifndef OVERRIDE_TABLE_32_sys_pipe2 | |
2148 | TRACE_SYSCALL_TABLE(sys_pipe2, sys_pipe2, 4328, 2) | |
2149 | #endif | |
2150 | #ifndef OVERRIDE_TABLE_32_sys_preadv | |
2151 | TRACE_SYSCALL_TABLE(sys_preadv, sys_preadv, 4330, 5) | |
2152 | #endif | |
2153 | #ifndef OVERRIDE_TABLE_32_sys_pwritev | |
2154 | TRACE_SYSCALL_TABLE(sys_pwritev, sys_pwritev, 4331, 5) | |
2155 | #endif | |
2156 | #ifndef OVERRIDE_TABLE_32_sys_rt_tgsigqueueinfo | |
2157 | TRACE_SYSCALL_TABLE(sys_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo, 4332, 4) | |
2158 | #endif | |
2159 | #ifndef OVERRIDE_TABLE_32_sys_perf_event_open | |
2160 | TRACE_SYSCALL_TABLE(sys_perf_event_open, sys_perf_event_open, 4333, 5) | |
2161 | #endif | |
2162 | #ifndef OVERRIDE_TABLE_32_sys_accept4 | |
2163 | TRACE_SYSCALL_TABLE(sys_accept4, sys_accept4, 4334, 4) | |
2164 | #endif | |
2165 | #ifndef OVERRIDE_TABLE_32_sys_recvmmsg | |
2166 | TRACE_SYSCALL_TABLE(sys_recvmmsg, sys_recvmmsg, 4335, 5) | |
2167 | #endif | |
2168 | #ifndef OVERRIDE_TABLE_32_sys_prlimit64 | |
2169 | TRACE_SYSCALL_TABLE(sys_prlimit64, sys_prlimit64, 4338, 4) | |
2170 | #endif | |
2171 | #ifndef OVERRIDE_TABLE_32_sys_name_to_handle_at | |
2172 | TRACE_SYSCALL_TABLE(sys_name_to_handle_at, sys_name_to_handle_at, 4339, 5) | |
2173 | #endif | |
2174 | #ifndef OVERRIDE_TABLE_32_sys_open_by_handle_at | |
2175 | TRACE_SYSCALL_TABLE(sys_open_by_handle_at, sys_open_by_handle_at, 4340, 3) | |
2176 | #endif | |
2177 | #ifndef OVERRIDE_TABLE_32_sys_clock_adjtime | |
2178 | TRACE_SYSCALL_TABLE(sys_clock_adjtime, sys_clock_adjtime, 4341, 2) | |
2179 | #endif | |
2180 | #ifndef OVERRIDE_TABLE_32_sys_sendmmsg | |
2181 | TRACE_SYSCALL_TABLE(sys_sendmmsg, sys_sendmmsg, 4343, 4) | |
2182 | #endif | |
2183 | ||
2184 | #endif /* CREATE_SYSCALL_TABLE */ |