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