| 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 3.1.0-rc6 */ |
| 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_getpid |
| 25 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid) |
| 26 | #endif |
| 27 | #ifndef OVERRIDE_32_getuid16 |
| 28 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid16) |
| 29 | #endif |
| 30 | #ifndef OVERRIDE_32_pause |
| 31 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause) |
| 32 | #endif |
| 33 | #ifndef OVERRIDE_32_sync |
| 34 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync) |
| 35 | #endif |
| 36 | #ifndef OVERRIDE_32_getgid16 |
| 37 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid16) |
| 38 | #endif |
| 39 | #ifndef OVERRIDE_32_geteuid16 |
| 40 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid16) |
| 41 | #endif |
| 42 | #ifndef OVERRIDE_32_getegid16 |
| 43 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid16) |
| 44 | #endif |
| 45 | #ifndef OVERRIDE_32_getppid |
| 46 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid) |
| 47 | #endif |
| 48 | #ifndef OVERRIDE_32_getpgrp |
| 49 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp) |
| 50 | #endif |
| 51 | #ifndef OVERRIDE_32_setsid |
| 52 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid) |
| 53 | #endif |
| 54 | #ifndef OVERRIDE_32_sgetmask |
| 55 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sgetmask) |
| 56 | #endif |
| 57 | #ifndef OVERRIDE_32_vhangup |
| 58 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup) |
| 59 | #endif |
| 60 | #ifndef OVERRIDE_32_munlockall |
| 61 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall) |
| 62 | #endif |
| 63 | #ifndef OVERRIDE_32_sched_yield |
| 64 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield) |
| 65 | #endif |
| 66 | #ifndef OVERRIDE_32_getuid |
| 67 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid) |
| 68 | #endif |
| 69 | #ifndef OVERRIDE_32_getgid |
| 70 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid) |
| 71 | #endif |
| 72 | #ifndef OVERRIDE_32_geteuid |
| 73 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid) |
| 74 | #endif |
| 75 | #ifndef OVERRIDE_32_getegid |
| 76 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid) |
| 77 | #endif |
| 78 | #ifndef OVERRIDE_32_gettid |
| 79 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid) |
| 80 | #endif |
| 81 | #ifndef OVERRIDE_32_inotify_init |
| 82 | SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init) |
| 83 | #endif |
| 84 | #else /* #ifdef SC_ENTER */ |
| 85 | #ifndef OVERRIDE_32_restart_syscall |
| 86 | SC_LTTNG_TRACEPOINT_EVENT(restart_syscall, |
| 87 | TP_PROTO(sc_exit(long ret)), |
| 88 | TP_ARGS(sc_exit(ret)), |
| 89 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 90 | ) |
| 91 | #endif |
| 92 | #ifndef OVERRIDE_32_getpid |
| 93 | SC_LTTNG_TRACEPOINT_EVENT(getpid, |
| 94 | TP_PROTO(sc_exit(long ret)), |
| 95 | TP_ARGS(sc_exit(ret)), |
| 96 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 97 | ) |
| 98 | #endif |
| 99 | #ifndef OVERRIDE_32_getuid16 |
| 100 | SC_LTTNG_TRACEPOINT_EVENT(getuid16, |
| 101 | TP_PROTO(sc_exit(long ret)), |
| 102 | TP_ARGS(sc_exit(ret)), |
| 103 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 104 | ) |
| 105 | #endif |
| 106 | #ifndef OVERRIDE_32_pause |
| 107 | SC_LTTNG_TRACEPOINT_EVENT(pause, |
| 108 | TP_PROTO(sc_exit(long ret)), |
| 109 | TP_ARGS(sc_exit(ret)), |
| 110 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 111 | ) |
| 112 | #endif |
| 113 | #ifndef OVERRIDE_32_sync |
| 114 | SC_LTTNG_TRACEPOINT_EVENT(sync, |
| 115 | TP_PROTO(sc_exit(long ret)), |
| 116 | TP_ARGS(sc_exit(ret)), |
| 117 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 118 | ) |
| 119 | #endif |
| 120 | #ifndef OVERRIDE_32_getgid16 |
| 121 | SC_LTTNG_TRACEPOINT_EVENT(getgid16, |
| 122 | TP_PROTO(sc_exit(long ret)), |
| 123 | TP_ARGS(sc_exit(ret)), |
| 124 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 125 | ) |
| 126 | #endif |
| 127 | #ifndef OVERRIDE_32_geteuid16 |
| 128 | SC_LTTNG_TRACEPOINT_EVENT(geteuid16, |
| 129 | TP_PROTO(sc_exit(long ret)), |
| 130 | TP_ARGS(sc_exit(ret)), |
| 131 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 132 | ) |
| 133 | #endif |
| 134 | #ifndef OVERRIDE_32_getegid16 |
| 135 | SC_LTTNG_TRACEPOINT_EVENT(getegid16, |
| 136 | TP_PROTO(sc_exit(long ret)), |
| 137 | TP_ARGS(sc_exit(ret)), |
| 138 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 139 | ) |
| 140 | #endif |
| 141 | #ifndef OVERRIDE_32_getppid |
| 142 | SC_LTTNG_TRACEPOINT_EVENT(getppid, |
| 143 | TP_PROTO(sc_exit(long ret)), |
| 144 | TP_ARGS(sc_exit(ret)), |
| 145 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 146 | ) |
| 147 | #endif |
| 148 | #ifndef OVERRIDE_32_getpgrp |
| 149 | SC_LTTNG_TRACEPOINT_EVENT(getpgrp, |
| 150 | TP_PROTO(sc_exit(long ret)), |
| 151 | TP_ARGS(sc_exit(ret)), |
| 152 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 153 | ) |
| 154 | #endif |
| 155 | #ifndef OVERRIDE_32_setsid |
| 156 | SC_LTTNG_TRACEPOINT_EVENT(setsid, |
| 157 | TP_PROTO(sc_exit(long ret)), |
| 158 | TP_ARGS(sc_exit(ret)), |
| 159 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 160 | ) |
| 161 | #endif |
| 162 | #ifndef OVERRIDE_32_sgetmask |
| 163 | SC_LTTNG_TRACEPOINT_EVENT(sgetmask, |
| 164 | TP_PROTO(sc_exit(long ret)), |
| 165 | TP_ARGS(sc_exit(ret)), |
| 166 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 167 | ) |
| 168 | #endif |
| 169 | #ifndef OVERRIDE_32_vhangup |
| 170 | SC_LTTNG_TRACEPOINT_EVENT(vhangup, |
| 171 | TP_PROTO(sc_exit(long ret)), |
| 172 | TP_ARGS(sc_exit(ret)), |
| 173 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 174 | ) |
| 175 | #endif |
| 176 | #ifndef OVERRIDE_32_munlockall |
| 177 | SC_LTTNG_TRACEPOINT_EVENT(munlockall, |
| 178 | TP_PROTO(sc_exit(long ret)), |
| 179 | TP_ARGS(sc_exit(ret)), |
| 180 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 181 | ) |
| 182 | #endif |
| 183 | #ifndef OVERRIDE_32_sched_yield |
| 184 | SC_LTTNG_TRACEPOINT_EVENT(sched_yield, |
| 185 | TP_PROTO(sc_exit(long ret)), |
| 186 | TP_ARGS(sc_exit(ret)), |
| 187 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 188 | ) |
| 189 | #endif |
| 190 | #ifndef OVERRIDE_32_getuid |
| 191 | SC_LTTNG_TRACEPOINT_EVENT(getuid, |
| 192 | TP_PROTO(sc_exit(long ret)), |
| 193 | TP_ARGS(sc_exit(ret)), |
| 194 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 195 | ) |
| 196 | #endif |
| 197 | #ifndef OVERRIDE_32_getgid |
| 198 | SC_LTTNG_TRACEPOINT_EVENT(getgid, |
| 199 | TP_PROTO(sc_exit(long ret)), |
| 200 | TP_ARGS(sc_exit(ret)), |
| 201 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 202 | ) |
| 203 | #endif |
| 204 | #ifndef OVERRIDE_32_geteuid |
| 205 | SC_LTTNG_TRACEPOINT_EVENT(geteuid, |
| 206 | TP_PROTO(sc_exit(long ret)), |
| 207 | TP_ARGS(sc_exit(ret)), |
| 208 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 209 | ) |
| 210 | #endif |
| 211 | #ifndef OVERRIDE_32_getegid |
| 212 | SC_LTTNG_TRACEPOINT_EVENT(getegid, |
| 213 | TP_PROTO(sc_exit(long ret)), |
| 214 | TP_ARGS(sc_exit(ret)), |
| 215 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 216 | ) |
| 217 | #endif |
| 218 | #ifndef OVERRIDE_32_gettid |
| 219 | SC_LTTNG_TRACEPOINT_EVENT(gettid, |
| 220 | TP_PROTO(sc_exit(long ret)), |
| 221 | TP_ARGS(sc_exit(ret)), |
| 222 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 223 | ) |
| 224 | #endif |
| 225 | #ifndef OVERRIDE_32_inotify_init |
| 226 | SC_LTTNG_TRACEPOINT_EVENT(inotify_init, |
| 227 | TP_PROTO(sc_exit(long ret)), |
| 228 | TP_ARGS(sc_exit(ret)), |
| 229 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) |
| 230 | ) |
| 231 | #endif |
| 232 | #endif /* else #ifdef SC_ENTER */ |
| 233 | #ifndef OVERRIDE_32_exit |
| 234 | SC_LTTNG_TRACEPOINT_EVENT(exit, |
| 235 | TP_PROTO(sc_exit(long ret,) int error_code), |
| 236 | TP_ARGS(sc_exit(ret,) error_code), |
| 237 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) |
| 238 | ) |
| 239 | #endif |
| 240 | #ifndef OVERRIDE_32_close |
| 241 | SC_LTTNG_TRACEPOINT_EVENT(close, |
| 242 | TP_PROTO(sc_exit(long ret,) unsigned int fd), |
| 243 | TP_ARGS(sc_exit(ret,) fd), |
| 244 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) |
| 245 | ) |
| 246 | #endif |
| 247 | #ifndef OVERRIDE_32_setuid16 |
| 248 | SC_LTTNG_TRACEPOINT_EVENT(setuid16, |
| 249 | TP_PROTO(sc_exit(long ret,) old_uid_t uid), |
| 250 | TP_ARGS(sc_exit(ret,) uid), |
| 251 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t, uid, uid))) |
| 252 | ) |
| 253 | #endif |
| 254 | #ifndef OVERRIDE_32_alarm |
| 255 | SC_LTTNG_TRACEPOINT_EVENT(alarm, |
| 256 | TP_PROTO(sc_exit(long ret,) unsigned int seconds), |
| 257 | TP_ARGS(sc_exit(ret,) seconds), |
| 258 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, seconds, seconds))) |
| 259 | ) |
| 260 | #endif |
| 261 | #ifndef OVERRIDE_32_nice |
| 262 | SC_LTTNG_TRACEPOINT_EVENT(nice, |
| 263 | TP_PROTO(sc_exit(long ret,) int increment), |
| 264 | TP_ARGS(sc_exit(ret,) increment), |
| 265 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, increment, increment))) |
| 266 | ) |
| 267 | #endif |
| 268 | #ifndef OVERRIDE_32_dup |
| 269 | SC_LTTNG_TRACEPOINT_EVENT(dup, |
| 270 | TP_PROTO(sc_exit(long ret,) unsigned int fildes), |
| 271 | TP_ARGS(sc_exit(ret,) fildes), |
| 272 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fildes, fildes))) |
| 273 | ) |
| 274 | #endif |
| 275 | #ifndef OVERRIDE_32_brk |
| 276 | SC_LTTNG_TRACEPOINT_EVENT(brk, |
| 277 | TP_PROTO(sc_exit(long ret,) unsigned long brk), |
| 278 | TP_ARGS(sc_exit(ret,) brk), |
| 279 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, brk, brk))) |
| 280 | ) |
| 281 | #endif |
| 282 | #ifndef OVERRIDE_32_setgid16 |
| 283 | SC_LTTNG_TRACEPOINT_EVENT(setgid16, |
| 284 | TP_PROTO(sc_exit(long ret,) old_gid_t gid), |
| 285 | TP_ARGS(sc_exit(ret,) gid), |
| 286 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t, gid, gid))) |
| 287 | ) |
| 288 | #endif |
| 289 | #ifndef OVERRIDE_32_umask |
| 290 | SC_LTTNG_TRACEPOINT_EVENT(umask, |
| 291 | TP_PROTO(sc_exit(long ret,) int mask), |
| 292 | TP_ARGS(sc_exit(ret,) mask), |
| 293 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mask, mask))) |
| 294 | ) |
| 295 | #endif |
| 296 | #ifndef OVERRIDE_32_ssetmask |
| 297 | SC_LTTNG_TRACEPOINT_EVENT(ssetmask, |
| 298 | TP_PROTO(sc_exit(long ret,) int newmask), |
| 299 | TP_ARGS(sc_exit(ret,) newmask), |
| 300 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, newmask, newmask))) |
| 301 | ) |
| 302 | #endif |
| 303 | #ifndef OVERRIDE_32_fsync |
| 304 | SC_LTTNG_TRACEPOINT_EVENT(fsync, |
| 305 | TP_PROTO(sc_exit(long ret,) unsigned int fd), |
| 306 | TP_ARGS(sc_exit(ret,) fd), |
| 307 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) |
| 308 | ) |
| 309 | #endif |
| 310 | #ifndef OVERRIDE_32_getpgid |
| 311 | SC_LTTNG_TRACEPOINT_EVENT(getpgid, |
| 312 | TP_PROTO(sc_exit(long ret,) pid_t pid), |
| 313 | TP_ARGS(sc_exit(ret,) pid), |
| 314 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) |
| 315 | ) |
| 316 | #endif |
| 317 | #ifndef OVERRIDE_32_fchdir |
| 318 | SC_LTTNG_TRACEPOINT_EVENT(fchdir, |
| 319 | TP_PROTO(sc_exit(long ret,) unsigned int fd), |
| 320 | TP_ARGS(sc_exit(ret,) fd), |
| 321 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) |
| 322 | ) |
| 323 | #endif |
| 324 | #ifndef OVERRIDE_32_personality |
| 325 | SC_LTTNG_TRACEPOINT_EVENT(personality, |
| 326 | TP_PROTO(sc_exit(long ret,) unsigned int personality), |
| 327 | TP_ARGS(sc_exit(ret,) personality), |
| 328 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, personality, personality))) |
| 329 | ) |
| 330 | #endif |
| 331 | #ifndef OVERRIDE_32_setfsuid16 |
| 332 | SC_LTTNG_TRACEPOINT_EVENT(setfsuid16, |
| 333 | TP_PROTO(sc_exit(long ret,) old_uid_t uid), |
| 334 | TP_ARGS(sc_exit(ret,) uid), |
| 335 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_uid_t, uid, uid))) |
| 336 | ) |
| 337 | #endif |
| 338 | #ifndef OVERRIDE_32_setfsgid16 |
| 339 | SC_LTTNG_TRACEPOINT_EVENT(setfsgid16, |
| 340 | TP_PROTO(sc_exit(long ret,) old_gid_t gid), |
| 341 | TP_ARGS(sc_exit(ret,) gid), |
| 342 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_gid_t, gid, gid))) |
| 343 | ) |
| 344 | #endif |
| 345 | #ifndef OVERRIDE_32_getsid |
| 346 | SC_LTTNG_TRACEPOINT_EVENT(getsid, |
| 347 | TP_PROTO(sc_exit(long ret,) pid_t pid), |
| 348 | TP_ARGS(sc_exit(ret,) pid), |
| 349 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) |
| 350 | ) |
| 351 | #endif |
| 352 | #ifndef OVERRIDE_32_fdatasync |
| 353 | SC_LTTNG_TRACEPOINT_EVENT(fdatasync, |
| 354 | TP_PROTO(sc_exit(long ret,) unsigned int fd), |
| 355 | TP_ARGS(sc_exit(ret,) fd), |
| 356 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) |
| 357 | ) |
| 358 | #endif |
| 359 | #ifndef OVERRIDE_32_mlockall |
| 360 | SC_LTTNG_TRACEPOINT_EVENT(mlockall, |
| 361 | TP_PROTO(sc_exit(long ret,) int flags), |
| 362 | TP_ARGS(sc_exit(ret,) flags), |
| 363 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) |
| 364 | ) |
| 365 | #endif |
| 366 | #ifndef OVERRIDE_32_sched_getscheduler |
| 367 | SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler, |
| 368 | TP_PROTO(sc_exit(long ret,) pid_t pid), |
| 369 | TP_ARGS(sc_exit(ret,) pid), |
| 370 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) |
| 371 | ) |
| 372 | #endif |
| 373 | #ifndef OVERRIDE_32_sched_get_priority_max |
| 374 | SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max, |
| 375 | TP_PROTO(sc_exit(long ret,) int policy), |
| 376 | TP_ARGS(sc_exit(ret,) policy), |
| 377 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) |
| 378 | ) |
| 379 | #endif |
| 380 | #ifndef OVERRIDE_32_sched_get_priority_min |
| 381 | SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min, |
| 382 | TP_PROTO(sc_exit(long ret,) int policy), |
| 383 | TP_ARGS(sc_exit(ret,) policy), |
| 384 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) |
| 385 | ) |
| 386 | #endif |
| 387 | #ifndef OVERRIDE_32_setuid |
| 388 | SC_LTTNG_TRACEPOINT_EVENT(setuid, |
| 389 | TP_PROTO(sc_exit(long ret,) uid_t uid), |
| 390 | TP_ARGS(sc_exit(ret,) uid), |
| 391 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) |
| 392 | ) |
| 393 | #endif |
| 394 | #ifndef OVERRIDE_32_setgid |
| 395 | SC_LTTNG_TRACEPOINT_EVENT(setgid, |
| 396 | TP_PROTO(sc_exit(long ret,) gid_t gid), |
| 397 | TP_ARGS(sc_exit(ret,) gid), |
| 398 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) |
| 399 | ) |
| 400 | #endif |
| 401 | #ifndef OVERRIDE_32_setfsuid |
| 402 | SC_LTTNG_TRACEPOINT_EVENT(setfsuid, |
| 403 | TP_PROTO(sc_exit(long ret,) uid_t uid), |
| 404 | TP_ARGS(sc_exit(ret,) uid), |
| 405 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) |
| 406 | ) |
| 407 | #endif |
| 408 | #ifndef OVERRIDE_32_setfsgid |
| 409 | SC_LTTNG_TRACEPOINT_EVENT(setfsgid, |
| 410 | TP_PROTO(sc_exit(long ret,) gid_t gid), |
| 411 | TP_ARGS(sc_exit(ret,) gid), |
| 412 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) |
| 413 | ) |
| 414 | #endif |
| 415 | #ifndef OVERRIDE_32_io_destroy |
| 416 | SC_LTTNG_TRACEPOINT_EVENT(io_destroy, |
| 417 | TP_PROTO(sc_exit(long ret,) aio_context_t ctx), |
| 418 | TP_ARGS(sc_exit(ret,) ctx), |
| 419 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx, ctx))) |
| 420 | ) |
| 421 | #endif |
| 422 | #ifndef OVERRIDE_32_exit_group |
| 423 | SC_LTTNG_TRACEPOINT_EVENT(exit_group, |
| 424 | TP_PROTO(sc_exit(long ret,) int error_code), |
| 425 | TP_ARGS(sc_exit(ret,) error_code), |
| 426 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) |
| 427 | ) |
| 428 | #endif |
| 429 | #ifndef OVERRIDE_32_epoll_create |
| 430 | SC_LTTNG_TRACEPOINT_EVENT(epoll_create, |
| 431 | TP_PROTO(sc_exit(long ret,) int size), |
| 432 | TP_ARGS(sc_exit(ret,) size), |
| 433 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, size, size))) |
| 434 | ) |
| 435 | #endif |
| 436 | #ifndef OVERRIDE_32_timer_getoverrun |
| 437 | SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun, |
| 438 | TP_PROTO(sc_exit(long ret,) timer_t timer_id), |
| 439 | TP_ARGS(sc_exit(ret,) timer_id), |
| 440 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) |
| 441 | ) |
| 442 | #endif |
| 443 | #ifndef OVERRIDE_32_timer_delete |
| 444 | SC_LTTNG_TRACEPOINT_EVENT(timer_delete, |
| 445 | TP_PROTO(sc_exit(long ret,) timer_t timer_id), |
| 446 | TP_ARGS(sc_exit(ret,) timer_id), |
| 447 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) |
| 448 | ) |
| 449 | #endif |
| 450 | #ifndef OVERRIDE_32_unshare |
| 451 | SC_LTTNG_TRACEPOINT_EVENT(unshare, |
| 452 | TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags), |
| 453 | TP_ARGS(sc_exit(ret,) unshare_flags), |
| 454 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, unshare_flags, unshare_flags))) |
| 455 | ) |
| 456 | #endif |
| 457 | #ifndef OVERRIDE_32_eventfd |
| 458 | SC_LTTNG_TRACEPOINT_EVENT(eventfd, |
| 459 | TP_PROTO(sc_exit(long ret,) unsigned int count), |
| 460 | TP_ARGS(sc_exit(ret,) count), |
| 461 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count))) |
| 462 | ) |
| 463 | #endif |
| 464 | #ifndef OVERRIDE_32_epoll_create1 |
| 465 | SC_LTTNG_TRACEPOINT_EVENT(epoll_create1, |
| 466 | TP_PROTO(sc_exit(long ret,) int flags), |
| 467 | TP_ARGS(sc_exit(ret,) flags), |
| 468 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) |
| 469 | ) |
| 470 | #endif |
| 471 | #ifndef OVERRIDE_32_inotify_init1 |
| 472 | SC_LTTNG_TRACEPOINT_EVENT(inotify_init1, |
| 473 | TP_PROTO(sc_exit(long ret,) int flags), |
| 474 | TP_ARGS(sc_exit(ret,) flags), |
| 475 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) |
| 476 | ) |
| 477 | #endif |
| 478 | #ifndef OVERRIDE_32_syncfs |
| 479 | SC_LTTNG_TRACEPOINT_EVENT(syncfs, |
| 480 | TP_PROTO(sc_exit(long ret,) int fd), |
| 481 | TP_ARGS(sc_exit(ret,) fd), |
| 482 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd))) |
| 483 | ) |
| 484 | #endif |
| 485 | #ifndef OVERRIDE_32_kill |
| 486 | SC_LTTNG_TRACEPOINT_EVENT(kill, |
| 487 | TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), |
| 488 | TP_ARGS(sc_exit(ret,) pid, sig), |
| 489 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) |
| 490 | ) |
| 491 | #endif |
| 492 | #ifndef OVERRIDE_32_signal |
| 493 | SC_LTTNG_TRACEPOINT_EVENT(signal, |
| 494 | TP_PROTO(sc_exit(long ret,) int sig, __sighandler_t handler), |
| 495 | TP_ARGS(sc_exit(ret,) sig, handler), |
| 496 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, sig, sig)) sc_inout(ctf_integer(__sighandler_t, handler, handler))) |
| 497 | ) |
| 498 | #endif |
| 499 | #ifndef OVERRIDE_32_setpgid |
| 500 | SC_LTTNG_TRACEPOINT_EVENT(setpgid, |
| 501 | TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid), |
| 502 | TP_ARGS(sc_exit(ret,) pid, pgid), |
| 503 | 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))) |
| 504 | ) |
| 505 | #endif |
| 506 | #ifndef OVERRIDE_32_dup2 |
| 507 | SC_LTTNG_TRACEPOINT_EVENT(dup2, |
| 508 | TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd), |
| 509 | TP_ARGS(sc_exit(ret,) oldfd, newfd), |
| 510 | 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))) |
| 511 | ) |
| 512 | #endif |
| 513 | #ifndef OVERRIDE_32_setreuid16 |
| 514 | SC_LTTNG_TRACEPOINT_EVENT(setreuid16, |
| 515 | TP_PROTO(sc_exit(long ret,) old_uid_t ruid, old_uid_t euid), |
| 516 | TP_ARGS(sc_exit(ret,) ruid, euid), |
| 517 | 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))) |
| 518 | ) |
| 519 | #endif |
| 520 | #ifndef OVERRIDE_32_setregid16 |
| 521 | SC_LTTNG_TRACEPOINT_EVENT(setregid16, |
| 522 | TP_PROTO(sc_exit(long ret,) old_gid_t rgid, old_gid_t egid), |
| 523 | TP_ARGS(sc_exit(ret,) rgid, egid), |
| 524 | 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))) |
| 525 | ) |
| 526 | #endif |
| 527 | #ifndef OVERRIDE_32_munmap |
| 528 | SC_LTTNG_TRACEPOINT_EVENT(munmap, |
| 529 | TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len), |
| 530 | TP_ARGS(sc_exit(ret,) addr, len), |
| 531 | 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))) |
| 532 | ) |
| 533 | #endif |
| 534 | #ifndef OVERRIDE_32_ftruncate |
| 535 | SC_LTTNG_TRACEPOINT_EVENT(ftruncate, |
| 536 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length), |
| 537 | TP_ARGS(sc_exit(ret,) fd, length), |
| 538 | 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))) |
| 539 | ) |
| 540 | #endif |
| 541 | #ifndef OVERRIDE_32_fchmod |
| 542 | SC_LTTNG_TRACEPOINT_EVENT(fchmod, |
| 543 | TP_PROTO(sc_exit(long ret,) unsigned int fd, mode_t mode), |
| 544 | TP_ARGS(sc_exit(ret,) fd, mode), |
| 545 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(mode_t, mode, mode))) |
| 546 | ) |
| 547 | #endif |
| 548 | #ifndef OVERRIDE_32_getpriority |
| 549 | SC_LTTNG_TRACEPOINT_EVENT(getpriority, |
| 550 | TP_PROTO(sc_exit(long ret,) int which, int who), |
| 551 | TP_ARGS(sc_exit(ret,) which, who), |
| 552 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) |
| 553 | ) |
| 554 | #endif |
| 555 | #ifndef OVERRIDE_32_bdflush |
| 556 | SC_LTTNG_TRACEPOINT_EVENT(bdflush, |
| 557 | TP_PROTO(sc_exit(long ret,) int func, long data), |
| 558 | TP_ARGS(sc_exit(ret,) func, data), |
| 559 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, func, func)) sc_inout(ctf_integer(long, data, data))) |
| 560 | ) |
| 561 | #endif |
| 562 | #ifndef OVERRIDE_32_flock |
| 563 | SC_LTTNG_TRACEPOINT_EVENT(flock, |
| 564 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd), |
| 565 | TP_ARGS(sc_exit(ret,) fd, cmd), |
| 566 | 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))) |
| 567 | ) |
| 568 | #endif |
| 569 | #ifndef OVERRIDE_32_mlock |
| 570 | SC_LTTNG_TRACEPOINT_EVENT(mlock, |
| 571 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), |
| 572 | TP_ARGS(sc_exit(ret,) start, len), |
| 573 | 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))) |
| 574 | ) |
| 575 | #endif |
| 576 | #ifndef OVERRIDE_32_munlock |
| 577 | SC_LTTNG_TRACEPOINT_EVENT(munlock, |
| 578 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), |
| 579 | TP_ARGS(sc_exit(ret,) start, len), |
| 580 | 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))) |
| 581 | ) |
| 582 | #endif |
| 583 | #ifndef OVERRIDE_32_setreuid |
| 584 | SC_LTTNG_TRACEPOINT_EVENT(setreuid, |
| 585 | TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid), |
| 586 | TP_ARGS(sc_exit(ret,) ruid, euid), |
| 587 | 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))) |
| 588 | ) |
| 589 | #endif |
| 590 | #ifndef OVERRIDE_32_setregid |
| 591 | SC_LTTNG_TRACEPOINT_EVENT(setregid, |
| 592 | TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid), |
| 593 | TP_ARGS(sc_exit(ret,) rgid, egid), |
| 594 | 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))) |
| 595 | ) |
| 596 | #endif |
| 597 | #ifndef OVERRIDE_32_tkill |
| 598 | SC_LTTNG_TRACEPOINT_EVENT(tkill, |
| 599 | TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), |
| 600 | TP_ARGS(sc_exit(ret,) pid, sig), |
| 601 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) |
| 602 | ) |
| 603 | #endif |
| 604 | #ifndef OVERRIDE_32_ioprio_get |
| 605 | SC_LTTNG_TRACEPOINT_EVENT(ioprio_get, |
| 606 | TP_PROTO(sc_exit(long ret,) int which, int who), |
| 607 | TP_ARGS(sc_exit(ret,) which, who), |
| 608 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) |
| 609 | ) |
| 610 | #endif |
| 611 | #ifndef OVERRIDE_32_inotify_rm_watch |
| 612 | SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch, |
| 613 | TP_PROTO(sc_exit(long ret,) int fd, __s32 wd), |
| 614 | TP_ARGS(sc_exit(ret,) fd, wd), |
| 615 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(__s32, wd, wd))) |
| 616 | ) |
| 617 | #endif |
| 618 | #ifndef OVERRIDE_32_timerfd_create |
| 619 | SC_LTTNG_TRACEPOINT_EVENT(timerfd_create, |
| 620 | TP_PROTO(sc_exit(long ret,) int clockid, int flags), |
| 621 | TP_ARGS(sc_exit(ret,) clockid, flags), |
| 622 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, clockid, clockid)) sc_in(ctf_integer(int, flags, flags))) |
| 623 | ) |
| 624 | #endif |
| 625 | #ifndef OVERRIDE_32_eventfd2 |
| 626 | SC_LTTNG_TRACEPOINT_EVENT(eventfd2, |
| 627 | TP_PROTO(sc_exit(long ret,) unsigned int count, int flags), |
| 628 | TP_ARGS(sc_exit(ret,) count, flags), |
| 629 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count)) sc_in(ctf_integer(int, flags, flags))) |
| 630 | ) |
| 631 | #endif |
| 632 | #ifndef OVERRIDE_32_fanotify_init |
| 633 | SC_LTTNG_TRACEPOINT_EVENT(fanotify_init, |
| 634 | TP_PROTO(sc_exit(long ret,) unsigned int flags, unsigned int event_f_flags), |
| 635 | TP_ARGS(sc_exit(ret,) flags, event_f_flags), |
| 636 | 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))) |
| 637 | ) |
| 638 | #endif |
| 639 | #ifndef OVERRIDE_32_setns |
| 640 | SC_LTTNG_TRACEPOINT_EVENT(setns, |
| 641 | TP_PROTO(sc_exit(long ret,) int fd, int nstype), |
| 642 | TP_ARGS(sc_exit(ret,) fd, nstype), |
| 643 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, nstype, nstype))) |
| 644 | ) |
| 645 | #endif |
| 646 | #ifndef OVERRIDE_32_lseek |
| 647 | SC_LTTNG_TRACEPOINT_EVENT(lseek, |
| 648 | TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int origin), |
| 649 | TP_ARGS(sc_exit(ret,) fd, offset, origin), |
| 650 | 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, origin, origin))) |
| 651 | ) |
| 652 | #endif |
| 653 | #ifndef OVERRIDE_32_ioctl |
| 654 | SC_LTTNG_TRACEPOINT_EVENT(ioctl, |
| 655 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), |
| 656 | TP_ARGS(sc_exit(ret,) fd, cmd, arg), |
| 657 | 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))) |
| 658 | ) |
| 659 | #endif |
| 660 | #ifndef OVERRIDE_32_fcntl |
| 661 | SC_LTTNG_TRACEPOINT_EVENT(fcntl, |
| 662 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), |
| 663 | TP_ARGS(sc_exit(ret,) fd, cmd, arg), |
| 664 | 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))) |
| 665 | ) |
| 666 | #endif |
| 667 | #ifndef OVERRIDE_32_fchown16 |
| 668 | SC_LTTNG_TRACEPOINT_EVENT(fchown16, |
| 669 | TP_PROTO(sc_exit(long ret,) unsigned int fd, old_uid_t user, old_gid_t group), |
| 670 | TP_ARGS(sc_exit(ret,) fd, user, group), |
| 671 | 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))) |
| 672 | ) |
| 673 | #endif |
| 674 | #ifndef OVERRIDE_32_setpriority |
| 675 | SC_LTTNG_TRACEPOINT_EVENT(setpriority, |
| 676 | TP_PROTO(sc_exit(long ret,) int which, int who, int niceval), |
| 677 | TP_ARGS(sc_exit(ret,) which, who, niceval), |
| 678 | 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))) |
| 679 | ) |
| 680 | #endif |
| 681 | #ifndef OVERRIDE_32_mprotect |
| 682 | SC_LTTNG_TRACEPOINT_EVENT(mprotect, |
| 683 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot), |
| 684 | TP_ARGS(sc_exit(ret,) start, len, prot), |
| 685 | 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))) |
| 686 | ) |
| 687 | #endif |
| 688 | #ifndef OVERRIDE_32_sysfs |
| 689 | SC_LTTNG_TRACEPOINT_EVENT(sysfs, |
| 690 | TP_PROTO(sc_exit(long ret,) int option, unsigned long arg1, unsigned long arg2), |
| 691 | TP_ARGS(sc_exit(ret,) option, arg1, arg2), |
| 692 | 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))) |
| 693 | ) |
| 694 | #endif |
| 695 | #ifndef OVERRIDE_32_msync |
| 696 | SC_LTTNG_TRACEPOINT_EVENT(msync, |
| 697 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), |
| 698 | TP_ARGS(sc_exit(ret,) start, len, flags), |
| 699 | 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))) |
| 700 | ) |
| 701 | #endif |
| 702 | #ifndef OVERRIDE_32_setresuid16 |
| 703 | SC_LTTNG_TRACEPOINT_EVENT(setresuid16, |
| 704 | TP_PROTO(sc_exit(long ret,) old_uid_t ruid, old_uid_t euid, old_uid_t suid), |
| 705 | TP_ARGS(sc_exit(ret,) ruid, euid, suid), |
| 706 | 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))) |
| 707 | ) |
| 708 | #endif |
| 709 | #ifndef OVERRIDE_32_setresgid16 |
| 710 | SC_LTTNG_TRACEPOINT_EVENT(setresgid16, |
| 711 | TP_PROTO(sc_exit(long ret,) old_gid_t rgid, old_gid_t egid, old_gid_t sgid), |
| 712 | TP_ARGS(sc_exit(ret,) rgid, egid, sgid), |
| 713 | 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))) |
| 714 | ) |
| 715 | #endif |
| 716 | #ifndef OVERRIDE_32_fchown |
| 717 | SC_LTTNG_TRACEPOINT_EVENT(fchown, |
| 718 | TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group), |
| 719 | TP_ARGS(sc_exit(ret,) fd, user, group), |
| 720 | 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))) |
| 721 | ) |
| 722 | #endif |
| 723 | #ifndef OVERRIDE_32_setresuid |
| 724 | SC_LTTNG_TRACEPOINT_EVENT(setresuid, |
| 725 | TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid), |
| 726 | TP_ARGS(sc_exit(ret,) ruid, euid, suid), |
| 727 | 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))) |
| 728 | ) |
| 729 | #endif |
| 730 | #ifndef OVERRIDE_32_setresgid |
| 731 | SC_LTTNG_TRACEPOINT_EVENT(setresgid, |
| 732 | TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid), |
| 733 | TP_ARGS(sc_exit(ret,) rgid, egid, sgid), |
| 734 | 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))) |
| 735 | ) |
| 736 | #endif |
| 737 | #ifndef OVERRIDE_32_madvise |
| 738 | SC_LTTNG_TRACEPOINT_EVENT(madvise, |
| 739 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior), |
| 740 | TP_ARGS(sc_exit(ret,) start, len_in, behavior), |
| 741 | 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))) |
| 742 | ) |
| 743 | #endif |
| 744 | #ifndef OVERRIDE_32_fcntl64 |
| 745 | SC_LTTNG_TRACEPOINT_EVENT(fcntl64, |
| 746 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), |
| 747 | TP_ARGS(sc_exit(ret,) fd, cmd, arg), |
| 748 | 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))) |
| 749 | ) |
| 750 | #endif |
| 751 | #ifndef OVERRIDE_32_tgkill |
| 752 | SC_LTTNG_TRACEPOINT_EVENT(tgkill, |
| 753 | TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig), |
| 754 | TP_ARGS(sc_exit(ret,) tgid, pid, sig), |
| 755 | 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))) |
| 756 | ) |
| 757 | #endif |
| 758 | #ifndef OVERRIDE_32_ioprio_set |
| 759 | SC_LTTNG_TRACEPOINT_EVENT(ioprio_set, |
| 760 | TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio), |
| 761 | TP_ARGS(sc_exit(ret,) which, who, ioprio), |
| 762 | 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))) |
| 763 | ) |
| 764 | #endif |
| 765 | #ifndef OVERRIDE_32_dup3 |
| 766 | SC_LTTNG_TRACEPOINT_EVENT(dup3, |
| 767 | TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags), |
| 768 | TP_ARGS(sc_exit(ret,) oldfd, newfd, flags), |
| 769 | 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))) |
| 770 | ) |
| 771 | #endif |
| 772 | #ifndef OVERRIDE_32_ptrace |
| 773 | SC_LTTNG_TRACEPOINT_EVENT(ptrace, |
| 774 | TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data), |
| 775 | TP_ARGS(sc_exit(ret,) request, pid, addr, data), |
| 776 | 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))) |
| 777 | ) |
| 778 | #endif |
| 779 | #ifndef OVERRIDE_32_tee |
| 780 | SC_LTTNG_TRACEPOINT_EVENT(tee, |
| 781 | TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), |
| 782 | TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags), |
| 783 | 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))) |
| 784 | ) |
| 785 | #endif |
| 786 | #ifndef OVERRIDE_32_mremap |
| 787 | SC_LTTNG_TRACEPOINT_EVENT(mremap, |
| 788 | TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), |
| 789 | TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr), |
| 790 | 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))) |
| 791 | ) |
| 792 | #endif |
| 793 | #ifndef OVERRIDE_32_prctl |
| 794 | SC_LTTNG_TRACEPOINT_EVENT(prctl, |
| 795 | TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), |
| 796 | TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), |
| 797 | 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))) |
| 798 | ) |
| 799 | #endif |
| 800 | #ifndef OVERRIDE_32_remap_file_pages |
| 801 | SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, |
| 802 | TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), |
| 803 | TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags), |
| 804 | 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))) |
| 805 | ) |
| 806 | #endif |
| 807 | #ifndef OVERRIDE_32_keyctl |
| 808 | SC_LTTNG_TRACEPOINT_EVENT(keyctl, |
| 809 | TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), |
| 810 | TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), |
| 811 | 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))) |
| 812 | ) |
| 813 | #endif |
| 814 | #ifndef OVERRIDE_32_mmap_pgoff |
| 815 | SC_LTTNG_TRACEPOINT_EVENT(mmap_pgoff, |
| 816 | TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff), |
| 817 | TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, pgoff), |
| 818 | 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))) |
| 819 | ) |
| 820 | #endif |
| 821 | |
| 822 | #endif /* _TRACE_SYSCALLS_INTEGERS_H */ |
| 823 | |
| 824 | /* This part must be outside protection */ |
| 825 | #include <lttng/define_trace.h> |
| 826 | |
| 827 | #else /* CREATE_SYSCALL_TABLE */ |
| 828 | |
| 829 | #include "x86-32-syscalls_integers_override.h" |
| 830 | #include "syscalls_integers_override.h" |
| 831 | |
| 832 | #ifdef SC_ENTER |
| 833 | #ifndef OVERRIDE_TABLE_32_restart_syscall |
| 834 | TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 0, 0) |
| 835 | #endif |
| 836 | #ifndef OVERRIDE_TABLE_32_getpid |
| 837 | TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 20, 0) |
| 838 | #endif |
| 839 | #ifndef OVERRIDE_TABLE_32_getuid16 |
| 840 | TRACE_SYSCALL_TABLE(syscalls_noargs, getuid16, 24, 0) |
| 841 | #endif |
| 842 | #ifndef OVERRIDE_TABLE_32_pause |
| 843 | TRACE_SYSCALL_TABLE(syscalls_noargs, pause, 29, 0) |
| 844 | #endif |
| 845 | #ifndef OVERRIDE_TABLE_32_sync |
| 846 | TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 36, 0) |
| 847 | #endif |
| 848 | #ifndef OVERRIDE_TABLE_32_getgid16 |
| 849 | TRACE_SYSCALL_TABLE(syscalls_noargs, getgid16, 47, 0) |
| 850 | #endif |
| 851 | #ifndef OVERRIDE_TABLE_32_geteuid16 |
| 852 | TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid16, 49, 0) |
| 853 | #endif |
| 854 | #ifndef OVERRIDE_TABLE_32_getegid16 |
| 855 | TRACE_SYSCALL_TABLE(syscalls_noargs, getegid16, 50, 0) |
| 856 | #endif |
| 857 | #ifndef OVERRIDE_TABLE_32_getppid |
| 858 | TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 64, 0) |
| 859 | #endif |
| 860 | #ifndef OVERRIDE_TABLE_32_getpgrp |
| 861 | TRACE_SYSCALL_TABLE(syscalls_noargs, getpgrp, 65, 0) |
| 862 | #endif |
| 863 | #ifndef OVERRIDE_TABLE_32_setsid |
| 864 | TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 66, 0) |
| 865 | #endif |
| 866 | #ifndef OVERRIDE_TABLE_32_sgetmask |
| 867 | TRACE_SYSCALL_TABLE(syscalls_noargs, sgetmask, 68, 0) |
| 868 | #endif |
| 869 | #ifndef OVERRIDE_TABLE_32_vhangup |
| 870 | TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 111, 0) |
| 871 | #endif |
| 872 | #ifndef OVERRIDE_TABLE_32_munlockall |
| 873 | TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 153, 0) |
| 874 | #endif |
| 875 | #ifndef OVERRIDE_TABLE_32_sched_yield |
| 876 | TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 158, 0) |
| 877 | #endif |
| 878 | #ifndef OVERRIDE_TABLE_32_getuid |
| 879 | TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 199, 0) |
| 880 | #endif |
| 881 | #ifndef OVERRIDE_TABLE_32_getgid |
| 882 | TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 200, 0) |
| 883 | #endif |
| 884 | #ifndef OVERRIDE_TABLE_32_geteuid |
| 885 | TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 201, 0) |
| 886 | #endif |
| 887 | #ifndef OVERRIDE_TABLE_32_getegid |
| 888 | TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 202, 0) |
| 889 | #endif |
| 890 | #ifndef OVERRIDE_TABLE_32_gettid |
| 891 | TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 224, 0) |
| 892 | #endif |
| 893 | #ifndef OVERRIDE_TABLE_32_inotify_init |
| 894 | TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 291, 0) |
| 895 | #endif |
| 896 | #else /* #ifdef SC_ENTER */ |
| 897 | #ifndef OVERRIDE_TABLE_32_restart_syscall |
| 898 | TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 0, 0) |
| 899 | #endif |
| 900 | #ifndef OVERRIDE_TABLE_32_getpid |
| 901 | TRACE_SYSCALL_TABLE(getpid, getpid, 20, 0) |
| 902 | #endif |
| 903 | #ifndef OVERRIDE_TABLE_32_getuid16 |
| 904 | TRACE_SYSCALL_TABLE(getuid16, getuid16, 24, 0) |
| 905 | #endif |
| 906 | #ifndef OVERRIDE_TABLE_32_pause |
| 907 | TRACE_SYSCALL_TABLE(pause, pause, 29, 0) |
| 908 | #endif |
| 909 | #ifndef OVERRIDE_TABLE_32_sync |
| 910 | TRACE_SYSCALL_TABLE(sync, sync, 36, 0) |
| 911 | #endif |
| 912 | #ifndef OVERRIDE_TABLE_32_getgid16 |
| 913 | TRACE_SYSCALL_TABLE(getgid16, getgid16, 47, 0) |
| 914 | #endif |
| 915 | #ifndef OVERRIDE_TABLE_32_geteuid16 |
| 916 | TRACE_SYSCALL_TABLE(geteuid16, geteuid16, 49, 0) |
| 917 | #endif |
| 918 | #ifndef OVERRIDE_TABLE_32_getegid16 |
| 919 | TRACE_SYSCALL_TABLE(getegid16, getegid16, 50, 0) |
| 920 | #endif |
| 921 | #ifndef OVERRIDE_TABLE_32_getppid |
| 922 | TRACE_SYSCALL_TABLE(getppid, getppid, 64, 0) |
| 923 | #endif |
| 924 | #ifndef OVERRIDE_TABLE_32_getpgrp |
| 925 | TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 65, 0) |
| 926 | #endif |
| 927 | #ifndef OVERRIDE_TABLE_32_setsid |
| 928 | TRACE_SYSCALL_TABLE(setsid, setsid, 66, 0) |
| 929 | #endif |
| 930 | #ifndef OVERRIDE_TABLE_32_sgetmask |
| 931 | TRACE_SYSCALL_TABLE(sgetmask, sgetmask, 68, 0) |
| 932 | #endif |
| 933 | #ifndef OVERRIDE_TABLE_32_vhangup |
| 934 | TRACE_SYSCALL_TABLE(vhangup, vhangup, 111, 0) |
| 935 | #endif |
| 936 | #ifndef OVERRIDE_TABLE_32_munlockall |
| 937 | TRACE_SYSCALL_TABLE(munlockall, munlockall, 153, 0) |
| 938 | #endif |
| 939 | #ifndef OVERRIDE_TABLE_32_sched_yield |
| 940 | TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 158, 0) |
| 941 | #endif |
| 942 | #ifndef OVERRIDE_TABLE_32_getuid |
| 943 | TRACE_SYSCALL_TABLE(getuid, getuid, 199, 0) |
| 944 | #endif |
| 945 | #ifndef OVERRIDE_TABLE_32_getgid |
| 946 | TRACE_SYSCALL_TABLE(getgid, getgid, 200, 0) |
| 947 | #endif |
| 948 | #ifndef OVERRIDE_TABLE_32_geteuid |
| 949 | TRACE_SYSCALL_TABLE(geteuid, geteuid, 201, 0) |
| 950 | #endif |
| 951 | #ifndef OVERRIDE_TABLE_32_getegid |
| 952 | TRACE_SYSCALL_TABLE(getegid, getegid, 202, 0) |
| 953 | #endif |
| 954 | #ifndef OVERRIDE_TABLE_32_gettid |
| 955 | TRACE_SYSCALL_TABLE(gettid, gettid, 224, 0) |
| 956 | #endif |
| 957 | #ifndef OVERRIDE_TABLE_32_inotify_init |
| 958 | TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 291, 0) |
| 959 | #endif |
| 960 | #endif /* else #ifdef SC_ENTER */ |
| 961 | #ifndef OVERRIDE_TABLE_32_exit |
| 962 | TRACE_SYSCALL_TABLE(exit, exit, 1, 1) |
| 963 | #endif |
| 964 | #ifndef OVERRIDE_TABLE_32_close |
| 965 | TRACE_SYSCALL_TABLE(close, close, 6, 1) |
| 966 | #endif |
| 967 | #ifndef OVERRIDE_TABLE_32_lseek |
| 968 | TRACE_SYSCALL_TABLE(lseek, lseek, 19, 3) |
| 969 | #endif |
| 970 | #ifndef OVERRIDE_TABLE_32_setuid16 |
| 971 | TRACE_SYSCALL_TABLE(setuid16, setuid16, 23, 1) |
| 972 | #endif |
| 973 | #ifndef OVERRIDE_TABLE_32_ptrace |
| 974 | TRACE_SYSCALL_TABLE(ptrace, ptrace, 26, 4) |
| 975 | #endif |
| 976 | #ifndef OVERRIDE_TABLE_32_alarm |
| 977 | TRACE_SYSCALL_TABLE(alarm, alarm, 27, 1) |
| 978 | #endif |
| 979 | #ifndef OVERRIDE_TABLE_32_nice |
| 980 | TRACE_SYSCALL_TABLE(nice, nice, 34, 1) |
| 981 | #endif |
| 982 | #ifndef OVERRIDE_TABLE_32_kill |
| 983 | TRACE_SYSCALL_TABLE(kill, kill, 37, 2) |
| 984 | #endif |
| 985 | #ifndef OVERRIDE_TABLE_32_dup |
| 986 | TRACE_SYSCALL_TABLE(dup, dup, 41, 1) |
| 987 | #endif |
| 988 | #ifndef OVERRIDE_TABLE_32_brk |
| 989 | TRACE_SYSCALL_TABLE(brk, brk, 45, 1) |
| 990 | #endif |
| 991 | #ifndef OVERRIDE_TABLE_32_setgid16 |
| 992 | TRACE_SYSCALL_TABLE(setgid16, setgid16, 46, 1) |
| 993 | #endif |
| 994 | #ifndef OVERRIDE_TABLE_32_signal |
| 995 | TRACE_SYSCALL_TABLE(signal, signal, 48, 2) |
| 996 | #endif |
| 997 | #ifndef OVERRIDE_TABLE_32_ioctl |
| 998 | TRACE_SYSCALL_TABLE(ioctl, ioctl, 54, 3) |
| 999 | #endif |
| 1000 | #ifndef OVERRIDE_TABLE_32_fcntl |
| 1001 | TRACE_SYSCALL_TABLE(fcntl, fcntl, 55, 3) |
| 1002 | #endif |
| 1003 | #ifndef OVERRIDE_TABLE_32_setpgid |
| 1004 | TRACE_SYSCALL_TABLE(setpgid, setpgid, 57, 2) |
| 1005 | #endif |
| 1006 | #ifndef OVERRIDE_TABLE_32_umask |
| 1007 | TRACE_SYSCALL_TABLE(umask, umask, 60, 1) |
| 1008 | #endif |
| 1009 | #ifndef OVERRIDE_TABLE_32_dup2 |
| 1010 | TRACE_SYSCALL_TABLE(dup2, dup2, 63, 2) |
| 1011 | #endif |
| 1012 | #ifndef OVERRIDE_TABLE_32_ssetmask |
| 1013 | TRACE_SYSCALL_TABLE(ssetmask, ssetmask, 69, 1) |
| 1014 | #endif |
| 1015 | #ifndef OVERRIDE_TABLE_32_setreuid16 |
| 1016 | TRACE_SYSCALL_TABLE(setreuid16, setreuid16, 70, 2) |
| 1017 | #endif |
| 1018 | #ifndef OVERRIDE_TABLE_32_setregid16 |
| 1019 | TRACE_SYSCALL_TABLE(setregid16, setregid16, 71, 2) |
| 1020 | #endif |
| 1021 | #ifndef OVERRIDE_TABLE_32_munmap |
| 1022 | TRACE_SYSCALL_TABLE(munmap, munmap, 91, 2) |
| 1023 | #endif |
| 1024 | #ifndef OVERRIDE_TABLE_32_ftruncate |
| 1025 | TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 93, 2) |
| 1026 | #endif |
| 1027 | #ifndef OVERRIDE_TABLE_32_fchmod |
| 1028 | TRACE_SYSCALL_TABLE(fchmod, fchmod, 94, 2) |
| 1029 | #endif |
| 1030 | #ifndef OVERRIDE_TABLE_32_fchown16 |
| 1031 | TRACE_SYSCALL_TABLE(fchown16, fchown16, 95, 3) |
| 1032 | #endif |
| 1033 | #ifndef OVERRIDE_TABLE_32_getpriority |
| 1034 | TRACE_SYSCALL_TABLE(getpriority, getpriority, 96, 2) |
| 1035 | #endif |
| 1036 | #ifndef OVERRIDE_TABLE_32_setpriority |
| 1037 | TRACE_SYSCALL_TABLE(setpriority, setpriority, 97, 3) |
| 1038 | #endif |
| 1039 | #ifndef OVERRIDE_TABLE_32_fsync |
| 1040 | TRACE_SYSCALL_TABLE(fsync, fsync, 118, 1) |
| 1041 | #endif |
| 1042 | #ifndef OVERRIDE_TABLE_32_mprotect |
| 1043 | TRACE_SYSCALL_TABLE(mprotect, mprotect, 125, 3) |
| 1044 | #endif |
| 1045 | #ifndef OVERRIDE_TABLE_32_getpgid |
| 1046 | TRACE_SYSCALL_TABLE(getpgid, getpgid, 132, 1) |
| 1047 | #endif |
| 1048 | #ifndef OVERRIDE_TABLE_32_fchdir |
| 1049 | TRACE_SYSCALL_TABLE(fchdir, fchdir, 133, 1) |
| 1050 | #endif |
| 1051 | #ifndef OVERRIDE_TABLE_32_bdflush |
| 1052 | TRACE_SYSCALL_TABLE(bdflush, bdflush, 134, 2) |
| 1053 | #endif |
| 1054 | #ifndef OVERRIDE_TABLE_32_sysfs |
| 1055 | TRACE_SYSCALL_TABLE(sysfs, sysfs, 135, 3) |
| 1056 | #endif |
| 1057 | #ifndef OVERRIDE_TABLE_32_personality |
| 1058 | TRACE_SYSCALL_TABLE(personality, personality, 136, 1) |
| 1059 | #endif |
| 1060 | #ifndef OVERRIDE_TABLE_32_setfsuid16 |
| 1061 | TRACE_SYSCALL_TABLE(setfsuid16, setfsuid16, 138, 1) |
| 1062 | #endif |
| 1063 | #ifndef OVERRIDE_TABLE_32_setfsgid16 |
| 1064 | TRACE_SYSCALL_TABLE(setfsgid16, setfsgid16, 139, 1) |
| 1065 | #endif |
| 1066 | #ifndef OVERRIDE_TABLE_32_flock |
| 1067 | TRACE_SYSCALL_TABLE(flock, flock, 143, 2) |
| 1068 | #endif |
| 1069 | #ifndef OVERRIDE_TABLE_32_msync |
| 1070 | TRACE_SYSCALL_TABLE(msync, msync, 144, 3) |
| 1071 | #endif |
| 1072 | #ifndef OVERRIDE_TABLE_32_getsid |
| 1073 | TRACE_SYSCALL_TABLE(getsid, getsid, 147, 1) |
| 1074 | #endif |
| 1075 | #ifndef OVERRIDE_TABLE_32_fdatasync |
| 1076 | TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 148, 1) |
| 1077 | #endif |
| 1078 | #ifndef OVERRIDE_TABLE_32_mlock |
| 1079 | TRACE_SYSCALL_TABLE(mlock, mlock, 150, 2) |
| 1080 | #endif |
| 1081 | #ifndef OVERRIDE_TABLE_32_munlock |
| 1082 | TRACE_SYSCALL_TABLE(munlock, munlock, 151, 2) |
| 1083 | #endif |
| 1084 | #ifndef OVERRIDE_TABLE_32_mlockall |
| 1085 | TRACE_SYSCALL_TABLE(mlockall, mlockall, 152, 1) |
| 1086 | #endif |
| 1087 | #ifndef OVERRIDE_TABLE_32_sched_getscheduler |
| 1088 | TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 157, 1) |
| 1089 | #endif |
| 1090 | #ifndef OVERRIDE_TABLE_32_sched_get_priority_max |
| 1091 | TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 159, 1) |
| 1092 | #endif |
| 1093 | #ifndef OVERRIDE_TABLE_32_sched_get_priority_min |
| 1094 | TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 160, 1) |
| 1095 | #endif |
| 1096 | #ifndef OVERRIDE_TABLE_32_mremap |
| 1097 | TRACE_SYSCALL_TABLE(mremap, mremap, 163, 5) |
| 1098 | #endif |
| 1099 | #ifndef OVERRIDE_TABLE_32_setresuid16 |
| 1100 | TRACE_SYSCALL_TABLE(setresuid16, setresuid16, 164, 3) |
| 1101 | #endif |
| 1102 | #ifndef OVERRIDE_TABLE_32_setresgid16 |
| 1103 | TRACE_SYSCALL_TABLE(setresgid16, setresgid16, 170, 3) |
| 1104 | #endif |
| 1105 | #ifndef OVERRIDE_TABLE_32_prctl |
| 1106 | TRACE_SYSCALL_TABLE(prctl, prctl, 172, 5) |
| 1107 | #endif |
| 1108 | #ifndef OVERRIDE_TABLE_32_mmap_pgoff |
| 1109 | TRACE_SYSCALL_TABLE(mmap_pgoff, mmap_pgoff, 192, 6) |
| 1110 | #endif |
| 1111 | #ifndef OVERRIDE_TABLE_32_setreuid |
| 1112 | TRACE_SYSCALL_TABLE(setreuid, setreuid, 203, 2) |
| 1113 | #endif |
| 1114 | #ifndef OVERRIDE_TABLE_32_setregid |
| 1115 | TRACE_SYSCALL_TABLE(setregid, setregid, 204, 2) |
| 1116 | #endif |
| 1117 | #ifndef OVERRIDE_TABLE_32_fchown |
| 1118 | TRACE_SYSCALL_TABLE(fchown, fchown, 207, 3) |
| 1119 | #endif |
| 1120 | #ifndef OVERRIDE_TABLE_32_setresuid |
| 1121 | TRACE_SYSCALL_TABLE(setresuid, setresuid, 208, 3) |
| 1122 | #endif |
| 1123 | #ifndef OVERRIDE_TABLE_32_setresgid |
| 1124 | TRACE_SYSCALL_TABLE(setresgid, setresgid, 210, 3) |
| 1125 | #endif |
| 1126 | #ifndef OVERRIDE_TABLE_32_setuid |
| 1127 | TRACE_SYSCALL_TABLE(setuid, setuid, 213, 1) |
| 1128 | #endif |
| 1129 | #ifndef OVERRIDE_TABLE_32_setgid |
| 1130 | TRACE_SYSCALL_TABLE(setgid, setgid, 214, 1) |
| 1131 | #endif |
| 1132 | #ifndef OVERRIDE_TABLE_32_setfsuid |
| 1133 | TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 215, 1) |
| 1134 | #endif |
| 1135 | #ifndef OVERRIDE_TABLE_32_setfsgid |
| 1136 | TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 216, 1) |
| 1137 | #endif |
| 1138 | #ifndef OVERRIDE_TABLE_32_madvise |
| 1139 | TRACE_SYSCALL_TABLE(madvise, madvise, 219, 3) |
| 1140 | #endif |
| 1141 | #ifndef OVERRIDE_TABLE_32_fcntl64 |
| 1142 | TRACE_SYSCALL_TABLE(fcntl64, fcntl64, 221, 3) |
| 1143 | #endif |
| 1144 | #ifndef OVERRIDE_TABLE_32_tkill |
| 1145 | TRACE_SYSCALL_TABLE(tkill, tkill, 238, 2) |
| 1146 | #endif |
| 1147 | #ifndef OVERRIDE_TABLE_32_io_destroy |
| 1148 | TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 246, 1) |
| 1149 | #endif |
| 1150 | #ifndef OVERRIDE_TABLE_32_exit_group |
| 1151 | TRACE_SYSCALL_TABLE(exit_group, exit_group, 252, 1) |
| 1152 | #endif |
| 1153 | #ifndef OVERRIDE_TABLE_32_epoll_create |
| 1154 | TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 254, 1) |
| 1155 | #endif |
| 1156 | #ifndef OVERRIDE_TABLE_32_remap_file_pages |
| 1157 | TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 257, 5) |
| 1158 | #endif |
| 1159 | #ifndef OVERRIDE_TABLE_32_timer_getoverrun |
| 1160 | TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 262, 1) |
| 1161 | #endif |
| 1162 | #ifndef OVERRIDE_TABLE_32_timer_delete |
| 1163 | TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 263, 1) |
| 1164 | #endif |
| 1165 | #ifndef OVERRIDE_TABLE_32_tgkill |
| 1166 | TRACE_SYSCALL_TABLE(tgkill, tgkill, 270, 3) |
| 1167 | #endif |
| 1168 | #ifndef OVERRIDE_TABLE_32_keyctl |
| 1169 | TRACE_SYSCALL_TABLE(keyctl, keyctl, 288, 5) |
| 1170 | #endif |
| 1171 | #ifndef OVERRIDE_TABLE_32_ioprio_set |
| 1172 | TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 289, 3) |
| 1173 | #endif |
| 1174 | #ifndef OVERRIDE_TABLE_32_ioprio_get |
| 1175 | TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 290, 2) |
| 1176 | #endif |
| 1177 | #ifndef OVERRIDE_TABLE_32_inotify_rm_watch |
| 1178 | TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 293, 2) |
| 1179 | #endif |
| 1180 | #ifndef OVERRIDE_TABLE_32_unshare |
| 1181 | TRACE_SYSCALL_TABLE(unshare, unshare, 310, 1) |
| 1182 | #endif |
| 1183 | #ifndef OVERRIDE_TABLE_32_tee |
| 1184 | TRACE_SYSCALL_TABLE(tee, tee, 315, 4) |
| 1185 | #endif |
| 1186 | #ifndef OVERRIDE_TABLE_32_timerfd_create |
| 1187 | TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 322, 2) |
| 1188 | #endif |
| 1189 | #ifndef OVERRIDE_TABLE_32_eventfd |
| 1190 | TRACE_SYSCALL_TABLE(eventfd, eventfd, 323, 1) |
| 1191 | #endif |
| 1192 | #ifndef OVERRIDE_TABLE_32_eventfd2 |
| 1193 | TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 328, 2) |
| 1194 | #endif |
| 1195 | #ifndef OVERRIDE_TABLE_32_epoll_create1 |
| 1196 | TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 329, 1) |
| 1197 | #endif |
| 1198 | #ifndef OVERRIDE_TABLE_32_dup3 |
| 1199 | TRACE_SYSCALL_TABLE(dup3, dup3, 330, 3) |
| 1200 | #endif |
| 1201 | #ifndef OVERRIDE_TABLE_32_inotify_init1 |
| 1202 | TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 332, 1) |
| 1203 | #endif |
| 1204 | #ifndef OVERRIDE_TABLE_32_fanotify_init |
| 1205 | TRACE_SYSCALL_TABLE(fanotify_init, fanotify_init, 338, 2) |
| 1206 | #endif |
| 1207 | #ifndef OVERRIDE_TABLE_32_syncfs |
| 1208 | TRACE_SYSCALL_TABLE(syncfs, syncfs, 344, 1) |
| 1209 | #endif |
| 1210 | #ifndef OVERRIDE_TABLE_32_setns |
| 1211 | TRACE_SYSCALL_TABLE(setns, setns, 346, 2) |
| 1212 | #endif |
| 1213 | |
| 1214 | #endif /* CREATE_SYSCALL_TABLE */ |