3 #define OVERRIDE_32_getuid16
4 #define OVERRIDE_32_getgid16
5 #define OVERRIDE_32_geteuid16
6 #define OVERRIDE_32_getegid16
7 #define OVERRIDE_32_setuid16
8 #define OVERRIDE_32_setgid16
9 #define OVERRIDE_32_setfsuid16
10 #define OVERRIDE_32_setfsgid16
11 #define OVERRIDE_32_setreuid16
12 #define OVERRIDE_32_setregid16
13 #define OVERRIDE_32_fchown16
14 #define OVERRIDE_32_setresuid16
15 #define OVERRIDE_32_setresgid16
17 #define OVERRIDE_TABLE_32_getuid16
18 #define OVERRIDE_TABLE_32_getgid16
19 #define OVERRIDE_TABLE_32_geteuid16
20 #define OVERRIDE_TABLE_32_getegid16
21 #define OVERRIDE_TABLE_32_setuid16
22 #define OVERRIDE_TABLE_32_setgid16
23 #define OVERRIDE_TABLE_32_setreuid16
24 #define OVERRIDE_TABLE_32_setregid16
25 #define OVERRIDE_TABLE_32_fchown16
26 #define OVERRIDE_TABLE_32_setfsuid16
27 #define OVERRIDE_TABLE_32_setfsgid16
28 #define OVERRIDE_TABLE_32_setresuid16
29 #define OVERRIDE_TABLE_32_setresgid16
33 #ifndef CREATE_SYSCALL_TABLE
35 /* mmap_pgoff is kernel internal. mmap2 is exposed in unistd.h. */
36 #define OVERRIDE_32_mmap_pgoff
37 #define OVERRIDE_32_mmap2
38 SC_LTTNG_TRACEPOINT_EVENT(mmap2
,
39 TP_PROTO(sc_exit(unsigned long ret
,)
40 unsigned long addr
, unsigned long len
,
41 unsigned long prot
, unsigned long flags
,
42 unsigned long fd
, unsigned long pgoff
),
43 TP_ARGS(sc_exit(ret
,) addr
, len
, prot
, flags
, fd
, pgoff
),
44 TP_FIELDS(sc_exit(ctf_integer_hex(unsigned long, ret
, ret
))
45 sc_in(ctf_integer_hex(unsigned long, addr
, addr
))
46 sc_in(ctf_integer(size_t, len
, len
))
47 sc_in(ctf_integer(int, prot
, prot
))
48 sc_in(ctf_integer(int, flags
, flags
))
49 sc_in(ctf_integer(int, fd
, fd
))
50 sc_in(ctf_integer(off_t
, pgoff
, pgoff
))
54 #define OVERRIDE_32_sync_file_range
55 SC_LTTNG_TRACEPOINT_EVENT(sync_file_range
,
56 TP_PROTO(sc_exit(long ret
,) int fd
,
57 int32_t offset_low
, int32_t offset_high
,
58 int32_t nbytes_low
, int32_t nbytes_high
,
60 TP_ARGS(sc_exit(ret
,) fd
, offset_low
, offset_high
,
61 nbytes_low
, nbytes_high
, flags
),
62 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
))
63 sc_in(ctf_integer(int, fd
, fd
))
64 sc_in(ctf_integer(loff_t
, offset
,
65 ((loff_t
) offset_high
<< 32) | offset_low
))
66 sc_in(ctf_integer(loff_t
, nbytes
,
67 ((loff_t
) nbytes_high
<< 32) | nbytes_low
))
68 sc_in(ctf_integer(unsigned int, flags
, flags
))
72 #else /* #ifndef CREATE_SYSCALL_TABLE */
74 #define OVERRIDE_TABLE_32_mmap
75 TRACE_SYSCALL_TABLE(mmap
, mmap
, 90, 6)
77 /* mmap_pgoff is kernel internal. mmap2 is exposed in unistd.h. */
78 #define OVERRIDE_TABLE_32_mmap_pgoff
79 #define OVERRIDE_TABLE_32_mmap2
80 TRACE_SYSCALL_TABLE(mmap2
, mmap2
, 192, 6)
82 #define OVERRIDE_TABLE_32_sync_file_range
83 TRACE_SYSCALL_TABLE(sync_file_range
, sync_file_range
, 314, 6)
85 #endif /* #else #ifndef CREATE_SYSCALL_TABLE */
This page took 0.030738 seconds and 4 git commands to generate.