| 1 | |
| 2 | |
| 3 | #define OVERRIDE_TABLE_32_arm_fadvise64_64 |
| 4 | #define OVERRIDE_TABLE_32_sync_file_range2 |
| 5 | |
| 6 | #ifndef CREATE_SYSCALL_TABLE |
| 7 | |
| 8 | SC_LTTNG_TRACEPOINT_EVENT(arm_fadvise64_64, |
| 9 | TP_PROTO(int fd, int advice, loff_t offset, loff_t len), |
| 10 | TP_ARGS(fd, advice, offset, len), |
| 11 | TP_FIELDS( |
| 12 | ctf_integer_hex(int, fd, fd) |
| 13 | ctf_integer_hex(int, advice, advice) |
| 14 | ctf_integer_hex(loff_t, offset, offset) |
| 15 | ctf_integer_hex(loff_t, len, len) |
| 16 | ) |
| 17 | ) |
| 18 | |
| 19 | SC_LTTNG_TRACEPOINT_EVENT(sync_file_range2, |
| 20 | TP_PROTO(int fd, loff_t offset, loff_t nbytes, unsigned int flags), |
| 21 | TP_ARGS(fd, offset, nbytes, flags), |
| 22 | TP_FIELDS( |
| 23 | ctf_integer_hex(int, fd, fd) |
| 24 | ctf_integer_hex(loff_t, offset, offset) |
| 25 | ctf_integer_hex(loff_t, nbytes, nbytes) |
| 26 | ctf_integer_hex(unsigned int, flags), flags) |
| 27 | ) |
| 28 | ) |
| 29 | |
| 30 | #else /* CREATE_SYSCALL_TABLE */ |
| 31 | |
| 32 | #define OVERRIDE_TABLE_32_mmap |
| 33 | TRACE_SYSCALL_TABLE(mmap, mmap, 90, 6) |
| 34 | |
| 35 | #define OVERRIDE_TABLE_32_arm_fadvise64_64 |
| 36 | TRACE_SYSCALL_TABLE(arm_fadvise64_64, arm_fadvise64_64, 270, 4) |
| 37 | #define OVERRIDE_TABLE_32_sync_file_range2 |
| 38 | TRACE_SYSCALL_TABLE(sync_file_range2, sync_file_range2, 341, 4) |
| 39 | |
| 40 | #endif /* CREATE_SYSCALL_TABLE */ |
| 41 | |
| 42 | |