Fix: arm-32 build
[lttng-modules.git] / instrumentation / syscalls / headers / arm-32-syscalls-3.4.25_integers_override.h
CommitLineData
8f4f80e0
RK
1
2
8ba62b94
NL
3#define OVERRIDE_TABLE_32_arm_fadvise64_64
4#define OVERRIDE_TABLE_32_sync_file_range2
8f4f80e0
RK
5
6#ifndef CREATE_SYSCALL_TABLE
7
8ba62b94 8SC_LTTNG_TRACEPOINT_EVENT(arm_fadvise64_64,
8f4f80e0
RK
9 TP_PROTO(int fd, int advice, loff_t offset, loff_t len),
10 TP_ARGS(fd, advice, offset, len),
e0976e2b
MD
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 )
8f4f80e0
RK
17)
18
8ba62b94 19SC_LTTNG_TRACEPOINT_EVENT(sync_file_range2,
8f4f80e0
RK
20 TP_PROTO(int fd, loff_t offset, loff_t nbytes, unsigned int flags),
21 TP_ARGS(fd, offset, nbytes, flags),
e0976e2b
MD
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)
8c6e7f13 26 ctf_integer_hex(unsigned int, flags, flags)
e0976e2b 27 )
8f4f80e0
RK
28)
29
8f4f80e0
RK
30#else /* CREATE_SYSCALL_TABLE */
31
8ba62b94
NL
32#define OVERRIDE_TABLE_32_mmap
33TRACE_SYSCALL_TABLE(mmap, mmap, 90, 6)
8f4f80e0 34
8ba62b94
NL
35#define OVERRIDE_TABLE_32_arm_fadvise64_64
36TRACE_SYSCALL_TABLE(arm_fadvise64_64, arm_fadvise64_64, 270, 4)
37#define OVERRIDE_TABLE_32_sync_file_range2
38TRACE_SYSCALL_TABLE(sync_file_range2, sync_file_range2, 341, 4)
8f4f80e0
RK
39
40#endif /* CREATE_SYSCALL_TABLE */
41
42
This page took 0.030431 seconds and 4 git commands to generate.