| 1 | /* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ |
| 2 | |
| 3 | /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ |
| 4 | |
| 5 | /* Generated from x86-32-syscalls 6.0.7 */ |
| 6 | |
| 7 | #ifndef CREATE_SYSCALL_TABLE |
| 8 | |
| 9 | #if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) |
| 10 | #define _TRACE_SYSCALLS_INTEGERS_H |
| 11 | |
| 12 | #include <lttng/tracepoint-event.h> |
| 13 | #include <linux/syscalls.h> |
| 14 | #include "x86-32-syscalls_integers_override.h" |
| 15 | #include "syscalls_integers_override.h" |
| 16 | |
| 17 | #ifdef SC_ENTER |
| 18 | SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, |
| 19 | TP_FIELDS() |
| 20 | ) |
| 21 | #ifndef OVERRIDE_32_restart_syscall |
| 22 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall) |
| 23 | #endif |
| 24 | #ifndef OVERRIDE_32_fork |
| 25 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, fork) |
| 26 | #endif |
| 27 | #ifndef OVERRIDE_32_getpid |
| 28 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid) |
| 29 | #endif |
| 30 | #ifndef OVERRIDE_32_getuid16 |
| 31 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid16) |
| 32 | #endif |
| 33 | #ifndef OVERRIDE_32_pause |
| 34 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause) |
| 35 | #endif |
| 36 | #ifndef OVERRIDE_32_sync |
| 37 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync) |
| 38 | #endif |
| 39 | #ifndef OVERRIDE_32_getgid16 |
| 40 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid16) |
| 41 | #endif |
| 42 | #ifndef OVERRIDE_32_geteuid16 |
| 43 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid16) |
| 44 | #endif |
| 45 | #ifndef OVERRIDE_32_getegid16 |
| 46 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid16) |
| 47 | #endif |
| 48 | #ifndef OVERRIDE_32_getppid |
| 49 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid) |
| 50 | #endif |
| 51 | #ifndef OVERRIDE_32_getpgrp |
| 52 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp) |
| 53 | #endif |
| 54 | #ifndef OVERRIDE_32_setsid |
| 55 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid) |
| 56 | #endif |
| 57 | #ifndef OVERRIDE_32_sgetmask |
| 58 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sgetmask) |
| 59 | #endif |
| 60 | #ifndef OVERRIDE_32_vhangup |
| 61 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup) |
| 62 | #endif |
| 63 | #ifndef OVERRIDE_32_sigreturn |
| 64 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sigreturn) |
| 65 | #endif |
| 66 | #ifndef OVERRIDE_32_munlockall |
| 67 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall) |
| 68 | #endif |
| 69 | #ifndef OVERRIDE_32_sched_yield |
| 70 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield) |
| 71 | #endif |
| 72 | #ifndef OVERRIDE_32_rt_sigreturn |
| 73 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, rt_sigreturn) |
| 74 | #endif |
| 75 | #ifndef OVERRIDE_32_vfork |
| 76 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vfork) |
| 77 | #endif |
| 78 | #ifndef OVERRIDE_32_getuid |
| 79 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid) |
| 80 | #endif |
| 81 | #ifndef OVERRIDE_32_getgid |
| 82 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid) |
| 83 | #endif |
| 84 | #ifndef OVERRIDE_32_geteuid |
| 85 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid) |
| 86 | #endif |
| 87 | #ifndef OVERRIDE_32_getegid |
| 88 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid) |
| 89 | #endif |
| 90 | #ifndef OVERRIDE_32_gettid |
| 91 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid) |
| 92 | #endif |
| 93 | #ifndef OVERRIDE_32_inotify_init |
| 94 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init) |
| 95 | #endif |
| 96 | #else /* #ifdef SC_ENTER */ |
| 97 | #ifndef OVERRIDE_32_restart_syscall |
| 98 | SC_LTTNG_TRACEPOINT_EVENT(restart_syscall, |
| 99 | TP_PROTO(sc_exit(long ret)), |
| 100 | TP_ARGS(sc_exit(ret)), |
| 101 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 102 | ) |
| 103 | #endif |
| 104 | #ifndef OVERRIDE_32_fork |
| 105 | SC_LTTNG_TRACEPOINT_EVENT(fork, |
| 106 | TP_PROTO(sc_exit(long ret)), |
| 107 | TP_ARGS(sc_exit(ret)), |
| 108 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 109 | ) |
| 110 | #endif |
| 111 | #ifndef OVERRIDE_32_getpid |
| 112 | SC_LTTNG_TRACEPOINT_EVENT(getpid, |
| 113 | TP_PROTO(sc_exit(long ret)), |
| 114 | TP_ARGS(sc_exit(ret)), |
| 115 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 116 | ) |
| 117 | #endif |
| 118 | #ifndef OVERRIDE_32_getuid16 |
| 119 | SC_LTTNG_TRACEPOINT_EVENT(getuid16, |
| 120 | TP_PROTO(sc_exit(long ret)), |
| 121 | TP_ARGS(sc_exit(ret)), |
| 122 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 123 | ) |
| 124 | #endif |
| 125 | #ifndef OVERRIDE_32_pause |
| 126 | SC_LTTNG_TRACEPOINT_EVENT(pause, |
| 127 | TP_PROTO(sc_exit(long ret)), |
| 128 | TP_ARGS(sc_exit(ret)), |
| 129 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 130 | ) |
| 131 | #endif |
| 132 | #ifndef OVERRIDE_32_sync |
| 133 | SC_LTTNG_TRACEPOINT_EVENT(sync, |
| 134 | TP_PROTO(sc_exit(long ret)), |
| 135 | TP_ARGS(sc_exit(ret)), |
| 136 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 137 | ) |
| 138 | #endif |
| 139 | #ifndef OVERRIDE_32_getgid16 |
| 140 | SC_LTTNG_TRACEPOINT_EVENT(getgid16, |
| 141 | TP_PROTO(sc_exit(long ret)), |
| 142 | TP_ARGS(sc_exit(ret)), |
| 143 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 144 | ) |
| 145 | #endif |
| 146 | #ifndef OVERRIDE_32_geteuid16 |
| 147 | SC_LTTNG_TRACEPOINT_EVENT(geteuid16, |
| 148 | TP_PROTO(sc_exit(long ret)), |
| 149 | TP_ARGS(sc_exit(ret)), |
| 150 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 151 | ) |
| 152 | #endif |
| 153 | #ifndef OVERRIDE_32_getegid16 |
| 154 | SC_LTTNG_TRACEPOINT_EVENT(getegid16, |
| 155 | TP_PROTO(sc_exit(long ret)), |
| 156 | TP_ARGS(sc_exit(ret)), |
| 157 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 158 | ) |
| 159 | #endif |
| 160 | #ifndef OVERRIDE_32_getppid |
| 161 | SC_LTTNG_TRACEPOINT_EVENT(getppid, |
| 162 | TP_PROTO(sc_exit(long ret)), |
| 163 | TP_ARGS(sc_exit(ret)), |
| 164 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 165 | ) |
| 166 | #endif |
| 167 | #ifndef OVERRIDE_32_getpgrp |
| 168 | SC_LTTNG_TRACEPOINT_EVENT(getpgrp, |
| 169 | TP_PROTO(sc_exit(long ret)), |
| 170 | TP_ARGS(sc_exit(ret)), |
| 171 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 172 | ) |
| 173 | #endif |
| 174 | #ifndef OVERRIDE_32_setsid |
| 175 | SC_LTTNG_TRACEPOINT_EVENT(setsid, |
| 176 | TP_PROTO(sc_exit(long ret)), |
| 177 | TP_ARGS(sc_exit(ret)), |
| 178 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 179 | ) |
| 180 | #endif |
| 181 | #ifndef OVERRIDE_32_sgetmask |
| 182 | SC_LTTNG_TRACEPOINT_EVENT(sgetmask, |
| 183 | TP_PROTO(sc_exit(long ret)), |
| 184 | TP_ARGS(sc_exit(ret)), |
| 185 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 186 | ) |
| 187 | #endif |
| 188 | #ifndef OVERRIDE_32_vhangup |
| 189 | SC_LTTNG_TRACEPOINT_EVENT(vhangup, |
| 190 | TP_PROTO(sc_exit(long ret)), |
| 191 | TP_ARGS(sc_exit(ret)), |
| 192 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 193 | ) |
| 194 | #endif |
| 195 | #ifndef OVERRIDE_32_sigreturn |
| 196 | SC_LTTNG_TRACEPOINT_EVENT(sigreturn, |
| 197 | TP_PROTO(sc_exit(long ret)), |
| 198 | TP_ARGS(sc_exit(ret)), |
| 199 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 200 | ) |
| 201 | #endif |
| 202 | #ifndef OVERRIDE_32_munlockall |
| 203 | SC_LTTNG_TRACEPOINT_EVENT(munlockall, |
| 204 | TP_PROTO(sc_exit(long ret)), |
| 205 | TP_ARGS(sc_exit(ret)), |
| 206 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 207 | ) |
| 208 | #endif |
| 209 | #ifndef OVERRIDE_32_sched_yield |
| 210 | SC_LTTNG_TRACEPOINT_EVENT(sched_yield, |
| 211 | TP_PROTO(sc_exit(long ret)), |
| 212 | TP_ARGS(sc_exit(ret)), |
| 213 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 214 | ) |
| 215 | #endif |
| 216 | #ifndef OVERRIDE_32_rt_sigreturn |
| 217 | SC_LTTNG_TRACEPOINT_EVENT(rt_sigreturn, |
| 218 | TP_PROTO(sc_exit(long ret)), |
| 219 | TP_ARGS(sc_exit(ret)), |
| 220 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 221 | ) |
| 222 | #endif |
| 223 | #ifndef OVERRIDE_32_vfork |
| 224 | SC_LTTNG_TRACEPOINT_EVENT(vfork, |
| 225 | TP_PROTO(sc_exit(long ret)), |
| 226 | TP_ARGS(sc_exit(ret)), |
| 227 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 228 | ) |
| 229 | #endif |
| 230 | #ifndef OVERRIDE_32_getuid |
| 231 | SC_LTTNG_TRACEPOINT_EVENT(getuid, |
| 232 | TP_PROTO(sc_exit(long ret)), |
| 233 | TP_ARGS(sc_exit(ret)), |
| 234 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 235 | ) |
| 236 | #endif |
| 237 | #ifndef OVERRIDE_32_getgid |
| 238 | SC_LTTNG_TRACEPOINT_EVENT(getgid, |
| 239 | TP_PROTO(sc_exit(long ret)), |
| 240 | TP_ARGS(sc_exit(ret)), |
| 241 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 242 | ) |
| 243 | #endif |
| 244 | #ifndef OVERRIDE_32_geteuid |
| 245 | SC_LTTNG_TRACEPOINT_EVENT(geteuid, |
| 246 | TP_PROTO(sc_exit(long ret)), |
| 247 | TP_ARGS(sc_exit(ret)), |
| 248 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 249 | ) |
| 250 | #endif |
| 251 | #ifndef OVERRIDE_32_getegid |
| 252 | SC_LTTNG_TRACEPOINT_EVENT(getegid, |
| 253 | TP_PROTO(sc_exit(long ret)), |
| 254 | TP_ARGS(sc_exit(ret)), |
| 255 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 256 | ) |
| 257 | #endif |
| 258 | #ifndef OVERRIDE_32_gettid |
| 259 | SC_LTTNG_TRACEPOINT_EVENT(gettid, |
| 260 | TP_PROTO(sc_exit(long ret)), |
| 261 | TP_ARGS(sc_exit(ret)), |
| 262 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 263 | ) |
| 264 | #endif |
| 265 | #ifndef OVERRIDE_32_inotify_init |
| 266 | SC_LTTNG_TRACEPOINT_EVENT(inotify_init, |
| 267 | TP_PROTO(sc_exit(long ret)), |
| 268 | TP_ARGS(sc_exit(ret)), |
| 269 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 270 | ) |
| 271 | #endif |
| 272 | #endif /* else #ifdef SC_ENTER */ |
| 273 | #ifndef OVERRIDE_32_exit |
| 274 | SC_LTTNG_TRACEPOINT_EVENT(exit, |
| 275 | TP_PROTO(sc_exit(long ret,) int error_code), |
| 276 | TP_ARGS(sc_exit(ret,) error_code), |
| 277 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) |
| 278 | ) |
| 279 | #endif |
| 280 | #ifndef OVERRIDE_32_close |
| 281 | SC_LTTNG_TRACEPOINT_EVENT(close, |
| 282 | TP_PROTO(sc_exit(long ret,) unsigned int fd), |
| 283 | TP_ARGS(sc_exit(ret,) fd), |
| 284 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) |
| 285 | ) |
| 286 | #endif |
| 287 | #ifndef OVERRIDE_32_setuid16 |
| 288 | SC_LTTNG_TRACEPOINT_EVENT(setuid16, |
| 289 | TP_PROTO(sc_exit(long ret,) old_uid_t uid), |
| 290 | TP_ARGS(sc_exit(ret,) uid), |
| 291 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t, uid, uid))) |
| 292 | ) |
| 293 | #endif |
| 294 | #ifndef OVERRIDE_32_alarm |
| 295 | SC_LTTNG_TRACEPOINT_EVENT(alarm, |
| 296 | TP_PROTO(sc_exit(long ret,) unsigned int seconds), |
| 297 | TP_ARGS(sc_exit(ret,) seconds), |
| 298 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, seconds, seconds))) |
| 299 | ) |
| 300 | #endif |
| 301 | #ifndef OVERRIDE_32_nice |
| 302 | SC_LTTNG_TRACEPOINT_EVENT(nice, |
| 303 | TP_PROTO(sc_exit(long ret,) int increment), |
| 304 | TP_ARGS(sc_exit(ret,) increment), |
| 305 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, increment, increment))) |
| 306 | ) |
| 307 | #endif |
| 308 | #ifndef OVERRIDE_32_dup |
| 309 | SC_LTTNG_TRACEPOINT_EVENT(dup, |
| 310 | TP_PROTO(sc_exit(long ret,) unsigned int fildes), |
| 311 | TP_ARGS(sc_exit(ret,) fildes), |
| 312 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fildes, fildes))) |
| 313 | ) |
| 314 | #endif |
| 315 | #ifndef OVERRIDE_32_brk |
| 316 | SC_LTTNG_TRACEPOINT_EVENT(brk, |
| 317 | TP_PROTO(sc_exit(long ret,) unsigned long brk), |
| 318 | TP_ARGS(sc_exit(ret,) brk), |
| 319 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, brk, brk))) |
| 320 | ) |
| 321 | #endif |
| 322 | #ifndef OVERRIDE_32_setgid16 |
| 323 | SC_LTTNG_TRACEPOINT_EVENT(setgid16, |
| 324 | TP_PROTO(sc_exit(long ret,) old_gid_t gid), |
| 325 | TP_ARGS(sc_exit(ret,) gid), |
| 326 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t, gid, gid))) |
| 327 | ) |
| 328 | #endif |
| 329 | #ifndef OVERRIDE_32_umask |
| 330 | SC_LTTNG_TRACEPOINT_EVENT(umask, |
| 331 | TP_PROTO(sc_exit(long ret,) int mask), |
| 332 | TP_ARGS(sc_exit(ret,) mask), |
| 333 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mask, mask))) |
| 334 | ) |
| 335 | #endif |
| 336 | #ifndef OVERRIDE_32_ssetmask |
| 337 | SC_LTTNG_TRACEPOINT_EVENT(ssetmask, |
| 338 | TP_PROTO(sc_exit(long ret,) int newmask), |
| 339 | TP_ARGS(sc_exit(ret,) newmask), |
| 340 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, newmask, newmask))) |
| 341 | ) |
| 342 | #endif |
| 343 | #ifndef OVERRIDE_32_iopl |
| 344 | SC_LTTNG_TRACEPOINT_EVENT(iopl, |
| 345 | TP_PROTO(sc_exit(long ret,) unsigned int level), |
| 346 | TP_ARGS(sc_exit(ret,) level), |
| 347 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, level, level))) |
| 348 | ) |
| 349 | #endif |
| 350 | #ifndef OVERRIDE_32_fsync |
| 351 | SC_LTTNG_TRACEPOINT_EVENT(fsync, |
| 352 | TP_PROTO(sc_exit(long ret,) unsigned int fd), |
| 353 | TP_ARGS(sc_exit(ret,) fd), |
| 354 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) |
| 355 | ) |
| 356 | #endif |
| 357 | #ifndef OVERRIDE_32_getpgid |
| 358 | SC_LTTNG_TRACEPOINT_EVENT(getpgid, |
| 359 | TP_PROTO(sc_exit(long ret,) pid_t pid), |
| 360 | TP_ARGS(sc_exit(ret,) pid), |
| 361 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) |
| 362 | ) |
| 363 | #endif |
| 364 | #ifndef OVERRIDE_32_fchdir |
| 365 | SC_LTTNG_TRACEPOINT_EVENT(fchdir, |
| 366 | TP_PROTO(sc_exit(long ret,) unsigned int fd), |
| 367 | TP_ARGS(sc_exit(ret,) fd), |
| 368 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) |
| 369 | ) |
| 370 | #endif |
| 371 | #ifndef OVERRIDE_32_personality |
| 372 | SC_LTTNG_TRACEPOINT_EVENT(personality, |
| 373 | TP_PROTO(sc_exit(long ret,) unsigned int personality), |
| 374 | TP_ARGS(sc_exit(ret,) personality), |
| 375 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, personality, personality))) |
| 376 | ) |
| 377 | #endif |
| 378 | #ifndef OVERRIDE_32_setfsuid16 |
| 379 | SC_LTTNG_TRACEPOINT_EVENT(setfsuid16, |
| 380 | TP_PROTO(sc_exit(long ret,) old_uid_t uid), |
| 381 | TP_ARGS(sc_exit(ret,) uid), |
| 382 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t, uid, uid))) |
| 383 | ) |
| 384 | #endif |
| 385 | #ifndef OVERRIDE_32_setfsgid16 |
| 386 | SC_LTTNG_TRACEPOINT_EVENT(setfsgid16, |
| 387 | TP_PROTO(sc_exit(long ret,) old_gid_t gid), |
| 388 | TP_ARGS(sc_exit(ret,) gid), |
| 389 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t, gid, gid))) |
| 390 | ) |
| 391 | #endif |
| 392 | #ifndef OVERRIDE_32_getsid |
| 393 | SC_LTTNG_TRACEPOINT_EVENT(getsid, |
| 394 | TP_PROTO(sc_exit(long ret,) pid_t pid), |
| 395 | TP_ARGS(sc_exit(ret,) pid), |
| 396 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) |
| 397 | ) |
| 398 | #endif |
| 399 | #ifndef OVERRIDE_32_fdatasync |
| 400 | SC_LTTNG_TRACEPOINT_EVENT(fdatasync, |
| 401 | TP_PROTO(sc_exit(long ret,) unsigned int fd), |
| 402 | TP_ARGS(sc_exit(ret,) fd), |
| 403 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) |
| 404 | ) |
| 405 | #endif |
| 406 | #ifndef OVERRIDE_32_mlockall |
| 407 | SC_LTTNG_TRACEPOINT_EVENT(mlockall, |
| 408 | TP_PROTO(sc_exit(long ret,) int flags), |
| 409 | TP_ARGS(sc_exit(ret,) flags), |
| 410 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) |
| 411 | ) |
| 412 | #endif |
| 413 | #ifndef OVERRIDE_32_sched_getscheduler |
| 414 | SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler, |
| 415 | TP_PROTO(sc_exit(long ret,) pid_t pid), |
| 416 | TP_ARGS(sc_exit(ret,) pid), |
| 417 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) |
| 418 | ) |
| 419 | #endif |
| 420 | #ifndef OVERRIDE_32_sched_get_priority_max |
| 421 | SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max, |
| 422 | TP_PROTO(sc_exit(long ret,) int policy), |
| 423 | TP_ARGS(sc_exit(ret,) policy), |
| 424 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) |
| 425 | ) |
| 426 | #endif |
| 427 | #ifndef OVERRIDE_32_sched_get_priority_min |
| 428 | SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min, |
| 429 | TP_PROTO(sc_exit(long ret,) int policy), |
| 430 | TP_ARGS(sc_exit(ret,) policy), |
| 431 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) |
| 432 | ) |
| 433 | #endif |
| 434 | #ifndef OVERRIDE_32_setuid |
| 435 | SC_LTTNG_TRACEPOINT_EVENT(setuid, |
| 436 | TP_PROTO(sc_exit(long ret,) uid_t uid), |
| 437 | TP_ARGS(sc_exit(ret,) uid), |
| 438 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) |
| 439 | ) |
| 440 | #endif |
| 441 | #ifndef OVERRIDE_32_setgid |
| 442 | SC_LTTNG_TRACEPOINT_EVENT(setgid, |
| 443 | TP_PROTO(sc_exit(long ret,) gid_t gid), |
| 444 | TP_ARGS(sc_exit(ret,) gid), |
| 445 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) |
| 446 | ) |
| 447 | #endif |
| 448 | #ifndef OVERRIDE_32_setfsuid |
| 449 | SC_LTTNG_TRACEPOINT_EVENT(setfsuid, |
| 450 | TP_PROTO(sc_exit(long ret,) uid_t uid), |
| 451 | TP_ARGS(sc_exit(ret,) uid), |
| 452 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) |
| 453 | ) |
| 454 | #endif |
| 455 | #ifndef OVERRIDE_32_setfsgid |
| 456 | SC_LTTNG_TRACEPOINT_EVENT(setfsgid, |
| 457 | TP_PROTO(sc_exit(long ret,) gid_t gid), |
| 458 | TP_ARGS(sc_exit(ret,) gid), |
| 459 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) |
| 460 | ) |
| 461 | #endif |
| 462 | #ifndef OVERRIDE_32_io_destroy |
| 463 | SC_LTTNG_TRACEPOINT_EVENT(io_destroy, |
| 464 | TP_PROTO(sc_exit(long ret,) aio_context_t ctx), |
| 465 | TP_ARGS(sc_exit(ret,) ctx), |
| 466 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx, ctx))) |
| 467 | ) |
| 468 | #endif |
| 469 | #ifndef OVERRIDE_32_exit_group |
| 470 | SC_LTTNG_TRACEPOINT_EVENT(exit_group, |
| 471 | TP_PROTO(sc_exit(long ret,) int error_code), |
| 472 | TP_ARGS(sc_exit(ret,) error_code), |
| 473 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) |
| 474 | ) |
| 475 | #endif |
| 476 | #ifndef OVERRIDE_32_epoll_create |
| 477 | SC_LTTNG_TRACEPOINT_EVENT(epoll_create, |
| 478 | TP_PROTO(sc_exit(long ret,) int size), |
| 479 | TP_ARGS(sc_exit(ret,) size), |
| 480 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, size, size))) |
| 481 | ) |
| 482 | #endif |
| 483 | #ifndef OVERRIDE_32_timer_getoverrun |
| 484 | SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun, |
| 485 | TP_PROTO(sc_exit(long ret,) timer_t timer_id), |
| 486 | TP_ARGS(sc_exit(ret,) timer_id), |
| 487 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) |
| 488 | ) |
| 489 | #endif |
| 490 | #ifndef OVERRIDE_32_timer_delete |
| 491 | SC_LTTNG_TRACEPOINT_EVENT(timer_delete, |
| 492 | TP_PROTO(sc_exit(long ret,) timer_t timer_id), |
| 493 | TP_ARGS(sc_exit(ret,) timer_id), |
| 494 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) |
| 495 | ) |
| 496 | #endif |
| 497 | #ifndef OVERRIDE_32_unshare |
| 498 | SC_LTTNG_TRACEPOINT_EVENT(unshare, |
| 499 | TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags), |
| 500 | TP_ARGS(sc_exit(ret,) unshare_flags), |
| 501 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, unshare_flags, unshare_flags))) |
| 502 | ) |
| 503 | #endif |
| 504 | #ifndef OVERRIDE_32_eventfd |
| 505 | SC_LTTNG_TRACEPOINT_EVENT(eventfd, |
| 506 | TP_PROTO(sc_exit(long ret,) unsigned int count), |
| 507 | TP_ARGS(sc_exit(ret,) count), |
| 508 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count))) |
| 509 | ) |
| 510 | #endif |
| 511 | #ifndef OVERRIDE_32_epoll_create1 |
| 512 | SC_LTTNG_TRACEPOINT_EVENT(epoll_create1, |
| 513 | TP_PROTO(sc_exit(long ret,) int flags), |
| 514 | TP_ARGS(sc_exit(ret,) flags), |
| 515 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) |
| 516 | ) |
| 517 | #endif |
| 518 | #ifndef OVERRIDE_32_inotify_init1 |
| 519 | SC_LTTNG_TRACEPOINT_EVENT(inotify_init1, |
| 520 | TP_PROTO(sc_exit(long ret,) int flags), |
| 521 | TP_ARGS(sc_exit(ret,) flags), |
| 522 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) |
| 523 | ) |
| 524 | #endif |
| 525 | #ifndef OVERRIDE_32_syncfs |
| 526 | SC_LTTNG_TRACEPOINT_EVENT(syncfs, |
| 527 | TP_PROTO(sc_exit(long ret,) int fd), |
| 528 | TP_ARGS(sc_exit(ret,) fd), |
| 529 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd))) |
| 530 | ) |
| 531 | #endif |
| 532 | #ifndef OVERRIDE_32_userfaultfd |
| 533 | SC_LTTNG_TRACEPOINT_EVENT(userfaultfd, |
| 534 | TP_PROTO(sc_exit(long ret,) int flags), |
| 535 | TP_ARGS(sc_exit(ret,) flags), |
| 536 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, flags, flags))) |
| 537 | ) |
| 538 | #endif |
| 539 | #ifndef OVERRIDE_32_memfd_secret |
| 540 | SC_LTTNG_TRACEPOINT_EVENT(memfd_secret, |
| 541 | TP_PROTO(sc_exit(long ret,) unsigned int flags), |
| 542 | TP_ARGS(sc_exit(ret,) flags), |
| 543 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, flags, flags))) |
| 544 | ) |
| 545 | #endif |
| 546 | #ifndef OVERRIDE_32_kill |
| 547 | SC_LTTNG_TRACEPOINT_EVENT(kill, |
| 548 | TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), |
| 549 | TP_ARGS(sc_exit(ret,) pid, sig), |
| 550 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) |
| 551 | ) |
| 552 | #endif |
| 553 | #ifndef OVERRIDE_32_signal |
| 554 | SC_LTTNG_TRACEPOINT_EVENT(signal, |
| 555 | TP_PROTO(sc_exit(long ret,) int sig, __sighandler_t handler), |
| 556 | TP_ARGS(sc_exit(ret,) sig, handler), |
| 557 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, sig, sig)) sc_inout(ctf_integer(__sighandler_t, handler, handler))) |
| 558 | ) |
| 559 | #endif |
| 560 | #ifndef OVERRIDE_32_setpgid |
| 561 | SC_LTTNG_TRACEPOINT_EVENT(setpgid, |
| 562 | TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid), |
| 563 | TP_ARGS(sc_exit(ret,) pid, pgid), |
| 564 | 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))) |
| 565 | ) |
| 566 | #endif |
| 567 | #ifndef OVERRIDE_32_dup2 |
| 568 | SC_LTTNG_TRACEPOINT_EVENT(dup2, |
| 569 | TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd), |
| 570 | TP_ARGS(sc_exit(ret,) oldfd, newfd), |
| 571 | 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))) |
| 572 | ) |
| 573 | #endif |
| 574 | #ifndef OVERRIDE_32_setreuid16 |
| 575 | SC_LTTNG_TRACEPOINT_EVENT(setreuid16, |
| 576 | TP_PROTO(sc_exit(long ret,) old_uid_t ruid, old_uid_t euid), |
| 577 | TP_ARGS(sc_exit(ret,) ruid, euid), |
| 578 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t, ruid, ruid)) sc_inout(ctf_integer(old_uid_t, euid, euid))) |
| 579 | ) |
| 580 | #endif |
| 581 | #ifndef OVERRIDE_32_setregid16 |
| 582 | SC_LTTNG_TRACEPOINT_EVENT(setregid16, |
| 583 | TP_PROTO(sc_exit(long ret,) old_gid_t rgid, old_gid_t egid), |
| 584 | TP_ARGS(sc_exit(ret,) rgid, egid), |
| 585 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t, rgid, rgid)) sc_inout(ctf_integer(old_gid_t, egid, egid))) |
| 586 | ) |
| 587 | #endif |
| 588 | #ifndef OVERRIDE_32_munmap |
| 589 | SC_LTTNG_TRACEPOINT_EVENT(munmap, |
| 590 | TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len), |
| 591 | TP_ARGS(sc_exit(ret,) addr, len), |
| 592 | 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))) |
| 593 | ) |
| 594 | #endif |
| 595 | #ifndef OVERRIDE_32_ftruncate |
| 596 | SC_LTTNG_TRACEPOINT_EVENT(ftruncate, |
| 597 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length), |
| 598 | TP_ARGS(sc_exit(ret,) fd, length), |
| 599 | 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))) |
| 600 | ) |
| 601 | #endif |
| 602 | #ifndef OVERRIDE_32_fchmod |
| 603 | SC_LTTNG_TRACEPOINT_EVENT(fchmod, |
| 604 | TP_PROTO(sc_exit(long ret,) unsigned int fd, umode_t mode), |
| 605 | TP_ARGS(sc_exit(ret,) fd, mode), |
| 606 | 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))) |
| 607 | ) |
| 608 | #endif |
| 609 | #ifndef OVERRIDE_32_getpriority |
| 610 | SC_LTTNG_TRACEPOINT_EVENT(getpriority, |
| 611 | TP_PROTO(sc_exit(long ret,) int which, int who), |
| 612 | TP_ARGS(sc_exit(ret,) which, who), |
| 613 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) |
| 614 | ) |
| 615 | #endif |
| 616 | #ifndef OVERRIDE_32_flock |
| 617 | SC_LTTNG_TRACEPOINT_EVENT(flock, |
| 618 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd), |
| 619 | TP_ARGS(sc_exit(ret,) fd, cmd), |
| 620 | 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))) |
| 621 | ) |
| 622 | #endif |
| 623 | #ifndef OVERRIDE_32_mlock |
| 624 | SC_LTTNG_TRACEPOINT_EVENT(mlock, |
| 625 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), |
| 626 | TP_ARGS(sc_exit(ret,) start, len), |
| 627 | 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))) |
| 628 | ) |
| 629 | #endif |
| 630 | #ifndef OVERRIDE_32_munlock |
| 631 | SC_LTTNG_TRACEPOINT_EVENT(munlock, |
| 632 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), |
| 633 | TP_ARGS(sc_exit(ret,) start, len), |
| 634 | 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))) |
| 635 | ) |
| 636 | #endif |
| 637 | #ifndef OVERRIDE_32_setreuid |
| 638 | SC_LTTNG_TRACEPOINT_EVENT(setreuid, |
| 639 | TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid), |
| 640 | TP_ARGS(sc_exit(ret,) ruid, euid), |
| 641 | 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))) |
| 642 | ) |
| 643 | #endif |
| 644 | #ifndef OVERRIDE_32_setregid |
| 645 | SC_LTTNG_TRACEPOINT_EVENT(setregid, |
| 646 | TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid), |
| 647 | TP_ARGS(sc_exit(ret,) rgid, egid), |
| 648 | 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))) |
| 649 | ) |
| 650 | #endif |
| 651 | #ifndef OVERRIDE_32_tkill |
| 652 | SC_LTTNG_TRACEPOINT_EVENT(tkill, |
| 653 | TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), |
| 654 | TP_ARGS(sc_exit(ret,) pid, sig), |
| 655 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) |
| 656 | ) |
| 657 | #endif |
| 658 | #ifndef OVERRIDE_32_ioprio_get |
| 659 | SC_LTTNG_TRACEPOINT_EVENT(ioprio_get, |
| 660 | TP_PROTO(sc_exit(long ret,) int which, int who), |
| 661 | TP_ARGS(sc_exit(ret,) which, who), |
| 662 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) |
| 663 | ) |
| 664 | #endif |
| 665 | #ifndef OVERRIDE_32_inotify_rm_watch |
| 666 | SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch, |
| 667 | TP_PROTO(sc_exit(long ret,) int fd, __s32 wd), |
| 668 | TP_ARGS(sc_exit(ret,) fd, wd), |
| 669 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(__s32, wd, wd))) |
| 670 | ) |
| 671 | #endif |
| 672 | #ifndef OVERRIDE_32_timerfd_create |
| 673 | SC_LTTNG_TRACEPOINT_EVENT(timerfd_create, |
| 674 | TP_PROTO(sc_exit(long ret,) int clockid, int flags), |
| 675 | TP_ARGS(sc_exit(ret,) clockid, flags), |
| 676 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, clockid, clockid)) sc_in(ctf_integer(int, flags, flags))) |
| 677 | ) |
| 678 | #endif |
| 679 | #ifndef OVERRIDE_32_eventfd2 |
| 680 | SC_LTTNG_TRACEPOINT_EVENT(eventfd2, |
| 681 | TP_PROTO(sc_exit(long ret,) unsigned int count, int flags), |
| 682 | TP_ARGS(sc_exit(ret,) count, flags), |
| 683 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count)) sc_in(ctf_integer(int, flags, flags))) |
| 684 | ) |
| 685 | #endif |
| 686 | #ifndef OVERRIDE_32_fanotify_init |
| 687 | SC_LTTNG_TRACEPOINT_EVENT(fanotify_init, |
| 688 | TP_PROTO(sc_exit(long ret,) unsigned int flags, unsigned int event_f_flags), |
| 689 | TP_ARGS(sc_exit(ret,) flags, event_f_flags), |
| 690 | 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))) |
| 691 | ) |
| 692 | #endif |
| 693 | #ifndef OVERRIDE_32_setns |
| 694 | SC_LTTNG_TRACEPOINT_EVENT(setns, |
| 695 | TP_PROTO(sc_exit(long ret,) int fd, int flags), |
| 696 | TP_ARGS(sc_exit(ret,) fd, flags), |
| 697 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, flags, flags))) |
| 698 | ) |
| 699 | #endif |
| 700 | #ifndef OVERRIDE_32_listen |
| 701 | SC_LTTNG_TRACEPOINT_EVENT(listen, |
| 702 | TP_PROTO(sc_exit(long ret,) int fd, int backlog), |
| 703 | TP_ARGS(sc_exit(ret,) fd, backlog), |
| 704 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, backlog, backlog))) |
| 705 | ) |
| 706 | #endif |
| 707 | #ifndef OVERRIDE_32_shutdown |
| 708 | SC_LTTNG_TRACEPOINT_EVENT(shutdown, |
| 709 | TP_PROTO(sc_exit(long ret,) int fd, int how), |
| 710 | TP_ARGS(sc_exit(ret,) fd, how), |
| 711 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, how, how))) |
| 712 | ) |
| 713 | #endif |
| 714 | #ifndef OVERRIDE_32_arch_prctl |
| 715 | SC_LTTNG_TRACEPOINT_EVENT(arch_prctl, |
| 716 | TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2), |
| 717 | TP_ARGS(sc_exit(ret,) option, arg2), |
| 718 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2))) |
| 719 | ) |
| 720 | #endif |
| 721 | #ifndef OVERRIDE_32_msgget |
| 722 | SC_LTTNG_TRACEPOINT_EVENT(msgget, |
| 723 | TP_PROTO(sc_exit(long ret,) key_t key, int msgflg), |
| 724 | TP_ARGS(sc_exit(ret,) key, msgflg), |
| 725 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(key_t, key, key)) sc_in(ctf_integer(int, msgflg, msgflg))) |
| 726 | ) |
| 727 | #endif |
| 728 | #ifndef OVERRIDE_32_pidfd_open |
| 729 | SC_LTTNG_TRACEPOINT_EVENT(pidfd_open, |
| 730 | TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int flags), |
| 731 | TP_ARGS(sc_exit(ret,) pid, flags), |
| 732 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(unsigned int, flags, flags))) |
| 733 | ) |
| 734 | #endif |
| 735 | #ifndef OVERRIDE_32_process_mrelease |
| 736 | SC_LTTNG_TRACEPOINT_EVENT(process_mrelease, |
| 737 | TP_PROTO(sc_exit(long ret,) int pidfd, unsigned int flags), |
| 738 | TP_ARGS(sc_exit(ret,) pidfd, flags), |
| 739 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(unsigned int, flags, flags))) |
| 740 | ) |
| 741 | #endif |
| 742 | #ifndef OVERRIDE_32_lseek |
| 743 | SC_LTTNG_TRACEPOINT_EVENT(lseek, |
| 744 | TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int whence), |
| 745 | TP_ARGS(sc_exit(ret,) fd, offset, whence), |
| 746 | 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))) |
| 747 | ) |
| 748 | #endif |
| 749 | #ifndef OVERRIDE_32_ioctl |
| 750 | SC_LTTNG_TRACEPOINT_EVENT(ioctl, |
| 751 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), |
| 752 | TP_ARGS(sc_exit(ret,) fd, cmd, arg), |
| 753 | 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))) |
| 754 | ) |
| 755 | #endif |
| 756 | #ifndef OVERRIDE_32_fcntl |
| 757 | SC_LTTNG_TRACEPOINT_EVENT(fcntl, |
| 758 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), |
| 759 | TP_ARGS(sc_exit(ret,) fd, cmd, arg), |
| 760 | 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))) |
| 761 | ) |
| 762 | #endif |
| 763 | #ifndef OVERRIDE_32_sigsuspend |
| 764 | SC_LTTNG_TRACEPOINT_EVENT(sigsuspend, |
| 765 | TP_PROTO(sc_exit(long ret,) int unused1, int unused2, old_sigset_t mask), |
| 766 | TP_ARGS(sc_exit(ret,) unused1, unused2, mask), |
| 767 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, unused1, unused1)) sc_inout(ctf_integer(int, unused2, unused2)) sc_inout(ctf_integer(old_sigset_t, mask, mask))) |
| 768 | ) |
| 769 | #endif |
| 770 | #ifndef OVERRIDE_32_fchown16 |
| 771 | SC_LTTNG_TRACEPOINT_EVENT(fchown16, |
| 772 | TP_PROTO(sc_exit(long ret,) unsigned int fd, old_uid_t user, old_gid_t group), |
| 773 | TP_ARGS(sc_exit(ret,) fd, user, group), |
| 774 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(old_uid_t, user, user)) sc_inout(ctf_integer(old_gid_t, group, group))) |
| 775 | ) |
| 776 | #endif |
| 777 | #ifndef OVERRIDE_32_setpriority |
| 778 | SC_LTTNG_TRACEPOINT_EVENT(setpriority, |
| 779 | TP_PROTO(sc_exit(long ret,) int which, int who, int niceval), |
| 780 | TP_ARGS(sc_exit(ret,) which, who, niceval), |
| 781 | 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))) |
| 782 | ) |
| 783 | #endif |
| 784 | #ifndef OVERRIDE_32_ioperm |
| 785 | SC_LTTNG_TRACEPOINT_EVENT(ioperm, |
| 786 | TP_PROTO(sc_exit(long ret,) unsigned long from, unsigned long num, int turn_on), |
| 787 | TP_ARGS(sc_exit(ret,) from, num, turn_on), |
| 788 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, from, from)) sc_inout(ctf_integer(unsigned long, num, num)) sc_inout(ctf_integer(int, turn_on, turn_on))) |
| 789 | ) |
| 790 | #endif |
| 791 | #ifndef OVERRIDE_32_mprotect |
| 792 | SC_LTTNG_TRACEPOINT_EVENT(mprotect, |
| 793 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot), |
| 794 | TP_ARGS(sc_exit(ret,) start, len, prot), |
| 795 | 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))) |
| 796 | ) |
| 797 | #endif |
| 798 | #ifndef OVERRIDE_32_sysfs |
| 799 | SC_LTTNG_TRACEPOINT_EVENT(sysfs, |
| 800 | TP_PROTO(sc_exit(long ret,) int option, unsigned long arg1, unsigned long arg2), |
| 801 | TP_ARGS(sc_exit(ret,) option, arg1, arg2), |
| 802 | 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))) |
| 803 | ) |
| 804 | #endif |
| 805 | #ifndef OVERRIDE_32_msync |
| 806 | SC_LTTNG_TRACEPOINT_EVENT(msync, |
| 807 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), |
| 808 | TP_ARGS(sc_exit(ret,) start, len, flags), |
| 809 | 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))) |
| 810 | ) |
| 811 | #endif |
| 812 | #ifndef OVERRIDE_32_setresuid16 |
| 813 | SC_LTTNG_TRACEPOINT_EVENT(setresuid16, |
| 814 | TP_PROTO(sc_exit(long ret,) old_uid_t ruid, old_uid_t euid, old_uid_t suid), |
| 815 | TP_ARGS(sc_exit(ret,) ruid, euid, suid), |
| 816 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t, ruid, ruid)) sc_inout(ctf_integer(old_uid_t, euid, euid)) sc_inout(ctf_integer(old_uid_t, suid, suid))) |
| 817 | ) |
| 818 | #endif |
| 819 | #ifndef OVERRIDE_32_setresgid16 |
| 820 | SC_LTTNG_TRACEPOINT_EVENT(setresgid16, |
| 821 | TP_PROTO(sc_exit(long ret,) old_gid_t rgid, old_gid_t egid, old_gid_t sgid), |
| 822 | TP_ARGS(sc_exit(ret,) rgid, egid, sgid), |
| 823 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t, rgid, rgid)) sc_inout(ctf_integer(old_gid_t, egid, egid)) sc_inout(ctf_integer(old_gid_t, sgid, sgid))) |
| 824 | ) |
| 825 | #endif |
| 826 | #ifndef OVERRIDE_32_ia32_ftruncate64 |
| 827 | SC_LTTNG_TRACEPOINT_EVENT(ia32_ftruncate64, |
| 828 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long offset_low, unsigned long offset_high), |
| 829 | TP_ARGS(sc_exit(ret,) fd, offset_low, offset_high), |
| 830 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned long, offset_low, offset_low)) sc_inout(ctf_integer(unsigned long, offset_high, offset_high))) |
| 831 | ) |
| 832 | #endif |
| 833 | #ifndef OVERRIDE_32_fchown |
| 834 | SC_LTTNG_TRACEPOINT_EVENT(fchown, |
| 835 | TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group), |
| 836 | TP_ARGS(sc_exit(ret,) fd, user, group), |
| 837 | 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))) |
| 838 | ) |
| 839 | #endif |
| 840 | #ifndef OVERRIDE_32_setresuid |
| 841 | SC_LTTNG_TRACEPOINT_EVENT(setresuid, |
| 842 | TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid), |
| 843 | TP_ARGS(sc_exit(ret,) ruid, euid, suid), |
| 844 | 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))) |
| 845 | ) |
| 846 | #endif |
| 847 | #ifndef OVERRIDE_32_setresgid |
| 848 | SC_LTTNG_TRACEPOINT_EVENT(setresgid, |
| 849 | TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid), |
| 850 | TP_ARGS(sc_exit(ret,) rgid, egid, sgid), |
| 851 | 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))) |
| 852 | ) |
| 853 | #endif |
| 854 | #ifndef OVERRIDE_32_madvise |
| 855 | SC_LTTNG_TRACEPOINT_EVENT(madvise, |
| 856 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior), |
| 857 | TP_ARGS(sc_exit(ret,) start, len_in, behavior), |
| 858 | 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))) |
| 859 | ) |
| 860 | #endif |
| 861 | #ifndef OVERRIDE_32_fcntl64 |
| 862 | SC_LTTNG_TRACEPOINT_EVENT(fcntl64, |
| 863 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), |
| 864 | TP_ARGS(sc_exit(ret,) fd, cmd, arg), |
| 865 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) |
| 866 | ) |
| 867 | #endif |
| 868 | #ifndef OVERRIDE_32_tgkill |
| 869 | SC_LTTNG_TRACEPOINT_EVENT(tgkill, |
| 870 | TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig), |
| 871 | TP_ARGS(sc_exit(ret,) tgid, pid, sig), |
| 872 | 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))) |
| 873 | ) |
| 874 | #endif |
| 875 | #ifndef OVERRIDE_32_ioprio_set |
| 876 | SC_LTTNG_TRACEPOINT_EVENT(ioprio_set, |
| 877 | TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio), |
| 878 | TP_ARGS(sc_exit(ret,) which, who, ioprio), |
| 879 | 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))) |
| 880 | ) |
| 881 | #endif |
| 882 | #ifndef OVERRIDE_32_dup3 |
| 883 | SC_LTTNG_TRACEPOINT_EVENT(dup3, |
| 884 | TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags), |
| 885 | TP_ARGS(sc_exit(ret,) oldfd, newfd, flags), |
| 886 | 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))) |
| 887 | ) |
| 888 | #endif |
| 889 | #ifndef OVERRIDE_32_socket |
| 890 | SC_LTTNG_TRACEPOINT_EVENT(socket, |
| 891 | TP_PROTO(sc_exit(long ret,) int family, int type, int protocol), |
| 892 | TP_ARGS(sc_exit(ret,) family, type, protocol), |
| 893 | 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))) |
| 894 | ) |
| 895 | #endif |
| 896 | #ifndef OVERRIDE_32_membarrier |
| 897 | SC_LTTNG_TRACEPOINT_EVENT(membarrier, |
| 898 | TP_PROTO(sc_exit(long ret,) int cmd, unsigned int flags, int cpu_id), |
| 899 | TP_ARGS(sc_exit(ret,) cmd, flags, cpu_id), |
| 900 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, cmd, cmd)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(int, cpu_id, cpu_id))) |
| 901 | ) |
| 902 | #endif |
| 903 | #ifndef OVERRIDE_32_mlock2 |
| 904 | SC_LTTNG_TRACEPOINT_EVENT(mlock2, |
| 905 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), |
| 906 | TP_ARGS(sc_exit(ret,) start, len, flags), |
| 907 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, start, start)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(int, flags, flags))) |
| 908 | ) |
| 909 | #endif |
| 910 | #ifndef OVERRIDE_32_semget |
| 911 | SC_LTTNG_TRACEPOINT_EVENT(semget, |
| 912 | TP_PROTO(sc_exit(long ret,) key_t key, int nsems, int semflg), |
| 913 | TP_ARGS(sc_exit(ret,) key, nsems, semflg), |
| 914 | 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))) |
| 915 | ) |
| 916 | #endif |
| 917 | #ifndef OVERRIDE_32_shmget |
| 918 | SC_LTTNG_TRACEPOINT_EVENT(shmget, |
| 919 | TP_PROTO(sc_exit(long ret,) key_t key, size_t size, int shmflg), |
| 920 | TP_ARGS(sc_exit(ret,) key, size, shmflg), |
| 921 | 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))) |
| 922 | ) |
| 923 | #endif |
| 924 | #ifndef OVERRIDE_32_fsmount |
| 925 | SC_LTTNG_TRACEPOINT_EVENT(fsmount, |
| 926 | TP_PROTO(sc_exit(long ret,) int fs_fd, unsigned int flags, unsigned int attr_flags), |
| 927 | TP_ARGS(sc_exit(ret,) fs_fd, flags, attr_flags), |
| 928 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fs_fd, fs_fd)) sc_inout(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(unsigned int, attr_flags, attr_flags))) |
| 929 | ) |
| 930 | #endif |
| 931 | #ifndef OVERRIDE_32_close_range |
| 932 | SC_LTTNG_TRACEPOINT_EVENT(close_range, |
| 933 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int max_fd, unsigned int flags), |
| 934 | TP_ARGS(sc_exit(ret,) fd, max_fd, flags), |
| 935 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, max_fd, max_fd)) sc_inout(ctf_integer(unsigned int, flags, flags))) |
| 936 | ) |
| 937 | #endif |
| 938 | #ifndef OVERRIDE_32_pidfd_getfd |
| 939 | SC_LTTNG_TRACEPOINT_EVENT(pidfd_getfd, |
| 940 | TP_PROTO(sc_exit(long ret,) int pidfd, int fd, unsigned int flags), |
| 941 | TP_ARGS(sc_exit(ret,) pidfd, fd, flags), |
| 942 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, pidfd, pidfd)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned int, flags, flags))) |
| 943 | ) |
| 944 | #endif |
| 945 | #ifndef OVERRIDE_32_ptrace |
| 946 | SC_LTTNG_TRACEPOINT_EVENT(ptrace, |
| 947 | TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data), |
| 948 | TP_ARGS(sc_exit(ret,) request, pid, addr, data), |
| 949 | 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))) |
| 950 | ) |
| 951 | #endif |
| 952 | #ifndef OVERRIDE_32_ia32_readahead |
| 953 | SC_LTTNG_TRACEPOINT_EVENT(ia32_readahead, |
| 954 | TP_PROTO(sc_exit(long ret,) int fd, unsigned int off_lo, unsigned int off_hi, size_t count), |
| 955 | TP_ARGS(sc_exit(ret,) fd, off_lo, off_hi, count), |
| 956 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned int, off_lo, off_lo)) sc_inout(ctf_integer(unsigned int, off_hi, off_hi)) sc_inout(ctf_integer(size_t, count, count))) |
| 957 | ) |
| 958 | #endif |
| 959 | #ifndef OVERRIDE_32_tee |
| 960 | SC_LTTNG_TRACEPOINT_EVENT(tee, |
| 961 | TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), |
| 962 | TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags), |
| 963 | 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))) |
| 964 | ) |
| 965 | #endif |
| 966 | #ifndef OVERRIDE_32_semctl |
| 967 | SC_LTTNG_TRACEPOINT_EVENT(semctl, |
| 968 | TP_PROTO(sc_exit(long ret,) int semid, int semnum, int cmd, unsigned long arg), |
| 969 | TP_ARGS(sc_exit(ret,) semid, semnum, cmd, arg), |
| 970 | 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))) |
| 971 | ) |
| 972 | #endif |
| 973 | #ifndef OVERRIDE_32_mremap |
| 974 | SC_LTTNG_TRACEPOINT_EVENT(mremap, |
| 975 | TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), |
| 976 | TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr), |
| 977 | 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))) |
| 978 | ) |
| 979 | #endif |
| 980 | #ifndef OVERRIDE_32_prctl |
| 981 | SC_LTTNG_TRACEPOINT_EVENT(prctl, |
| 982 | TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), |
| 983 | TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), |
| 984 | 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))) |
| 985 | ) |
| 986 | #endif |
| 987 | #ifndef OVERRIDE_32_ia32_fadvise64 |
| 988 | SC_LTTNG_TRACEPOINT_EVENT(ia32_fadvise64, |
| 989 | TP_PROTO(sc_exit(long ret,) int fd, unsigned int offset_lo, unsigned int offset_hi, size_t len, int advice), |
| 990 | TP_ARGS(sc_exit(ret,) fd, offset_lo, offset_hi, len, advice), |
| 991 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned int, offset_lo, offset_lo)) sc_inout(ctf_integer(unsigned int, offset_hi, offset_hi)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(int, advice, advice))) |
| 992 | ) |
| 993 | #endif |
| 994 | #ifndef OVERRIDE_32_remap_file_pages |
| 995 | SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, |
| 996 | TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), |
| 997 | TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags), |
| 998 | 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))) |
| 999 | ) |
| 1000 | #endif |
| 1001 | #ifndef OVERRIDE_32_keyctl |
| 1002 | SC_LTTNG_TRACEPOINT_EVENT(keyctl, |
| 1003 | TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), |
| 1004 | TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), |
| 1005 | 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))) |
| 1006 | ) |
| 1007 | #endif |
| 1008 | #ifndef OVERRIDE_32_kcmp |
| 1009 | SC_LTTNG_TRACEPOINT_EVENT(kcmp, |
| 1010 | TP_PROTO(sc_exit(long ret,) pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2), |
| 1011 | TP_ARGS(sc_exit(ret,) pid1, pid2, type, idx1, idx2), |
| 1012 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid1, pid1)) sc_inout(ctf_integer(pid_t, pid2, pid2)) sc_inout(ctf_integer(int, type, type)) sc_inout(ctf_integer(unsigned long, idx1, idx1)) sc_inout(ctf_integer(unsigned long, idx2, idx2))) |
| 1013 | ) |
| 1014 | #endif |
| 1015 | #ifndef OVERRIDE_32_mmap_pgoff |
| 1016 | SC_LTTNG_TRACEPOINT_EVENT(mmap_pgoff, |
| 1017 | TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff), |
| 1018 | TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, pgoff), |
| 1019 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, len, len)) sc_inout(ctf_integer(unsigned long, prot, prot)) sc_inout(ctf_integer(unsigned long, flags, flags)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(unsigned long, pgoff, pgoff))) |
| 1020 | ) |
| 1021 | #endif |
| 1022 | #ifndef OVERRIDE_32_ia32_fadvise64_64 |
| 1023 | SC_LTTNG_TRACEPOINT_EVENT(ia32_fadvise64_64, |
| 1024 | TP_PROTO(sc_exit(long ret,) int fd, __u32 offset_low, __u32 offset_high, __u32 len_low, __u32 len_high, int advice), |
| 1025 | TP_ARGS(sc_exit(ret,) fd, offset_low, offset_high, len_low, len_high, advice), |
| 1026 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(__u32, offset_low, offset_low)) sc_inout(ctf_integer(__u32, offset_high, offset_high)) sc_inout(ctf_integer(__u32, len_low, len_low)) sc_inout(ctf_integer(__u32, len_high, len_high)) sc_inout(ctf_integer(int, advice, advice))) |
| 1027 | ) |
| 1028 | #endif |
| 1029 | #ifndef OVERRIDE_32_ia32_sync_file_range |
| 1030 | SC_LTTNG_TRACEPOINT_EVENT(ia32_sync_file_range, |
| 1031 | TP_PROTO(sc_exit(long ret,) int fd, unsigned int off_low, unsigned int off_hi, unsigned int n_low, unsigned int n_hi, int flags), |
| 1032 | TP_ARGS(sc_exit(ret,) fd, off_low, off_hi, n_low, n_hi, flags), |
| 1033 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(unsigned int, off_low, off_low)) sc_inout(ctf_integer(unsigned int, off_hi, off_hi)) sc_inout(ctf_integer(unsigned int, n_low, n_low)) sc_inout(ctf_integer(unsigned int, n_hi, n_hi)) sc_inout(ctf_integer(int, flags, flags))) |
| 1034 | ) |
| 1035 | #endif |
| 1036 | #ifndef OVERRIDE_32_ia32_fallocate |
| 1037 | SC_LTTNG_TRACEPOINT_EVENT(ia32_fallocate, |
| 1038 | TP_PROTO(sc_exit(long ret,) int fd, int mode, unsigned int offset_lo, unsigned int offset_hi, unsigned int len_lo, unsigned int len_hi), |
| 1039 | TP_ARGS(sc_exit(ret,) fd, mode, offset_lo, offset_hi, len_lo, len_hi), |
| 1040 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(int, mode, mode)) sc_inout(ctf_integer(unsigned int, offset_lo, offset_lo)) sc_inout(ctf_integer(unsigned int, offset_hi, offset_hi)) sc_inout(ctf_integer(unsigned int, len_lo, len_lo)) sc_inout(ctf_integer(unsigned int, len_hi, len_hi))) |
| 1041 | ) |
| 1042 | #endif |
| 1043 | |
| 1044 | #endif /* _TRACE_SYSCALLS_INTEGERS_H */ |
| 1045 | |
| 1046 | /* This part must be outside protection */ |
| 1047 | #include <lttng/define_trace.h> |
| 1048 | |
| 1049 | #else /* CREATE_SYSCALL_TABLE */ |
| 1050 | |
| 1051 | #include "x86-32-syscalls_integers_override.h" |
| 1052 | #include "syscalls_integers_override.h" |
| 1053 | |
| 1054 | #ifdef SC_ENTER |
| 1055 | #ifndef OVERRIDE_TABLE_32_restart_syscall |
| 1056 | TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 0, 0) |
| 1057 | #endif |
| 1058 | #ifndef OVERRIDE_TABLE_32_fork |
| 1059 | TRACE_SYSCALL_TABLE(syscalls_noargs, fork, 2, 0) |
| 1060 | #endif |
| 1061 | #ifndef OVERRIDE_TABLE_32_getpid |
| 1062 | TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 20, 0) |
| 1063 | #endif |
| 1064 | #ifndef OVERRIDE_TABLE_32_getuid16 |
| 1065 | TRACE_SYSCALL_TABLE(syscalls_noargs, getuid16, 24, 0) |
| 1066 | #endif |
| 1067 | #ifndef OVERRIDE_TABLE_32_pause |
| 1068 | TRACE_SYSCALL_TABLE(syscalls_noargs, pause, 29, 0) |
| 1069 | #endif |
| 1070 | #ifndef OVERRIDE_TABLE_32_sync |
| 1071 | TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 36, 0) |
| 1072 | #endif |
| 1073 | #ifndef OVERRIDE_TABLE_32_getgid16 |
| 1074 | TRACE_SYSCALL_TABLE(syscalls_noargs, getgid16, 47, 0) |
| 1075 | #endif |
| 1076 | #ifndef OVERRIDE_TABLE_32_geteuid16 |
| 1077 | TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid16, 49, 0) |
| 1078 | #endif |
| 1079 | #ifndef OVERRIDE_TABLE_32_getegid16 |
| 1080 | TRACE_SYSCALL_TABLE(syscalls_noargs, getegid16, 50, 0) |
| 1081 | #endif |
| 1082 | #ifndef OVERRIDE_TABLE_32_getppid |
| 1083 | TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 64, 0) |
| 1084 | #endif |
| 1085 | #ifndef OVERRIDE_TABLE_32_getpgrp |
| 1086 | TRACE_SYSCALL_TABLE(syscalls_noargs, getpgrp, 65, 0) |
| 1087 | #endif |
| 1088 | #ifndef OVERRIDE_TABLE_32_setsid |
| 1089 | TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 66, 0) |
| 1090 | #endif |
| 1091 | #ifndef OVERRIDE_TABLE_32_sgetmask |
| 1092 | TRACE_SYSCALL_TABLE(syscalls_noargs, sgetmask, 68, 0) |
| 1093 | #endif |
| 1094 | #ifndef OVERRIDE_TABLE_32_vhangup |
| 1095 | TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 111, 0) |
| 1096 | #endif |
| 1097 | #ifndef OVERRIDE_TABLE_32_sigreturn |
| 1098 | TRACE_SYSCALL_TABLE(syscalls_noargs, sigreturn, 119, 0) |
| 1099 | #endif |
| 1100 | #ifndef OVERRIDE_TABLE_32_munlockall |
| 1101 | TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 153, 0) |
| 1102 | #endif |
| 1103 | #ifndef OVERRIDE_TABLE_32_sched_yield |
| 1104 | TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 158, 0) |
| 1105 | #endif |
| 1106 | #ifndef OVERRIDE_TABLE_32_rt_sigreturn |
| 1107 | TRACE_SYSCALL_TABLE(syscalls_noargs, rt_sigreturn, 173, 0) |
| 1108 | #endif |
| 1109 | #ifndef OVERRIDE_TABLE_32_vfork |
| 1110 | TRACE_SYSCALL_TABLE(syscalls_noargs, vfork, 190, 0) |
| 1111 | #endif |
| 1112 | #ifndef OVERRIDE_TABLE_32_getuid |
| 1113 | TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 199, 0) |
| 1114 | #endif |
| 1115 | #ifndef OVERRIDE_TABLE_32_getgid |
| 1116 | TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 200, 0) |
| 1117 | #endif |
| 1118 | #ifndef OVERRIDE_TABLE_32_geteuid |
| 1119 | TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 201, 0) |
| 1120 | #endif |
| 1121 | #ifndef OVERRIDE_TABLE_32_getegid |
| 1122 | TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 202, 0) |
| 1123 | #endif |
| 1124 | #ifndef OVERRIDE_TABLE_32_gettid |
| 1125 | TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 224, 0) |
| 1126 | #endif |
| 1127 | #ifndef OVERRIDE_TABLE_32_inotify_init |
| 1128 | TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 291, 0) |
| 1129 | #endif |
| 1130 | #else /* #ifdef SC_ENTER */ |
| 1131 | #ifndef OVERRIDE_TABLE_32_restart_syscall |
| 1132 | TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 0, 0) |
| 1133 | #endif |
| 1134 | #ifndef OVERRIDE_TABLE_32_fork |
| 1135 | TRACE_SYSCALL_TABLE(fork, fork, 2, 0) |
| 1136 | #endif |
| 1137 | #ifndef OVERRIDE_TABLE_32_getpid |
| 1138 | TRACE_SYSCALL_TABLE(getpid, getpid, 20, 0) |
| 1139 | #endif |
| 1140 | #ifndef OVERRIDE_TABLE_32_getuid16 |
| 1141 | TRACE_SYSCALL_TABLE(getuid16, getuid16, 24, 0) |
| 1142 | #endif |
| 1143 | #ifndef OVERRIDE_TABLE_32_pause |
| 1144 | TRACE_SYSCALL_TABLE(pause, pause, 29, 0) |
| 1145 | #endif |
| 1146 | #ifndef OVERRIDE_TABLE_32_sync |
| 1147 | TRACE_SYSCALL_TABLE(sync, sync, 36, 0) |
| 1148 | #endif |
| 1149 | #ifndef OVERRIDE_TABLE_32_getgid16 |
| 1150 | TRACE_SYSCALL_TABLE(getgid16, getgid16, 47, 0) |
| 1151 | #endif |
| 1152 | #ifndef OVERRIDE_TABLE_32_geteuid16 |
| 1153 | TRACE_SYSCALL_TABLE(geteuid16, geteuid16, 49, 0) |
| 1154 | #endif |
| 1155 | #ifndef OVERRIDE_TABLE_32_getegid16 |
| 1156 | TRACE_SYSCALL_TABLE(getegid16, getegid16, 50, 0) |
| 1157 | #endif |
| 1158 | #ifndef OVERRIDE_TABLE_32_getppid |
| 1159 | TRACE_SYSCALL_TABLE(getppid, getppid, 64, 0) |
| 1160 | #endif |
| 1161 | #ifndef OVERRIDE_TABLE_32_getpgrp |
| 1162 | TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 65, 0) |
| 1163 | #endif |
| 1164 | #ifndef OVERRIDE_TABLE_32_setsid |
| 1165 | TRACE_SYSCALL_TABLE(setsid, setsid, 66, 0) |
| 1166 | #endif |
| 1167 | #ifndef OVERRIDE_TABLE_32_sgetmask |
| 1168 | TRACE_SYSCALL_TABLE(sgetmask, sgetmask, 68, 0) |
| 1169 | #endif |
| 1170 | #ifndef OVERRIDE_TABLE_32_vhangup |
| 1171 | TRACE_SYSCALL_TABLE(vhangup, vhangup, 111, 0) |
| 1172 | #endif |
| 1173 | #ifndef OVERRIDE_TABLE_32_sigreturn |
| 1174 | TRACE_SYSCALL_TABLE(sigreturn, sigreturn, 119, 0) |
| 1175 | #endif |
| 1176 | #ifndef OVERRIDE_TABLE_32_munlockall |
| 1177 | TRACE_SYSCALL_TABLE(munlockall, munlockall, 153, 0) |
| 1178 | #endif |
| 1179 | #ifndef OVERRIDE_TABLE_32_sched_yield |
| 1180 | TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 158, 0) |
| 1181 | #endif |
| 1182 | #ifndef OVERRIDE_TABLE_32_rt_sigreturn |
| 1183 | TRACE_SYSCALL_TABLE(rt_sigreturn, rt_sigreturn, 173, 0) |
| 1184 | #endif |
| 1185 | #ifndef OVERRIDE_TABLE_32_vfork |
| 1186 | TRACE_SYSCALL_TABLE(vfork, vfork, 190, 0) |
| 1187 | #endif |
| 1188 | #ifndef OVERRIDE_TABLE_32_getuid |
| 1189 | TRACE_SYSCALL_TABLE(getuid, getuid, 199, 0) |
| 1190 | #endif |
| 1191 | #ifndef OVERRIDE_TABLE_32_getgid |
| 1192 | TRACE_SYSCALL_TABLE(getgid, getgid, 200, 0) |
| 1193 | #endif |
| 1194 | #ifndef OVERRIDE_TABLE_32_geteuid |
| 1195 | TRACE_SYSCALL_TABLE(geteuid, geteuid, 201, 0) |
| 1196 | #endif |
| 1197 | #ifndef OVERRIDE_TABLE_32_getegid |
| 1198 | TRACE_SYSCALL_TABLE(getegid, getegid, 202, 0) |
| 1199 | #endif |
| 1200 | #ifndef OVERRIDE_TABLE_32_gettid |
| 1201 | TRACE_SYSCALL_TABLE(gettid, gettid, 224, 0) |
| 1202 | #endif |
| 1203 | #ifndef OVERRIDE_TABLE_32_inotify_init |
| 1204 | TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 291, 0) |
| 1205 | #endif |
| 1206 | #endif /* else #ifdef SC_ENTER */ |
| 1207 | #ifndef OVERRIDE_TABLE_32_exit |
| 1208 | TRACE_SYSCALL_TABLE(exit, exit, 1, 1) |
| 1209 | #endif |
| 1210 | #ifndef OVERRIDE_TABLE_32_close |
| 1211 | TRACE_SYSCALL_TABLE(close, close, 6, 1) |
| 1212 | #endif |
| 1213 | #ifndef OVERRIDE_TABLE_32_lseek |
| 1214 | TRACE_SYSCALL_TABLE(lseek, lseek, 19, 3) |
| 1215 | #endif |
| 1216 | #ifndef OVERRIDE_TABLE_32_setuid16 |
| 1217 | TRACE_SYSCALL_TABLE(setuid16, setuid16, 23, 1) |
| 1218 | #endif |
| 1219 | #ifndef OVERRIDE_TABLE_32_ptrace |
| 1220 | TRACE_SYSCALL_TABLE(ptrace, ptrace, 26, 4) |
| 1221 | #endif |
| 1222 | #ifndef OVERRIDE_TABLE_32_alarm |
| 1223 | TRACE_SYSCALL_TABLE(alarm, alarm, 27, 1) |
| 1224 | #endif |
| 1225 | #ifndef OVERRIDE_TABLE_32_nice |
| 1226 | TRACE_SYSCALL_TABLE(nice, nice, 34, 1) |
| 1227 | #endif |
| 1228 | #ifndef OVERRIDE_TABLE_32_kill |
| 1229 | TRACE_SYSCALL_TABLE(kill, kill, 37, 2) |
| 1230 | #endif |
| 1231 | #ifndef OVERRIDE_TABLE_32_dup |
| 1232 | TRACE_SYSCALL_TABLE(dup, dup, 41, 1) |
| 1233 | #endif |
| 1234 | #ifndef OVERRIDE_TABLE_32_brk |
| 1235 | TRACE_SYSCALL_TABLE(brk, brk, 45, 1) |
| 1236 | #endif |
| 1237 | #ifndef OVERRIDE_TABLE_32_setgid16 |
| 1238 | TRACE_SYSCALL_TABLE(setgid16, setgid16, 46, 1) |
| 1239 | #endif |
| 1240 | #ifndef OVERRIDE_TABLE_32_signal |
| 1241 | TRACE_SYSCALL_TABLE(signal, signal, 48, 2) |
| 1242 | #endif |
| 1243 | #ifndef OVERRIDE_TABLE_32_ioctl |
| 1244 | TRACE_SYSCALL_TABLE(ioctl, ioctl, 54, 3) |
| 1245 | #endif |
| 1246 | #ifndef OVERRIDE_TABLE_32_fcntl |
| 1247 | TRACE_SYSCALL_TABLE(fcntl, fcntl, 55, 3) |
| 1248 | #endif |
| 1249 | #ifndef OVERRIDE_TABLE_32_setpgid |
| 1250 | TRACE_SYSCALL_TABLE(setpgid, setpgid, 57, 2) |
| 1251 | #endif |
| 1252 | #ifndef OVERRIDE_TABLE_32_umask |
| 1253 | TRACE_SYSCALL_TABLE(umask, umask, 60, 1) |
| 1254 | #endif |
| 1255 | #ifndef OVERRIDE_TABLE_32_dup2 |
| 1256 | TRACE_SYSCALL_TABLE(dup2, dup2, 63, 2) |
| 1257 | #endif |
| 1258 | #ifndef OVERRIDE_TABLE_32_ssetmask |
| 1259 | TRACE_SYSCALL_TABLE(ssetmask, ssetmask, 69, 1) |
| 1260 | #endif |
| 1261 | #ifndef OVERRIDE_TABLE_32_setreuid16 |
| 1262 | TRACE_SYSCALL_TABLE(setreuid16, setreuid16, 70, 2) |
| 1263 | #endif |
| 1264 | #ifndef OVERRIDE_TABLE_32_setregid16 |
| 1265 | TRACE_SYSCALL_TABLE(setregid16, setregid16, 71, 2) |
| 1266 | #endif |
| 1267 | #ifndef OVERRIDE_TABLE_32_sigsuspend |
| 1268 | TRACE_SYSCALL_TABLE(sigsuspend, sigsuspend, 72, 3) |
| 1269 | #endif |
| 1270 | #ifndef OVERRIDE_TABLE_32_munmap |
| 1271 | TRACE_SYSCALL_TABLE(munmap, munmap, 91, 2) |
| 1272 | #endif |
| 1273 | #ifndef OVERRIDE_TABLE_32_ftruncate |
| 1274 | TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 93, 2) |
| 1275 | #endif |
| 1276 | #ifndef OVERRIDE_TABLE_32_fchmod |
| 1277 | TRACE_SYSCALL_TABLE(fchmod, fchmod, 94, 2) |
| 1278 | #endif |
| 1279 | #ifndef OVERRIDE_TABLE_32_fchown16 |
| 1280 | TRACE_SYSCALL_TABLE(fchown16, fchown16, 95, 3) |
| 1281 | #endif |
| 1282 | #ifndef OVERRIDE_TABLE_32_getpriority |
| 1283 | TRACE_SYSCALL_TABLE(getpriority, getpriority, 96, 2) |
| 1284 | #endif |
| 1285 | #ifndef OVERRIDE_TABLE_32_setpriority |
| 1286 | TRACE_SYSCALL_TABLE(setpriority, setpriority, 97, 3) |
| 1287 | #endif |
| 1288 | #ifndef OVERRIDE_TABLE_32_ioperm |
| 1289 | TRACE_SYSCALL_TABLE(ioperm, ioperm, 101, 3) |
| 1290 | #endif |
| 1291 | #ifndef OVERRIDE_TABLE_32_iopl |
| 1292 | TRACE_SYSCALL_TABLE(iopl, iopl, 110, 1) |
| 1293 | #endif |
| 1294 | #ifndef OVERRIDE_TABLE_32_fsync |
| 1295 | TRACE_SYSCALL_TABLE(fsync, fsync, 118, 1) |
| 1296 | #endif |
| 1297 | #ifndef OVERRIDE_TABLE_32_mprotect |
| 1298 | TRACE_SYSCALL_TABLE(mprotect, mprotect, 125, 3) |
| 1299 | #endif |
| 1300 | #ifndef OVERRIDE_TABLE_32_getpgid |
| 1301 | TRACE_SYSCALL_TABLE(getpgid, getpgid, 132, 1) |
| 1302 | #endif |
| 1303 | #ifndef OVERRIDE_TABLE_32_fchdir |
| 1304 | TRACE_SYSCALL_TABLE(fchdir, fchdir, 133, 1) |
| 1305 | #endif |
| 1306 | #ifndef OVERRIDE_TABLE_32_sysfs |
| 1307 | TRACE_SYSCALL_TABLE(sysfs, sysfs, 135, 3) |
| 1308 | #endif |
| 1309 | #ifndef OVERRIDE_TABLE_32_personality |
| 1310 | TRACE_SYSCALL_TABLE(personality, personality, 136, 1) |
| 1311 | #endif |
| 1312 | #ifndef OVERRIDE_TABLE_32_setfsuid16 |
| 1313 | TRACE_SYSCALL_TABLE(setfsuid16, setfsuid16, 138, 1) |
| 1314 | #endif |
| 1315 | #ifndef OVERRIDE_TABLE_32_setfsgid16 |
| 1316 | TRACE_SYSCALL_TABLE(setfsgid16, setfsgid16, 139, 1) |
| 1317 | #endif |
| 1318 | #ifndef OVERRIDE_TABLE_32_flock |
| 1319 | TRACE_SYSCALL_TABLE(flock, flock, 143, 2) |
| 1320 | #endif |
| 1321 | #ifndef OVERRIDE_TABLE_32_msync |
| 1322 | TRACE_SYSCALL_TABLE(msync, msync, 144, 3) |
| 1323 | #endif |
| 1324 | #ifndef OVERRIDE_TABLE_32_getsid |
| 1325 | TRACE_SYSCALL_TABLE(getsid, getsid, 147, 1) |
| 1326 | #endif |
| 1327 | #ifndef OVERRIDE_TABLE_32_fdatasync |
| 1328 | TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 148, 1) |
| 1329 | #endif |
| 1330 | #ifndef OVERRIDE_TABLE_32_mlock |
| 1331 | TRACE_SYSCALL_TABLE(mlock, mlock, 150, 2) |
| 1332 | #endif |
| 1333 | #ifndef OVERRIDE_TABLE_32_munlock |
| 1334 | TRACE_SYSCALL_TABLE(munlock, munlock, 151, 2) |
| 1335 | #endif |
| 1336 | #ifndef OVERRIDE_TABLE_32_mlockall |
| 1337 | TRACE_SYSCALL_TABLE(mlockall, mlockall, 152, 1) |
| 1338 | #endif |
| 1339 | #ifndef OVERRIDE_TABLE_32_sched_getscheduler |
| 1340 | TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 157, 1) |
| 1341 | #endif |
| 1342 | #ifndef OVERRIDE_TABLE_32_sched_get_priority_max |
| 1343 | TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 159, 1) |
| 1344 | #endif |
| 1345 | #ifndef OVERRIDE_TABLE_32_sched_get_priority_min |
| 1346 | TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 160, 1) |
| 1347 | #endif |
| 1348 | #ifndef OVERRIDE_TABLE_32_mremap |
| 1349 | TRACE_SYSCALL_TABLE(mremap, mremap, 163, 5) |
| 1350 | #endif |
| 1351 | #ifndef OVERRIDE_TABLE_32_setresuid16 |
| 1352 | TRACE_SYSCALL_TABLE(setresuid16, setresuid16, 164, 3) |
| 1353 | #endif |
| 1354 | #ifndef OVERRIDE_TABLE_32_setresgid16 |
| 1355 | TRACE_SYSCALL_TABLE(setresgid16, setresgid16, 170, 3) |
| 1356 | #endif |
| 1357 | #ifndef OVERRIDE_TABLE_32_prctl |
| 1358 | TRACE_SYSCALL_TABLE(prctl, prctl, 172, 5) |
| 1359 | #endif |
| 1360 | #ifndef OVERRIDE_TABLE_32_mmap_pgoff |
| 1361 | TRACE_SYSCALL_TABLE(mmap_pgoff, mmap_pgoff, 192, 6) |
| 1362 | #endif |
| 1363 | #ifndef OVERRIDE_TABLE_32_ia32_ftruncate64 |
| 1364 | TRACE_SYSCALL_TABLE(ia32_ftruncate64, ia32_ftruncate64, 194, 3) |
| 1365 | #endif |
| 1366 | #ifndef OVERRIDE_TABLE_32_setreuid |
| 1367 | TRACE_SYSCALL_TABLE(setreuid, setreuid, 203, 2) |
| 1368 | #endif |
| 1369 | #ifndef OVERRIDE_TABLE_32_setregid |
| 1370 | TRACE_SYSCALL_TABLE(setregid, setregid, 204, 2) |
| 1371 | #endif |
| 1372 | #ifndef OVERRIDE_TABLE_32_fchown |
| 1373 | TRACE_SYSCALL_TABLE(fchown, fchown, 207, 3) |
| 1374 | #endif |
| 1375 | #ifndef OVERRIDE_TABLE_32_setresuid |
| 1376 | TRACE_SYSCALL_TABLE(setresuid, setresuid, 208, 3) |
| 1377 | #endif |
| 1378 | #ifndef OVERRIDE_TABLE_32_setresgid |
| 1379 | TRACE_SYSCALL_TABLE(setresgid, setresgid, 210, 3) |
| 1380 | #endif |
| 1381 | #ifndef OVERRIDE_TABLE_32_setuid |
| 1382 | TRACE_SYSCALL_TABLE(setuid, setuid, 213, 1) |
| 1383 | #endif |
| 1384 | #ifndef OVERRIDE_TABLE_32_setgid |
| 1385 | TRACE_SYSCALL_TABLE(setgid, setgid, 214, 1) |
| 1386 | #endif |
| 1387 | #ifndef OVERRIDE_TABLE_32_setfsuid |
| 1388 | TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 215, 1) |
| 1389 | #endif |
| 1390 | #ifndef OVERRIDE_TABLE_32_setfsgid |
| 1391 | TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 216, 1) |
| 1392 | #endif |
| 1393 | #ifndef OVERRIDE_TABLE_32_madvise |
| 1394 | TRACE_SYSCALL_TABLE(madvise, madvise, 219, 3) |
| 1395 | #endif |
| 1396 | #ifndef OVERRIDE_TABLE_32_fcntl64 |
| 1397 | TRACE_SYSCALL_TABLE(fcntl64, fcntl64, 221, 3) |
| 1398 | #endif |
| 1399 | #ifndef OVERRIDE_TABLE_32_ia32_readahead |
| 1400 | TRACE_SYSCALL_TABLE(ia32_readahead, ia32_readahead, 225, 4) |
| 1401 | #endif |
| 1402 | #ifndef OVERRIDE_TABLE_32_tkill |
| 1403 | TRACE_SYSCALL_TABLE(tkill, tkill, 238, 2) |
| 1404 | #endif |
| 1405 | #ifndef OVERRIDE_TABLE_32_io_destroy |
| 1406 | TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 246, 1) |
| 1407 | #endif |
| 1408 | #ifndef OVERRIDE_TABLE_32_ia32_fadvise64 |
| 1409 | TRACE_SYSCALL_TABLE(ia32_fadvise64, ia32_fadvise64, 250, 5) |
| 1410 | #endif |
| 1411 | #ifndef OVERRIDE_TABLE_32_exit_group |
| 1412 | TRACE_SYSCALL_TABLE(exit_group, exit_group, 252, 1) |
| 1413 | #endif |
| 1414 | #ifndef OVERRIDE_TABLE_32_epoll_create |
| 1415 | TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 254, 1) |
| 1416 | #endif |
| 1417 | #ifndef OVERRIDE_TABLE_32_remap_file_pages |
| 1418 | TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 257, 5) |
| 1419 | #endif |
| 1420 | #ifndef OVERRIDE_TABLE_32_timer_getoverrun |
| 1421 | TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 262, 1) |
| 1422 | #endif |
| 1423 | #ifndef OVERRIDE_TABLE_32_timer_delete |
| 1424 | TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 263, 1) |
| 1425 | #endif |
| 1426 | #ifndef OVERRIDE_TABLE_32_tgkill |
| 1427 | TRACE_SYSCALL_TABLE(tgkill, tgkill, 270, 3) |
| 1428 | #endif |
| 1429 | #ifndef OVERRIDE_TABLE_32_ia32_fadvise64_64 |
| 1430 | TRACE_SYSCALL_TABLE(ia32_fadvise64_64, ia32_fadvise64_64, 272, 6) |
| 1431 | #endif |
| 1432 | #ifndef OVERRIDE_TABLE_32_keyctl |
| 1433 | TRACE_SYSCALL_TABLE(keyctl, keyctl, 288, 5) |
| 1434 | #endif |
| 1435 | #ifndef OVERRIDE_TABLE_32_ioprio_set |
| 1436 | TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 289, 3) |
| 1437 | #endif |
| 1438 | #ifndef OVERRIDE_TABLE_32_ioprio_get |
| 1439 | TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 290, 2) |
| 1440 | #endif |
| 1441 | #ifndef OVERRIDE_TABLE_32_inotify_rm_watch |
| 1442 | TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 293, 2) |
| 1443 | #endif |
| 1444 | #ifndef OVERRIDE_TABLE_32_unshare |
| 1445 | TRACE_SYSCALL_TABLE(unshare, unshare, 310, 1) |
| 1446 | #endif |
| 1447 | #ifndef OVERRIDE_TABLE_32_ia32_sync_file_range |
| 1448 | TRACE_SYSCALL_TABLE(ia32_sync_file_range, ia32_sync_file_range, 314, 6) |
| 1449 | #endif |
| 1450 | #ifndef OVERRIDE_TABLE_32_tee |
| 1451 | TRACE_SYSCALL_TABLE(tee, tee, 315, 4) |
| 1452 | #endif |
| 1453 | #ifndef OVERRIDE_TABLE_32_timerfd_create |
| 1454 | TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 322, 2) |
| 1455 | #endif |
| 1456 | #ifndef OVERRIDE_TABLE_32_eventfd |
| 1457 | TRACE_SYSCALL_TABLE(eventfd, eventfd, 323, 1) |
| 1458 | #endif |
| 1459 | #ifndef OVERRIDE_TABLE_32_ia32_fallocate |
| 1460 | TRACE_SYSCALL_TABLE(ia32_fallocate, ia32_fallocate, 324, 6) |
| 1461 | #endif |
| 1462 | #ifndef OVERRIDE_TABLE_32_eventfd2 |
| 1463 | TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 328, 2) |
| 1464 | #endif |
| 1465 | #ifndef OVERRIDE_TABLE_32_epoll_create1 |
| 1466 | TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 329, 1) |
| 1467 | #endif |
| 1468 | #ifndef OVERRIDE_TABLE_32_dup3 |
| 1469 | TRACE_SYSCALL_TABLE(dup3, dup3, 330, 3) |
| 1470 | #endif |
| 1471 | #ifndef OVERRIDE_TABLE_32_inotify_init1 |
| 1472 | TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 332, 1) |
| 1473 | #endif |
| 1474 | #ifndef OVERRIDE_TABLE_32_fanotify_init |
| 1475 | TRACE_SYSCALL_TABLE(fanotify_init, fanotify_init, 338, 2) |
| 1476 | #endif |
| 1477 | #ifndef OVERRIDE_TABLE_32_syncfs |
| 1478 | TRACE_SYSCALL_TABLE(syncfs, syncfs, 344, 1) |
| 1479 | #endif |
| 1480 | #ifndef OVERRIDE_TABLE_32_setns |
| 1481 | TRACE_SYSCALL_TABLE(setns, setns, 346, 2) |
| 1482 | #endif |
| 1483 | #ifndef OVERRIDE_TABLE_32_kcmp |
| 1484 | TRACE_SYSCALL_TABLE(kcmp, kcmp, 349, 5) |
| 1485 | #endif |
| 1486 | #ifndef OVERRIDE_TABLE_32_socket |
| 1487 | TRACE_SYSCALL_TABLE(socket, socket, 359, 3) |
| 1488 | #endif |
| 1489 | #ifndef OVERRIDE_TABLE_32_listen |
| 1490 | TRACE_SYSCALL_TABLE(listen, listen, 363, 2) |
| 1491 | #endif |
| 1492 | #ifndef OVERRIDE_TABLE_32_shutdown |
| 1493 | TRACE_SYSCALL_TABLE(shutdown, shutdown, 373, 2) |
| 1494 | #endif |
| 1495 | #ifndef OVERRIDE_TABLE_32_userfaultfd |
| 1496 | TRACE_SYSCALL_TABLE(userfaultfd, userfaultfd, 374, 1) |
| 1497 | #endif |
| 1498 | #ifndef OVERRIDE_TABLE_32_membarrier |
| 1499 | TRACE_SYSCALL_TABLE(membarrier, membarrier, 375, 3) |
| 1500 | #endif |
| 1501 | #ifndef OVERRIDE_TABLE_32_mlock2 |
| 1502 | TRACE_SYSCALL_TABLE(mlock2, mlock2, 376, 3) |
| 1503 | #endif |
| 1504 | #ifndef OVERRIDE_TABLE_32_arch_prctl |
| 1505 | TRACE_SYSCALL_TABLE(arch_prctl, arch_prctl, 384, 2) |
| 1506 | #endif |
| 1507 | #ifndef OVERRIDE_TABLE_32_semget |
| 1508 | TRACE_SYSCALL_TABLE(semget, semget, 393, 3) |
| 1509 | #endif |
| 1510 | #ifndef OVERRIDE_TABLE_32_semctl |
| 1511 | TRACE_SYSCALL_TABLE(semctl, semctl, 394, 4) |
| 1512 | #endif |
| 1513 | #ifndef OVERRIDE_TABLE_32_shmget |
| 1514 | TRACE_SYSCALL_TABLE(shmget, shmget, 395, 3) |
| 1515 | #endif |
| 1516 | #ifndef OVERRIDE_TABLE_32_msgget |
| 1517 | TRACE_SYSCALL_TABLE(msgget, msgget, 399, 2) |
| 1518 | #endif |
| 1519 | #ifndef OVERRIDE_TABLE_32_fsmount |
| 1520 | TRACE_SYSCALL_TABLE(fsmount, fsmount, 432, 3) |
| 1521 | #endif |
| 1522 | #ifndef OVERRIDE_TABLE_32_pidfd_open |
| 1523 | TRACE_SYSCALL_TABLE(pidfd_open, pidfd_open, 434, 2) |
| 1524 | #endif |
| 1525 | #ifndef OVERRIDE_TABLE_32_close_range |
| 1526 | TRACE_SYSCALL_TABLE(close_range, close_range, 436, 3) |
| 1527 | #endif |
| 1528 | #ifndef OVERRIDE_TABLE_32_pidfd_getfd |
| 1529 | TRACE_SYSCALL_TABLE(pidfd_getfd, pidfd_getfd, 438, 3) |
| 1530 | #endif |
| 1531 | #ifndef OVERRIDE_TABLE_32_memfd_secret |
| 1532 | TRACE_SYSCALL_TABLE(memfd_secret, memfd_secret, 447, 1) |
| 1533 | #endif |
| 1534 | #ifndef OVERRIDE_TABLE_32_process_mrelease |
| 1535 | TRACE_SYSCALL_TABLE(process_mrelease, process_mrelease, 448, 2) |
| 1536 | #endif |
| 1537 | |
| 1538 | #endif /* CREATE_SYSCALL_TABLE */ |