+#ifndef OVERRIDE_32_sysfs
+SC_LTTNG_TRACEPOINT_EVENT(sysfs,
+ TP_PROTO(sc_exit(long ret,) int option, unsigned long arg1, unsigned long arg2),
+ TP_ARGS(sc_exit(ret,) option, arg1, arg2),
+ 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))),
+ 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))),
+ TP_printk()
+)
+#endif
+#ifndef OVERRIDE_32_msync
+SC_LTTNG_TRACEPOINT_EVENT(msync,
+ TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags),
+ TP_ARGS(sc_exit(ret,) start, len, flags),
+ 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))),
+ 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))),
+ TP_printk()
+)
+#endif
+#ifndef OVERRIDE_32_setresuid16
+SC_LTTNG_TRACEPOINT_EVENT(setresuid16,
+ TP_PROTO(sc_exit(long ret,) old_uid_t ruid, old_uid_t euid, old_uid_t suid),
+ TP_ARGS(sc_exit(ret,) ruid, euid, suid),
+ TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(old_uid_t, ruid)) sc_inout(__field(old_uid_t, euid)) sc_inout(__field(old_uid_t, suid))),
+ TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(ruid, ruid)) sc_inout(tp_assign(euid, euid)) sc_inout(tp_assign(suid, suid))),
+ TP_printk()
+)
+#endif
+#ifndef OVERRIDE_32_setresgid16
+SC_LTTNG_TRACEPOINT_EVENT(setresgid16,
+ TP_PROTO(sc_exit(long ret,) old_gid_t rgid, old_gid_t egid, old_gid_t sgid),
+ TP_ARGS(sc_exit(ret,) rgid, egid, sgid),
+ TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(old_gid_t, rgid)) sc_inout(__field(old_gid_t, egid)) sc_inout(__field(old_gid_t, sgid))),
+ TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(rgid, rgid)) sc_inout(tp_assign(egid, egid)) sc_inout(tp_assign(sgid, sgid))),
+ TP_printk()
+)
+#endif
+#ifndef OVERRIDE_32_fchown
+SC_LTTNG_TRACEPOINT_EVENT(fchown,
+ TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group),
+ TP_ARGS(sc_exit(ret,) fd, user, group),
+ 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))),
+ 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))),
+ TP_printk()
+)
+#endif
+#ifndef OVERRIDE_32_setresuid
+SC_LTTNG_TRACEPOINT_EVENT(setresuid,
+ TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid),
+ TP_ARGS(sc_exit(ret,) ruid, euid, suid),
+ 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))),
+ 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))),
+ TP_printk()
+)
+#endif
+#ifndef OVERRIDE_32_setresgid
+SC_LTTNG_TRACEPOINT_EVENT(setresgid,
+ TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid),
+ TP_ARGS(sc_exit(ret,) rgid, egid, sgid),
+ 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))),
+ 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))),
+ TP_printk()
+)
+#endif
+#ifndef OVERRIDE_32_madvise
+SC_LTTNG_TRACEPOINT_EVENT(madvise,
+ TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior),
+ TP_ARGS(sc_exit(ret,) start, len_in, behavior),
+ 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))),
+ 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))),
+ TP_printk()
+)
+#endif
+#ifndef OVERRIDE_32_fcntl64
+SC_LTTNG_TRACEPOINT_EVENT(fcntl64,
+ TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg),
+ TP_ARGS(sc_exit(ret,) fd, cmd, arg),
+ TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, fd)) sc_inout(__field(unsigned int, cmd)) sc_inout(__field(unsigned long, arg))),
+ TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(cmd, cmd)) sc_inout(tp_assign(arg, arg))),
+ TP_printk()
+)
+#endif
+#ifndef OVERRIDE_32_tgkill
+SC_LTTNG_TRACEPOINT_EVENT(tgkill,
+ TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig),
+ TP_ARGS(sc_exit(ret,) tgid, pid, sig),
+ 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))),
+ 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))),
+ TP_printk()
+)
+#endif
+#ifndef OVERRIDE_32_socket
+SC_LTTNG_TRACEPOINT_EVENT(socket,
+ TP_PROTO(sc_exit(long ret,) int family, int type, int protocol),
+ TP_ARGS(sc_exit(ret,) family, type, protocol),
+ TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, family)) sc_in(__field(int, type)) sc_in(__field(int, protocol))),
+ 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))),
+ TP_printk()
+)
+#endif
+#ifndef OVERRIDE_32_semget
+SC_LTTNG_TRACEPOINT_EVENT(semget,
+ TP_PROTO(sc_exit(long ret,) key_t key, int nsems, int semflg),
+ TP_ARGS(sc_exit(ret,) key, nsems, semflg),
+ TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(key_t, key)) sc_in(__field(int, nsems)) sc_in(__field(int, semflg))),
+ 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))),
+ TP_printk()
+)
+#endif
+#ifndef OVERRIDE_32_shmget
+SC_LTTNG_TRACEPOINT_EVENT(shmget,
+ TP_PROTO(sc_exit(long ret,) key_t key, size_t size, int shmflg),
+ TP_ARGS(sc_exit(ret,) key, size, shmflg),
+ 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))),
+ 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))),
+ TP_printk()
+)
+#endif
+#ifndef OVERRIDE_32_ioprio_set
+SC_LTTNG_TRACEPOINT_EVENT(ioprio_set,
+ TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio),
+ TP_ARGS(sc_exit(ret,) which, who, ioprio),
+ TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(int, who)) sc_in(__field(int, ioprio))),
+ 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))),
+ TP_printk()
+)
+#endif
+#ifndef OVERRIDE_32_dup3
+SC_LTTNG_TRACEPOINT_EVENT(dup3,
+ TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags),
+ TP_ARGS(sc_exit(ret,) oldfd, newfd, flags),
+ 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))),
+ 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))),
+ TP_printk()
+)
+#endif
+#ifndef OVERRIDE_32_ptrace
+SC_LTTNG_TRACEPOINT_EVENT(ptrace,
+ TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data),
+ TP_ARGS(sc_exit(ret,) request, pid, addr, data),
+ 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))),
+ 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))),
+ TP_printk()
+)
+#endif
+#ifndef OVERRIDE_32_tee
+SC_LTTNG_TRACEPOINT_EVENT(tee,
+ TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags),
+ TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags),
+ 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))),
+ 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))),
+ TP_printk()
+)
+#endif
+#ifndef OVERRIDE_32_mremap
+SC_LTTNG_TRACEPOINT_EVENT(mremap,
+ TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr),
+ TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr),
+ 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))),
+ 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))),
+ TP_printk()
+)
+#endif
+#ifndef OVERRIDE_32_prctl
+SC_LTTNG_TRACEPOINT_EVENT(prctl,
+ TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5),
+ TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5),
+ 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))),
+ 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))),
+ TP_printk()
+)
+#endif
+#ifndef OVERRIDE_32_remap_file_pages
+SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages,
+ TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags),
+ TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags),
+ 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))),
+ 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))),
+ TP_printk()
+)
+#endif
+#ifndef OVERRIDE_32_keyctl
+SC_LTTNG_TRACEPOINT_EVENT(keyctl,
+ TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5),
+ TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5),
+ 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))),
+ 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))),