Add script to automate the syscall extraction process
[lttng-modules.git] / instrumentation / syscalls / headers / x86-64-syscalls-3.10.0-rc7_integers.h
... / ...
CommitLineData
1/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */
2#ifndef CREATE_SYSCALL_TABLE
3
4#if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ)
5#define _TRACE_SYSCALLS_INTEGERS_H
6
7#include <probes/lttng-tracepoint-event.h>
8#include <linux/syscalls.h>
9#include "x86-64-syscalls-3.10.0-rc7_integers_override.h"
10#include "syscalls_integers_override.h"
11
12#ifdef SC_ENTER
13SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs,
14 TP_FIELDS()
15)
16#ifndef OVERRIDE_64_sched_yield
17SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield)
18#endif
19#ifndef OVERRIDE_64_pause
20SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause)
21#endif
22#ifndef OVERRIDE_64_getpid
23SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid)
24#endif
25#ifndef OVERRIDE_64_getuid
26SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid)
27#endif
28#ifndef OVERRIDE_64_getgid
29SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid)
30#endif
31#ifndef OVERRIDE_64_geteuid
32SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid)
33#endif
34#ifndef OVERRIDE_64_getegid
35SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid)
36#endif
37#ifndef OVERRIDE_64_getppid
38SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid)
39#endif
40#ifndef OVERRIDE_64_getpgrp
41SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp)
42#endif
43#ifndef OVERRIDE_64_setsid
44SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid)
45#endif
46#ifndef OVERRIDE_64_munlockall
47SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall)
48#endif
49#ifndef OVERRIDE_64_vhangup
50SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup)
51#endif
52#ifndef OVERRIDE_64_sync
53SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync)
54#endif
55#ifndef OVERRIDE_64_gettid
56SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid)
57#endif
58#ifndef OVERRIDE_64_restart_syscall
59SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall)
60#endif
61#ifndef OVERRIDE_64_inotify_init
62SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init)
63#endif
64#else /* #ifdef SC_ENTER */
65#ifndef OVERRIDE_64_sched_yield
66SC_LTTNG_TRACEPOINT_EVENT(sched_yield,
67 TP_PROTO(sc_exit(long ret)),
68 TP_ARGS(sc_exit(ret)),
69 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
70)
71#endif
72#ifndef OVERRIDE_64_pause
73SC_LTTNG_TRACEPOINT_EVENT(pause,
74 TP_PROTO(sc_exit(long ret)),
75 TP_ARGS(sc_exit(ret)),
76 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
77)
78#endif
79#ifndef OVERRIDE_64_getpid
80SC_LTTNG_TRACEPOINT_EVENT(getpid,
81 TP_PROTO(sc_exit(long ret)),
82 TP_ARGS(sc_exit(ret)),
83 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
84)
85#endif
86#ifndef OVERRIDE_64_getuid
87SC_LTTNG_TRACEPOINT_EVENT(getuid,
88 TP_PROTO(sc_exit(long ret)),
89 TP_ARGS(sc_exit(ret)),
90 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
91)
92#endif
93#ifndef OVERRIDE_64_getgid
94SC_LTTNG_TRACEPOINT_EVENT(getgid,
95 TP_PROTO(sc_exit(long ret)),
96 TP_ARGS(sc_exit(ret)),
97 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
98)
99#endif
100#ifndef OVERRIDE_64_geteuid
101SC_LTTNG_TRACEPOINT_EVENT(geteuid,
102 TP_PROTO(sc_exit(long ret)),
103 TP_ARGS(sc_exit(ret)),
104 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
105)
106#endif
107#ifndef OVERRIDE_64_getegid
108SC_LTTNG_TRACEPOINT_EVENT(getegid,
109 TP_PROTO(sc_exit(long ret)),
110 TP_ARGS(sc_exit(ret)),
111 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
112)
113#endif
114#ifndef OVERRIDE_64_getppid
115SC_LTTNG_TRACEPOINT_EVENT(getppid,
116 TP_PROTO(sc_exit(long ret)),
117 TP_ARGS(sc_exit(ret)),
118 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
119)
120#endif
121#ifndef OVERRIDE_64_getpgrp
122SC_LTTNG_TRACEPOINT_EVENT(getpgrp,
123 TP_PROTO(sc_exit(long ret)),
124 TP_ARGS(sc_exit(ret)),
125 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
126)
127#endif
128#ifndef OVERRIDE_64_setsid
129SC_LTTNG_TRACEPOINT_EVENT(setsid,
130 TP_PROTO(sc_exit(long ret)),
131 TP_ARGS(sc_exit(ret)),
132 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
133)
134#endif
135#ifndef OVERRIDE_64_munlockall
136SC_LTTNG_TRACEPOINT_EVENT(munlockall,
137 TP_PROTO(sc_exit(long ret)),
138 TP_ARGS(sc_exit(ret)),
139 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
140)
141#endif
142#ifndef OVERRIDE_64_vhangup
143SC_LTTNG_TRACEPOINT_EVENT(vhangup,
144 TP_PROTO(sc_exit(long ret)),
145 TP_ARGS(sc_exit(ret)),
146 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
147)
148#endif
149#ifndef OVERRIDE_64_sync
150SC_LTTNG_TRACEPOINT_EVENT(sync,
151 TP_PROTO(sc_exit(long ret)),
152 TP_ARGS(sc_exit(ret)),
153 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
154)
155#endif
156#ifndef OVERRIDE_64_gettid
157SC_LTTNG_TRACEPOINT_EVENT(gettid,
158 TP_PROTO(sc_exit(long ret)),
159 TP_ARGS(sc_exit(ret)),
160 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
161)
162#endif
163#ifndef OVERRIDE_64_restart_syscall
164SC_LTTNG_TRACEPOINT_EVENT(restart_syscall,
165 TP_PROTO(sc_exit(long ret)),
166 TP_ARGS(sc_exit(ret)),
167 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
168)
169#endif
170#ifndef OVERRIDE_64_inotify_init
171SC_LTTNG_TRACEPOINT_EVENT(inotify_init,
172 TP_PROTO(sc_exit(long ret)),
173 TP_ARGS(sc_exit(ret)),
174 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)))
175)
176#endif
177#endif /* else #ifdef SC_ENTER */
178#ifndef OVERRIDE_64_close
179SC_LTTNG_TRACEPOINT_EVENT(close,
180 TP_PROTO(sc_exit(long ret,) unsigned int fd),
181 TP_ARGS(sc_exit(ret,) fd),
182 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)))
183)
184#endif
185#ifndef OVERRIDE_64_brk
186SC_LTTNG_TRACEPOINT_EVENT(brk,
187 TP_PROTO(sc_exit(long ret,) unsigned long brk),
188 TP_ARGS(sc_exit(ret,) brk),
189 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, brk, brk)))
190)
191#endif
192#ifndef OVERRIDE_64_dup
193SC_LTTNG_TRACEPOINT_EVENT(dup,
194 TP_PROTO(sc_exit(long ret,) unsigned int fildes),
195 TP_ARGS(sc_exit(ret,) fildes),
196 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fildes, fildes)))
197)
198#endif
199#ifndef OVERRIDE_64_alarm
200SC_LTTNG_TRACEPOINT_EVENT(alarm,
201 TP_PROTO(sc_exit(long ret,) unsigned int seconds),
202 TP_ARGS(sc_exit(ret,) seconds),
203 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, seconds, seconds)))
204)
205#endif
206#ifndef OVERRIDE_64_exit
207SC_LTTNG_TRACEPOINT_EVENT(exit,
208 TP_PROTO(sc_exit(long ret,) int error_code),
209 TP_ARGS(sc_exit(ret,) error_code),
210 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code)))
211)
212#endif
213#ifndef OVERRIDE_64_fsync
214SC_LTTNG_TRACEPOINT_EVENT(fsync,
215 TP_PROTO(sc_exit(long ret,) unsigned int fd),
216 TP_ARGS(sc_exit(ret,) fd),
217 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)))
218)
219#endif
220#ifndef OVERRIDE_64_fdatasync
221SC_LTTNG_TRACEPOINT_EVENT(fdatasync,
222 TP_PROTO(sc_exit(long ret,) unsigned int fd),
223 TP_ARGS(sc_exit(ret,) fd),
224 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)))
225)
226#endif
227#ifndef OVERRIDE_64_fchdir
228SC_LTTNG_TRACEPOINT_EVENT(fchdir,
229 TP_PROTO(sc_exit(long ret,) unsigned int fd),
230 TP_ARGS(sc_exit(ret,) fd),
231 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)))
232)
233#endif
234#ifndef OVERRIDE_64_umask
235SC_LTTNG_TRACEPOINT_EVENT(umask,
236 TP_PROTO(sc_exit(long ret,) int mask),
237 TP_ARGS(sc_exit(ret,) mask),
238 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mask, mask)))
239)
240#endif
241#ifndef OVERRIDE_64_setuid
242SC_LTTNG_TRACEPOINT_EVENT(setuid,
243 TP_PROTO(sc_exit(long ret,) uid_t uid),
244 TP_ARGS(sc_exit(ret,) uid),
245 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid)))
246)
247#endif
248#ifndef OVERRIDE_64_setgid
249SC_LTTNG_TRACEPOINT_EVENT(setgid,
250 TP_PROTO(sc_exit(long ret,) gid_t gid),
251 TP_ARGS(sc_exit(ret,) gid),
252 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid)))
253)
254#endif
255#ifndef OVERRIDE_64_getpgid
256SC_LTTNG_TRACEPOINT_EVENT(getpgid,
257 TP_PROTO(sc_exit(long ret,) pid_t pid),
258 TP_ARGS(sc_exit(ret,) pid),
259 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)))
260)
261#endif
262#ifndef OVERRIDE_64_setfsuid
263SC_LTTNG_TRACEPOINT_EVENT(setfsuid,
264 TP_PROTO(sc_exit(long ret,) uid_t uid),
265 TP_ARGS(sc_exit(ret,) uid),
266 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid)))
267)
268#endif
269#ifndef OVERRIDE_64_setfsgid
270SC_LTTNG_TRACEPOINT_EVENT(setfsgid,
271 TP_PROTO(sc_exit(long ret,) gid_t gid),
272 TP_ARGS(sc_exit(ret,) gid),
273 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid)))
274)
275#endif
276#ifndef OVERRIDE_64_getsid
277SC_LTTNG_TRACEPOINT_EVENT(getsid,
278 TP_PROTO(sc_exit(long ret,) pid_t pid),
279 TP_ARGS(sc_exit(ret,) pid),
280 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)))
281)
282#endif
283#ifndef OVERRIDE_64_personality
284SC_LTTNG_TRACEPOINT_EVENT(personality,
285 TP_PROTO(sc_exit(long ret,) unsigned int personality),
286 TP_ARGS(sc_exit(ret,) personality),
287 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, personality, personality)))
288)
289#endif
290#ifndef OVERRIDE_64_sched_getscheduler
291SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler,
292 TP_PROTO(sc_exit(long ret,) pid_t pid),
293 TP_ARGS(sc_exit(ret,) pid),
294 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)))
295)
296#endif
297#ifndef OVERRIDE_64_sched_get_priority_max
298SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max,
299 TP_PROTO(sc_exit(long ret,) int policy),
300 TP_ARGS(sc_exit(ret,) policy),
301 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy)))
302)
303#endif
304#ifndef OVERRIDE_64_sched_get_priority_min
305SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min,
306 TP_PROTO(sc_exit(long ret,) int policy),
307 TP_ARGS(sc_exit(ret,) policy),
308 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy)))
309)
310#endif
311#ifndef OVERRIDE_64_mlockall
312SC_LTTNG_TRACEPOINT_EVENT(mlockall,
313 TP_PROTO(sc_exit(long ret,) int flags),
314 TP_ARGS(sc_exit(ret,) flags),
315 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags)))
316)
317#endif
318#ifndef OVERRIDE_64_io_destroy
319SC_LTTNG_TRACEPOINT_EVENT(io_destroy,
320 TP_PROTO(sc_exit(long ret,) aio_context_t ctx),
321 TP_ARGS(sc_exit(ret,) ctx),
322 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx, ctx)))
323)
324#endif
325#ifndef OVERRIDE_64_epoll_create
326SC_LTTNG_TRACEPOINT_EVENT(epoll_create,
327 TP_PROTO(sc_exit(long ret,) int size),
328 TP_ARGS(sc_exit(ret,) size),
329 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, size, size)))
330)
331#endif
332#ifndef OVERRIDE_64_timer_getoverrun
333SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun,
334 TP_PROTO(sc_exit(long ret,) timer_t timer_id),
335 TP_ARGS(sc_exit(ret,) timer_id),
336 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id)))
337)
338#endif
339#ifndef OVERRIDE_64_timer_delete
340SC_LTTNG_TRACEPOINT_EVENT(timer_delete,
341 TP_PROTO(sc_exit(long ret,) timer_t timer_id),
342 TP_ARGS(sc_exit(ret,) timer_id),
343 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id)))
344)
345#endif
346#ifndef OVERRIDE_64_exit_group
347SC_LTTNG_TRACEPOINT_EVENT(exit_group,
348 TP_PROTO(sc_exit(long ret,) int error_code),
349 TP_ARGS(sc_exit(ret,) error_code),
350 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code)))
351)
352#endif
353#ifndef OVERRIDE_64_unshare
354SC_LTTNG_TRACEPOINT_EVENT(unshare,
355 TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags),
356 TP_ARGS(sc_exit(ret,) unshare_flags),
357 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, unshare_flags, unshare_flags)))
358)
359#endif
360#ifndef OVERRIDE_64_eventfd
361SC_LTTNG_TRACEPOINT_EVENT(eventfd,
362 TP_PROTO(sc_exit(long ret,) unsigned int count),
363 TP_ARGS(sc_exit(ret,) count),
364 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count)))
365)
366#endif
367#ifndef OVERRIDE_64_epoll_create1
368SC_LTTNG_TRACEPOINT_EVENT(epoll_create1,
369 TP_PROTO(sc_exit(long ret,) int flags),
370 TP_ARGS(sc_exit(ret,) flags),
371 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags)))
372)
373#endif
374#ifndef OVERRIDE_64_inotify_init1
375SC_LTTNG_TRACEPOINT_EVENT(inotify_init1,
376 TP_PROTO(sc_exit(long ret,) int flags),
377 TP_ARGS(sc_exit(ret,) flags),
378 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags)))
379)
380#endif
381#ifndef OVERRIDE_64_syncfs
382SC_LTTNG_TRACEPOINT_EVENT(syncfs,
383 TP_PROTO(sc_exit(long ret,) int fd),
384 TP_ARGS(sc_exit(ret,) fd),
385 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)))
386)
387#endif
388#ifndef OVERRIDE_64_munmap
389SC_LTTNG_TRACEPOINT_EVENT(munmap,
390 TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len),
391 TP_ARGS(sc_exit(ret,) addr, len),
392 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(size_t, len, len)))
393)
394#endif
395#ifndef OVERRIDE_64_dup2
396SC_LTTNG_TRACEPOINT_EVENT(dup2,
397 TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd),
398 TP_ARGS(sc_exit(ret,) oldfd, newfd),
399 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd)))
400)
401#endif
402#ifndef OVERRIDE_64_shutdown
403SC_LTTNG_TRACEPOINT_EVENT(shutdown,
404 TP_PROTO(sc_exit(long ret,) int fd, int how),
405 TP_ARGS(sc_exit(ret,) fd, how),
406 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, how, how)))
407)
408#endif
409#ifndef OVERRIDE_64_listen
410SC_LTTNG_TRACEPOINT_EVENT(listen,
411 TP_PROTO(sc_exit(long ret,) int fd, int backlog),
412 TP_ARGS(sc_exit(ret,) fd, backlog),
413 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, backlog, backlog)))
414)
415#endif
416#ifndef OVERRIDE_64_kill
417SC_LTTNG_TRACEPOINT_EVENT(kill,
418 TP_PROTO(sc_exit(long ret,) pid_t pid, int sig),
419 TP_ARGS(sc_exit(ret,) pid, sig),
420 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig)))
421)
422#endif
423#ifndef OVERRIDE_64_msgget
424SC_LTTNG_TRACEPOINT_EVENT(msgget,
425 TP_PROTO(sc_exit(long ret,) key_t key, int msgflg),
426 TP_ARGS(sc_exit(ret,) key, msgflg),
427 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(int, msgflg, msgflg)))
428)
429#endif
430#ifndef OVERRIDE_64_flock
431SC_LTTNG_TRACEPOINT_EVENT(flock,
432 TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd),
433 TP_ARGS(sc_exit(ret,) fd, cmd),
434 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)))
435)
436#endif
437#ifndef OVERRIDE_64_ftruncate
438SC_LTTNG_TRACEPOINT_EVENT(ftruncate,
439 TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length),
440 TP_ARGS(sc_exit(ret,) fd, length),
441 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned long, length, length)))
442)
443#endif
444#ifndef OVERRIDE_64_fchmod
445SC_LTTNG_TRACEPOINT_EVENT(fchmod,
446 TP_PROTO(sc_exit(long ret,) unsigned int fd, umode_t mode),
447 TP_ARGS(sc_exit(ret,) fd, mode),
448 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(umode_t, mode, mode)))
449)
450#endif
451#ifndef OVERRIDE_64_setpgid
452SC_LTTNG_TRACEPOINT_EVENT(setpgid,
453 TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid),
454 TP_ARGS(sc_exit(ret,) pid, pgid),
455 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(pid_t, pgid, pgid)))
456)
457#endif
458#ifndef OVERRIDE_64_setreuid
459SC_LTTNG_TRACEPOINT_EVENT(setreuid,
460 TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid),
461 TP_ARGS(sc_exit(ret,) ruid, euid),
462 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid)))
463)
464#endif
465#ifndef OVERRIDE_64_setregid
466SC_LTTNG_TRACEPOINT_EVENT(setregid,
467 TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid),
468 TP_ARGS(sc_exit(ret,) rgid, egid),
469 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid)))
470)
471#endif
472#ifndef OVERRIDE_64_getpriority
473SC_LTTNG_TRACEPOINT_EVENT(getpriority,
474 TP_PROTO(sc_exit(long ret,) int which, int who),
475 TP_ARGS(sc_exit(ret,) which, who),
476 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)))
477)
478#endif
479#ifndef OVERRIDE_64_mlock
480SC_LTTNG_TRACEPOINT_EVENT(mlock,
481 TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len),
482 TP_ARGS(sc_exit(ret,) start, len),
483 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len, len)))
484)
485#endif
486#ifndef OVERRIDE_64_munlock
487SC_LTTNG_TRACEPOINT_EVENT(munlock,
488 TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len),
489 TP_ARGS(sc_exit(ret,) start, len),
490 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len, len)))
491)
492#endif
493#ifndef OVERRIDE_64_tkill
494SC_LTTNG_TRACEPOINT_EVENT(tkill,
495 TP_PROTO(sc_exit(long ret,) pid_t pid, int sig),
496 TP_ARGS(sc_exit(ret,) pid, sig),
497 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig)))
498)
499#endif
500#ifndef OVERRIDE_64_ioprio_get
501SC_LTTNG_TRACEPOINT_EVENT(ioprio_get,
502 TP_PROTO(sc_exit(long ret,) int which, int who),
503 TP_ARGS(sc_exit(ret,) which, who),
504 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)))
505)
506#endif
507#ifndef OVERRIDE_64_inotify_rm_watch
508SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch,
509 TP_PROTO(sc_exit(long ret,) int fd, __s32 wd),
510 TP_ARGS(sc_exit(ret,) fd, wd),
511 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(__s32, wd, wd)))
512)
513#endif
514#ifndef OVERRIDE_64_timerfd_create
515SC_LTTNG_TRACEPOINT_EVENT(timerfd_create,
516 TP_PROTO(sc_exit(long ret,) int clockid, int flags),
517 TP_ARGS(sc_exit(ret,) clockid, flags),
518 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, clockid, clockid)) sc_in(ctf_integer(int, flags, flags)))
519)
520#endif
521#ifndef OVERRIDE_64_eventfd2
522SC_LTTNG_TRACEPOINT_EVENT(eventfd2,
523 TP_PROTO(sc_exit(long ret,) unsigned int count, int flags),
524 TP_ARGS(sc_exit(ret,) count, flags),
525 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count)) sc_in(ctf_integer(int, flags, flags)))
526)
527#endif
528#ifndef OVERRIDE_64_fanotify_init
529SC_LTTNG_TRACEPOINT_EVENT(fanotify_init,
530 TP_PROTO(sc_exit(long ret,) unsigned int flags, unsigned int event_f_flags),
531 TP_ARGS(sc_exit(ret,) flags, event_f_flags),
532 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_in(ctf_integer(unsigned int, event_f_flags, event_f_flags)))
533)
534#endif
535#ifndef OVERRIDE_64_setns
536SC_LTTNG_TRACEPOINT_EVENT(setns,
537 TP_PROTO(sc_exit(long ret,) int fd, int nstype),
538 TP_ARGS(sc_exit(ret,) fd, nstype),
539 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, nstype, nstype)))
540)
541#endif
542#ifndef OVERRIDE_64_lseek
543SC_LTTNG_TRACEPOINT_EVENT(lseek,
544 TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int whence),
545 TP_ARGS(sc_exit(ret,) fd, offset, whence),
546 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(off_t, offset, offset)) sc_in(ctf_integer(unsigned int, whence, whence)))
547)
548#endif
549#ifndef OVERRIDE_64_mprotect
550SC_LTTNG_TRACEPOINT_EVENT(mprotect,
551 TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot),
552 TP_ARGS(sc_exit(ret,) start, len, prot),
553 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned long, prot, prot)))
554)
555#endif
556#ifndef OVERRIDE_64_ioctl
557SC_LTTNG_TRACEPOINT_EVENT(ioctl,
558 TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg),
559 TP_ARGS(sc_exit(ret,) fd, cmd, arg),
560 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg)))
561)
562#endif
563#ifndef OVERRIDE_64_msync
564SC_LTTNG_TRACEPOINT_EVENT(msync,
565 TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags),
566 TP_ARGS(sc_exit(ret,) start, len, flags),
567 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(int, flags, flags)))
568)
569#endif
570#ifndef OVERRIDE_64_madvise
571SC_LTTNG_TRACEPOINT_EVENT(madvise,
572 TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior),
573 TP_ARGS(sc_exit(ret,) start, len_in, behavior),
574 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len_in, len_in)) sc_in(ctf_integer(int, behavior, behavior)))
575)
576#endif
577#ifndef OVERRIDE_64_shmget
578SC_LTTNG_TRACEPOINT_EVENT(shmget,
579 TP_PROTO(sc_exit(long ret,) key_t key, size_t size, int shmflg),
580 TP_ARGS(sc_exit(ret,) key, size, shmflg),
581 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(int, shmflg, shmflg)))
582)
583#endif
584#ifndef OVERRIDE_64_socket
585SC_LTTNG_TRACEPOINT_EVENT(socket,
586 TP_PROTO(sc_exit(long ret,) int family, int type, int protocol),
587 TP_ARGS(sc_exit(ret,) family, type, protocol),
588 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, family, family)) sc_in(ctf_integer(int, type, type)) sc_in(ctf_integer(int, protocol, protocol)))
589)
590#endif
591#ifndef OVERRIDE_64_semget
592SC_LTTNG_TRACEPOINT_EVENT(semget,
593 TP_PROTO(sc_exit(long ret,) key_t key, int nsems, int semflg),
594 TP_ARGS(sc_exit(ret,) key, nsems, semflg),
595 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(int, nsems, nsems)) sc_in(ctf_integer(int, semflg, semflg)))
596)
597#endif
598#ifndef OVERRIDE_64_fcntl
599SC_LTTNG_TRACEPOINT_EVENT(fcntl,
600 TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg),
601 TP_ARGS(sc_exit(ret,) fd, cmd, arg),
602 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg)))
603)
604#endif
605#ifndef OVERRIDE_64_fchown
606SC_LTTNG_TRACEPOINT_EVENT(fchown,
607 TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group),
608 TP_ARGS(sc_exit(ret,) fd, user, group),
609 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group)))
610)
611#endif
612#ifndef OVERRIDE_64_setresuid
613SC_LTTNG_TRACEPOINT_EVENT(setresuid,
614 TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid),
615 TP_ARGS(sc_exit(ret,) ruid, euid, suid),
616 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid)) sc_in(ctf_integer(uid_t, suid, suid)))
617)
618#endif
619#ifndef OVERRIDE_64_setresgid
620SC_LTTNG_TRACEPOINT_EVENT(setresgid,
621 TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid),
622 TP_ARGS(sc_exit(ret,) rgid, egid, sgid),
623 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid)) sc_in(ctf_integer(gid_t, sgid, sgid)))
624)
625#endif
626#ifndef OVERRIDE_64_sysfs
627SC_LTTNG_TRACEPOINT_EVENT(sysfs,
628 TP_PROTO(sc_exit(long ret,) int option, unsigned long arg1, unsigned long arg2),
629 TP_ARGS(sc_exit(ret,) option, arg1, arg2),
630 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_in(ctf_integer(unsigned long, arg1, arg1)) sc_in(ctf_integer(unsigned long, arg2, arg2)))
631)
632#endif
633#ifndef OVERRIDE_64_setpriority
634SC_LTTNG_TRACEPOINT_EVENT(setpriority,
635 TP_PROTO(sc_exit(long ret,) int which, int who, int niceval),
636 TP_ARGS(sc_exit(ret,) which, who, niceval),
637 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, niceval, niceval)))
638)
639#endif
640#ifndef OVERRIDE_64_readahead
641SC_LTTNG_TRACEPOINT_EVENT(readahead,
642 TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, size_t count),
643 TP_ARGS(sc_exit(ret,) fd, offset, count),
644 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(size_t, count, count)))
645)
646#endif
647#ifndef OVERRIDE_64_tgkill
648SC_LTTNG_TRACEPOINT_EVENT(tgkill,
649 TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig),
650 TP_ARGS(sc_exit(ret,) tgid, pid, sig),
651 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, tgid, tgid)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig)))
652)
653#endif
654#ifndef OVERRIDE_64_ioprio_set
655SC_LTTNG_TRACEPOINT_EVENT(ioprio_set,
656 TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio),
657 TP_ARGS(sc_exit(ret,) which, who, ioprio),
658 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, ioprio, ioprio)))
659)
660#endif
661#ifndef OVERRIDE_64_dup3
662SC_LTTNG_TRACEPOINT_EVENT(dup3,
663 TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags),
664 TP_ARGS(sc_exit(ret,) oldfd, newfd, flags),
665 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd)) sc_in(ctf_integer(int, flags, flags)))
666)
667#endif
668#ifndef OVERRIDE_64_semctl
669SC_LTTNG_TRACEPOINT_EVENT(semctl,
670 TP_PROTO(sc_exit(long ret,) int semid, int semnum, int cmd, unsigned long arg),
671 TP_ARGS(sc_exit(ret,) semid, semnum, cmd, arg),
672 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, semid, semid)) sc_in(ctf_integer(int, semnum, semnum)) sc_in(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg)))
673)
674#endif
675#ifndef OVERRIDE_64_ptrace
676SC_LTTNG_TRACEPOINT_EVENT(ptrace,
677 TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data),
678 TP_ARGS(sc_exit(ret,) request, pid, addr, data),
679 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(long, request, request)) sc_in(ctf_integer(long, pid, pid)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, data, data)))
680)
681#endif
682#ifndef OVERRIDE_64_fadvise64
683SC_LTTNG_TRACEPOINT_EVENT(fadvise64,
684 TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, size_t len, int advice),
685 TP_ARGS(sc_exit(ret,) fd, offset, len, advice),
686 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(int, advice, advice)))
687)
688#endif
689#ifndef OVERRIDE_64_tee
690SC_LTTNG_TRACEPOINT_EVENT(tee,
691 TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags),
692 TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags),
693 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fdin, fdin)) sc_in(ctf_integer(int, fdout, fdout)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags)))
694)
695#endif
696#ifndef OVERRIDE_64_sync_file_range
697SC_LTTNG_TRACEPOINT_EVENT(sync_file_range,
698 TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, loff_t nbytes, unsigned int flags),
699 TP_ARGS(sc_exit(ret,) fd, offset, nbytes, flags),
700 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(loff_t, nbytes, nbytes)) sc_in(ctf_integer(unsigned int, flags, flags)))
701)
702#endif
703#ifndef OVERRIDE_64_fallocate
704SC_LTTNG_TRACEPOINT_EVENT(fallocate,
705 TP_PROTO(sc_exit(long ret,) int fd, int mode, loff_t offset, loff_t len),
706 TP_ARGS(sc_exit(ret,) fd, mode, offset, len),
707 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, mode, mode)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(loff_t, len, len)))
708)
709#endif
710#ifndef OVERRIDE_64_mremap
711SC_LTTNG_TRACEPOINT_EVENT(mremap,
712 TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr),
713 TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr),
714 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(unsigned long, old_len, old_len)) sc_in(ctf_integer(unsigned long, new_len, new_len)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(unsigned long, new_addr, new_addr)))
715)
716#endif
717#ifndef OVERRIDE_64_prctl
718SC_LTTNG_TRACEPOINT_EVENT(prctl,
719 TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5),
720 TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5),
721 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_in(ctf_integer(unsigned long, arg3, arg3)) sc_in(ctf_integer(unsigned long, arg4, arg4)) sc_in(ctf_integer(unsigned long, arg5, arg5)))
722)
723#endif
724#ifndef OVERRIDE_64_remap_file_pages
725SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages,
726 TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags),
727 TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags),
728 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(unsigned long, size, size)) sc_in(ctf_integer(unsigned long, prot, prot)) sc_in(ctf_integer(unsigned long, pgoff, pgoff)) sc_in(ctf_integer(unsigned long, flags, flags)))
729)
730#endif
731#ifndef OVERRIDE_64_keyctl
732SC_LTTNG_TRACEPOINT_EVENT(keyctl,
733 TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5),
734 TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5),
735 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_inout(ctf_integer(unsigned long, arg3, arg3)) sc_inout(ctf_integer(unsigned long, arg4, arg4)) sc_inout(ctf_integer(unsigned long, arg5, arg5)))
736)
737#endif
738#ifndef OVERRIDE_64_mmap
739SC_LTTNG_TRACEPOINT_EVENT(mmap,
740 TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long off),
741 TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, off),
742 TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(unsigned long, len, len)) sc_in(ctf_integer(unsigned long, prot, prot)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(unsigned long, fd, fd)) sc_in(ctf_integer(unsigned long, off, off)))
743)
744#endif
745
746#endif /* _TRACE_SYSCALLS_INTEGERS_H */
747
748/* This part must be outside protection */
749#include <probes/define_trace.h>
750
751#else /* CREATE_SYSCALL_TABLE */
752
753#include "x86-64-syscalls-3.10.0-rc7_integers_override.h"
754#include "syscalls_integers_override.h"
755
756#ifdef SC_ENTER
757#ifndef OVERRIDE_TABLE_64_sched_yield
758TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 24, 0)
759#endif
760#ifndef OVERRIDE_TABLE_64_pause
761TRACE_SYSCALL_TABLE(syscalls_noargs, pause, 34, 0)
762#endif
763#ifndef OVERRIDE_TABLE_64_getpid
764TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 39, 0)
765#endif
766#ifndef OVERRIDE_TABLE_64_getuid
767TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 102, 0)
768#endif
769#ifndef OVERRIDE_TABLE_64_getgid
770TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 104, 0)
771#endif
772#ifndef OVERRIDE_TABLE_64_geteuid
773TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 107, 0)
774#endif
775#ifndef OVERRIDE_TABLE_64_getegid
776TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 108, 0)
777#endif
778#ifndef OVERRIDE_TABLE_64_getppid
779TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 110, 0)
780#endif
781#ifndef OVERRIDE_TABLE_64_getpgrp
782TRACE_SYSCALL_TABLE(syscalls_noargs, getpgrp, 111, 0)
783#endif
784#ifndef OVERRIDE_TABLE_64_setsid
785TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 112, 0)
786#endif
787#ifndef OVERRIDE_TABLE_64_munlockall
788TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 152, 0)
789#endif
790#ifndef OVERRIDE_TABLE_64_vhangup
791TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 153, 0)
792#endif
793#ifndef OVERRIDE_TABLE_64_sync
794TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 162, 0)
795#endif
796#ifndef OVERRIDE_TABLE_64_gettid
797TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 186, 0)
798#endif
799#ifndef OVERRIDE_TABLE_64_restart_syscall
800TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 219, 0)
801#endif
802#ifndef OVERRIDE_TABLE_64_inotify_init
803TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 253, 0)
804#endif
805#else /* #ifdef SC_ENTER */
806#ifndef OVERRIDE_TABLE_64_sched_yield
807TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 24, 0)
808#endif
809#ifndef OVERRIDE_TABLE_64_pause
810TRACE_SYSCALL_TABLE(pause, pause, 34, 0)
811#endif
812#ifndef OVERRIDE_TABLE_64_getpid
813TRACE_SYSCALL_TABLE(getpid, getpid, 39, 0)
814#endif
815#ifndef OVERRIDE_TABLE_64_getuid
816TRACE_SYSCALL_TABLE(getuid, getuid, 102, 0)
817#endif
818#ifndef OVERRIDE_TABLE_64_getgid
819TRACE_SYSCALL_TABLE(getgid, getgid, 104, 0)
820#endif
821#ifndef OVERRIDE_TABLE_64_geteuid
822TRACE_SYSCALL_TABLE(geteuid, geteuid, 107, 0)
823#endif
824#ifndef OVERRIDE_TABLE_64_getegid
825TRACE_SYSCALL_TABLE(getegid, getegid, 108, 0)
826#endif
827#ifndef OVERRIDE_TABLE_64_getppid
828TRACE_SYSCALL_TABLE(getppid, getppid, 110, 0)
829#endif
830#ifndef OVERRIDE_TABLE_64_getpgrp
831TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 111, 0)
832#endif
833#ifndef OVERRIDE_TABLE_64_setsid
834TRACE_SYSCALL_TABLE(setsid, setsid, 112, 0)
835#endif
836#ifndef OVERRIDE_TABLE_64_munlockall
837TRACE_SYSCALL_TABLE(munlockall, munlockall, 152, 0)
838#endif
839#ifndef OVERRIDE_TABLE_64_vhangup
840TRACE_SYSCALL_TABLE(vhangup, vhangup, 153, 0)
841#endif
842#ifndef OVERRIDE_TABLE_64_sync
843TRACE_SYSCALL_TABLE(sync, sync, 162, 0)
844#endif
845#ifndef OVERRIDE_TABLE_64_gettid
846TRACE_SYSCALL_TABLE(gettid, gettid, 186, 0)
847#endif
848#ifndef OVERRIDE_TABLE_64_restart_syscall
849TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 219, 0)
850#endif
851#ifndef OVERRIDE_TABLE_64_inotify_init
852TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 253, 0)
853#endif
854#endif /* else #ifdef SC_ENTER */
855#ifndef OVERRIDE_TABLE_64_close
856TRACE_SYSCALL_TABLE(close, close, 3, 1)
857#endif
858#ifndef OVERRIDE_TABLE_64_lseek
859TRACE_SYSCALL_TABLE(lseek, lseek, 8, 3)
860#endif
861#ifndef OVERRIDE_TABLE_64_mmap
862TRACE_SYSCALL_TABLE(mmap, mmap, 9, 6)
863#endif
864#ifndef OVERRIDE_TABLE_64_mprotect
865TRACE_SYSCALL_TABLE(mprotect, mprotect, 10, 3)
866#endif
867#ifndef OVERRIDE_TABLE_64_munmap
868TRACE_SYSCALL_TABLE(munmap, munmap, 11, 2)
869#endif
870#ifndef OVERRIDE_TABLE_64_brk
871TRACE_SYSCALL_TABLE(brk, brk, 12, 1)
872#endif
873#ifndef OVERRIDE_TABLE_64_ioctl
874TRACE_SYSCALL_TABLE(ioctl, ioctl, 16, 3)
875#endif
876#ifndef OVERRIDE_TABLE_64_mremap
877TRACE_SYSCALL_TABLE(mremap, mremap, 25, 5)
878#endif
879#ifndef OVERRIDE_TABLE_64_msync
880TRACE_SYSCALL_TABLE(msync, msync, 26, 3)
881#endif
882#ifndef OVERRIDE_TABLE_64_madvise
883TRACE_SYSCALL_TABLE(madvise, madvise, 28, 3)
884#endif
885#ifndef OVERRIDE_TABLE_64_shmget
886TRACE_SYSCALL_TABLE(shmget, shmget, 29, 3)
887#endif
888#ifndef OVERRIDE_TABLE_64_dup
889TRACE_SYSCALL_TABLE(dup, dup, 32, 1)
890#endif
891#ifndef OVERRIDE_TABLE_64_dup2
892TRACE_SYSCALL_TABLE(dup2, dup2, 33, 2)
893#endif
894#ifndef OVERRIDE_TABLE_64_alarm
895TRACE_SYSCALL_TABLE(alarm, alarm, 37, 1)
896#endif
897#ifndef OVERRIDE_TABLE_64_socket
898TRACE_SYSCALL_TABLE(socket, socket, 41, 3)
899#endif
900#ifndef OVERRIDE_TABLE_64_shutdown
901TRACE_SYSCALL_TABLE(shutdown, shutdown, 48, 2)
902#endif
903#ifndef OVERRIDE_TABLE_64_listen
904TRACE_SYSCALL_TABLE(listen, listen, 50, 2)
905#endif
906#ifndef OVERRIDE_TABLE_64_exit
907TRACE_SYSCALL_TABLE(exit, exit, 60, 1)
908#endif
909#ifndef OVERRIDE_TABLE_64_kill
910TRACE_SYSCALL_TABLE(kill, kill, 62, 2)
911#endif
912#ifndef OVERRIDE_TABLE_64_semget
913TRACE_SYSCALL_TABLE(semget, semget, 64, 3)
914#endif
915#ifndef OVERRIDE_TABLE_64_semctl
916TRACE_SYSCALL_TABLE(semctl, semctl, 66, 4)
917#endif
918#ifndef OVERRIDE_TABLE_64_msgget
919TRACE_SYSCALL_TABLE(msgget, msgget, 68, 2)
920#endif
921#ifndef OVERRIDE_TABLE_64_fcntl
922TRACE_SYSCALL_TABLE(fcntl, fcntl, 72, 3)
923#endif
924#ifndef OVERRIDE_TABLE_64_flock
925TRACE_SYSCALL_TABLE(flock, flock, 73, 2)
926#endif
927#ifndef OVERRIDE_TABLE_64_fsync
928TRACE_SYSCALL_TABLE(fsync, fsync, 74, 1)
929#endif
930#ifndef OVERRIDE_TABLE_64_fdatasync
931TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 75, 1)
932#endif
933#ifndef OVERRIDE_TABLE_64_ftruncate
934TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 77, 2)
935#endif
936#ifndef OVERRIDE_TABLE_64_fchdir
937TRACE_SYSCALL_TABLE(fchdir, fchdir, 81, 1)
938#endif
939#ifndef OVERRIDE_TABLE_64_fchmod
940TRACE_SYSCALL_TABLE(fchmod, fchmod, 91, 2)
941#endif
942#ifndef OVERRIDE_TABLE_64_fchown
943TRACE_SYSCALL_TABLE(fchown, fchown, 93, 3)
944#endif
945#ifndef OVERRIDE_TABLE_64_umask
946TRACE_SYSCALL_TABLE(umask, umask, 95, 1)
947#endif
948#ifndef OVERRIDE_TABLE_64_ptrace
949TRACE_SYSCALL_TABLE(ptrace, ptrace, 101, 4)
950#endif
951#ifndef OVERRIDE_TABLE_64_setuid
952TRACE_SYSCALL_TABLE(setuid, setuid, 105, 1)
953#endif
954#ifndef OVERRIDE_TABLE_64_setgid
955TRACE_SYSCALL_TABLE(setgid, setgid, 106, 1)
956#endif
957#ifndef OVERRIDE_TABLE_64_setpgid
958TRACE_SYSCALL_TABLE(setpgid, setpgid, 109, 2)
959#endif
960#ifndef OVERRIDE_TABLE_64_setreuid
961TRACE_SYSCALL_TABLE(setreuid, setreuid, 113, 2)
962#endif
963#ifndef OVERRIDE_TABLE_64_setregid
964TRACE_SYSCALL_TABLE(setregid, setregid, 114, 2)
965#endif
966#ifndef OVERRIDE_TABLE_64_setresuid
967TRACE_SYSCALL_TABLE(setresuid, setresuid, 117, 3)
968#endif
969#ifndef OVERRIDE_TABLE_64_setresgid
970TRACE_SYSCALL_TABLE(setresgid, setresgid, 119, 3)
971#endif
972#ifndef OVERRIDE_TABLE_64_getpgid
973TRACE_SYSCALL_TABLE(getpgid, getpgid, 121, 1)
974#endif
975#ifndef OVERRIDE_TABLE_64_setfsuid
976TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 122, 1)
977#endif
978#ifndef OVERRIDE_TABLE_64_setfsgid
979TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 123, 1)
980#endif
981#ifndef OVERRIDE_TABLE_64_getsid
982TRACE_SYSCALL_TABLE(getsid, getsid, 124, 1)
983#endif
984#ifndef OVERRIDE_TABLE_64_personality
985TRACE_SYSCALL_TABLE(personality, personality, 135, 1)
986#endif
987#ifndef OVERRIDE_TABLE_64_sysfs
988TRACE_SYSCALL_TABLE(sysfs, sysfs, 139, 3)
989#endif
990#ifndef OVERRIDE_TABLE_64_getpriority
991TRACE_SYSCALL_TABLE(getpriority, getpriority, 140, 2)
992#endif
993#ifndef OVERRIDE_TABLE_64_setpriority
994TRACE_SYSCALL_TABLE(setpriority, setpriority, 141, 3)
995#endif
996#ifndef OVERRIDE_TABLE_64_sched_getscheduler
997TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 145, 1)
998#endif
999#ifndef OVERRIDE_TABLE_64_sched_get_priority_max
1000TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 146, 1)
1001#endif
1002#ifndef OVERRIDE_TABLE_64_sched_get_priority_min
1003TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 147, 1)
1004#endif
1005#ifndef OVERRIDE_TABLE_64_mlock
1006TRACE_SYSCALL_TABLE(mlock, mlock, 149, 2)
1007#endif
1008#ifndef OVERRIDE_TABLE_64_munlock
1009TRACE_SYSCALL_TABLE(munlock, munlock, 150, 2)
1010#endif
1011#ifndef OVERRIDE_TABLE_64_mlockall
1012TRACE_SYSCALL_TABLE(mlockall, mlockall, 151, 1)
1013#endif
1014#ifndef OVERRIDE_TABLE_64_prctl
1015TRACE_SYSCALL_TABLE(prctl, prctl, 157, 5)
1016#endif
1017#ifndef OVERRIDE_TABLE_64_readahead
1018TRACE_SYSCALL_TABLE(readahead, readahead, 187, 3)
1019#endif
1020#ifndef OVERRIDE_TABLE_64_tkill
1021TRACE_SYSCALL_TABLE(tkill, tkill, 200, 2)
1022#endif
1023#ifndef OVERRIDE_TABLE_64_io_destroy
1024TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 207, 1)
1025#endif
1026#ifndef OVERRIDE_TABLE_64_epoll_create
1027TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 213, 1)
1028#endif
1029#ifndef OVERRIDE_TABLE_64_remap_file_pages
1030TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 216, 5)
1031#endif
1032#ifndef OVERRIDE_TABLE_64_fadvise64
1033TRACE_SYSCALL_TABLE(fadvise64, fadvise64, 221, 4)
1034#endif
1035#ifndef OVERRIDE_TABLE_64_timer_getoverrun
1036TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 225, 1)
1037#endif
1038#ifndef OVERRIDE_TABLE_64_timer_delete
1039TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 226, 1)
1040#endif
1041#ifndef OVERRIDE_TABLE_64_exit_group
1042TRACE_SYSCALL_TABLE(exit_group, exit_group, 231, 1)
1043#endif
1044#ifndef OVERRIDE_TABLE_64_tgkill
1045TRACE_SYSCALL_TABLE(tgkill, tgkill, 234, 3)
1046#endif
1047#ifndef OVERRIDE_TABLE_64_keyctl
1048TRACE_SYSCALL_TABLE(keyctl, keyctl, 250, 5)
1049#endif
1050#ifndef OVERRIDE_TABLE_64_ioprio_set
1051TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 251, 3)
1052#endif
1053#ifndef OVERRIDE_TABLE_64_ioprio_get
1054TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 252, 2)
1055#endif
1056#ifndef OVERRIDE_TABLE_64_inotify_rm_watch
1057TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 255, 2)
1058#endif
1059#ifndef OVERRIDE_TABLE_64_unshare
1060TRACE_SYSCALL_TABLE(unshare, unshare, 272, 1)
1061#endif
1062#ifndef OVERRIDE_TABLE_64_tee
1063TRACE_SYSCALL_TABLE(tee, tee, 276, 4)
1064#endif
1065#ifndef OVERRIDE_TABLE_64_sync_file_range
1066TRACE_SYSCALL_TABLE(sync_file_range, sync_file_range, 277, 4)
1067#endif
1068#ifndef OVERRIDE_TABLE_64_timerfd_create
1069TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 283, 2)
1070#endif
1071#ifndef OVERRIDE_TABLE_64_eventfd
1072TRACE_SYSCALL_TABLE(eventfd, eventfd, 284, 1)
1073#endif
1074#ifndef OVERRIDE_TABLE_64_fallocate
1075TRACE_SYSCALL_TABLE(fallocate, fallocate, 285, 4)
1076#endif
1077#ifndef OVERRIDE_TABLE_64_eventfd2
1078TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 290, 2)
1079#endif
1080#ifndef OVERRIDE_TABLE_64_epoll_create1
1081TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 291, 1)
1082#endif
1083#ifndef OVERRIDE_TABLE_64_dup3
1084TRACE_SYSCALL_TABLE(dup3, dup3, 292, 3)
1085#endif
1086#ifndef OVERRIDE_TABLE_64_inotify_init1
1087TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 294, 1)
1088#endif
1089#ifndef OVERRIDE_TABLE_64_fanotify_init
1090TRACE_SYSCALL_TABLE(fanotify_init, fanotify_init, 300, 2)
1091#endif
1092#ifndef OVERRIDE_TABLE_64_syncfs
1093TRACE_SYSCALL_TABLE(syncfs, syncfs, 306, 1)
1094#endif
1095#ifndef OVERRIDE_TABLE_64_setns
1096TRACE_SYSCALL_TABLE(setns, setns, 308, 2)
1097#endif
1098
1099#endif /* CREATE_SYSCALL_TABLE */
This page took 0.025554 seconds and 4 git commands to generate.