24cd6dfb628b4d24e7c0c86229566f6b30eb99a3
[lttng-modules.git] / instrumentation / syscalls / headers / x86-64-syscalls-3.10.0-rc7_pointers.h
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
7 #include "../../../probes/lttng-tracepoint-event.h"
8 #include <linux/syscalls.h>
9 #include "x86-64-syscalls-3.10.0-rc7_pointers_override.h"
10 #include "syscalls_pointers_override.h"
11
12 #ifndef OVERRIDE_64_pipe
13 SC_LTTNG_TRACEPOINT_EVENT(pipe,
14 TP_PROTO(sc_exit(long ret,) int * fildes),
15 TP_ARGS(sc_exit(ret,) fildes),
16 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(int *, fildes))),
17 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(fildes, fildes))),
18 TP_printk()
19 )
20 #endif
21 #ifndef OVERRIDE_64_newuname
22 SC_LTTNG_TRACEPOINT_EVENT(newuname,
23 TP_PROTO(sc_exit(long ret,) struct new_utsname * name),
24 TP_ARGS(sc_exit(ret,) name),
25 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct new_utsname *, name))),
26 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(name, name))),
27 TP_printk()
28 )
29 #endif
30 #ifndef OVERRIDE_64_shmdt
31 SC_LTTNG_TRACEPOINT_EVENT(shmdt,
32 TP_PROTO(sc_exit(long ret,) char * shmaddr),
33 TP_ARGS(sc_exit(ret,) shmaddr),
34 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(char *, shmaddr))),
35 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(shmaddr, shmaddr))),
36 TP_printk()
37 )
38 #endif
39 #ifndef OVERRIDE_64_chdir
40 SC_LTTNG_TRACEPOINT_EVENT(chdir,
41 TP_PROTO(sc_exit(long ret,) const char * filename),
42 TP_ARGS(sc_exit(ret,) filename),
43 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename))),
44 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename))),
45 TP_printk()
46 )
47 #endif
48 #ifndef OVERRIDE_64_rmdir
49 SC_LTTNG_TRACEPOINT_EVENT(rmdir,
50 TP_PROTO(sc_exit(long ret,) const char * pathname),
51 TP_ARGS(sc_exit(ret,) pathname),
52 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname))),
53 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname))),
54 TP_printk()
55 )
56 #endif
57 #ifndef OVERRIDE_64_unlink
58 SC_LTTNG_TRACEPOINT_EVENT(unlink,
59 TP_PROTO(sc_exit(long ret,) const char * pathname),
60 TP_ARGS(sc_exit(ret,) pathname),
61 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname))),
62 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname))),
63 TP_printk()
64 )
65 #endif
66 #ifndef OVERRIDE_64_sysinfo
67 SC_LTTNG_TRACEPOINT_EVENT(sysinfo,
68 TP_PROTO(sc_exit(long ret,) struct sysinfo * info),
69 TP_ARGS(sc_exit(ret,) info),
70 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct sysinfo *, info))),
71 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(info, info))),
72 TP_printk()
73 )
74 #endif
75 #ifndef OVERRIDE_64_times
76 SC_LTTNG_TRACEPOINT_EVENT(times,
77 TP_PROTO(sc_exit(long ret,) struct tms * tbuf),
78 TP_ARGS(sc_exit(ret,) tbuf),
79 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct tms *, tbuf))),
80 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(tbuf, tbuf))),
81 TP_printk()
82 )
83 #endif
84 #ifndef OVERRIDE_64_sysctl
85 SC_LTTNG_TRACEPOINT_EVENT(sysctl,
86 TP_PROTO(sc_exit(long ret,) struct __sysctl_args * args),
87 TP_ARGS(sc_exit(ret,) args),
88 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct __sysctl_args *, args))),
89 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(args, args))),
90 TP_printk()
91 )
92 #endif
93 #ifndef OVERRIDE_64_adjtimex
94 SC_LTTNG_TRACEPOINT_EVENT(adjtimex,
95 TP_PROTO(sc_exit(long ret,) struct timex * txc_p),
96 TP_ARGS(sc_exit(ret,) txc_p),
97 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct timex *, txc_p))),
98 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(txc_p, txc_p))),
99 TP_printk()
100 )
101 #endif
102 #ifndef OVERRIDE_64_chroot
103 SC_LTTNG_TRACEPOINT_EVENT(chroot,
104 TP_PROTO(sc_exit(long ret,) const char * filename),
105 TP_ARGS(sc_exit(ret,) filename),
106 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename))),
107 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename))),
108 TP_printk()
109 )
110 #endif
111 #ifndef OVERRIDE_64_acct
112 SC_LTTNG_TRACEPOINT_EVENT(acct,
113 TP_PROTO(sc_exit(long ret,) const char * name),
114 TP_ARGS(sc_exit(ret,) name),
115 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name, name))),
116 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(name, name))),
117 TP_printk()
118 )
119 #endif
120 #ifndef OVERRIDE_64_swapoff
121 SC_LTTNG_TRACEPOINT_EVENT(swapoff,
122 TP_PROTO(sc_exit(long ret,) const char * specialfile),
123 TP_ARGS(sc_exit(ret,) specialfile),
124 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(specialfile, specialfile))),
125 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(specialfile, specialfile))),
126 TP_printk()
127 )
128 #endif
129 #ifndef OVERRIDE_64_time
130 SC_LTTNG_TRACEPOINT_EVENT(time,
131 TP_PROTO(sc_exit(long ret,) time_t * tloc),
132 TP_ARGS(sc_exit(ret,) tloc),
133 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(time_t *, tloc))),
134 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(tloc, tloc))),
135 TP_printk()
136 )
137 #endif
138 #ifndef OVERRIDE_64_set_tid_address
139 SC_LTTNG_TRACEPOINT_EVENT(set_tid_address,
140 TP_PROTO(sc_exit(long ret,) int * tidptr),
141 TP_ARGS(sc_exit(ret,) tidptr),
142 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(int *, tidptr))),
143 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(tidptr, tidptr))),
144 TP_printk()
145 )
146 #endif
147 #ifndef OVERRIDE_64_mq_unlink
148 SC_LTTNG_TRACEPOINT_EVENT(mq_unlink,
149 TP_PROTO(sc_exit(long ret,) const char * u_name),
150 TP_ARGS(sc_exit(ret,) u_name),
151 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(u_name, u_name))),
152 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(u_name, u_name))),
153 TP_printk()
154 )
155 #endif
156 #ifndef OVERRIDE_64_newstat
157 SC_LTTNG_TRACEPOINT_EVENT(newstat,
158 TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf),
159 TP_ARGS(sc_exit(ret,) filename, statbuf),
160 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_out(__field_hex(struct stat *, statbuf))),
161 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_out(tp_assign(statbuf, statbuf))),
162 TP_printk()
163 )
164 #endif
165 #ifndef OVERRIDE_64_newfstat
166 SC_LTTNG_TRACEPOINT_EVENT(newfstat,
167 TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf),
168 TP_ARGS(sc_exit(ret,) fd, statbuf),
169 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct stat *, statbuf))),
170 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(statbuf, statbuf))),
171 TP_printk()
172 )
173 #endif
174 #ifndef OVERRIDE_64_newlstat
175 SC_LTTNG_TRACEPOINT_EVENT(newlstat,
176 TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf),
177 TP_ARGS(sc_exit(ret,) filename, statbuf),
178 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_out(__field_hex(struct stat *, statbuf))),
179 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_out(tp_assign(statbuf, statbuf))),
180 TP_printk()
181 )
182 #endif
183 #ifndef OVERRIDE_64_access
184 SC_LTTNG_TRACEPOINT_EVENT(access,
185 TP_PROTO(sc_exit(long ret,) const char * filename, int mode),
186 TP_ARGS(sc_exit(ret,) filename, mode),
187 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, mode))),
188 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode))),
189 TP_printk()
190 )
191 #endif
192 #ifndef OVERRIDE_64_nanosleep
193 SC_LTTNG_TRACEPOINT_EVENT(nanosleep,
194 TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp),
195 TP_ARGS(sc_exit(ret,) rqtp, rmtp),
196 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct timespec *, rqtp)) sc_out(__field_hex(struct timespec *, rmtp))),
197 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(rqtp, rqtp)) sc_out(tp_assign(rmtp, rmtp))),
198 TP_printk()
199 )
200 #endif
201 #ifndef OVERRIDE_64_getitimer
202 SC_LTTNG_TRACEPOINT_EVENT(getitimer,
203 TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value),
204 TP_ARGS(sc_exit(ret,) which, value),
205 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_out(__field_hex(struct itimerval *, value))),
206 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_out(tp_assign(value, value))),
207 TP_printk()
208 )
209 #endif
210 #ifndef OVERRIDE_64_truncate
211 SC_LTTNG_TRACEPOINT_EVENT(truncate,
212 TP_PROTO(sc_exit(long ret,) const char * path, long length),
213 TP_ARGS(sc_exit(ret,) path, length),
214 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(path, path)) sc_in(__field(long, length))),
215 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(path, path)) sc_in(tp_assign(length, length))),
216 TP_printk()
217 )
218 #endif
219 #ifndef OVERRIDE_64_getcwd
220 SC_LTTNG_TRACEPOINT_EVENT(getcwd,
221 TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size),
222 TP_ARGS(sc_exit(ret,) buf, size),
223 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(char *, buf)) sc_in(__field(unsigned long, size))),
224 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(size, size))),
225 TP_printk()
226 )
227 #endif
228 #ifndef OVERRIDE_64_rename
229 SC_LTTNG_TRACEPOINT_EVENT(rename,
230 TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname),
231 TP_ARGS(sc_exit(ret,) oldname, newname),
232 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__string_from_user(newname, newname))),
233 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_copy_string_from_user(newname, newname))),
234 TP_printk()
235 )
236 #endif
237 #ifndef OVERRIDE_64_mkdir
238 SC_LTTNG_TRACEPOINT_EVENT(mkdir,
239 TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode),
240 TP_ARGS(sc_exit(ret,) pathname, mode),
241 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(umode_t, mode))),
242 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_assign(mode, mode))),
243 TP_printk()
244 )
245 #endif
246 #ifndef OVERRIDE_64_creat
247 SC_LTTNG_TRACEPOINT_EVENT(creat,
248 TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode),
249 TP_ARGS(sc_exit(ret,) pathname, mode),
250 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(umode_t, mode))),
251 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_assign(mode, mode))),
252 TP_printk()
253 )
254 #endif
255 #ifndef OVERRIDE_64_link
256 SC_LTTNG_TRACEPOINT_EVENT(link,
257 TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname),
258 TP_ARGS(sc_exit(ret,) oldname, newname),
259 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__string_from_user(newname, newname))),
260 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_copy_string_from_user(newname, newname))),
261 TP_printk()
262 )
263 #endif
264 #ifndef OVERRIDE_64_symlink
265 SC_LTTNG_TRACEPOINT_EVENT(symlink,
266 TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname),
267 TP_ARGS(sc_exit(ret,) oldname, newname),
268 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__string_from_user(newname, newname))),
269 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_copy_string_from_user(newname, newname))),
270 TP_printk()
271 )
272 #endif
273 #ifndef OVERRIDE_64_chmod
274 SC_LTTNG_TRACEPOINT_EVENT(chmod,
275 TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode),
276 TP_ARGS(sc_exit(ret,) filename, mode),
277 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(umode_t, mode))),
278 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode))),
279 TP_printk()
280 )
281 #endif
282 #ifndef OVERRIDE_64_gettimeofday
283 SC_LTTNG_TRACEPOINT_EVENT(gettimeofday,
284 TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz),
285 TP_ARGS(sc_exit(ret,) tv, tz),
286 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct timeval *, tv)) sc_out(__field_hex(struct timezone *, tz))),
287 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(tv, tv)) sc_out(tp_assign(tz, tz))),
288 TP_printk()
289 )
290 #endif
291 #ifndef OVERRIDE_64_getrlimit
292 SC_LTTNG_TRACEPOINT_EVENT(getrlimit,
293 TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim),
294 TP_ARGS(sc_exit(ret,) resource, rlim),
295 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, resource)) sc_out(__field_hex(struct rlimit *, rlim))),
296 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(resource, resource)) sc_out(tp_assign(rlim, rlim))),
297 TP_printk()
298 )
299 #endif
300 #ifndef OVERRIDE_64_getrusage
301 SC_LTTNG_TRACEPOINT_EVENT(getrusage,
302 TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru),
303 TP_ARGS(sc_exit(ret,) who, ru),
304 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, who)) sc_out(__field_hex(struct rusage *, ru))),
305 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(who, who)) sc_out(tp_assign(ru, ru))),
306 TP_printk()
307 )
308 #endif
309 #ifndef OVERRIDE_64_getgroups
310 SC_LTTNG_TRACEPOINT_EVENT(getgroups,
311 TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist),
312 TP_ARGS(sc_exit(ret,) gidsetsize, grouplist),
313 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, gidsetsize)) sc_out(__field_hex(gid_t *, grouplist))),
314 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(gidsetsize, gidsetsize)) sc_out(tp_assign(grouplist, grouplist))),
315 TP_printk()
316 )
317 #endif
318 #ifndef OVERRIDE_64_setgroups
319 SC_LTTNG_TRACEPOINT_EVENT(setgroups,
320 TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist),
321 TP_ARGS(sc_exit(ret,) gidsetsize, grouplist),
322 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, gidsetsize)) sc_in(__field_hex(gid_t *, grouplist))),
323 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(gidsetsize, gidsetsize)) sc_in(tp_assign(grouplist, grouplist))),
324 TP_printk()
325 )
326 #endif
327 #ifndef OVERRIDE_64_rt_sigpending
328 SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending,
329 TP_PROTO(sc_exit(long ret,) sigset_t * uset, size_t sigsetsize),
330 TP_ARGS(sc_exit(ret,) uset, sigsetsize),
331 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(sigset_t *, uset)) sc_in(__field(size_t, sigsetsize))),
332 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(uset, uset)) sc_in(tp_assign(sigsetsize, sigsetsize))),
333 TP_printk()
334 )
335 #endif
336 #ifndef OVERRIDE_64_rt_sigsuspend
337 SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend,
338 TP_PROTO(sc_exit(long ret,) sigset_t * unewset, size_t sigsetsize),
339 TP_ARGS(sc_exit(ret,) unewset, sigsetsize),
340 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(sigset_t *, unewset)) sc_in(__field(size_t, sigsetsize))),
341 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(unewset, unewset)) sc_in(tp_assign(sigsetsize, sigsetsize))),
342 TP_printk()
343 )
344 #endif
345 #ifndef OVERRIDE_64_sigaltstack
346 SC_LTTNG_TRACEPOINT_EVENT(sigaltstack,
347 TP_PROTO(sc_exit(long ret,) const stack_t * uss, stack_t * uoss),
348 TP_ARGS(sc_exit(ret,) uss, uoss),
349 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(const stack_t *, uss)) sc_inout(__field_hex(stack_t *, uoss))),
350 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(uss, uss)) sc_inout(tp_assign(uoss, uoss))),
351 TP_printk()
352 )
353 #endif
354 #ifndef OVERRIDE_64_utime
355 SC_LTTNG_TRACEPOINT_EVENT(utime,
356 TP_PROTO(sc_exit(long ret,) char * filename, struct utimbuf * times),
357 TP_ARGS(sc_exit(ret,) filename, times),
358 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct utimbuf *, times))),
359 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(times, times))),
360 TP_printk()
361 )
362 #endif
363 #ifndef OVERRIDE_64_ustat
364 SC_LTTNG_TRACEPOINT_EVENT(ustat,
365 TP_PROTO(sc_exit(long ret,) unsigned dev, struct ustat * ubuf),
366 TP_ARGS(sc_exit(ret,) dev, ubuf),
367 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned, dev)) sc_out(__field_hex(struct ustat *, ubuf))),
368 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dev, dev)) sc_out(tp_assign(ubuf, ubuf))),
369 TP_printk()
370 )
371 #endif
372 #ifndef OVERRIDE_64_statfs
373 SC_LTTNG_TRACEPOINT_EVENT(statfs,
374 TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf),
375 TP_ARGS(sc_exit(ret,) pathname, buf),
376 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(struct statfs *, buf))),
377 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_out(tp_assign(buf, buf))),
378 TP_printk()
379 )
380 #endif
381 #ifndef OVERRIDE_64_fstatfs
382 SC_LTTNG_TRACEPOINT_EVENT(fstatfs,
383 TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf),
384 TP_ARGS(sc_exit(ret,) fd, buf),
385 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct statfs *, buf))),
386 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(buf, buf))),
387 TP_printk()
388 )
389 #endif
390 #ifndef OVERRIDE_64_sched_setparam
391 SC_LTTNG_TRACEPOINT_EVENT(sched_setparam,
392 TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param),
393 TP_ARGS(sc_exit(ret,) pid, param),
394 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field_hex(struct sched_param *, param))),
395 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(param, param))),
396 TP_printk()
397 )
398 #endif
399 #ifndef OVERRIDE_64_sched_getparam
400 SC_LTTNG_TRACEPOINT_EVENT(sched_getparam,
401 TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param),
402 TP_ARGS(sc_exit(ret,) pid, param),
403 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_out(__field_hex(struct sched_param *, param))),
404 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_out(tp_assign(param, param))),
405 TP_printk()
406 )
407 #endif
408 #ifndef OVERRIDE_64_sched_rr_get_interval
409 SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval,
410 TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval),
411 TP_ARGS(sc_exit(ret,) pid, interval),
412 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_out(__field_hex(struct timespec *, interval))),
413 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_out(tp_assign(interval, interval))),
414 TP_printk()
415 )
416 #endif
417 #ifndef OVERRIDE_64_pivot_root
418 SC_LTTNG_TRACEPOINT_EVENT(pivot_root,
419 TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old),
420 TP_ARGS(sc_exit(ret,) new_root, put_old),
421 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(new_root, new_root)) sc_in(__string_from_user(put_old, put_old))),
422 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(new_root, new_root)) sc_in(tp_copy_string_from_user(put_old, put_old))),
423 TP_printk()
424 )
425 #endif
426 #ifndef OVERRIDE_64_setrlimit
427 SC_LTTNG_TRACEPOINT_EVENT(setrlimit,
428 TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim),
429 TP_ARGS(sc_exit(ret,) resource, rlim),
430 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, resource)) sc_in(__field_hex(struct rlimit *, rlim))),
431 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(resource, resource)) sc_in(tp_assign(rlim, rlim))),
432 TP_printk()
433 )
434 #endif
435 #ifndef OVERRIDE_64_settimeofday
436 SC_LTTNG_TRACEPOINT_EVENT(settimeofday,
437 TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz),
438 TP_ARGS(sc_exit(ret,) tv, tz),
439 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct timeval *, tv)) sc_in(__field_hex(struct timezone *, tz))),
440 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(tv, tv)) sc_in(tp_assign(tz, tz))),
441 TP_printk()
442 )
443 #endif
444 #ifndef OVERRIDE_64_umount
445 SC_LTTNG_TRACEPOINT_EVENT(umount,
446 TP_PROTO(sc_exit(long ret,) char * name, int flags),
447 TP_ARGS(sc_exit(ret,) name, flags),
448 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name, name)) sc_in(__field(int, flags))),
449 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(flags, flags))),
450 TP_printk()
451 )
452 #endif
453 #ifndef OVERRIDE_64_swapon
454 SC_LTTNG_TRACEPOINT_EVENT(swapon,
455 TP_PROTO(sc_exit(long ret,) const char * specialfile, int swap_flags),
456 TP_ARGS(sc_exit(ret,) specialfile, swap_flags),
457 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(specialfile, specialfile)) sc_in(__field(int, swap_flags))),
458 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(specialfile, specialfile)) sc_in(tp_assign(swap_flags, swap_flags))),
459 TP_printk()
460 )
461 #endif
462 #ifndef OVERRIDE_64_sethostname
463 SC_LTTNG_TRACEPOINT_EVENT(sethostname,
464 TP_PROTO(sc_exit(long ret,) char * name, int len),
465 TP_ARGS(sc_exit(ret,) name, len),
466 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name, name)) sc_in(__field(int, len))),
467 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(len, len))),
468 TP_printk()
469 )
470 #endif
471 #ifndef OVERRIDE_64_setdomainname
472 SC_LTTNG_TRACEPOINT_EVENT(setdomainname,
473 TP_PROTO(sc_exit(long ret,) char * name, int len),
474 TP_ARGS(sc_exit(ret,) name, len),
475 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name, name)) sc_in(__field(int, len))),
476 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(len, len))),
477 TP_printk()
478 )
479 #endif
480 #ifndef OVERRIDE_64_delete_module
481 SC_LTTNG_TRACEPOINT_EVENT(delete_module,
482 TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags),
483 TP_ARGS(sc_exit(ret,) name_user, flags),
484 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name_user, name_user)) sc_in(__field(unsigned int, flags))),
485 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(name_user, name_user)) sc_in(tp_assign(flags, flags))),
486 TP_printk()
487 )
488 #endif
489 #ifndef OVERRIDE_64_removexattr
490 SC_LTTNG_TRACEPOINT_EVENT(removexattr,
491 TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name),
492 TP_ARGS(sc_exit(ret,) pathname, name),
493 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name))),
494 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name))),
495 TP_printk()
496 )
497 #endif
498 #ifndef OVERRIDE_64_lremovexattr
499 SC_LTTNG_TRACEPOINT_EVENT(lremovexattr,
500 TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name),
501 TP_ARGS(sc_exit(ret,) pathname, name),
502 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name))),
503 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name))),
504 TP_printk()
505 )
506 #endif
507 #ifndef OVERRIDE_64_fremovexattr
508 SC_LTTNG_TRACEPOINT_EVENT(fremovexattr,
509 TP_PROTO(sc_exit(long ret,) int fd, const char * name),
510 TP_ARGS(sc_exit(ret,) fd, name),
511 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(name, name))),
512 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_copy_string_from_user(name, name))),
513 TP_printk()
514 )
515 #endif
516 #ifndef OVERRIDE_64_io_setup
517 SC_LTTNG_TRACEPOINT_EVENT(io_setup,
518 TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp),
519 TP_ARGS(sc_exit(ret,) nr_events, ctxp),
520 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned, nr_events)) sc_in(__field_hex(aio_context_t *, ctxp))),
521 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(nr_events, nr_events)) sc_in(tp_assign(ctxp, ctxp))),
522 TP_printk()
523 )
524 #endif
525 #ifndef OVERRIDE_64_timer_gettime
526 SC_LTTNG_TRACEPOINT_EVENT(timer_gettime,
527 TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting),
528 TP_ARGS(sc_exit(ret,) timer_id, setting),
529 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(timer_t, timer_id)) sc_out(__field_hex(struct itimerspec *, setting))),
530 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(timer_id, timer_id)) sc_out(tp_assign(setting, setting))),
531 TP_printk()
532 )
533 #endif
534 #ifndef OVERRIDE_64_clock_settime
535 SC_LTTNG_TRACEPOINT_EVENT(clock_settime,
536 TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp),
537 TP_ARGS(sc_exit(ret,) which_clock, tp),
538 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_in(__field_hex(const struct timespec *, tp))),
539 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_in(tp_assign(tp, tp))),
540 TP_printk()
541 )
542 #endif
543 #ifndef OVERRIDE_64_clock_gettime
544 SC_LTTNG_TRACEPOINT_EVENT(clock_gettime,
545 TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp),
546 TP_ARGS(sc_exit(ret,) which_clock, tp),
547 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_out(__field_hex(struct timespec *, tp))),
548 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_out(tp_assign(tp, tp))),
549 TP_printk()
550 )
551 #endif
552 #ifndef OVERRIDE_64_clock_getres
553 SC_LTTNG_TRACEPOINT_EVENT(clock_getres,
554 TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp),
555 TP_ARGS(sc_exit(ret,) which_clock, tp),
556 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_out(__field_hex(struct timespec *, tp))),
557 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_out(tp_assign(tp, tp))),
558 TP_printk()
559 )
560 #endif
561 #ifndef OVERRIDE_64_utimes
562 SC_LTTNG_TRACEPOINT_EVENT(utimes,
563 TP_PROTO(sc_exit(long ret,) char * filename, struct timeval * utimes),
564 TP_ARGS(sc_exit(ret,) filename, utimes),
565 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct timeval *, utimes))),
566 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(utimes, utimes))),
567 TP_printk()
568 )
569 #endif
570 #ifndef OVERRIDE_64_mq_notify
571 SC_LTTNG_TRACEPOINT_EVENT(mq_notify,
572 TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct sigevent * u_notification),
573 TP_ARGS(sc_exit(ret,) mqdes, u_notification),
574 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(mqd_t, mqdes)) sc_in(__field_hex(const struct sigevent *, u_notification))),
575 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(mqdes, mqdes)) sc_in(tp_assign(u_notification, u_notification))),
576 TP_printk()
577 )
578 #endif
579 #ifndef OVERRIDE_64_set_robust_list
580 SC_LTTNG_TRACEPOINT_EVENT(set_robust_list,
581 TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len),
582 TP_ARGS(sc_exit(ret,) head, len),
583 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct robust_list_head *, head)) sc_in(__field(size_t, len))),
584 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(head, head)) sc_in(tp_assign(len, len))),
585 TP_printk()
586 )
587 #endif
588 #ifndef OVERRIDE_64_timerfd_gettime
589 SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime,
590 TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr),
591 TP_ARGS(sc_exit(ret,) ufd, otmr),
592 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_out(__field_hex(struct itimerspec *, otmr))),
593 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ufd, ufd)) sc_out(tp_assign(otmr, otmr))),
594 TP_printk()
595 )
596 #endif
597 #ifndef OVERRIDE_64_pipe2
598 SC_LTTNG_TRACEPOINT_EVENT(pipe2,
599 TP_PROTO(sc_exit(long ret,) int * fildes, int flags),
600 TP_ARGS(sc_exit(ret,) fildes, flags),
601 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(int *, fildes)) sc_in(__field(int, flags))),
602 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(fildes, fildes)) sc_in(tp_assign(flags, flags))),
603 TP_printk()
604 )
605 #endif
606 #ifndef OVERRIDE_64_clock_adjtime
607 SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime,
608 TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx),
609 TP_ARGS(sc_exit(ret,) which_clock, utx),
610 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_inout(__field_hex(struct timex *, utx))),
611 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_inout(tp_assign(utx, utx))),
612 TP_printk()
613 )
614 #endif
615 #ifndef OVERRIDE_64_read
616 SC_LTTNG_TRACEPOINT_EVENT(read,
617 TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count),
618 TP_ARGS(sc_exit(ret,) fd, buf, count),
619 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(char *, buf)) sc_in(__field(size_t, count))),
620 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(count, count))),
621 TP_printk()
622 )
623 #endif
624 #ifndef OVERRIDE_64_write
625 SC_LTTNG_TRACEPOINT_EVENT(write,
626 TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count),
627 TP_ARGS(sc_exit(ret,) fd, buf, count),
628 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field_hex(const char *, buf)) sc_in(__field(size_t, count))),
629 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(buf, buf)) sc_in(tp_assign(count, count))),
630 TP_printk()
631 )
632 #endif
633 #ifndef OVERRIDE_64_open
634 SC_LTTNG_TRACEPOINT_EVENT(open,
635 TP_PROTO(sc_exit(long ret,) const char * filename, int flags, umode_t mode),
636 TP_ARGS(sc_exit(ret,) filename, flags, mode),
637 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, flags)) sc_in(__field(umode_t, mode))),
638 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(mode, mode))),
639 TP_printk()
640 )
641 #endif
642 #ifndef OVERRIDE_64_poll
643 SC_LTTNG_TRACEPOINT_EVENT(poll,
644 TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, int timeout_msecs),
645 TP_ARGS(sc_exit(ret,) ufds, nfds, timeout_msecs),
646 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct pollfd *, ufds)) sc_in(__field(unsigned int, nfds)) sc_in(__field(int, timeout_msecs))),
647 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(ufds, ufds)) sc_in(tp_assign(nfds, nfds)) sc_in(tp_assign(timeout_msecs, timeout_msecs))),
648 TP_printk()
649 )
650 #endif
651 #ifndef OVERRIDE_64_readv
652 SC_LTTNG_TRACEPOINT_EVENT(readv,
653 TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen),
654 TP_ARGS(sc_exit(ret,) fd, vec, vlen),
655 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_inout(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen))),
656 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_inout(tp_assign(vec, vec)) sc_in(tp_assign(vlen, vlen))),
657 TP_printk()
658 )
659 #endif
660 #ifndef OVERRIDE_64_writev
661 SC_LTTNG_TRACEPOINT_EVENT(writev,
662 TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen),
663 TP_ARGS(sc_exit(ret,) fd, vec, vlen),
664 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_inout(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen))),
665 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_inout(tp_assign(vec, vec)) sc_in(tp_assign(vlen, vlen))),
666 TP_printk()
667 )
668 #endif
669 #ifndef OVERRIDE_64_mincore
670 SC_LTTNG_TRACEPOINT_EVENT(mincore,
671 TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec),
672 TP_ARGS(sc_exit(ret,) start, len, vec),
673 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len)) sc_out(__field_hex(unsigned char *, vec))),
674 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len, len)) sc_out(tp_assign(vec, vec))),
675 TP_printk()
676 )
677 #endif
678 #ifndef OVERRIDE_64_shmat
679 SC_LTTNG_TRACEPOINT_EVENT(shmat,
680 TP_PROTO(sc_exit(long ret,) int shmid, char * shmaddr, int shmflg),
681 TP_ARGS(sc_exit(ret,) shmid, shmaddr, shmflg),
682 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, shmid)) sc_in(__field_hex(char *, shmaddr)) sc_in(__field(int, shmflg))),
683 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(shmid, shmid)) sc_in(tp_assign(shmaddr, shmaddr)) sc_in(tp_assign(shmflg, shmflg))),
684 TP_printk()
685 )
686 #endif
687 #ifndef OVERRIDE_64_shmctl
688 SC_LTTNG_TRACEPOINT_EVENT(shmctl,
689 TP_PROTO(sc_exit(long ret,) int shmid, int cmd, struct shmid_ds * buf),
690 TP_ARGS(sc_exit(ret,) shmid, cmd, buf),
691 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, shmid)) sc_in(__field(int, cmd)) sc_inout(__field_hex(struct shmid_ds *, buf))),
692 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(shmid, shmid)) sc_in(tp_assign(cmd, cmd)) sc_inout(tp_assign(buf, buf))),
693 TP_printk()
694 )
695 #endif
696 #ifndef OVERRIDE_64_setitimer
697 SC_LTTNG_TRACEPOINT_EVENT(setitimer,
698 TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue),
699 TP_ARGS(sc_exit(ret,) which, value, ovalue),
700 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field_hex(struct itimerval *, value)) sc_out(__field_hex(struct itimerval *, ovalue))),
701 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(value, value)) sc_out(tp_assign(ovalue, ovalue))),
702 TP_printk()
703 )
704 #endif
705 #ifndef OVERRIDE_64_connect
706 SC_LTTNG_TRACEPOINT_EVENT(connect,
707 TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * uservaddr, int addrlen),
708 TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen),
709 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(struct sockaddr *, uservaddr)) sc_in(__field_hex(int, addrlen))),
710 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(uservaddr, uservaddr)) sc_in(tp_assign(addrlen, addrlen))),
711 TP_printk()
712 )
713 #endif
714 #ifndef OVERRIDE_64_accept
715 SC_LTTNG_TRACEPOINT_EVENT(accept,
716 TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen),
717 TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen),
718 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct sockaddr *, upeer_sockaddr)) sc_inout(__field_hex(int *, upeer_addrlen))),
719 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(upeer_sockaddr, upeer_sockaddr)) sc_inout(tp_assign(upeer_addrlen, upeer_addrlen))),
720 TP_printk()
721 )
722 #endif
723 #ifndef OVERRIDE_64_sendmsg
724 SC_LTTNG_TRACEPOINT_EVENT(sendmsg,
725 TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags),
726 TP_ARGS(sc_exit(ret,) fd, msg, flags),
727 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(struct msghdr *, msg)) sc_in(__field(unsigned int, flags))),
728 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(msg, msg)) sc_in(tp_assign(flags, flags))),
729 TP_printk()
730 )
731 #endif
732 #ifndef OVERRIDE_64_recvmsg
733 SC_LTTNG_TRACEPOINT_EVENT(recvmsg,
734 TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags),
735 TP_ARGS(sc_exit(ret,) fd, msg, flags),
736 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_inout(__field_hex(struct msghdr *, msg)) sc_in(__field(unsigned int, flags))),
737 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_inout(tp_assign(msg, msg)) sc_in(tp_assign(flags, flags))),
738 TP_printk()
739 )
740 #endif
741 #ifndef OVERRIDE_64_bind
742 SC_LTTNG_TRACEPOINT_EVENT(bind,
743 TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * umyaddr, int addrlen),
744 TP_ARGS(sc_exit(ret,) fd, umyaddr, addrlen),
745 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(struct sockaddr *, umyaddr)) sc_in(__field_hex(int, addrlen))),
746 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(umyaddr, umyaddr)) sc_in(tp_assign(addrlen, addrlen))),
747 TP_printk()
748 )
749 #endif
750 #ifndef OVERRIDE_64_getsockname
751 SC_LTTNG_TRACEPOINT_EVENT(getsockname,
752 TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len),
753 TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len),
754 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct sockaddr *, usockaddr)) sc_inout(__field_hex(int *, usockaddr_len))),
755 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(usockaddr, usockaddr)) sc_inout(tp_assign(usockaddr_len, usockaddr_len))),
756 TP_printk()
757 )
758 #endif
759 #ifndef OVERRIDE_64_getpeername
760 SC_LTTNG_TRACEPOINT_EVENT(getpeername,
761 TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len),
762 TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len),
763 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct sockaddr *, usockaddr)) sc_inout(__field_hex(int *, usockaddr_len))),
764 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(usockaddr, usockaddr)) sc_inout(tp_assign(usockaddr_len, usockaddr_len))),
765 TP_printk()
766 )
767 #endif
768 #ifndef OVERRIDE_64_semop
769 SC_LTTNG_TRACEPOINT_EVENT(semop,
770 TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops),
771 TP_ARGS(sc_exit(ret,) semid, tsops, nsops),
772 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, semid)) sc_in(__field_hex(struct sembuf *, tsops)) sc_in(__field(unsigned, nsops))),
773 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(semid, semid)) sc_in(tp_assign(tsops, tsops)) sc_in(tp_assign(nsops, nsops))),
774 TP_printk()
775 )
776 #endif
777 #ifndef OVERRIDE_64_msgctl
778 SC_LTTNG_TRACEPOINT_EVENT(msgctl,
779 TP_PROTO(sc_exit(long ret,) int msqid, int cmd, struct msqid_ds * buf),
780 TP_ARGS(sc_exit(ret,) msqid, cmd, buf),
781 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, msqid)) sc_in(__field(int, cmd)) sc_inout(__field_hex(struct msqid_ds *, buf))),
782 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(msqid, msqid)) sc_in(tp_assign(cmd, cmd)) sc_inout(tp_assign(buf, buf))),
783 TP_printk()
784 )
785 #endif
786 #ifndef OVERRIDE_64_getdents
787 SC_LTTNG_TRACEPOINT_EVENT(getdents,
788 TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent * dirent, unsigned int count),
789 TP_ARGS(sc_exit(ret,) fd, dirent, count),
790 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct linux_dirent *, dirent)) sc_in(__field(unsigned int, count))),
791 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(dirent, dirent)) sc_in(tp_assign(count, count))),
792 TP_printk()
793 )
794 #endif
795 #ifndef OVERRIDE_64_readlink
796 SC_LTTNG_TRACEPOINT_EVENT(readlink,
797 TP_PROTO(sc_exit(long ret,) const char * path, char * buf, int bufsiz),
798 TP_ARGS(sc_exit(ret,) path, buf, bufsiz),
799 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(path, path)) sc_out(__field_hex(char *, buf)) sc_in(__field(int, bufsiz))),
800 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(path, path)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(bufsiz, bufsiz))),
801 TP_printk()
802 )
803 #endif
804 #ifndef OVERRIDE_64_chown
805 SC_LTTNG_TRACEPOINT_EVENT(chown,
806 TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group),
807 TP_ARGS(sc_exit(ret,) filename, user, group),
808 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group))),
809 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(user, user)) sc_in(tp_assign(group, group))),
810 TP_printk()
811 )
812 #endif
813 #ifndef OVERRIDE_64_lchown
814 SC_LTTNG_TRACEPOINT_EVENT(lchown,
815 TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group),
816 TP_ARGS(sc_exit(ret,) filename, user, group),
817 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group))),
818 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(user, user)) sc_in(tp_assign(group, group))),
819 TP_printk()
820 )
821 #endif
822 #ifndef OVERRIDE_64_syslog
823 SC_LTTNG_TRACEPOINT_EVENT(syslog,
824 TP_PROTO(sc_exit(long ret,) int type, char * buf, int len),
825 TP_ARGS(sc_exit(ret,) type, buf, len),
826 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, type)) sc_out(__field_hex(char *, buf)) sc_in(__field(int, len))),
827 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(type, type)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(len, len))),
828 TP_printk()
829 )
830 #endif
831 #ifndef OVERRIDE_64_getresuid
832 SC_LTTNG_TRACEPOINT_EVENT(getresuid,
833 TP_PROTO(sc_exit(long ret,) uid_t * ruidp, uid_t * euidp, uid_t * suidp),
834 TP_ARGS(sc_exit(ret,) ruidp, euidp, suidp),
835 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(uid_t *, ruidp)) sc_out(__field_hex(uid_t *, euidp)) sc_out(__field_hex(uid_t *, suidp))),
836 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(ruidp, ruidp)) sc_out(tp_assign(euidp, euidp)) sc_out(tp_assign(suidp, suidp))),
837 TP_printk()
838 )
839 #endif
840 #ifndef OVERRIDE_64_getresgid
841 SC_LTTNG_TRACEPOINT_EVENT(getresgid,
842 TP_PROTO(sc_exit(long ret,) gid_t * rgidp, gid_t * egidp, gid_t * sgidp),
843 TP_ARGS(sc_exit(ret,) rgidp, egidp, sgidp),
844 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(gid_t *, rgidp)) sc_out(__field_hex(gid_t *, egidp)) sc_out(__field_hex(gid_t *, sgidp))),
845 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(rgidp, rgidp)) sc_out(tp_assign(egidp, egidp)) sc_out(tp_assign(sgidp, sgidp))),
846 TP_printk()
847 )
848 #endif
849 #ifndef OVERRIDE_64_rt_sigqueueinfo
850 SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo,
851 TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo),
852 TP_ARGS(sc_exit(ret,) pid, sig, uinfo),
853 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig)) sc_in(__field_hex(siginfo_t *, uinfo))),
854 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(sig, sig)) sc_in(tp_assign(uinfo, uinfo))),
855 TP_printk()
856 )
857 #endif
858 #ifndef OVERRIDE_64_mknod
859 SC_LTTNG_TRACEPOINT_EVENT(mknod,
860 TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode, unsigned dev),
861 TP_ARGS(sc_exit(ret,) filename, mode, dev),
862 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(umode_t, mode)) sc_in(__field(unsigned, dev))),
863 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode)) sc_in(tp_assign(dev, dev))),
864 TP_printk()
865 )
866 #endif
867 #ifndef OVERRIDE_64_sched_setscheduler
868 SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler,
869 TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param),
870 TP_ARGS(sc_exit(ret,) pid, policy, param),
871 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, policy)) sc_in(__field_hex(struct sched_param *, param))),
872 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(policy, policy)) sc_in(tp_assign(param, param))),
873 TP_printk()
874 )
875 #endif
876 #ifndef OVERRIDE_64_init_module
877 SC_LTTNG_TRACEPOINT_EVENT(init_module,
878 TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs),
879 TP_ARGS(sc_exit(ret,) umod, len, uargs),
880 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(void *, umod)) sc_in(__field(unsigned long, len)) sc_in(__field_hex(const char *, uargs))),
881 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(umod, umod)) sc_in(tp_assign(len, len)) sc_in(tp_assign(uargs, uargs))),
882 TP_printk()
883 )
884 #endif
885 #ifndef OVERRIDE_64_listxattr
886 SC_LTTNG_TRACEPOINT_EVENT(listxattr,
887 TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size),
888 TP_ARGS(sc_exit(ret,) pathname, list, size),
889 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(char *, list)) sc_in(__field(size_t, size))),
890 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_out(tp_assign(list, list)) sc_in(tp_assign(size, size))),
891 TP_printk()
892 )
893 #endif
894 #ifndef OVERRIDE_64_llistxattr
895 SC_LTTNG_TRACEPOINT_EVENT(llistxattr,
896 TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size),
897 TP_ARGS(sc_exit(ret,) pathname, list, size),
898 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(char *, list)) sc_in(__field(size_t, size))),
899 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_out(tp_assign(list, list)) sc_in(tp_assign(size, size))),
900 TP_printk()
901 )
902 #endif
903 #ifndef OVERRIDE_64_flistxattr
904 SC_LTTNG_TRACEPOINT_EVENT(flistxattr,
905 TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size),
906 TP_ARGS(sc_exit(ret,) fd, list, size),
907 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(char *, list)) sc_in(__field(size_t, size))),
908 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(list, list)) sc_in(tp_assign(size, size))),
909 TP_printk()
910 )
911 #endif
912 #ifndef OVERRIDE_64_sched_setaffinity
913 SC_LTTNG_TRACEPOINT_EVENT(sched_setaffinity,
914 TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr),
915 TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr),
916 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(unsigned int, len)) sc_in(__field_hex(unsigned long *, user_mask_ptr))),
917 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(len, len)) sc_in(tp_assign(user_mask_ptr, user_mask_ptr))),
918 TP_printk()
919 )
920 #endif
921 #ifndef OVERRIDE_64_sched_getaffinity
922 SC_LTTNG_TRACEPOINT_EVENT(sched_getaffinity,
923 TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr),
924 TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr),
925 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(unsigned int, len)) sc_out(__field_hex(unsigned long *, user_mask_ptr))),
926 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(len, len)) sc_out(tp_assign(user_mask_ptr, user_mask_ptr))),
927 TP_printk()
928 )
929 #endif
930 #ifndef OVERRIDE_64_io_submit
931 SC_LTTNG_TRACEPOINT_EVENT(io_submit,
932 TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp),
933 TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp),
934 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx_id)) sc_in(__field(long, nr)) sc_in(__field_hex(struct iocb * *, iocbpp))),
935 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ctx_id, ctx_id)) sc_in(tp_assign(nr, nr)) sc_in(tp_assign(iocbpp, iocbpp))),
936 TP_printk()
937 )
938 #endif
939 #ifndef OVERRIDE_64_io_cancel
940 SC_LTTNG_TRACEPOINT_EVENT(io_cancel,
941 TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result),
942 TP_ARGS(sc_exit(ret,) ctx_id, iocb, result),
943 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx_id)) sc_in(__field_hex(struct iocb *, iocb)) sc_out(__field_hex(struct io_event *, result))),
944 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ctx_id, ctx_id)) sc_in(tp_assign(iocb, iocb)) sc_out(tp_assign(result, result))),
945 TP_printk()
946 )
947 #endif
948 #ifndef OVERRIDE_64_lookup_dcookie
949 SC_LTTNG_TRACEPOINT_EVENT(lookup_dcookie,
950 TP_PROTO(sc_exit(long ret,) u64 cookie64, char * buf, size_t len),
951 TP_ARGS(sc_exit(ret,) cookie64, buf, len),
952 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(u64, cookie64)) sc_out(__field_hex(char *, buf)) sc_in(__field(size_t, len))),
953 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(cookie64, cookie64)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(len, len))),
954 TP_printk()
955 )
956 #endif
957 #ifndef OVERRIDE_64_getdents64
958 SC_LTTNG_TRACEPOINT_EVENT(getdents64,
959 TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count),
960 TP_ARGS(sc_exit(ret,) fd, dirent, count),
961 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct linux_dirent64 *, dirent)) sc_in(__field(unsigned int, count))),
962 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(dirent, dirent)) sc_in(tp_assign(count, count))),
963 TP_printk()
964 )
965 #endif
966 #ifndef OVERRIDE_64_timer_create
967 SC_LTTNG_TRACEPOINT_EVENT(timer_create,
968 TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id),
969 TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id),
970 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_in(__field_hex(struct sigevent *, timer_event_spec)) sc_out(__field_hex(timer_t *, created_timer_id))),
971 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_in(tp_assign(timer_event_spec, timer_event_spec)) sc_out(tp_assign(created_timer_id, created_timer_id))),
972 TP_printk()
973 )
974 #endif
975 #ifndef OVERRIDE_64_set_mempolicy
976 SC_LTTNG_TRACEPOINT_EVENT(set_mempolicy,
977 TP_PROTO(sc_exit(long ret,) int mode, unsigned long * nmask, unsigned long maxnode),
978 TP_ARGS(sc_exit(ret,) mode, nmask, maxnode),
979 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, mode)) sc_in(__field_hex(unsigned long *, nmask)) sc_in(__field(unsigned long, maxnode))),
980 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(mode, mode)) sc_in(tp_assign(nmask, nmask)) sc_in(tp_assign(maxnode, maxnode))),
981 TP_printk()
982 )
983 #endif
984 #ifndef OVERRIDE_64_mq_getsetattr
985 SC_LTTNG_TRACEPOINT_EVENT(mq_getsetattr,
986 TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct mq_attr * u_mqstat, struct mq_attr * u_omqstat),
987 TP_ARGS(sc_exit(ret,) mqdes, u_mqstat, u_omqstat),
988 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(mqd_t, mqdes)) sc_in(__field_hex(const struct mq_attr *, u_mqstat)) sc_out(__field_hex(struct mq_attr *, u_omqstat))),
989 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(mqdes, mqdes)) sc_in(tp_assign(u_mqstat, u_mqstat)) sc_out(tp_assign(u_omqstat, u_omqstat))),
990 TP_printk()
991 )
992 #endif
993 #ifndef OVERRIDE_64_inotify_add_watch
994 SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch,
995 TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask),
996 TP_ARGS(sc_exit(ret,) fd, pathname, mask),
997 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(u32, mask))),
998 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_assign(mask, mask))),
999 TP_printk()
1000 )
1001 #endif
1002 #ifndef OVERRIDE_64_mkdirat
1003 SC_LTTNG_TRACEPOINT_EVENT(mkdirat,
1004 TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, umode_t mode),
1005 TP_ARGS(sc_exit(ret,) dfd, pathname, mode),
1006 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(umode_t, mode))),
1007 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_assign(mode, mode))),
1008 TP_printk()
1009 )
1010 #endif
1011 #ifndef OVERRIDE_64_futimesat
1012 SC_LTTNG_TRACEPOINT_EVENT(futimesat,
1013 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timeval * utimes),
1014 TP_ARGS(sc_exit(ret,) dfd, filename, utimes),
1015 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct timeval *, utimes))),
1016 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(utimes, utimes))),
1017 TP_printk()
1018 )
1019 #endif
1020 #ifndef OVERRIDE_64_unlinkat
1021 SC_LTTNG_TRACEPOINT_EVENT(unlinkat,
1022 TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag),
1023 TP_ARGS(sc_exit(ret,) dfd, pathname, flag),
1024 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(int, flag))),
1025 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_assign(flag, flag))),
1026 TP_printk()
1027 )
1028 #endif
1029 #ifndef OVERRIDE_64_symlinkat
1030 SC_LTTNG_TRACEPOINT_EVENT(symlinkat,
1031 TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname),
1032 TP_ARGS(sc_exit(ret,) oldname, newdfd, newname),
1033 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__field(int, newdfd)) sc_in(__string_from_user(newname, newname))),
1034 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_assign(newdfd, newdfd)) sc_in(tp_copy_string_from_user(newname, newname))),
1035 TP_printk()
1036 )
1037 #endif
1038 #ifndef OVERRIDE_64_fchmodat
1039 SC_LTTNG_TRACEPOINT_EVENT(fchmodat,
1040 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode),
1041 TP_ARGS(sc_exit(ret,) dfd, filename, mode),
1042 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(umode_t, mode))),
1043 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode))),
1044 TP_printk()
1045 )
1046 #endif
1047 #ifndef OVERRIDE_64_faccessat
1048 SC_LTTNG_TRACEPOINT_EVENT(faccessat,
1049 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode),
1050 TP_ARGS(sc_exit(ret,) dfd, filename, mode),
1051 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, mode))),
1052 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode))),
1053 TP_printk()
1054 )
1055 #endif
1056 #ifndef OVERRIDE_64_get_robust_list
1057 SC_LTTNG_TRACEPOINT_EVENT(get_robust_list,
1058 TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr),
1059 TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr),
1060 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, pid)) sc_out(__field_hex(struct robust_list_head * *, head_ptr)) sc_out(__field_hex(size_t *, len_ptr))),
1061 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_out(tp_assign(head_ptr, head_ptr)) sc_out(tp_assign(len_ptr, len_ptr))),
1062 TP_printk()
1063 )
1064 #endif
1065 #ifndef OVERRIDE_64_signalfd
1066 SC_LTTNG_TRACEPOINT_EVENT(signalfd,
1067 TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask),
1068 TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask),
1069 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_in(__field_hex(sigset_t *, user_mask)) sc_in(__field(size_t, sizemask))),
1070 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ufd, ufd)) sc_in(tp_assign(user_mask, user_mask)) sc_in(tp_assign(sizemask, sizemask))),
1071 TP_printk()
1072 )
1073 #endif
1074 #ifndef OVERRIDE_64_open_by_handle_at
1075 SC_LTTNG_TRACEPOINT_EVENT(open_by_handle_at,
1076 TP_PROTO(sc_exit(long ret,) int mountdirfd, struct file_handle * handle, int flags),
1077 TP_ARGS(sc_exit(ret,) mountdirfd, handle, flags),
1078 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, mountdirfd)) sc_in(__field_hex(struct file_handle *, handle)) sc_in(__field(int, flags))),
1079 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(mountdirfd, mountdirfd)) sc_in(tp_assign(handle, handle)) sc_in(tp_assign(flags, flags))),
1080 TP_printk()
1081 )
1082 #endif
1083 #ifndef OVERRIDE_64_getcpu
1084 SC_LTTNG_TRACEPOINT_EVENT(getcpu,
1085 TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused),
1086 TP_ARGS(sc_exit(ret,) cpup, nodep, unused),
1087 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(unsigned *, cpup)) sc_out(__field_hex(unsigned *, nodep)) sc_inout(__field_hex(struct getcpu_cache *, unused))),
1088 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(cpup, cpup)) sc_out(tp_assign(nodep, nodep)) sc_inout(tp_assign(unused, unused))),
1089 TP_printk()
1090 )
1091 #endif
1092 #ifndef OVERRIDE_64_finit_module
1093 SC_LTTNG_TRACEPOINT_EVENT(finit_module,
1094 TP_PROTO(sc_exit(long ret,) int fd, const char * uargs, int flags),
1095 TP_ARGS(sc_exit(ret,) fd, uargs, flags),
1096 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(const char *, uargs)) sc_in(__field(int, flags))),
1097 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(uargs, uargs)) sc_in(tp_assign(flags, flags))),
1098 TP_printk()
1099 )
1100 #endif
1101 #ifndef OVERRIDE_64_rt_sigaction
1102 SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction,
1103 TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize),
1104 TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize),
1105 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, sig)) sc_in(__field_hex(const struct sigaction *, act)) sc_out(__field_hex(struct sigaction *, oact)) sc_in(__field(size_t, sigsetsize))),
1106 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(sig, sig)) sc_in(tp_assign(act, act)) sc_out(tp_assign(oact, oact)) sc_in(tp_assign(sigsetsize, sigsetsize))),
1107 TP_printk()
1108 )
1109 #endif
1110 #ifndef OVERRIDE_64_rt_sigprocmask
1111 SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask,
1112 TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize),
1113 TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize),
1114 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, how)) sc_in(__field_hex(sigset_t *, nset)) sc_out(__field_hex(sigset_t *, oset)) sc_in(__field(size_t, sigsetsize))),
1115 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(how, how)) sc_in(tp_assign(nset, nset)) sc_out(tp_assign(oset, oset)) sc_in(tp_assign(sigsetsize, sigsetsize))),
1116 TP_printk()
1117 )
1118 #endif
1119 #ifndef OVERRIDE_64_pread64
1120 SC_LTTNG_TRACEPOINT_EVENT(pread64,
1121 TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count, loff_t pos),
1122 TP_ARGS(sc_exit(ret,) fd, buf, count, pos),
1123 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(char *, buf)) sc_in(__field(size_t, count)) sc_in(__field(loff_t, pos))),
1124 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(count, count)) sc_in(tp_assign(pos, pos))),
1125 TP_printk()
1126 )
1127 #endif
1128 #ifndef OVERRIDE_64_pwrite64
1129 SC_LTTNG_TRACEPOINT_EVENT(pwrite64,
1130 TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count, loff_t pos),
1131 TP_ARGS(sc_exit(ret,) fd, buf, count, pos),
1132 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field_hex(const char *, buf)) sc_in(__field(size_t, count)) sc_in(__field(loff_t, pos))),
1133 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(buf, buf)) sc_in(tp_assign(count, count)) sc_in(tp_assign(pos, pos))),
1134 TP_printk()
1135 )
1136 #endif
1137 #ifndef OVERRIDE_64_sendfile64
1138 SC_LTTNG_TRACEPOINT_EVENT(sendfile64,
1139 TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count),
1140 TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count),
1141 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, out_fd)) sc_in(__field(int, in_fd)) sc_inout(__field_hex(loff_t *, offset)) sc_in(__field(size_t, count))),
1142 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(out_fd, out_fd)) sc_in(tp_assign(in_fd, in_fd)) sc_inout(tp_assign(offset, offset)) sc_in(tp_assign(count, count))),
1143 TP_printk()
1144 )
1145 #endif
1146 #ifndef OVERRIDE_64_socketpair
1147 SC_LTTNG_TRACEPOINT_EVENT(socketpair,
1148 TP_PROTO(sc_exit(long ret,) int family, int type, int protocol, int * usockvec),
1149 TP_ARGS(sc_exit(ret,) family, type, protocol, usockvec),
1150 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, family)) sc_in(__field(int, type)) sc_in(__field(int, protocol)) sc_out(__field_hex(int *, usockvec))),
1151 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(family, family)) sc_in(tp_assign(type, type)) sc_in(tp_assign(protocol, protocol)) sc_out(tp_assign(usockvec, usockvec))),
1152 TP_printk()
1153 )
1154 #endif
1155 #ifndef OVERRIDE_64_wait4
1156 SC_LTTNG_TRACEPOINT_EVENT(wait4,
1157 TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru),
1158 TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru),
1159 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, upid)) sc_out(__field_hex(int *, stat_addr)) sc_in(__field(int, options)) sc_out(__field_hex(struct rusage *, ru))),
1160 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(upid, upid)) sc_out(tp_assign(stat_addr, stat_addr)) sc_in(tp_assign(options, options)) sc_out(tp_assign(ru, ru))),
1161 TP_printk()
1162 )
1163 #endif
1164 #ifndef OVERRIDE_64_msgsnd
1165 SC_LTTNG_TRACEPOINT_EVENT(msgsnd,
1166 TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, int msgflg),
1167 TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgflg),
1168 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, msqid)) sc_in(__field_hex(struct msgbuf *, msgp)) sc_in(__field(size_t, msgsz)) sc_in(__field(int, msgflg))),
1169 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(msqid, msqid)) sc_in(tp_assign(msgp, msgp)) sc_in(tp_assign(msgsz, msgsz)) sc_in(tp_assign(msgflg, msgflg))),
1170 TP_printk()
1171 )
1172 #endif
1173 #ifndef OVERRIDE_64_rt_sigtimedwait
1174 SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait,
1175 TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize),
1176 TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize),
1177 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(const sigset_t *, uthese)) sc_out(__field_hex(siginfo_t *, uinfo)) sc_in(__field_hex(const struct timespec *, uts)) sc_in(__field(size_t, sigsetsize))),
1178 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(uthese, uthese)) sc_out(tp_assign(uinfo, uinfo)) sc_in(tp_assign(uts, uts)) sc_in(tp_assign(sigsetsize, sigsetsize))),
1179 TP_printk()
1180 )
1181 #endif
1182 #ifndef OVERRIDE_64_reboot
1183 SC_LTTNG_TRACEPOINT_EVENT(reboot,
1184 TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg),
1185 TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg),
1186 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, magic1)) sc_in(__field(int, magic2)) sc_in(__field(unsigned int, cmd)) sc_in(__field_hex(void *, arg))),
1187 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(magic1, magic1)) sc_in(tp_assign(magic2, magic2)) sc_in(tp_assign(cmd, cmd)) sc_in(tp_assign(arg, arg))),
1188 TP_printk()
1189 )
1190 #endif
1191 #ifndef OVERRIDE_64_quotactl
1192 SC_LTTNG_TRACEPOINT_EVENT(quotactl,
1193 TP_PROTO(sc_exit(long ret,) unsigned int cmd, const char * special, qid_t id, void * addr),
1194 TP_ARGS(sc_exit(ret,) cmd, special, id, addr),
1195 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, cmd)) sc_in(__field_hex(const char *, special)) sc_in(__field(qid_t, id)) sc_inout(__field_hex(void *, addr))),
1196 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(cmd, cmd)) sc_in(tp_assign(special, special)) sc_in(tp_assign(id, id)) sc_inout(tp_assign(addr, addr))),
1197 TP_printk()
1198 )
1199 #endif
1200 #ifndef OVERRIDE_64_getxattr
1201 SC_LTTNG_TRACEPOINT_EVENT(getxattr,
1202 TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size),
1203 TP_ARGS(sc_exit(ret,) pathname, name, value, size),
1204 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_out(__field_hex(void *, value)) sc_in(__field(size_t, size))),
1205 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name)) sc_out(tp_assign(value, value)) sc_in(tp_assign(size, size))),
1206 TP_printk()
1207 )
1208 #endif
1209 #ifndef OVERRIDE_64_lgetxattr
1210 SC_LTTNG_TRACEPOINT_EVENT(lgetxattr,
1211 TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size),
1212 TP_ARGS(sc_exit(ret,) pathname, name, value, size),
1213 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_out(__field_hex(void *, value)) sc_in(__field(size_t, size))),
1214 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name)) sc_out(tp_assign(value, value)) sc_in(tp_assign(size, size))),
1215 TP_printk()
1216 )
1217 #endif
1218 #ifndef OVERRIDE_64_fgetxattr
1219 SC_LTTNG_TRACEPOINT_EVENT(fgetxattr,
1220 TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size),
1221 TP_ARGS(sc_exit(ret,) fd, name, value, size),
1222 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(name, name)) sc_out(__field_hex(void *, value)) sc_in(__field(size_t, size))),
1223 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_copy_string_from_user(name, name)) sc_out(tp_assign(value, value)) sc_in(tp_assign(size, size))),
1224 TP_printk()
1225 )
1226 #endif
1227 #ifndef OVERRIDE_64_semtimedop
1228 SC_LTTNG_TRACEPOINT_EVENT(semtimedop,
1229 TP_PROTO(sc_exit(long ret,) int semid, struct sembuf * tsops, unsigned nsops, const struct timespec * timeout),
1230 TP_ARGS(sc_exit(ret,) semid, tsops, nsops, timeout),
1231 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, semid)) sc_in(__field_hex(struct sembuf *, tsops)) sc_in(__field(unsigned, nsops)) sc_inout(__field_hex(const struct timespec *, timeout))),
1232 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(semid, semid)) sc_in(tp_assign(tsops, tsops)) sc_in(tp_assign(nsops, nsops)) sc_inout(tp_assign(timeout, timeout))),
1233 TP_printk()
1234 )
1235 #endif
1236 #ifndef OVERRIDE_64_timer_settime
1237 SC_LTTNG_TRACEPOINT_EVENT(timer_settime,
1238 TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting),
1239 TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting),
1240 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(timer_t, timer_id)) sc_in(__field(int, flags)) sc_in(__field_hex(const struct itimerspec *, new_setting)) sc_out(__field_hex(struct itimerspec *, old_setting))),
1241 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(timer_id, timer_id)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(new_setting, new_setting)) sc_out(tp_assign(old_setting, old_setting))),
1242 TP_printk()
1243 )
1244 #endif
1245 #ifndef OVERRIDE_64_clock_nanosleep
1246 SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep,
1247 TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp),
1248 TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp),
1249 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_in(__field(int, flags)) sc_in(__field_hex(const struct timespec *, rqtp)) sc_out(__field_hex(struct timespec *, rmtp))),
1250 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(rqtp, rqtp)) sc_out(tp_assign(rmtp, rmtp))),
1251 TP_printk()
1252 )
1253 #endif
1254 #ifndef OVERRIDE_64_epoll_wait
1255 SC_LTTNG_TRACEPOINT_EVENT(epoll_wait,
1256 TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout),
1257 TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout),
1258 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, epfd)) sc_out(__field_hex(struct epoll_event *, events)) sc_in(__field(int, maxevents)) sc_in(__field(int, timeout))),
1259 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(epfd, epfd)) sc_out(tp_assign(events, events)) sc_in(tp_assign(maxevents, maxevents)) sc_in(tp_assign(timeout, timeout))),
1260 TP_printk()
1261 )
1262 #endif
1263 #ifndef OVERRIDE_64_epoll_ctl
1264 SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl,
1265 TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event),
1266 TP_ARGS(sc_exit(ret,) epfd, op, fd, event),
1267 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, epfd)) sc_in(__field(int, op)) sc_in(__field(int, fd)) sc_in(__field_hex(struct epoll_event *, event))),
1268 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(epfd, epfd)) sc_in(tp_assign(op, op)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(event, event))),
1269 TP_printk()
1270 )
1271 #endif
1272 #ifndef OVERRIDE_64_mq_open
1273 SC_LTTNG_TRACEPOINT_EVENT(mq_open,
1274 TP_PROTO(sc_exit(long ret,) const char * u_name, int oflag, umode_t mode, struct mq_attr * u_attr),
1275 TP_ARGS(sc_exit(ret,) u_name, oflag, mode, u_attr),
1276 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(u_name, u_name)) sc_in(__field(int, oflag)) sc_in(__field(umode_t, mode)) sc_in(__field_hex(struct mq_attr *, u_attr))),
1277 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(u_name, u_name)) sc_in(tp_assign(oflag, oflag)) sc_in(tp_assign(mode, mode)) sc_in(tp_assign(u_attr, u_attr))),
1278 TP_printk()
1279 )
1280 #endif
1281 #ifndef OVERRIDE_64_kexec_load
1282 SC_LTTNG_TRACEPOINT_EVENT(kexec_load,
1283 TP_PROTO(sc_exit(long ret,) unsigned long entry, unsigned long nr_segments, struct kexec_segment * segments, unsigned long flags),
1284 TP_ARGS(sc_exit(ret,) entry, nr_segments, segments, flags),
1285 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, entry)) sc_in(__field(unsigned long, nr_segments)) sc_in(__field_hex(struct kexec_segment *, segments)) sc_in(__field(unsigned long, flags))),
1286 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(entry, entry)) sc_in(tp_assign(nr_segments, nr_segments)) sc_in(tp_assign(segments, segments)) sc_in(tp_assign(flags, flags))),
1287 TP_printk()
1288 )
1289 #endif
1290 #ifndef OVERRIDE_64_request_key
1291 SC_LTTNG_TRACEPOINT_EVENT(request_key,
1292 TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const char * _callout_info, key_serial_t destringid),
1293 TP_ARGS(sc_exit(ret,) _type, _description, _callout_info, destringid),
1294 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(_type, _type)) sc_in(__field_hex(const char *, _description)) sc_in(__field_hex(const char *, _callout_info)) sc_in(__field(key_serial_t, destringid))),
1295 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(_type, _type)) sc_in(tp_assign(_description, _description)) sc_in(tp_assign(_callout_info, _callout_info)) sc_in(tp_assign(destringid, destringid))),
1296 TP_printk()
1297 )
1298 #endif
1299 #ifndef OVERRIDE_64_migrate_pages
1300 SC_LTTNG_TRACEPOINT_EVENT(migrate_pages,
1301 TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned long maxnode, const unsigned long * old_nodes, const unsigned long * new_nodes),
1302 TP_ARGS(sc_exit(ret,) pid, maxnode, old_nodes, new_nodes),
1303 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(unsigned long, maxnode)) sc_in(__field_hex(const unsigned long *, old_nodes)) sc_in(__field_hex(const unsigned long *, new_nodes))),
1304 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(maxnode, maxnode)) sc_in(tp_assign(old_nodes, old_nodes)) sc_in(tp_assign(new_nodes, new_nodes))),
1305 TP_printk()
1306 )
1307 #endif
1308 #ifndef OVERRIDE_64_openat
1309 SC_LTTNG_TRACEPOINT_EVENT(openat,
1310 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, umode_t mode),
1311 TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode),
1312 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, flags)) sc_in(__field(umode_t, mode))),
1313 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(mode, mode))),
1314 TP_printk()
1315 )
1316 #endif
1317 #ifndef OVERRIDE_64_mknodat
1318 SC_LTTNG_TRACEPOINT_EVENT(mknodat,
1319 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode, unsigned dev),
1320 TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev),
1321 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(umode_t, mode)) sc_in(__field(unsigned, dev))),
1322 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode)) sc_in(tp_assign(dev, dev))),
1323 TP_printk()
1324 )
1325 #endif
1326 #ifndef OVERRIDE_64_newfstatat
1327 SC_LTTNG_TRACEPOINT_EVENT(newfstatat,
1328 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat * statbuf, int flag),
1329 TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag),
1330 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_out(__field_hex(struct stat *, statbuf)) sc_in(__field(int, flag))),
1331 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_out(tp_assign(statbuf, statbuf)) sc_in(tp_assign(flag, flag))),
1332 TP_printk()
1333 )
1334 #endif
1335 #ifndef OVERRIDE_64_renameat
1336 SC_LTTNG_TRACEPOINT_EVENT(renameat,
1337 TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname),
1338 TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname),
1339 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, olddfd)) sc_in(__string_from_user(oldname, oldname)) sc_in(__field(int, newdfd)) sc_in(__string_from_user(newname, newname))),
1340 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(olddfd, olddfd)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_assign(newdfd, newdfd)) sc_in(tp_copy_string_from_user(newname, newname))),
1341 TP_printk()
1342 )
1343 #endif
1344 #ifndef OVERRIDE_64_readlinkat
1345 SC_LTTNG_TRACEPOINT_EVENT(readlinkat,
1346 TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz),
1347 TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz),
1348 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(char *, buf)) sc_in(__field(int, bufsiz))),
1349 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(bufsiz, bufsiz))),
1350 TP_printk()
1351 )
1352 #endif
1353 #ifndef OVERRIDE_64_vmsplice
1354 SC_LTTNG_TRACEPOINT_EVENT(vmsplice,
1355 TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags),
1356 TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags),
1357 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(const struct iovec *, iov)) sc_in(__field(unsigned long, nr_segs)) sc_in(__field(unsigned int, flags))),
1358 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(iov, iov)) sc_in(tp_assign(nr_segs, nr_segs)) sc_in(tp_assign(flags, flags))),
1359 TP_printk()
1360 )
1361 #endif
1362 #ifndef OVERRIDE_64_utimensat
1363 SC_LTTNG_TRACEPOINT_EVENT(utimensat,
1364 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags),
1365 TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags),
1366 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct timespec *, utimes)) sc_in(__field(int, flags))),
1367 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(utimes, utimes)) sc_in(tp_assign(flags, flags))),
1368 TP_printk()
1369 )
1370 #endif
1371 #ifndef OVERRIDE_64_timerfd_settime
1372 SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime,
1373 TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr),
1374 TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr),
1375 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_in(__field(int, flags)) sc_in(__field_hex(const struct itimerspec *, utmr)) sc_out(__field_hex(struct itimerspec *, otmr))),
1376 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ufd, ufd)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(utmr, utmr)) sc_out(tp_assign(otmr, otmr))),
1377 TP_printk()
1378 )
1379 #endif
1380 #ifndef OVERRIDE_64_accept4
1381 SC_LTTNG_TRACEPOINT_EVENT(accept4,
1382 TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags),
1383 TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags),
1384 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct sockaddr *, upeer_sockaddr)) sc_inout(__field_hex(int *, upeer_addrlen)) sc_in(__field(int, flags))),
1385 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(upeer_sockaddr, upeer_sockaddr)) sc_inout(tp_assign(upeer_addrlen, upeer_addrlen)) sc_in(tp_assign(flags, flags))),
1386 TP_printk()
1387 )
1388 #endif
1389 #ifndef OVERRIDE_64_signalfd4
1390 SC_LTTNG_TRACEPOINT_EVENT(signalfd4,
1391 TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags),
1392 TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags),
1393 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_in(__field_hex(sigset_t *, user_mask)) sc_in(__field(size_t, sizemask)) sc_in(__field(int, flags))),
1394 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ufd, ufd)) sc_in(tp_assign(user_mask, user_mask)) sc_in(tp_assign(sizemask, sizemask)) sc_in(tp_assign(flags, flags))),
1395 TP_printk()
1396 )
1397 #endif
1398 #ifndef OVERRIDE_64_rt_tgsigqueueinfo
1399 SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo,
1400 TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo),
1401 TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo),
1402 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, tgid)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig)) sc_in(__field_hex(siginfo_t *, uinfo))),
1403 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(tgid, tgid)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(sig, sig)) sc_in(tp_assign(uinfo, uinfo))),
1404 TP_printk()
1405 )
1406 #endif
1407 #ifndef OVERRIDE_64_prlimit64
1408 SC_LTTNG_TRACEPOINT_EVENT(prlimit64,
1409 TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim),
1410 TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim),
1411 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(unsigned int, resource)) sc_in(__field_hex(const struct rlimit64 *, new_rlim)) sc_out(__field_hex(struct rlimit64 *, old_rlim))),
1412 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(resource, resource)) sc_in(tp_assign(new_rlim, new_rlim)) sc_out(tp_assign(old_rlim, old_rlim))),
1413 TP_printk()
1414 )
1415 #endif
1416 #ifndef OVERRIDE_64_sendmmsg
1417 SC_LTTNG_TRACEPOINT_EVENT(sendmmsg,
1418 TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags),
1419 TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags),
1420 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(struct mmsghdr *, mmsg)) sc_in(__field(unsigned int, vlen)) sc_in(__field(unsigned int, flags))),
1421 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(mmsg, mmsg)) sc_in(tp_assign(vlen, vlen)) sc_in(tp_assign(flags, flags))),
1422 TP_printk()
1423 )
1424 #endif
1425 #ifndef OVERRIDE_64_select
1426 SC_LTTNG_TRACEPOINT_EVENT(select,
1427 TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp),
1428 TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp),
1429 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, n)) sc_inout(__field_hex(fd_set *, inp)) sc_inout(__field_hex(fd_set *, outp)) sc_inout(__field_hex(fd_set *, exp)) sc_inout(__field_hex(struct timeval *, tvp))),
1430 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(n, n)) sc_inout(tp_assign(inp, inp)) sc_inout(tp_assign(outp, outp)) sc_inout(tp_assign(exp, exp)) sc_inout(tp_assign(tvp, tvp))),
1431 TP_printk()
1432 )
1433 #endif
1434 #ifndef OVERRIDE_64_setsockopt
1435 SC_LTTNG_TRACEPOINT_EVENT(setsockopt,
1436 TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int optlen),
1437 TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen),
1438 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, level)) sc_in(__field(int, optname)) sc_in(__field_hex(char *, optval)) sc_in(__field(int, optlen))),
1439 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(level, level)) sc_in(tp_assign(optname, optname)) sc_in(tp_assign(optval, optval)) sc_in(tp_assign(optlen, optlen))),
1440 TP_printk()
1441 )
1442 #endif
1443 #ifndef OVERRIDE_64_getsockopt
1444 SC_LTTNG_TRACEPOINT_EVENT(getsockopt,
1445 TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int * optlen),
1446 TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen),
1447 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field(int, level)) sc_in(__field(int, optname)) sc_out(__field_hex(char *, optval)) sc_inout(__field_hex(int *, optlen))),
1448 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(level, level)) sc_in(tp_assign(optname, optname)) sc_out(tp_assign(optval, optval)) sc_inout(tp_assign(optlen, optlen))),
1449 TP_printk()
1450 )
1451 #endif
1452 #ifndef OVERRIDE_64_msgrcv
1453 SC_LTTNG_TRACEPOINT_EVENT(msgrcv,
1454 TP_PROTO(sc_exit(long ret,) int msqid, struct msgbuf * msgp, size_t msgsz, long msgtyp, int msgflg),
1455 TP_ARGS(sc_exit(ret,) msqid, msgp, msgsz, msgtyp, msgflg),
1456 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, msqid)) sc_out(__field_hex(struct msgbuf *, msgp)) sc_in(__field(size_t, msgsz)) sc_in(__field(long, msgtyp)) sc_in(__field(int, msgflg))),
1457 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(msqid, msqid)) sc_out(tp_assign(msgp, msgp)) sc_in(tp_assign(msgsz, msgsz)) sc_in(tp_assign(msgtyp, msgtyp)) sc_in(tp_assign(msgflg, msgflg))),
1458 TP_printk()
1459 )
1460 #endif
1461 #ifndef OVERRIDE_64_mount
1462 SC_LTTNG_TRACEPOINT_EVENT(mount,
1463 TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data),
1464 TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data),
1465 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(dev_name, dev_name)) sc_in(__string_from_user(dir_name, dir_name)) sc_in(__string_from_user(type, type)) sc_in(__field(unsigned long, flags)) sc_in(__field_hex(void *, data))),
1466 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(dev_name, dev_name)) sc_in(tp_copy_string_from_user(dir_name, dir_name)) sc_in(tp_copy_string_from_user(type, type)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(data, data))),
1467 TP_printk()
1468 )
1469 #endif
1470 #ifndef OVERRIDE_64_setxattr
1471 SC_LTTNG_TRACEPOINT_EVENT(setxattr,
1472 TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags),
1473 TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags),
1474 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_in(__field_hex(const void *, value)) sc_in(__field(size_t, size)) sc_in(__field(int, flags))),
1475 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(value, value)) sc_in(tp_assign(size, size)) sc_in(tp_assign(flags, flags))),
1476 TP_printk()
1477 )
1478 #endif
1479 #ifndef OVERRIDE_64_lsetxattr
1480 SC_LTTNG_TRACEPOINT_EVENT(lsetxattr,
1481 TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags),
1482 TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags),
1483 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_in(__field_hex(const void *, value)) sc_in(__field(size_t, size)) sc_in(__field(int, flags))),
1484 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(value, value)) sc_in(tp_assign(size, size)) sc_in(tp_assign(flags, flags))),
1485 TP_printk()
1486 )
1487 #endif
1488 #ifndef OVERRIDE_64_fsetxattr
1489 SC_LTTNG_TRACEPOINT_EVENT(fsetxattr,
1490 TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags),
1491 TP_ARGS(sc_exit(ret,) fd, name, value, size, flags),
1492 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(name, name)) sc_in(__field_hex(const void *, value)) sc_in(__field(size_t, size)) sc_in(__field(int, flags))),
1493 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(value, value)) sc_in(tp_assign(size, size)) sc_in(tp_assign(flags, flags))),
1494 TP_printk()
1495 )
1496 #endif
1497 #ifndef OVERRIDE_64_io_getevents
1498 SC_LTTNG_TRACEPOINT_EVENT(io_getevents,
1499 TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout),
1500 TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout),
1501 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx_id)) sc_in(__field(long, min_nr)) sc_in(__field(long, nr)) sc_out(__field_hex(struct io_event *, events)) sc_inout(__field_hex(struct timespec *, timeout))),
1502 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ctx_id, ctx_id)) sc_in(tp_assign(min_nr, min_nr)) sc_in(tp_assign(nr, nr)) sc_out(tp_assign(events, events)) sc_inout(tp_assign(timeout, timeout))),
1503 TP_printk()
1504 )
1505 #endif
1506 #ifndef OVERRIDE_64_get_mempolicy
1507 SC_LTTNG_TRACEPOINT_EVENT(get_mempolicy,
1508 TP_PROTO(sc_exit(long ret,) int * policy, unsigned long * nmask, unsigned long maxnode, unsigned long addr, unsigned long flags),
1509 TP_ARGS(sc_exit(ret,) policy, nmask, maxnode, addr, flags),
1510 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(int *, policy)) sc_out(__field_hex(unsigned long *, nmask)) sc_in(__field(unsigned long, maxnode)) sc_in(__field_hex(unsigned long, addr)) sc_in(__field(unsigned long, flags))),
1511 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(policy, policy)) sc_out(tp_assign(nmask, nmask)) sc_in(tp_assign(maxnode, maxnode)) sc_in(tp_assign(addr, addr)) sc_in(tp_assign(flags, flags))),
1512 TP_printk()
1513 )
1514 #endif
1515 #ifndef OVERRIDE_64_mq_timedsend
1516 SC_LTTNG_TRACEPOINT_EVENT(mq_timedsend,
1517 TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const char * u_msg_ptr, size_t msg_len, unsigned int msg_prio, const struct timespec * u_abs_timeout),
1518 TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout),
1519 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(mqd_t, mqdes)) sc_in(__field_hex(const char *, u_msg_ptr)) sc_in(__field(size_t, msg_len)) sc_in(__field(unsigned int, msg_prio)) sc_in(__field_hex(const struct timespec *, u_abs_timeout))),
1520 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(mqdes, mqdes)) sc_in(tp_assign(u_msg_ptr, u_msg_ptr)) sc_in(tp_assign(msg_len, msg_len)) sc_in(tp_assign(msg_prio, msg_prio)) sc_in(tp_assign(u_abs_timeout, u_abs_timeout))),
1521 TP_printk()
1522 )
1523 #endif
1524 #ifndef OVERRIDE_64_mq_timedreceive
1525 SC_LTTNG_TRACEPOINT_EVENT(mq_timedreceive,
1526 TP_PROTO(sc_exit(long ret,) mqd_t mqdes, char * u_msg_ptr, size_t msg_len, unsigned int * u_msg_prio, const struct timespec * u_abs_timeout),
1527 TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout),
1528 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(mqd_t, mqdes)) sc_out(__field_hex(char *, u_msg_ptr)) sc_in(__field(size_t, msg_len)) sc_out(__field_hex(unsigned int *, u_msg_prio)) sc_in(__field_hex(const struct timespec *, u_abs_timeout))),
1529 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(mqdes, mqdes)) sc_out(tp_assign(u_msg_ptr, u_msg_ptr)) sc_in(tp_assign(msg_len, msg_len)) sc_out(tp_assign(u_msg_prio, u_msg_prio)) sc_in(tp_assign(u_abs_timeout, u_abs_timeout))),
1530 TP_printk()
1531 )
1532 #endif
1533 #ifndef OVERRIDE_64_waitid
1534 SC_LTTNG_TRACEPOINT_EVENT(waitid,
1535 TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru),
1536 TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru),
1537 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(pid_t, upid)) sc_out(__field_hex(struct siginfo *, infop)) sc_in(__field(int, options)) sc_out(__field_hex(struct rusage *, ru))),
1538 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(upid, upid)) sc_out(tp_assign(infop, infop)) sc_in(tp_assign(options, options)) sc_out(tp_assign(ru, ru))),
1539 TP_printk()
1540 )
1541 #endif
1542 #ifndef OVERRIDE_64_add_key
1543 SC_LTTNG_TRACEPOINT_EVENT(add_key,
1544 TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const void * _payload, size_t plen, key_serial_t ringid),
1545 TP_ARGS(sc_exit(ret,) _type, _description, _payload, plen, ringid),
1546 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(_type, _type)) sc_in(__field_hex(const char *, _description)) sc_in(__field_hex(const void *, _payload)) sc_in(__field(size_t, plen)) sc_in(__field(key_serial_t, ringid))),
1547 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(_type, _type)) sc_in(tp_assign(_description, _description)) sc_in(tp_assign(_payload, _payload)) sc_in(tp_assign(plen, plen)) sc_in(tp_assign(ringid, ringid))),
1548 TP_printk()
1549 )
1550 #endif
1551 #ifndef OVERRIDE_64_fchownat
1552 SC_LTTNG_TRACEPOINT_EVENT(fchownat,
1553 TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag),
1554 TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag),
1555 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group)) sc_in(__field(int, flag))),
1556 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(user, user)) sc_in(tp_assign(group, group)) sc_in(tp_assign(flag, flag))),
1557 TP_printk()
1558 )
1559 #endif
1560 #ifndef OVERRIDE_64_linkat
1561 SC_LTTNG_TRACEPOINT_EVENT(linkat,
1562 TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags),
1563 TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags),
1564 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, olddfd)) sc_in(__string_from_user(oldname, oldname)) sc_in(__field(int, newdfd)) sc_in(__string_from_user(newname, newname)) sc_in(__field(int, flags))),
1565 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(olddfd, olddfd)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_assign(newdfd, newdfd)) sc_in(tp_copy_string_from_user(newname, newname)) sc_in(tp_assign(flags, flags))),
1566 TP_printk()
1567 )
1568 #endif
1569 #ifndef OVERRIDE_64_ppoll
1570 SC_LTTNG_TRACEPOINT_EVENT(ppoll,
1571 TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize),
1572 TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize),
1573 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct pollfd *, ufds)) sc_in(__field(unsigned int, nfds)) sc_in(__field_hex(struct timespec *, tsp)) sc_in(__field_hex(const sigset_t *, sigmask)) sc_in(__field(size_t, sigsetsize))),
1574 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(ufds, ufds)) sc_in(tp_assign(nfds, nfds)) sc_in(tp_assign(tsp, tsp)) sc_in(tp_assign(sigmask, sigmask)) sc_in(tp_assign(sigsetsize, sigsetsize))),
1575 TP_printk()
1576 )
1577 #endif
1578 #ifndef OVERRIDE_64_preadv
1579 SC_LTTNG_TRACEPOINT_EVENT(preadv,
1580 TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h),
1581 TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h),
1582 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_out(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen)) sc_in(__field(unsigned long, pos_l)) sc_in(__field(unsigned long, pos_h))),
1583 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(vec, vec)) sc_in(tp_assign(vlen, vlen)) sc_in(tp_assign(pos_l, pos_l)) sc_in(tp_assign(pos_h, pos_h))),
1584 TP_printk()
1585 )
1586 #endif
1587 #ifndef OVERRIDE_64_pwritev
1588 SC_LTTNG_TRACEPOINT_EVENT(pwritev,
1589 TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h),
1590 TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h),
1591 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_in(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen)) sc_in(__field(unsigned long, pos_l)) sc_in(__field(unsigned long, pos_h))),
1592 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(vec, vec)) sc_in(tp_assign(vlen, vlen)) sc_in(tp_assign(pos_l, pos_l)) sc_in(tp_assign(pos_h, pos_h))),
1593 TP_printk()
1594 )
1595 #endif
1596 #ifndef OVERRIDE_64_perf_event_open
1597 SC_LTTNG_TRACEPOINT_EVENT(perf_event_open,
1598 TP_PROTO(sc_exit(long ret,) struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags),
1599 TP_ARGS(sc_exit(ret,) attr_uptr, pid, cpu, group_fd, flags),
1600 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct perf_event_attr *, attr_uptr)) sc_in(__field(pid_t, pid)) sc_in(__field(int, cpu)) sc_in(__field(int, group_fd)) sc_in(__field(unsigned long, flags))),
1601 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(attr_uptr, attr_uptr)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(cpu, cpu)) sc_in(tp_assign(group_fd, group_fd)) sc_in(tp_assign(flags, flags))),
1602 TP_printk()
1603 )
1604 #endif
1605 #ifndef OVERRIDE_64_recvmmsg
1606 SC_LTTNG_TRACEPOINT_EVENT(recvmmsg,
1607 TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout),
1608 TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout),
1609 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct mmsghdr *, mmsg)) sc_in(__field(unsigned int, vlen)) sc_in(__field(unsigned int, flags)) sc_inout(__field_hex(struct timespec *, timeout))),
1610 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(mmsg, mmsg)) sc_in(tp_assign(vlen, vlen)) sc_in(tp_assign(flags, flags)) sc_inout(tp_assign(timeout, timeout))),
1611 TP_printk()
1612 )
1613 #endif
1614 #ifndef OVERRIDE_64_fanotify_mark
1615 SC_LTTNG_TRACEPOINT_EVENT(fanotify_mark,
1616 TP_PROTO(sc_exit(long ret,) int fanotify_fd, unsigned int flags, __u64 mask, int dfd, const char * pathname),
1617 TP_ARGS(sc_exit(ret,) fanotify_fd, flags, mask, dfd, pathname),
1618 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fanotify_fd)) sc_in(__field(unsigned int, flags)) sc_in(__field(__u64, mask)) sc_in(__field(int, dfd)) sc_in(__string_from_user(pathname, pathname))),
1619 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fanotify_fd, fanotify_fd)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(mask, mask)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(pathname, pathname))),
1620 TP_printk()
1621 )
1622 #endif
1623 #ifndef OVERRIDE_64_name_to_handle_at
1624 SC_LTTNG_TRACEPOINT_EVENT(name_to_handle_at,
1625 TP_PROTO(sc_exit(long ret,) int dfd, const char * name, struct file_handle * handle, int * mnt_id, int flag),
1626 TP_ARGS(sc_exit(ret,) dfd, name, handle, mnt_id, flag),
1627 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(name, name)) sc_inout(__field_hex(struct file_handle *, handle)) sc_out(__field_hex(int *, mnt_id)) sc_in(__field(int, flag))),
1628 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(name, name)) sc_inout(tp_assign(handle, handle)) sc_out(tp_assign(mnt_id, mnt_id)) sc_in(tp_assign(flag, flag))),
1629 TP_printk()
1630 )
1631 #endif
1632 #ifndef OVERRIDE_64_sendto
1633 SC_LTTNG_TRACEPOINT_EVENT(sendto,
1634 TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags, struct sockaddr * addr, int addr_len),
1635 TP_ARGS(sc_exit(ret,) fd, buff, len, flags, addr, addr_len),
1636 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(void *, buff)) sc_in(__field(size_t, len)) sc_in(__field(unsigned int, flags)) sc_in(__field_hex(struct sockaddr *, addr)) sc_in(__field_hex(int, addr_len))),
1637 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(buff, buff)) sc_in(tp_assign(len, len)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(addr, addr)) sc_in(tp_assign(addr_len, addr_len))),
1638 TP_printk()
1639 )
1640 #endif
1641 #ifndef OVERRIDE_64_recvfrom
1642 SC_LTTNG_TRACEPOINT_EVENT(recvfrom,
1643 TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned int flags, struct sockaddr * addr, int * addr_len),
1644 TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags, addr, addr_len),
1645 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(void *, ubuf)) sc_in(__field(size_t, size)) sc_in(__field(unsigned int, flags)) sc_out(__field_hex(struct sockaddr *, addr)) sc_inout(__field_hex(int *, addr_len))),
1646 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(ubuf, ubuf)) sc_in(tp_assign(size, size)) sc_in(tp_assign(flags, flags)) sc_out(tp_assign(addr, addr)) sc_inout(tp_assign(addr_len, addr_len))),
1647 TP_printk()
1648 )
1649 #endif
1650 #ifndef OVERRIDE_64_futex
1651 SC_LTTNG_TRACEPOINT_EVENT(futex,
1652 TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3),
1653 TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3),
1654 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(u32 *, uaddr)) sc_in(__field(int, op)) sc_in(__field(u32, val)) sc_in(__field_hex(struct timespec *, utime)) sc_inout(__field_hex(u32 *, uaddr2)) sc_in(__field(u32, val3))),
1655 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(uaddr, uaddr)) sc_in(tp_assign(op, op)) sc_in(tp_assign(val, val)) sc_in(tp_assign(utime, utime)) sc_inout(tp_assign(uaddr2, uaddr2)) sc_in(tp_assign(val3, val3))),
1656 TP_printk()
1657 )
1658 #endif
1659 #ifndef OVERRIDE_64_mbind
1660 SC_LTTNG_TRACEPOINT_EVENT(mbind,
1661 TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long len, unsigned long mode, unsigned long * nmask, unsigned long maxnode, unsigned flags),
1662 TP_ARGS(sc_exit(ret,) start, len, mode, nmask, maxnode, flags),
1663 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(unsigned long, len)) sc_in(__field(unsigned long, mode)) sc_in(__field_hex(unsigned long *, nmask)) sc_in(__field(unsigned long, maxnode)) sc_in(__field(unsigned, flags))),
1664 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len, len)) sc_in(tp_assign(mode, mode)) sc_in(tp_assign(nmask, nmask)) sc_in(tp_assign(maxnode, maxnode)) sc_in(tp_assign(flags, flags))),
1665 TP_printk()
1666 )
1667 #endif
1668 #ifndef OVERRIDE_64_pselect6
1669 SC_LTTNG_TRACEPOINT_EVENT(pselect6,
1670 TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig),
1671 TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig),
1672 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, n)) sc_inout(__field_hex(fd_set *, inp)) sc_inout(__field_hex(fd_set *, outp)) sc_inout(__field_hex(fd_set *, exp)) sc_inout(__field_hex(struct timespec *, tsp)) sc_in(__field_hex(void *, sig))),
1673 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(n, n)) sc_inout(tp_assign(inp, inp)) sc_inout(tp_assign(outp, outp)) sc_inout(tp_assign(exp, exp)) sc_inout(tp_assign(tsp, tsp)) sc_in(tp_assign(sig, sig))),
1674 TP_printk()
1675 )
1676 #endif
1677 #ifndef OVERRIDE_64_splice
1678 SC_LTTNG_TRACEPOINT_EVENT(splice,
1679 TP_PROTO(sc_exit(long ret,) int fd_in, loff_t * off_in, int fd_out, loff_t * off_out, size_t len, unsigned int flags),
1680 TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags),
1681 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd_in)) sc_in(__field_hex(loff_t *, off_in)) sc_in(__field(int, fd_out)) sc_in(__field_hex(loff_t *, off_out)) sc_in(__field(size_t, len)) sc_in(__field(unsigned int, flags))),
1682 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd_in, fd_in)) sc_in(tp_assign(off_in, off_in)) sc_in(tp_assign(fd_out, fd_out)) sc_in(tp_assign(off_out, off_out)) sc_in(tp_assign(len, len)) sc_in(tp_assign(flags, flags))),
1683 TP_printk()
1684 )
1685 #endif
1686 #ifndef OVERRIDE_64_move_pages
1687 SC_LTTNG_TRACEPOINT_EVENT(move_pages,
1688 TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned long nr_pages, const void * * pages, const int * nodes, int * status, int flags),
1689 TP_ARGS(sc_exit(ret,) pid, nr_pages, pages, nodes, status, flags),
1690 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(unsigned long, nr_pages)) sc_in(__field_hex(const void * *, pages)) sc_in(__field_hex(const int *, nodes)) sc_out(__field_hex(int *, status)) sc_in(__field(int, flags))),
1691 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(nr_pages, nr_pages)) sc_in(tp_assign(pages, pages)) sc_in(tp_assign(nodes, nodes)) sc_out(tp_assign(status, status)) sc_in(tp_assign(flags, flags))),
1692 TP_printk()
1693 )
1694 #endif
1695 #ifndef OVERRIDE_64_epoll_pwait
1696 SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait,
1697 TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize),
1698 TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize),
1699 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, epfd)) sc_out(__field_hex(struct epoll_event *, events)) sc_in(__field(int, maxevents)) sc_in(__field(int, timeout)) sc_in(__field_hex(const sigset_t *, sigmask)) sc_in(__field(size_t, sigsetsize))),
1700 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(epfd, epfd)) sc_out(tp_assign(events, events)) sc_in(tp_assign(maxevents, maxevents)) sc_in(tp_assign(timeout, timeout)) sc_in(tp_assign(sigmask, sigmask)) sc_in(tp_assign(sigsetsize, sigsetsize))),
1701 TP_printk()
1702 )
1703 #endif
1704 #ifndef OVERRIDE_64_process_vm_readv
1705 SC_LTTNG_TRACEPOINT_EVENT(process_vm_readv,
1706 TP_PROTO(sc_exit(long ret,) pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags),
1707 TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags),
1708 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_out(__field_hex(const struct iovec *, lvec)) sc_in(__field(unsigned long, liovcnt)) sc_in(__field_hex(const struct iovec *, rvec)) sc_in(__field(unsigned long, riovcnt)) sc_in(__field(unsigned long, flags))),
1709 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_out(tp_assign(lvec, lvec)) sc_in(tp_assign(liovcnt, liovcnt)) sc_in(tp_assign(rvec, rvec)) sc_in(tp_assign(riovcnt, riovcnt)) sc_in(tp_assign(flags, flags))),
1710 TP_printk()
1711 )
1712 #endif
1713 #ifndef OVERRIDE_64_process_vm_writev
1714 SC_LTTNG_TRACEPOINT_EVENT(process_vm_writev,
1715 TP_PROTO(sc_exit(long ret,) pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags),
1716 TP_ARGS(sc_exit(ret,) pid, lvec, liovcnt, rvec, riovcnt, flags),
1717 TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field_hex(const struct iovec *, lvec)) sc_in(__field(unsigned long, liovcnt)) sc_in(__field_hex(const struct iovec *, rvec)) sc_in(__field(unsigned long, riovcnt)) sc_in(__field(unsigned long, flags))),
1718 TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(lvec, lvec)) sc_in(tp_assign(liovcnt, liovcnt)) sc_in(tp_assign(rvec, rvec)) sc_in(tp_assign(riovcnt, riovcnt)) sc_in(tp_assign(flags, flags))),
1719 TP_printk()
1720 )
1721 #endif
1722
1723 #endif /* _TRACE_SYSCALLS_POINTERS_H */
1724
1725 /* This part must be outside protection */
1726 #include "../../../probes/define_trace.h"
1727
1728 #else /* CREATE_SYSCALL_TABLE */
1729
1730 #include "x86-64-syscalls-3.10.0-rc7_pointers_override.h"
1731 #include "syscalls_pointers_override.h"
1732
1733 #ifndef OVERRIDE_TABLE_64_read
1734 TRACE_SYSCALL_TABLE(read, read, 0, 3)
1735 #endif
1736 #ifndef OVERRIDE_TABLE_64_write
1737 TRACE_SYSCALL_TABLE(write, write, 1, 3)
1738 #endif
1739 #ifndef OVERRIDE_TABLE_64_open
1740 TRACE_SYSCALL_TABLE(open, open, 2, 3)
1741 #endif
1742 #ifndef OVERRIDE_TABLE_64_newstat
1743 TRACE_SYSCALL_TABLE(newstat, newstat, 4, 2)
1744 #endif
1745 #ifndef OVERRIDE_TABLE_64_newfstat
1746 TRACE_SYSCALL_TABLE(newfstat, newfstat, 5, 2)
1747 #endif
1748 #ifndef OVERRIDE_TABLE_64_newlstat
1749 TRACE_SYSCALL_TABLE(newlstat, newlstat, 6, 2)
1750 #endif
1751 #ifndef OVERRIDE_TABLE_64_poll
1752 TRACE_SYSCALL_TABLE(poll, poll, 7, 3)
1753 #endif
1754 #ifndef OVERRIDE_TABLE_64_rt_sigaction
1755 TRACE_SYSCALL_TABLE(rt_sigaction, rt_sigaction, 13, 4)
1756 #endif
1757 #ifndef OVERRIDE_TABLE_64_rt_sigprocmask
1758 TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 14, 4)
1759 #endif
1760 #ifndef OVERRIDE_TABLE_64_pread64
1761 TRACE_SYSCALL_TABLE(pread64, pread64, 17, 4)
1762 #endif
1763 #ifndef OVERRIDE_TABLE_64_pwrite64
1764 TRACE_SYSCALL_TABLE(pwrite64, pwrite64, 18, 4)
1765 #endif
1766 #ifndef OVERRIDE_TABLE_64_readv
1767 TRACE_SYSCALL_TABLE(readv, readv, 19, 3)
1768 #endif
1769 #ifndef OVERRIDE_TABLE_64_writev
1770 TRACE_SYSCALL_TABLE(writev, writev, 20, 3)
1771 #endif
1772 #ifndef OVERRIDE_TABLE_64_access
1773 TRACE_SYSCALL_TABLE(access, access, 21, 2)
1774 #endif
1775 #ifndef OVERRIDE_TABLE_64_pipe
1776 TRACE_SYSCALL_TABLE(pipe, pipe, 22, 1)
1777 #endif
1778 #ifndef OVERRIDE_TABLE_64_select
1779 TRACE_SYSCALL_TABLE(select, select, 23, 5)
1780 #endif
1781 #ifndef OVERRIDE_TABLE_64_mincore
1782 TRACE_SYSCALL_TABLE(mincore, mincore, 27, 3)
1783 #endif
1784 #ifndef OVERRIDE_TABLE_64_shmat
1785 TRACE_SYSCALL_TABLE(shmat, shmat, 30, 3)
1786 #endif
1787 #ifndef OVERRIDE_TABLE_64_shmctl
1788 TRACE_SYSCALL_TABLE(shmctl, shmctl, 31, 3)
1789 #endif
1790 #ifndef OVERRIDE_TABLE_64_nanosleep
1791 TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 35, 2)
1792 #endif
1793 #ifndef OVERRIDE_TABLE_64_getitimer
1794 TRACE_SYSCALL_TABLE(getitimer, getitimer, 36, 2)
1795 #endif
1796 #ifndef OVERRIDE_TABLE_64_setitimer
1797 TRACE_SYSCALL_TABLE(setitimer, setitimer, 38, 3)
1798 #endif
1799 #ifndef OVERRIDE_TABLE_64_sendfile64
1800 TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 40, 4)
1801 #endif
1802 #ifndef OVERRIDE_TABLE_64_connect
1803 TRACE_SYSCALL_TABLE(connect, connect, 42, 3)
1804 #endif
1805 #ifndef OVERRIDE_TABLE_64_accept
1806 TRACE_SYSCALL_TABLE(accept, accept, 43, 3)
1807 #endif
1808 #ifndef OVERRIDE_TABLE_64_sendto
1809 TRACE_SYSCALL_TABLE(sendto, sendto, 44, 6)
1810 #endif
1811 #ifndef OVERRIDE_TABLE_64_recvfrom
1812 TRACE_SYSCALL_TABLE(recvfrom, recvfrom, 45, 6)
1813 #endif
1814 #ifndef OVERRIDE_TABLE_64_sendmsg
1815 TRACE_SYSCALL_TABLE(sendmsg, sendmsg, 46, 3)
1816 #endif
1817 #ifndef OVERRIDE_TABLE_64_recvmsg
1818 TRACE_SYSCALL_TABLE(recvmsg, recvmsg, 47, 3)
1819 #endif
1820 #ifndef OVERRIDE_TABLE_64_bind
1821 TRACE_SYSCALL_TABLE(bind, bind, 49, 3)
1822 #endif
1823 #ifndef OVERRIDE_TABLE_64_getsockname
1824 TRACE_SYSCALL_TABLE(getsockname, getsockname, 51, 3)
1825 #endif
1826 #ifndef OVERRIDE_TABLE_64_getpeername
1827 TRACE_SYSCALL_TABLE(getpeername, getpeername, 52, 3)
1828 #endif
1829 #ifndef OVERRIDE_TABLE_64_socketpair
1830 TRACE_SYSCALL_TABLE(socketpair, socketpair, 53, 4)
1831 #endif
1832 #ifndef OVERRIDE_TABLE_64_setsockopt
1833 TRACE_SYSCALL_TABLE(setsockopt, setsockopt, 54, 5)
1834 #endif
1835 #ifndef OVERRIDE_TABLE_64_getsockopt
1836 TRACE_SYSCALL_TABLE(getsockopt, getsockopt, 55, 5)
1837 #endif
1838 #ifndef OVERRIDE_TABLE_64_wait4
1839 TRACE_SYSCALL_TABLE(wait4, wait4, 61, 4)
1840 #endif
1841 #ifndef OVERRIDE_TABLE_64_newuname
1842 TRACE_SYSCALL_TABLE(newuname, newuname, 63, 1)
1843 #endif
1844 #ifndef OVERRIDE_TABLE_64_semop
1845 TRACE_SYSCALL_TABLE(semop, semop, 65, 3)
1846 #endif
1847 #ifndef OVERRIDE_TABLE_64_shmdt
1848 TRACE_SYSCALL_TABLE(shmdt, shmdt, 67, 1)
1849 #endif
1850 #ifndef OVERRIDE_TABLE_64_msgsnd
1851 TRACE_SYSCALL_TABLE(msgsnd, msgsnd, 69, 4)
1852 #endif
1853 #ifndef OVERRIDE_TABLE_64_msgrcv
1854 TRACE_SYSCALL_TABLE(msgrcv, msgrcv, 70, 5)
1855 #endif
1856 #ifndef OVERRIDE_TABLE_64_msgctl
1857 TRACE_SYSCALL_TABLE(msgctl, msgctl, 71, 3)
1858 #endif
1859 #ifndef OVERRIDE_TABLE_64_truncate
1860 TRACE_SYSCALL_TABLE(truncate, truncate, 76, 2)
1861 #endif
1862 #ifndef OVERRIDE_TABLE_64_getdents
1863 TRACE_SYSCALL_TABLE(getdents, getdents, 78, 3)
1864 #endif
1865 #ifndef OVERRIDE_TABLE_64_getcwd
1866 TRACE_SYSCALL_TABLE(getcwd, getcwd, 79, 2)
1867 #endif
1868 #ifndef OVERRIDE_TABLE_64_chdir
1869 TRACE_SYSCALL_TABLE(chdir, chdir, 80, 1)
1870 #endif
1871 #ifndef OVERRIDE_TABLE_64_rename
1872 TRACE_SYSCALL_TABLE(rename, rename, 82, 2)
1873 #endif
1874 #ifndef OVERRIDE_TABLE_64_mkdir
1875 TRACE_SYSCALL_TABLE(mkdir, mkdir, 83, 2)
1876 #endif
1877 #ifndef OVERRIDE_TABLE_64_rmdir
1878 TRACE_SYSCALL_TABLE(rmdir, rmdir, 84, 1)
1879 #endif
1880 #ifndef OVERRIDE_TABLE_64_creat
1881 TRACE_SYSCALL_TABLE(creat, creat, 85, 2)
1882 #endif
1883 #ifndef OVERRIDE_TABLE_64_link
1884 TRACE_SYSCALL_TABLE(link, link, 86, 2)
1885 #endif
1886 #ifndef OVERRIDE_TABLE_64_unlink
1887 TRACE_SYSCALL_TABLE(unlink, unlink, 87, 1)
1888 #endif
1889 #ifndef OVERRIDE_TABLE_64_symlink
1890 TRACE_SYSCALL_TABLE(symlink, symlink, 88, 2)
1891 #endif
1892 #ifndef OVERRIDE_TABLE_64_readlink
1893 TRACE_SYSCALL_TABLE(readlink, readlink, 89, 3)
1894 #endif
1895 #ifndef OVERRIDE_TABLE_64_chmod
1896 TRACE_SYSCALL_TABLE(chmod, chmod, 90, 2)
1897 #endif
1898 #ifndef OVERRIDE_TABLE_64_chown
1899 TRACE_SYSCALL_TABLE(chown, chown, 92, 3)
1900 #endif
1901 #ifndef OVERRIDE_TABLE_64_lchown
1902 TRACE_SYSCALL_TABLE(lchown, lchown, 94, 3)
1903 #endif
1904 #ifndef OVERRIDE_TABLE_64_gettimeofday
1905 TRACE_SYSCALL_TABLE(gettimeofday, gettimeofday, 96, 2)
1906 #endif
1907 #ifndef OVERRIDE_TABLE_64_getrlimit
1908 TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 97, 2)
1909 #endif
1910 #ifndef OVERRIDE_TABLE_64_getrusage
1911 TRACE_SYSCALL_TABLE(getrusage, getrusage, 98, 2)
1912 #endif
1913 #ifndef OVERRIDE_TABLE_64_sysinfo
1914 TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 99, 1)
1915 #endif
1916 #ifndef OVERRIDE_TABLE_64_times
1917 TRACE_SYSCALL_TABLE(times, times, 100, 1)
1918 #endif
1919 #ifndef OVERRIDE_TABLE_64_syslog
1920 TRACE_SYSCALL_TABLE(syslog, syslog, 103, 3)
1921 #endif
1922 #ifndef OVERRIDE_TABLE_64_getgroups
1923 TRACE_SYSCALL_TABLE(getgroups, getgroups, 115, 2)
1924 #endif
1925 #ifndef OVERRIDE_TABLE_64_setgroups
1926 TRACE_SYSCALL_TABLE(setgroups, setgroups, 116, 2)
1927 #endif
1928 #ifndef OVERRIDE_TABLE_64_getresuid
1929 TRACE_SYSCALL_TABLE(getresuid, getresuid, 118, 3)
1930 #endif
1931 #ifndef OVERRIDE_TABLE_64_getresgid
1932 TRACE_SYSCALL_TABLE(getresgid, getresgid, 120, 3)
1933 #endif
1934 #ifndef OVERRIDE_TABLE_64_rt_sigpending
1935 TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 127, 2)
1936 #endif
1937 #ifndef OVERRIDE_TABLE_64_rt_sigtimedwait
1938 TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 128, 4)
1939 #endif
1940 #ifndef OVERRIDE_TABLE_64_rt_sigqueueinfo
1941 TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 129, 3)
1942 #endif
1943 #ifndef OVERRIDE_TABLE_64_rt_sigsuspend
1944 TRACE_SYSCALL_TABLE(rt_sigsuspend, rt_sigsuspend, 130, 2)
1945 #endif
1946 #ifndef OVERRIDE_TABLE_64_sigaltstack
1947 TRACE_SYSCALL_TABLE(sigaltstack, sigaltstack, 131, 2)
1948 #endif
1949 #ifndef OVERRIDE_TABLE_64_utime
1950 TRACE_SYSCALL_TABLE(utime, utime, 132, 2)
1951 #endif
1952 #ifndef OVERRIDE_TABLE_64_mknod
1953 TRACE_SYSCALL_TABLE(mknod, mknod, 133, 3)
1954 #endif
1955 #ifndef OVERRIDE_TABLE_64_ustat
1956 TRACE_SYSCALL_TABLE(ustat, ustat, 136, 2)
1957 #endif
1958 #ifndef OVERRIDE_TABLE_64_statfs
1959 TRACE_SYSCALL_TABLE(statfs, statfs, 137, 2)
1960 #endif
1961 #ifndef OVERRIDE_TABLE_64_fstatfs
1962 TRACE_SYSCALL_TABLE(fstatfs, fstatfs, 138, 2)
1963 #endif
1964 #ifndef OVERRIDE_TABLE_64_sched_setparam
1965 TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 142, 2)
1966 #endif
1967 #ifndef OVERRIDE_TABLE_64_sched_getparam
1968 TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 143, 2)
1969 #endif
1970 #ifndef OVERRIDE_TABLE_64_sched_setscheduler
1971 TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 144, 3)
1972 #endif
1973 #ifndef OVERRIDE_TABLE_64_sched_rr_get_interval
1974 TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 148, 2)
1975 #endif
1976 #ifndef OVERRIDE_TABLE_64_pivot_root
1977 TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 155, 2)
1978 #endif
1979 #ifndef OVERRIDE_TABLE_64_sysctl
1980 TRACE_SYSCALL_TABLE(sysctl, sysctl, 156, 1)
1981 #endif
1982 #ifndef OVERRIDE_TABLE_64_adjtimex
1983 TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 159, 1)
1984 #endif
1985 #ifndef OVERRIDE_TABLE_64_setrlimit
1986 TRACE_SYSCALL_TABLE(setrlimit, setrlimit, 160, 2)
1987 #endif
1988 #ifndef OVERRIDE_TABLE_64_chroot
1989 TRACE_SYSCALL_TABLE(chroot, chroot, 161, 1)
1990 #endif
1991 #ifndef OVERRIDE_TABLE_64_acct
1992 TRACE_SYSCALL_TABLE(acct, acct, 163, 1)
1993 #endif
1994 #ifndef OVERRIDE_TABLE_64_settimeofday
1995 TRACE_SYSCALL_TABLE(settimeofday, settimeofday, 164, 2)
1996 #endif
1997 #ifndef OVERRIDE_TABLE_64_mount
1998 TRACE_SYSCALL_TABLE(mount, mount, 165, 5)
1999 #endif
2000 #ifndef OVERRIDE_TABLE_64_umount
2001 TRACE_SYSCALL_TABLE(umount, umount, 166, 2)
2002 #endif
2003 #ifndef OVERRIDE_TABLE_64_swapon
2004 TRACE_SYSCALL_TABLE(swapon, swapon, 167, 2)
2005 #endif
2006 #ifndef OVERRIDE_TABLE_64_swapoff
2007 TRACE_SYSCALL_TABLE(swapoff, swapoff, 168, 1)
2008 #endif
2009 #ifndef OVERRIDE_TABLE_64_reboot
2010 TRACE_SYSCALL_TABLE(reboot, reboot, 169, 4)
2011 #endif
2012 #ifndef OVERRIDE_TABLE_64_sethostname
2013 TRACE_SYSCALL_TABLE(sethostname, sethostname, 170, 2)
2014 #endif
2015 #ifndef OVERRIDE_TABLE_64_setdomainname
2016 TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 171, 2)
2017 #endif
2018 #ifndef OVERRIDE_TABLE_64_init_module
2019 TRACE_SYSCALL_TABLE(init_module, init_module, 175, 3)
2020 #endif
2021 #ifndef OVERRIDE_TABLE_64_delete_module
2022 TRACE_SYSCALL_TABLE(delete_module, delete_module, 176, 2)
2023 #endif
2024 #ifndef OVERRIDE_TABLE_64_quotactl
2025 TRACE_SYSCALL_TABLE(quotactl, quotactl, 179, 4)
2026 #endif
2027 #ifndef OVERRIDE_TABLE_64_setxattr
2028 TRACE_SYSCALL_TABLE(setxattr, setxattr, 188, 5)
2029 #endif
2030 #ifndef OVERRIDE_TABLE_64_lsetxattr
2031 TRACE_SYSCALL_TABLE(lsetxattr, lsetxattr, 189, 5)
2032 #endif
2033 #ifndef OVERRIDE_TABLE_64_fsetxattr
2034 TRACE_SYSCALL_TABLE(fsetxattr, fsetxattr, 190, 5)
2035 #endif
2036 #ifndef OVERRIDE_TABLE_64_getxattr
2037 TRACE_SYSCALL_TABLE(getxattr, getxattr, 191, 4)
2038 #endif
2039 #ifndef OVERRIDE_TABLE_64_lgetxattr
2040 TRACE_SYSCALL_TABLE(lgetxattr, lgetxattr, 192, 4)
2041 #endif
2042 #ifndef OVERRIDE_TABLE_64_fgetxattr
2043 TRACE_SYSCALL_TABLE(fgetxattr, fgetxattr, 193, 4)
2044 #endif
2045 #ifndef OVERRIDE_TABLE_64_listxattr
2046 TRACE_SYSCALL_TABLE(listxattr, listxattr, 194, 3)
2047 #endif
2048 #ifndef OVERRIDE_TABLE_64_llistxattr
2049 TRACE_SYSCALL_TABLE(llistxattr, llistxattr, 195, 3)
2050 #endif
2051 #ifndef OVERRIDE_TABLE_64_flistxattr
2052 TRACE_SYSCALL_TABLE(flistxattr, flistxattr, 196, 3)
2053 #endif
2054 #ifndef OVERRIDE_TABLE_64_removexattr
2055 TRACE_SYSCALL_TABLE(removexattr, removexattr, 197, 2)
2056 #endif
2057 #ifndef OVERRIDE_TABLE_64_lremovexattr
2058 TRACE_SYSCALL_TABLE(lremovexattr, lremovexattr, 198, 2)
2059 #endif
2060 #ifndef OVERRIDE_TABLE_64_fremovexattr
2061 TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 199, 2)
2062 #endif
2063 #ifndef OVERRIDE_TABLE_64_time
2064 TRACE_SYSCALL_TABLE(time, time, 201, 1)
2065 #endif
2066 #ifndef OVERRIDE_TABLE_64_futex
2067 TRACE_SYSCALL_TABLE(futex, futex, 202, 6)
2068 #endif
2069 #ifndef OVERRIDE_TABLE_64_sched_setaffinity
2070 TRACE_SYSCALL_TABLE(sched_setaffinity, sched_setaffinity, 203, 3)
2071 #endif
2072 #ifndef OVERRIDE_TABLE_64_sched_getaffinity
2073 TRACE_SYSCALL_TABLE(sched_getaffinity, sched_getaffinity, 204, 3)
2074 #endif
2075 #ifndef OVERRIDE_TABLE_64_io_setup
2076 TRACE_SYSCALL_TABLE(io_setup, io_setup, 206, 2)
2077 #endif
2078 #ifndef OVERRIDE_TABLE_64_io_getevents
2079 TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 208, 5)
2080 #endif
2081 #ifndef OVERRIDE_TABLE_64_io_submit
2082 TRACE_SYSCALL_TABLE(io_submit, io_submit, 209, 3)
2083 #endif
2084 #ifndef OVERRIDE_TABLE_64_io_cancel
2085 TRACE_SYSCALL_TABLE(io_cancel, io_cancel, 210, 3)
2086 #endif
2087 #ifndef OVERRIDE_TABLE_64_lookup_dcookie
2088 TRACE_SYSCALL_TABLE(lookup_dcookie, lookup_dcookie, 212, 3)
2089 #endif
2090 #ifndef OVERRIDE_TABLE_64_getdents64
2091 TRACE_SYSCALL_TABLE(getdents64, getdents64, 217, 3)
2092 #endif
2093 #ifndef OVERRIDE_TABLE_64_set_tid_address
2094 TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 218, 1)
2095 #endif
2096 #ifndef OVERRIDE_TABLE_64_semtimedop
2097 TRACE_SYSCALL_TABLE(semtimedop, semtimedop, 220, 4)
2098 #endif
2099 #ifndef OVERRIDE_TABLE_64_timer_create
2100 TRACE_SYSCALL_TABLE(timer_create, timer_create, 222, 3)
2101 #endif
2102 #ifndef OVERRIDE_TABLE_64_timer_settime
2103 TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 223, 4)
2104 #endif
2105 #ifndef OVERRIDE_TABLE_64_timer_gettime
2106 TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 224, 2)
2107 #endif
2108 #ifndef OVERRIDE_TABLE_64_clock_settime
2109 TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 227, 2)
2110 #endif
2111 #ifndef OVERRIDE_TABLE_64_clock_gettime
2112 TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 228, 2)
2113 #endif
2114 #ifndef OVERRIDE_TABLE_64_clock_getres
2115 TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 229, 2)
2116 #endif
2117 #ifndef OVERRIDE_TABLE_64_clock_nanosleep
2118 TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 230, 4)
2119 #endif
2120 #ifndef OVERRIDE_TABLE_64_epoll_wait
2121 TRACE_SYSCALL_TABLE(epoll_wait, epoll_wait, 232, 4)
2122 #endif
2123 #ifndef OVERRIDE_TABLE_64_epoll_ctl
2124 TRACE_SYSCALL_TABLE(epoll_ctl, epoll_ctl, 233, 4)
2125 #endif
2126 #ifndef OVERRIDE_TABLE_64_utimes
2127 TRACE_SYSCALL_TABLE(utimes, utimes, 235, 2)
2128 #endif
2129 #ifndef OVERRIDE_TABLE_64_mbind
2130 TRACE_SYSCALL_TABLE(mbind, mbind, 237, 6)
2131 #endif
2132 #ifndef OVERRIDE_TABLE_64_set_mempolicy
2133 TRACE_SYSCALL_TABLE(set_mempolicy, set_mempolicy, 238, 3)
2134 #endif
2135 #ifndef OVERRIDE_TABLE_64_get_mempolicy
2136 TRACE_SYSCALL_TABLE(get_mempolicy, get_mempolicy, 239, 5)
2137 #endif
2138 #ifndef OVERRIDE_TABLE_64_mq_open
2139 TRACE_SYSCALL_TABLE(mq_open, mq_open, 240, 4)
2140 #endif
2141 #ifndef OVERRIDE_TABLE_64_mq_unlink
2142 TRACE_SYSCALL_TABLE(mq_unlink, mq_unlink, 241, 1)
2143 #endif
2144 #ifndef OVERRIDE_TABLE_64_mq_timedsend
2145 TRACE_SYSCALL_TABLE(mq_timedsend, mq_timedsend, 242, 5)
2146 #endif
2147 #ifndef OVERRIDE_TABLE_64_mq_timedreceive
2148 TRACE_SYSCALL_TABLE(mq_timedreceive, mq_timedreceive, 243, 5)
2149 #endif
2150 #ifndef OVERRIDE_TABLE_64_mq_notify
2151 TRACE_SYSCALL_TABLE(mq_notify, mq_notify, 244, 2)
2152 #endif
2153 #ifndef OVERRIDE_TABLE_64_mq_getsetattr
2154 TRACE_SYSCALL_TABLE(mq_getsetattr, mq_getsetattr, 245, 3)
2155 #endif
2156 #ifndef OVERRIDE_TABLE_64_kexec_load
2157 TRACE_SYSCALL_TABLE(kexec_load, kexec_load, 246, 4)
2158 #endif
2159 #ifndef OVERRIDE_TABLE_64_waitid
2160 TRACE_SYSCALL_TABLE(waitid, waitid, 247, 5)
2161 #endif
2162 #ifndef OVERRIDE_TABLE_64_add_key
2163 TRACE_SYSCALL_TABLE(add_key, add_key, 248, 5)
2164 #endif
2165 #ifndef OVERRIDE_TABLE_64_request_key
2166 TRACE_SYSCALL_TABLE(request_key, request_key, 249, 4)
2167 #endif
2168 #ifndef OVERRIDE_TABLE_64_inotify_add_watch
2169 TRACE_SYSCALL_TABLE(inotify_add_watch, inotify_add_watch, 254, 3)
2170 #endif
2171 #ifndef OVERRIDE_TABLE_64_migrate_pages
2172 TRACE_SYSCALL_TABLE(migrate_pages, migrate_pages, 256, 4)
2173 #endif
2174 #ifndef OVERRIDE_TABLE_64_openat
2175 TRACE_SYSCALL_TABLE(openat, openat, 257, 4)
2176 #endif
2177 #ifndef OVERRIDE_TABLE_64_mkdirat
2178 TRACE_SYSCALL_TABLE(mkdirat, mkdirat, 258, 3)
2179 #endif
2180 #ifndef OVERRIDE_TABLE_64_mknodat
2181 TRACE_SYSCALL_TABLE(mknodat, mknodat, 259, 4)
2182 #endif
2183 #ifndef OVERRIDE_TABLE_64_fchownat
2184 TRACE_SYSCALL_TABLE(fchownat, fchownat, 260, 5)
2185 #endif
2186 #ifndef OVERRIDE_TABLE_64_futimesat
2187 TRACE_SYSCALL_TABLE(futimesat, futimesat, 261, 3)
2188 #endif
2189 #ifndef OVERRIDE_TABLE_64_newfstatat
2190 TRACE_SYSCALL_TABLE(newfstatat, newfstatat, 262, 4)
2191 #endif
2192 #ifndef OVERRIDE_TABLE_64_unlinkat
2193 TRACE_SYSCALL_TABLE(unlinkat, unlinkat, 263, 3)
2194 #endif
2195 #ifndef OVERRIDE_TABLE_64_renameat
2196 TRACE_SYSCALL_TABLE(renameat, renameat, 264, 4)
2197 #endif
2198 #ifndef OVERRIDE_TABLE_64_linkat
2199 TRACE_SYSCALL_TABLE(linkat, linkat, 265, 5)
2200 #endif
2201 #ifndef OVERRIDE_TABLE_64_symlinkat
2202 TRACE_SYSCALL_TABLE(symlinkat, symlinkat, 266, 3)
2203 #endif
2204 #ifndef OVERRIDE_TABLE_64_readlinkat
2205 TRACE_SYSCALL_TABLE(readlinkat, readlinkat, 267, 4)
2206 #endif
2207 #ifndef OVERRIDE_TABLE_64_fchmodat
2208 TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 268, 3)
2209 #endif
2210 #ifndef OVERRIDE_TABLE_64_faccessat
2211 TRACE_SYSCALL_TABLE(faccessat, faccessat, 269, 3)
2212 #endif
2213 #ifndef OVERRIDE_TABLE_64_pselect6
2214 TRACE_SYSCALL_TABLE(pselect6, pselect6, 270, 6)
2215 #endif
2216 #ifndef OVERRIDE_TABLE_64_ppoll
2217 TRACE_SYSCALL_TABLE(ppoll, ppoll, 271, 5)
2218 #endif
2219 #ifndef OVERRIDE_TABLE_64_set_robust_list
2220 TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 273, 2)
2221 #endif
2222 #ifndef OVERRIDE_TABLE_64_get_robust_list
2223 TRACE_SYSCALL_TABLE(get_robust_list, get_robust_list, 274, 3)
2224 #endif
2225 #ifndef OVERRIDE_TABLE_64_splice
2226 TRACE_SYSCALL_TABLE(splice, splice, 275, 6)
2227 #endif
2228 #ifndef OVERRIDE_TABLE_64_vmsplice
2229 TRACE_SYSCALL_TABLE(vmsplice, vmsplice, 278, 4)
2230 #endif
2231 #ifndef OVERRIDE_TABLE_64_move_pages
2232 TRACE_SYSCALL_TABLE(move_pages, move_pages, 279, 6)
2233 #endif
2234 #ifndef OVERRIDE_TABLE_64_utimensat
2235 TRACE_SYSCALL_TABLE(utimensat, utimensat, 280, 4)
2236 #endif
2237 #ifndef OVERRIDE_TABLE_64_epoll_pwait
2238 TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 281, 6)
2239 #endif
2240 #ifndef OVERRIDE_TABLE_64_signalfd
2241 TRACE_SYSCALL_TABLE(signalfd, signalfd, 282, 3)
2242 #endif
2243 #ifndef OVERRIDE_TABLE_64_timerfd_settime
2244 TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 286, 4)
2245 #endif
2246 #ifndef OVERRIDE_TABLE_64_timerfd_gettime
2247 TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 287, 2)
2248 #endif
2249 #ifndef OVERRIDE_TABLE_64_accept4
2250 TRACE_SYSCALL_TABLE(accept4, accept4, 288, 4)
2251 #endif
2252 #ifndef OVERRIDE_TABLE_64_signalfd4
2253 TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 289, 4)
2254 #endif
2255 #ifndef OVERRIDE_TABLE_64_pipe2
2256 TRACE_SYSCALL_TABLE(pipe2, pipe2, 293, 2)
2257 #endif
2258 #ifndef OVERRIDE_TABLE_64_preadv
2259 TRACE_SYSCALL_TABLE(preadv, preadv, 295, 5)
2260 #endif
2261 #ifndef OVERRIDE_TABLE_64_pwritev
2262 TRACE_SYSCALL_TABLE(pwritev, pwritev, 296, 5)
2263 #endif
2264 #ifndef OVERRIDE_TABLE_64_rt_tgsigqueueinfo
2265 TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 297, 4)
2266 #endif
2267 #ifndef OVERRIDE_TABLE_64_perf_event_open
2268 TRACE_SYSCALL_TABLE(perf_event_open, perf_event_open, 298, 5)
2269 #endif
2270 #ifndef OVERRIDE_TABLE_64_recvmmsg
2271 TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 299, 5)
2272 #endif
2273 #ifndef OVERRIDE_TABLE_64_fanotify_mark
2274 TRACE_SYSCALL_TABLE(fanotify_mark, fanotify_mark, 301, 5)
2275 #endif
2276 #ifndef OVERRIDE_TABLE_64_prlimit64
2277 TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 302, 4)
2278 #endif
2279 #ifndef OVERRIDE_TABLE_64_name_to_handle_at
2280 TRACE_SYSCALL_TABLE(name_to_handle_at, name_to_handle_at, 303, 5)
2281 #endif
2282 #ifndef OVERRIDE_TABLE_64_open_by_handle_at
2283 TRACE_SYSCALL_TABLE(open_by_handle_at, open_by_handle_at, 304, 3)
2284 #endif
2285 #ifndef OVERRIDE_TABLE_64_clock_adjtime
2286 TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 305, 2)
2287 #endif
2288 #ifndef OVERRIDE_TABLE_64_sendmmsg
2289 TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 307, 4)
2290 #endif
2291 #ifndef OVERRIDE_TABLE_64_getcpu
2292 TRACE_SYSCALL_TABLE(getcpu, getcpu, 309, 3)
2293 #endif
2294 #ifndef OVERRIDE_TABLE_64_process_vm_readv
2295 TRACE_SYSCALL_TABLE(process_vm_readv, process_vm_readv, 310, 6)
2296 #endif
2297 #ifndef OVERRIDE_TABLE_64_process_vm_writev
2298 TRACE_SYSCALL_TABLE(process_vm_writev, process_vm_writev, 311, 6)
2299 #endif
2300 #ifndef OVERRIDE_TABLE_64_finit_module
2301 TRACE_SYSCALL_TABLE(finit_module, finit_module, 313, 3)
2302 #endif
2303
2304 #endif /* CREATE_SYSCALL_TABLE */
This page took 0.16505 seconds and 3 git commands to generate.