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