Commit | Line | Data |
---|---|---|
deeaaf53 MD |
1 | /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ |
2 | #ifndef CREATE_SYSCALL_TABLE | |
3 | ||
deeaaf53 MD |
4 | #if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) |
5 | #define _TRACE_SYSCALLS_POINTERS_H | |
6 | ||
7 | #include <linux/tracepoint.h> | |
8 | #include <linux/syscalls.h> | |
9 | #include "x86-32-syscalls-3.1.0-rc6_pointers_override.h" | |
daaf627a | 10 | #include "syscalls_pointers_override.h" |
deeaaf53 | 11 | |
644d6e9c MD |
12 | #ifndef OVERRIDE_32_unlink |
13 | SC_TRACE_EVENT(unlink, | |
e17f92ba MD |
14 | TP_PROTO(sc_exit(long ret,) const char * pathname), |
15 | TP_ARGS(sc_exit(ret,) pathname), | |
b75d00c4 MD |
16 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname))), |
17 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname))), | |
deeaaf53 MD |
18 | TP_printk() |
19 | ) | |
20 | #endif | |
644d6e9c MD |
21 | #ifndef OVERRIDE_32_chdir |
22 | SC_TRACE_EVENT(chdir, | |
e17f92ba MD |
23 | TP_PROTO(sc_exit(long ret,) const char * filename), |
24 | TP_ARGS(sc_exit(ret,) filename), | |
b75d00c4 MD |
25 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename))), |
26 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename))), | |
deeaaf53 MD |
27 | TP_printk() |
28 | ) | |
29 | #endif | |
644d6e9c MD |
30 | #ifndef OVERRIDE_32_time |
31 | SC_TRACE_EVENT(time, | |
e17f92ba MD |
32 | TP_PROTO(sc_exit(long ret,) time_t * tloc), |
33 | TP_ARGS(sc_exit(ret,) tloc), | |
b75d00c4 MD |
34 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(time_t *, tloc))), |
35 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(tloc, tloc))), | |
deeaaf53 MD |
36 | TP_printk() |
37 | ) | |
38 | #endif | |
644d6e9c MD |
39 | #ifndef OVERRIDE_32_oldumount |
40 | SC_TRACE_EVENT(oldumount, | |
e17f92ba MD |
41 | TP_PROTO(sc_exit(long ret,) char * name), |
42 | TP_ARGS(sc_exit(ret,) name), | |
b75d00c4 MD |
43 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(name, name))), |
44 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_copy_string_from_user(name, name))), | |
deeaaf53 MD |
45 | TP_printk() |
46 | ) | |
47 | #endif | |
644d6e9c MD |
48 | #ifndef OVERRIDE_32_stime |
49 | SC_TRACE_EVENT(stime, | |
e17f92ba MD |
50 | TP_PROTO(sc_exit(long ret,) time_t * tptr), |
51 | TP_ARGS(sc_exit(ret,) tptr), | |
b75d00c4 MD |
52 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(time_t *, tptr))), |
53 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(tptr, tptr))), | |
deeaaf53 MD |
54 | TP_printk() |
55 | ) | |
56 | #endif | |
644d6e9c MD |
57 | #ifndef OVERRIDE_32_rmdir |
58 | SC_TRACE_EVENT(rmdir, | |
e17f92ba MD |
59 | TP_PROTO(sc_exit(long ret,) const char * pathname), |
60 | TP_ARGS(sc_exit(ret,) pathname), | |
b75d00c4 MD |
61 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname))), |
62 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname))), | |
deeaaf53 MD |
63 | TP_printk() |
64 | ) | |
65 | #endif | |
644d6e9c MD |
66 | #ifndef OVERRIDE_32_pipe |
67 | SC_TRACE_EVENT(pipe, | |
e17f92ba MD |
68 | TP_PROTO(sc_exit(long ret,) int * fildes), |
69 | TP_ARGS(sc_exit(ret,) fildes), | |
b75d00c4 MD |
70 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(int *, fildes))), |
71 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(fildes, fildes))), | |
deeaaf53 MD |
72 | TP_printk() |
73 | ) | |
74 | #endif | |
644d6e9c MD |
75 | #ifndef OVERRIDE_32_times |
76 | SC_TRACE_EVENT(times, | |
e17f92ba MD |
77 | TP_PROTO(sc_exit(long ret,) struct tms * tbuf), |
78 | TP_ARGS(sc_exit(ret,) tbuf), | |
b75d00c4 MD |
79 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct tms *, tbuf))), |
80 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(tbuf, tbuf))), | |
deeaaf53 MD |
81 | TP_printk() |
82 | ) | |
83 | #endif | |
644d6e9c MD |
84 | #ifndef OVERRIDE_32_acct |
85 | SC_TRACE_EVENT(acct, | |
e17f92ba MD |
86 | TP_PROTO(sc_exit(long ret,) const char * name), |
87 | TP_ARGS(sc_exit(ret,) name), | |
b75d00c4 MD |
88 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name, name))), |
89 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(name, name))), | |
deeaaf53 MD |
90 | TP_printk() |
91 | ) | |
92 | #endif | |
644d6e9c MD |
93 | #ifndef OVERRIDE_32_olduname |
94 | SC_TRACE_EVENT(olduname, | |
e17f92ba MD |
95 | TP_PROTO(sc_exit(long ret,) struct oldold_utsname * name), |
96 | TP_ARGS(sc_exit(ret,) name), | |
b75d00c4 MD |
97 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct oldold_utsname *, name))), |
98 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(name, name))), | |
deeaaf53 MD |
99 | TP_printk() |
100 | ) | |
101 | #endif | |
644d6e9c MD |
102 | #ifndef OVERRIDE_32_chroot |
103 | SC_TRACE_EVENT(chroot, | |
e17f92ba MD |
104 | TP_PROTO(sc_exit(long ret,) const char * filename), |
105 | TP_ARGS(sc_exit(ret,) filename), | |
b75d00c4 MD |
106 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename))), |
107 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename))), | |
deeaaf53 MD |
108 | TP_printk() |
109 | ) | |
110 | #endif | |
644d6e9c MD |
111 | #ifndef OVERRIDE_32_sigpending |
112 | SC_TRACE_EVENT(sigpending, | |
e17f92ba MD |
113 | TP_PROTO(sc_exit(long ret,) old_sigset_t * set), |
114 | TP_ARGS(sc_exit(ret,) set), | |
b75d00c4 MD |
115 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(old_sigset_t *, set))), |
116 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(set, set))), | |
deeaaf53 MD |
117 | TP_printk() |
118 | ) | |
119 | #endif | |
644d6e9c MD |
120 | #ifndef OVERRIDE_32_old_select |
121 | SC_TRACE_EVENT(old_select, | |
e17f92ba MD |
122 | TP_PROTO(sc_exit(long ret,) struct sel_arg_struct * arg), |
123 | TP_ARGS(sc_exit(ret,) arg), | |
b75d00c4 MD |
124 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct sel_arg_struct *, arg))), |
125 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(arg, arg))), | |
deeaaf53 MD |
126 | TP_printk() |
127 | ) | |
128 | #endif | |
644d6e9c MD |
129 | #ifndef OVERRIDE_32_uselib |
130 | SC_TRACE_EVENT(uselib, | |
e17f92ba MD |
131 | TP_PROTO(sc_exit(long ret,) const char * library), |
132 | TP_ARGS(sc_exit(ret,) library), | |
b75d00c4 MD |
133 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(const char *, library))), |
134 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(library, library))), | |
deeaaf53 MD |
135 | TP_printk() |
136 | ) | |
137 | #endif | |
644d6e9c MD |
138 | #ifndef OVERRIDE_32_old_mmap |
139 | SC_TRACE_EVENT(old_mmap, | |
e17f92ba MD |
140 | TP_PROTO(sc_exit(long ret,) struct mmap_arg_struct * arg), |
141 | TP_ARGS(sc_exit(ret,) arg), | |
b75d00c4 MD |
142 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct mmap_arg_struct *, arg))), |
143 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(arg, arg))), | |
deeaaf53 MD |
144 | TP_printk() |
145 | ) | |
146 | #endif | |
644d6e9c MD |
147 | #ifndef OVERRIDE_32_uname |
148 | SC_TRACE_EVENT(uname, | |
e17f92ba MD |
149 | TP_PROTO(sc_exit(long ret,) struct old_utsname * name), |
150 | TP_ARGS(sc_exit(ret,) name), | |
b75d00c4 MD |
151 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct old_utsname *, name))), |
152 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(name, name))), | |
deeaaf53 MD |
153 | TP_printk() |
154 | ) | |
155 | #endif | |
644d6e9c MD |
156 | #ifndef OVERRIDE_32_swapoff |
157 | SC_TRACE_EVENT(swapoff, | |
e17f92ba MD |
158 | TP_PROTO(sc_exit(long ret,) const char * specialfile), |
159 | TP_ARGS(sc_exit(ret,) specialfile), | |
b75d00c4 MD |
160 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(specialfile, specialfile))), |
161 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(specialfile, specialfile))), | |
deeaaf53 MD |
162 | TP_printk() |
163 | ) | |
164 | #endif | |
644d6e9c MD |
165 | #ifndef OVERRIDE_32_sysinfo |
166 | SC_TRACE_EVENT(sysinfo, | |
e17f92ba MD |
167 | TP_PROTO(sc_exit(long ret,) struct sysinfo * info), |
168 | TP_ARGS(sc_exit(ret,) info), | |
b75d00c4 MD |
169 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct sysinfo *, info))), |
170 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(info, info))), | |
deeaaf53 MD |
171 | TP_printk() |
172 | ) | |
173 | #endif | |
644d6e9c MD |
174 | #ifndef OVERRIDE_32_newuname |
175 | SC_TRACE_EVENT(newuname, | |
e17f92ba MD |
176 | TP_PROTO(sc_exit(long ret,) struct new_utsname * name), |
177 | TP_ARGS(sc_exit(ret,) name), | |
b75d00c4 MD |
178 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct new_utsname *, name))), |
179 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(name, name))), | |
deeaaf53 MD |
180 | TP_printk() |
181 | ) | |
182 | #endif | |
644d6e9c MD |
183 | #ifndef OVERRIDE_32_adjtimex |
184 | SC_TRACE_EVENT(adjtimex, | |
e17f92ba MD |
185 | TP_PROTO(sc_exit(long ret,) struct timex * txc_p), |
186 | TP_ARGS(sc_exit(ret,) txc_p), | |
b75d00c4 MD |
187 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct timex *, txc_p))), |
188 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(txc_p, txc_p))), | |
deeaaf53 MD |
189 | TP_printk() |
190 | ) | |
191 | #endif | |
644d6e9c MD |
192 | #ifndef OVERRIDE_32_sysctl |
193 | SC_TRACE_EVENT(sysctl, | |
e17f92ba MD |
194 | TP_PROTO(sc_exit(long ret,) struct __sysctl_args * args), |
195 | TP_ARGS(sc_exit(ret,) args), | |
b75d00c4 MD |
196 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct __sysctl_args *, args))), |
197 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(args, args))), | |
deeaaf53 MD |
198 | TP_printk() |
199 | ) | |
200 | #endif | |
644d6e9c MD |
201 | #ifndef OVERRIDE_32_set_tid_address |
202 | SC_TRACE_EVENT(set_tid_address, | |
e17f92ba MD |
203 | TP_PROTO(sc_exit(long ret,) int * tidptr), |
204 | TP_ARGS(sc_exit(ret,) tidptr), | |
b75d00c4 MD |
205 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(int *, tidptr))), |
206 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(tidptr, tidptr))), | |
deeaaf53 MD |
207 | TP_printk() |
208 | ) | |
209 | #endif | |
644d6e9c MD |
210 | #ifndef OVERRIDE_32_mq_unlink |
211 | SC_TRACE_EVENT(mq_unlink, | |
e17f92ba MD |
212 | TP_PROTO(sc_exit(long ret,) const char * u_name), |
213 | TP_ARGS(sc_exit(ret,) u_name), | |
b75d00c4 MD |
214 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(u_name, u_name))), |
215 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(u_name, u_name))), | |
deeaaf53 MD |
216 | TP_printk() |
217 | ) | |
218 | #endif | |
644d6e9c MD |
219 | #ifndef OVERRIDE_32_creat |
220 | SC_TRACE_EVENT(creat, | |
e17f92ba MD |
221 | TP_PROTO(sc_exit(long ret,) const char * pathname, int mode), |
222 | TP_ARGS(sc_exit(ret,) pathname, mode), | |
b75d00c4 MD |
223 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(int, mode))), |
224 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_assign(mode, mode))), | |
deeaaf53 MD |
225 | TP_printk() |
226 | ) | |
227 | #endif | |
644d6e9c MD |
228 | #ifndef OVERRIDE_32_link |
229 | SC_TRACE_EVENT(link, | |
e17f92ba MD |
230 | TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), |
231 | TP_ARGS(sc_exit(ret,) oldname, newname), | |
b75d00c4 MD |
232 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__string_from_user(newname, newname))), |
233 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_copy_string_from_user(newname, newname))), | |
deeaaf53 MD |
234 | TP_printk() |
235 | ) | |
236 | #endif | |
644d6e9c MD |
237 | #ifndef OVERRIDE_32_chmod |
238 | SC_TRACE_EVENT(chmod, | |
e17f92ba MD |
239 | TP_PROTO(sc_exit(long ret,) const char * filename, mode_t mode), |
240 | TP_ARGS(sc_exit(ret,) filename, mode), | |
b75d00c4 MD |
241 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(mode_t, mode))), |
242 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode))), | |
deeaaf53 MD |
243 | TP_printk() |
244 | ) | |
245 | #endif | |
644d6e9c MD |
246 | #ifndef OVERRIDE_32_stat |
247 | SC_TRACE_EVENT(stat, | |
e17f92ba MD |
248 | TP_PROTO(sc_exit(long ret,) const char * filename, struct __old_kernel_stat * statbuf), |
249 | TP_ARGS(sc_exit(ret,) filename, statbuf), | |
b75d00c4 MD |
250 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(filename, filename)) sc_inout(__field_hex(struct __old_kernel_stat *, statbuf))), |
251 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_copy_string_from_user(filename, filename)) sc_inout(tp_assign(statbuf, statbuf))), | |
deeaaf53 MD |
252 | TP_printk() |
253 | ) | |
254 | #endif | |
644d6e9c MD |
255 | #ifndef OVERRIDE_32_fstat |
256 | SC_TRACE_EVENT(fstat, | |
e17f92ba MD |
257 | TP_PROTO(sc_exit(long ret,) unsigned int fd, struct __old_kernel_stat * statbuf), |
258 | TP_ARGS(sc_exit(ret,) fd, statbuf), | |
b75d00c4 MD |
259 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, fd)) sc_inout(__field_hex(struct __old_kernel_stat *, statbuf))), |
260 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(statbuf, statbuf))), | |
deeaaf53 MD |
261 | TP_printk() |
262 | ) | |
263 | #endif | |
644d6e9c MD |
264 | #ifndef OVERRIDE_32_utime |
265 | SC_TRACE_EVENT(utime, | |
e17f92ba MD |
266 | TP_PROTO(sc_exit(long ret,) char * filename, struct utimbuf * times), |
267 | TP_ARGS(sc_exit(ret,) filename, times), | |
b75d00c4 MD |
268 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct utimbuf *, times))), |
269 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(times, times))), | |
deeaaf53 MD |
270 | TP_printk() |
271 | ) | |
272 | #endif | |
644d6e9c MD |
273 | #ifndef OVERRIDE_32_access |
274 | SC_TRACE_EVENT(access, | |
e17f92ba MD |
275 | TP_PROTO(sc_exit(long ret,) const char * filename, int mode), |
276 | TP_ARGS(sc_exit(ret,) filename, mode), | |
b75d00c4 MD |
277 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, mode))), |
278 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode))), | |
deeaaf53 MD |
279 | TP_printk() |
280 | ) | |
281 | #endif | |
644d6e9c MD |
282 | #ifndef OVERRIDE_32_rename |
283 | SC_TRACE_EVENT(rename, | |
e17f92ba MD |
284 | TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), |
285 | TP_ARGS(sc_exit(ret,) oldname, newname), | |
b75d00c4 MD |
286 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__string_from_user(newname, newname))), |
287 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_copy_string_from_user(newname, newname))), | |
deeaaf53 MD |
288 | TP_printk() |
289 | ) | |
290 | #endif | |
644d6e9c MD |
291 | #ifndef OVERRIDE_32_mkdir |
292 | SC_TRACE_EVENT(mkdir, | |
e17f92ba MD |
293 | TP_PROTO(sc_exit(long ret,) const char * pathname, int mode), |
294 | TP_ARGS(sc_exit(ret,) pathname, mode), | |
b75d00c4 MD |
295 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(int, mode))), |
296 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_assign(mode, mode))), | |
deeaaf53 MD |
297 | TP_printk() |
298 | ) | |
299 | #endif | |
644d6e9c MD |
300 | #ifndef OVERRIDE_32_umount |
301 | SC_TRACE_EVENT(umount, | |
e17f92ba MD |
302 | TP_PROTO(sc_exit(long ret,) char * name, int flags), |
303 | TP_ARGS(sc_exit(ret,) name, flags), | |
b75d00c4 MD |
304 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name, name)) sc_in(__field(int, flags))), |
305 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(flags, flags))), | |
deeaaf53 MD |
306 | TP_printk() |
307 | ) | |
308 | #endif | |
644d6e9c MD |
309 | #ifndef OVERRIDE_32_ustat |
310 | SC_TRACE_EVENT(ustat, | |
e17f92ba MD |
311 | TP_PROTO(sc_exit(long ret,) unsigned dev, struct ustat * ubuf), |
312 | TP_ARGS(sc_exit(ret,) dev, ubuf), | |
b75d00c4 MD |
313 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned, dev)) sc_out(__field_hex(struct ustat *, ubuf))), |
314 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dev, dev)) sc_out(tp_assign(ubuf, ubuf))), | |
deeaaf53 MD |
315 | TP_printk() |
316 | ) | |
317 | #endif | |
644d6e9c MD |
318 | #ifndef OVERRIDE_32_sethostname |
319 | SC_TRACE_EVENT(sethostname, | |
e17f92ba MD |
320 | TP_PROTO(sc_exit(long ret,) char * name, int len), |
321 | TP_ARGS(sc_exit(ret,) name, len), | |
b75d00c4 MD |
322 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name, name)) sc_in(__field(int, len))), |
323 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(len, len))), | |
deeaaf53 MD |
324 | TP_printk() |
325 | ) | |
326 | #endif | |
644d6e9c MD |
327 | #ifndef OVERRIDE_32_setrlimit |
328 | SC_TRACE_EVENT(setrlimit, | |
e17f92ba MD |
329 | TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), |
330 | TP_ARGS(sc_exit(ret,) resource, rlim), | |
b75d00c4 MD |
331 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, resource)) sc_in(__field_hex(struct rlimit *, rlim))), |
332 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(resource, resource)) sc_in(tp_assign(rlim, rlim))), | |
deeaaf53 MD |
333 | TP_printk() |
334 | ) | |
335 | #endif | |
644d6e9c MD |
336 | #ifndef OVERRIDE_32_old_getrlimit |
337 | SC_TRACE_EVENT(old_getrlimit, | |
e17f92ba MD |
338 | TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), |
339 | TP_ARGS(sc_exit(ret,) resource, rlim), | |
b75d00c4 MD |
340 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, resource)) sc_inout(__field_hex(struct rlimit *, rlim))), |
341 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(resource, resource)) sc_inout(tp_assign(rlim, rlim))), | |
deeaaf53 MD |
342 | TP_printk() |
343 | ) | |
344 | #endif | |
644d6e9c MD |
345 | #ifndef OVERRIDE_32_getrusage |
346 | SC_TRACE_EVENT(getrusage, | |
e17f92ba MD |
347 | TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru), |
348 | TP_ARGS(sc_exit(ret,) who, ru), | |
b75d00c4 MD |
349 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, who)) sc_out(__field_hex(struct rusage *, ru))), |
350 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(who, who)) sc_out(tp_assign(ru, ru))), | |
deeaaf53 MD |
351 | TP_printk() |
352 | ) | |
353 | #endif | |
644d6e9c MD |
354 | #ifndef OVERRIDE_32_gettimeofday |
355 | SC_TRACE_EVENT(gettimeofday, | |
e17f92ba MD |
356 | TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), |
357 | TP_ARGS(sc_exit(ret,) tv, tz), | |
b75d00c4 MD |
358 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(struct timeval *, tv)) sc_out(__field_hex(struct timezone *, tz))), |
359 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(tv, tv)) sc_out(tp_assign(tz, tz))), | |
deeaaf53 MD |
360 | TP_printk() |
361 | ) | |
362 | #endif | |
644d6e9c MD |
363 | #ifndef OVERRIDE_32_settimeofday |
364 | SC_TRACE_EVENT(settimeofday, | |
e17f92ba MD |
365 | TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), |
366 | TP_ARGS(sc_exit(ret,) tv, tz), | |
b75d00c4 MD |
367 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct timeval *, tv)) sc_in(__field_hex(struct timezone *, tz))), |
368 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(tv, tv)) sc_in(tp_assign(tz, tz))), | |
deeaaf53 MD |
369 | TP_printk() |
370 | ) | |
371 | #endif | |
644d6e9c MD |
372 | #ifndef OVERRIDE_32_getgroups16 |
373 | SC_TRACE_EVENT(getgroups16, | |
e17f92ba MD |
374 | TP_PROTO(sc_exit(long ret,) int gidsetsize, old_gid_t * grouplist), |
375 | TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), | |
b75d00c4 MD |
376 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, gidsetsize)) sc_inout(__field_hex(old_gid_t *, grouplist))), |
377 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(gidsetsize, gidsetsize)) sc_inout(tp_assign(grouplist, grouplist))), | |
deeaaf53 MD |
378 | TP_printk() |
379 | ) | |
380 | #endif | |
644d6e9c MD |
381 | #ifndef OVERRIDE_32_setgroups16 |
382 | SC_TRACE_EVENT(setgroups16, | |
e17f92ba MD |
383 | TP_PROTO(sc_exit(long ret,) int gidsetsize, old_gid_t * grouplist), |
384 | TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), | |
b75d00c4 MD |
385 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, gidsetsize)) sc_inout(__field_hex(old_gid_t *, grouplist))), |
386 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(gidsetsize, gidsetsize)) sc_inout(tp_assign(grouplist, grouplist))), | |
deeaaf53 MD |
387 | TP_printk() |
388 | ) | |
389 | #endif | |
644d6e9c MD |
390 | #ifndef OVERRIDE_32_symlink |
391 | SC_TRACE_EVENT(symlink, | |
e17f92ba MD |
392 | TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), |
393 | TP_ARGS(sc_exit(ret,) oldname, newname), | |
b75d00c4 MD |
394 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__string_from_user(newname, newname))), |
395 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_copy_string_from_user(newname, newname))), | |
deeaaf53 MD |
396 | TP_printk() |
397 | ) | |
398 | #endif | |
644d6e9c MD |
399 | #ifndef OVERRIDE_32_lstat |
400 | SC_TRACE_EVENT(lstat, | |
e17f92ba MD |
401 | TP_PROTO(sc_exit(long ret,) const char * filename, struct __old_kernel_stat * statbuf), |
402 | TP_ARGS(sc_exit(ret,) filename, statbuf), | |
b75d00c4 MD |
403 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(filename, filename)) sc_inout(__field_hex(struct __old_kernel_stat *, statbuf))), |
404 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_copy_string_from_user(filename, filename)) sc_inout(tp_assign(statbuf, statbuf))), | |
deeaaf53 MD |
405 | TP_printk() |
406 | ) | |
407 | #endif | |
644d6e9c MD |
408 | #ifndef OVERRIDE_32_swapon |
409 | SC_TRACE_EVENT(swapon, | |
e17f92ba MD |
410 | TP_PROTO(sc_exit(long ret,) const char * specialfile, int swap_flags), |
411 | TP_ARGS(sc_exit(ret,) specialfile, swap_flags), | |
b75d00c4 MD |
412 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(specialfile, specialfile)) sc_in(__field(int, swap_flags))), |
413 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(specialfile, specialfile)) sc_in(tp_assign(swap_flags, swap_flags))), | |
deeaaf53 MD |
414 | TP_printk() |
415 | ) | |
416 | #endif | |
644d6e9c MD |
417 | #ifndef OVERRIDE_32_truncate |
418 | SC_TRACE_EVENT(truncate, | |
e17f92ba MD |
419 | TP_PROTO(sc_exit(long ret,) const char * path, long length), |
420 | TP_ARGS(sc_exit(ret,) path, length), | |
b75d00c4 MD |
421 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(path, path)) sc_in(__field(long, length))), |
422 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(path, path)) sc_in(tp_assign(length, length))), | |
deeaaf53 MD |
423 | TP_printk() |
424 | ) | |
425 | #endif | |
644d6e9c MD |
426 | #ifndef OVERRIDE_32_statfs |
427 | SC_TRACE_EVENT(statfs, | |
e17f92ba MD |
428 | TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf), |
429 | TP_ARGS(sc_exit(ret,) pathname, buf), | |
b75d00c4 MD |
430 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(struct statfs *, buf))), |
431 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_out(tp_assign(buf, buf))), | |
deeaaf53 MD |
432 | TP_printk() |
433 | ) | |
434 | #endif | |
644d6e9c MD |
435 | #ifndef OVERRIDE_32_fstatfs |
436 | SC_TRACE_EVENT(fstatfs, | |
e17f92ba MD |
437 | TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf), |
438 | TP_ARGS(sc_exit(ret,) fd, buf), | |
b75d00c4 MD |
439 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct statfs *, buf))), |
440 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(buf, buf))), | |
deeaaf53 MD |
441 | TP_printk() |
442 | ) | |
443 | #endif | |
644d6e9c MD |
444 | #ifndef OVERRIDE_32_socketcall |
445 | SC_TRACE_EVENT(socketcall, | |
e17f92ba MD |
446 | TP_PROTO(sc_exit(long ret,) int call, unsigned long * args), |
447 | TP_ARGS(sc_exit(ret,) call, args), | |
b75d00c4 MD |
448 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, call)) sc_inout(__field_hex(unsigned long *, args))), |
449 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(call, call)) sc_inout(tp_assign(args, args))), | |
deeaaf53 MD |
450 | TP_printk() |
451 | ) | |
452 | #endif | |
644d6e9c MD |
453 | #ifndef OVERRIDE_32_getitimer |
454 | SC_TRACE_EVENT(getitimer, | |
e17f92ba MD |
455 | TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value), |
456 | TP_ARGS(sc_exit(ret,) which, value), | |
b75d00c4 MD |
457 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_out(__field_hex(struct itimerval *, value))), |
458 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_out(tp_assign(value, value))), | |
deeaaf53 MD |
459 | TP_printk() |
460 | ) | |
461 | #endif | |
644d6e9c MD |
462 | #ifndef OVERRIDE_32_newstat |
463 | SC_TRACE_EVENT(newstat, | |
e17f92ba MD |
464 | TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), |
465 | TP_ARGS(sc_exit(ret,) filename, statbuf), | |
b75d00c4 MD |
466 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_out(__field_hex(struct stat *, statbuf))), |
467 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_out(tp_assign(statbuf, statbuf))), | |
deeaaf53 MD |
468 | TP_printk() |
469 | ) | |
470 | #endif | |
644d6e9c MD |
471 | #ifndef OVERRIDE_32_newlstat |
472 | SC_TRACE_EVENT(newlstat, | |
e17f92ba MD |
473 | TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), |
474 | TP_ARGS(sc_exit(ret,) filename, statbuf), | |
b75d00c4 MD |
475 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_out(__field_hex(struct stat *, statbuf))), |
476 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_out(tp_assign(statbuf, statbuf))), | |
deeaaf53 MD |
477 | TP_printk() |
478 | ) | |
479 | #endif | |
644d6e9c MD |
480 | #ifndef OVERRIDE_32_newfstat |
481 | SC_TRACE_EVENT(newfstat, | |
e17f92ba MD |
482 | TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf), |
483 | TP_ARGS(sc_exit(ret,) fd, statbuf), | |
b75d00c4 MD |
484 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct stat *, statbuf))), |
485 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(statbuf, statbuf))), | |
deeaaf53 MD |
486 | TP_printk() |
487 | ) | |
488 | #endif | |
644d6e9c MD |
489 | #ifndef OVERRIDE_32_setdomainname |
490 | SC_TRACE_EVENT(setdomainname, | |
e17f92ba MD |
491 | TP_PROTO(sc_exit(long ret,) char * name, int len), |
492 | TP_ARGS(sc_exit(ret,) name, len), | |
b75d00c4 MD |
493 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name, name)) sc_in(__field(int, len))), |
494 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(len, len))), | |
deeaaf53 MD |
495 | TP_printk() |
496 | ) | |
497 | #endif | |
644d6e9c MD |
498 | #ifndef OVERRIDE_32_delete_module |
499 | SC_TRACE_EVENT(delete_module, | |
e17f92ba MD |
500 | TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags), |
501 | TP_ARGS(sc_exit(ret,) name_user, flags), | |
b75d00c4 MD |
502 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(name_user, name_user)) sc_in(__field(unsigned int, flags))), |
503 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(name_user, name_user)) sc_in(tp_assign(flags, flags))), | |
deeaaf53 MD |
504 | TP_printk() |
505 | ) | |
506 | #endif | |
644d6e9c MD |
507 | #ifndef OVERRIDE_32_sched_setparam |
508 | SC_TRACE_EVENT(sched_setparam, | |
e17f92ba MD |
509 | TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), |
510 | TP_ARGS(sc_exit(ret,) pid, param), | |
b75d00c4 MD |
511 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field_hex(struct sched_param *, param))), |
512 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(param, param))), | |
deeaaf53 MD |
513 | TP_printk() |
514 | ) | |
515 | #endif | |
644d6e9c MD |
516 | #ifndef OVERRIDE_32_sched_getparam |
517 | SC_TRACE_EVENT(sched_getparam, | |
e17f92ba MD |
518 | TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), |
519 | TP_ARGS(sc_exit(ret,) pid, param), | |
b75d00c4 MD |
520 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_out(__field_hex(struct sched_param *, param))), |
521 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_out(tp_assign(param, param))), | |
deeaaf53 MD |
522 | TP_printk() |
523 | ) | |
524 | #endif | |
644d6e9c MD |
525 | #ifndef OVERRIDE_32_sched_rr_get_interval |
526 | SC_TRACE_EVENT(sched_rr_get_interval, | |
e17f92ba MD |
527 | TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval), |
528 | TP_ARGS(sc_exit(ret,) pid, interval), | |
b75d00c4 MD |
529 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_out(__field_hex(struct timespec *, interval))), |
530 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_out(tp_assign(interval, interval))), | |
deeaaf53 MD |
531 | TP_printk() |
532 | ) | |
533 | #endif | |
644d6e9c MD |
534 | #ifndef OVERRIDE_32_nanosleep |
535 | SC_TRACE_EVENT(nanosleep, | |
e17f92ba MD |
536 | TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp), |
537 | TP_ARGS(sc_exit(ret,) rqtp, rmtp), | |
b75d00c4 MD |
538 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct timespec *, rqtp)) sc_out(__field_hex(struct timespec *, rmtp))), |
539 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(rqtp, rqtp)) sc_out(tp_assign(rmtp, rmtp))), | |
deeaaf53 MD |
540 | TP_printk() |
541 | ) | |
542 | #endif | |
644d6e9c MD |
543 | #ifndef OVERRIDE_32_rt_sigpending |
544 | SC_TRACE_EVENT(rt_sigpending, | |
e17f92ba MD |
545 | TP_PROTO(sc_exit(long ret,) sigset_t * set, size_t sigsetsize), |
546 | TP_ARGS(sc_exit(ret,) set, sigsetsize), | |
b75d00c4 MD |
547 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(sigset_t *, set)) sc_in(__field(size_t, sigsetsize))), |
548 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(set, set)) sc_in(tp_assign(sigsetsize, sigsetsize))), | |
deeaaf53 MD |
549 | TP_printk() |
550 | ) | |
551 | #endif | |
644d6e9c MD |
552 | #ifndef OVERRIDE_32_rt_sigsuspend |
553 | SC_TRACE_EVENT(rt_sigsuspend, | |
e17f92ba MD |
554 | TP_PROTO(sc_exit(long ret,) sigset_t * unewset, size_t sigsetsize), |
555 | TP_ARGS(sc_exit(ret,) unewset, sigsetsize), | |
b75d00c4 MD |
556 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(sigset_t *, unewset)) sc_in(__field(size_t, sigsetsize))), |
557 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(unewset, unewset)) sc_in(tp_assign(sigsetsize, sigsetsize))), | |
deeaaf53 MD |
558 | TP_printk() |
559 | ) | |
560 | #endif | |
644d6e9c MD |
561 | #ifndef OVERRIDE_32_getcwd |
562 | SC_TRACE_EVENT(getcwd, | |
e17f92ba MD |
563 | TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size), |
564 | TP_ARGS(sc_exit(ret,) buf, size), | |
b75d00c4 MD |
565 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(char *, buf)) sc_in(__field(unsigned long, size))), |
566 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(size, size))), | |
deeaaf53 MD |
567 | TP_printk() |
568 | ) | |
569 | #endif | |
644d6e9c MD |
570 | #ifndef OVERRIDE_32_getrlimit |
571 | SC_TRACE_EVENT(getrlimit, | |
e17f92ba MD |
572 | TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), |
573 | TP_ARGS(sc_exit(ret,) resource, rlim), | |
b75d00c4 MD |
574 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, resource)) sc_out(__field_hex(struct rlimit *, rlim))), |
575 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(resource, resource)) sc_out(tp_assign(rlim, rlim))), | |
deeaaf53 MD |
576 | TP_printk() |
577 | ) | |
578 | #endif | |
644d6e9c MD |
579 | #ifndef OVERRIDE_32_stat64 |
580 | SC_TRACE_EVENT(stat64, | |
e17f92ba MD |
581 | TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), |
582 | TP_ARGS(sc_exit(ret,) filename, statbuf), | |
b75d00c4 MD |
583 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(filename, filename)) sc_inout(__field_hex(struct stat64 *, statbuf))), |
584 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_copy_string_from_user(filename, filename)) sc_inout(tp_assign(statbuf, statbuf))), | |
deeaaf53 MD |
585 | TP_printk() |
586 | ) | |
587 | #endif | |
644d6e9c MD |
588 | #ifndef OVERRIDE_32_lstat64 |
589 | SC_TRACE_EVENT(lstat64, | |
e17f92ba MD |
590 | TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), |
591 | TP_ARGS(sc_exit(ret,) filename, statbuf), | |
b75d00c4 MD |
592 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(filename, filename)) sc_inout(__field_hex(struct stat64 *, statbuf))), |
593 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_copy_string_from_user(filename, filename)) sc_inout(tp_assign(statbuf, statbuf))), | |
deeaaf53 MD |
594 | TP_printk() |
595 | ) | |
596 | #endif | |
644d6e9c MD |
597 | #ifndef OVERRIDE_32_fstat64 |
598 | SC_TRACE_EVENT(fstat64, | |
e17f92ba MD |
599 | TP_PROTO(sc_exit(long ret,) unsigned long fd, struct stat64 * statbuf), |
600 | TP_ARGS(sc_exit(ret,) fd, statbuf), | |
b75d00c4 MD |
601 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned long, fd)) sc_inout(__field_hex(struct stat64 *, statbuf))), |
602 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(statbuf, statbuf))), | |
deeaaf53 MD |
603 | TP_printk() |
604 | ) | |
605 | #endif | |
644d6e9c MD |
606 | #ifndef OVERRIDE_32_getgroups |
607 | SC_TRACE_EVENT(getgroups, | |
e17f92ba MD |
608 | TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), |
609 | TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), | |
b75d00c4 MD |
610 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, gidsetsize)) sc_out(__field_hex(gid_t *, grouplist))), |
611 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(gidsetsize, gidsetsize)) sc_out(tp_assign(grouplist, grouplist))), | |
deeaaf53 MD |
612 | TP_printk() |
613 | ) | |
614 | #endif | |
644d6e9c MD |
615 | #ifndef OVERRIDE_32_setgroups |
616 | SC_TRACE_EVENT(setgroups, | |
e17f92ba MD |
617 | TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), |
618 | TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), | |
b75d00c4 MD |
619 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, gidsetsize)) sc_in(__field_hex(gid_t *, grouplist))), |
620 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(gidsetsize, gidsetsize)) sc_in(tp_assign(grouplist, grouplist))), | |
deeaaf53 MD |
621 | TP_printk() |
622 | ) | |
623 | #endif | |
644d6e9c MD |
624 | #ifndef OVERRIDE_32_pivot_root |
625 | SC_TRACE_EVENT(pivot_root, | |
e17f92ba MD |
626 | TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old), |
627 | TP_ARGS(sc_exit(ret,) new_root, put_old), | |
b75d00c4 MD |
628 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(new_root, new_root)) sc_in(__string_from_user(put_old, put_old))), |
629 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(new_root, new_root)) sc_in(tp_copy_string_from_user(put_old, put_old))), | |
deeaaf53 MD |
630 | TP_printk() |
631 | ) | |
632 | #endif | |
644d6e9c MD |
633 | #ifndef OVERRIDE_32_removexattr |
634 | SC_TRACE_EVENT(removexattr, | |
e17f92ba MD |
635 | TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), |
636 | TP_ARGS(sc_exit(ret,) pathname, name), | |
b75d00c4 MD |
637 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name))), |
638 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name))), | |
deeaaf53 MD |
639 | TP_printk() |
640 | ) | |
641 | #endif | |
644d6e9c MD |
642 | #ifndef OVERRIDE_32_lremovexattr |
643 | SC_TRACE_EVENT(lremovexattr, | |
e17f92ba MD |
644 | TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), |
645 | TP_ARGS(sc_exit(ret,) pathname, name), | |
b75d00c4 MD |
646 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name))), |
647 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name))), | |
deeaaf53 MD |
648 | TP_printk() |
649 | ) | |
650 | #endif | |
644d6e9c MD |
651 | #ifndef OVERRIDE_32_fremovexattr |
652 | SC_TRACE_EVENT(fremovexattr, | |
e17f92ba MD |
653 | TP_PROTO(sc_exit(long ret,) int fd, const char * name), |
654 | TP_ARGS(sc_exit(ret,) fd, name), | |
b75d00c4 MD |
655 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(name, name))), |
656 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_copy_string_from_user(name, name))), | |
deeaaf53 MD |
657 | TP_printk() |
658 | ) | |
659 | #endif | |
644d6e9c MD |
660 | #ifndef OVERRIDE_32_io_setup |
661 | SC_TRACE_EVENT(io_setup, | |
e17f92ba MD |
662 | TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp), |
663 | TP_ARGS(sc_exit(ret,) nr_events, ctxp), | |
b75d00c4 MD |
664 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned, nr_events)) sc_in(__field_hex(aio_context_t *, ctxp))), |
665 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(nr_events, nr_events)) sc_in(tp_assign(ctxp, ctxp))), | |
deeaaf53 MD |
666 | TP_printk() |
667 | ) | |
668 | #endif | |
644d6e9c MD |
669 | #ifndef OVERRIDE_32_timer_gettime |
670 | SC_TRACE_EVENT(timer_gettime, | |
e17f92ba MD |
671 | TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting), |
672 | TP_ARGS(sc_exit(ret,) timer_id, setting), | |
b75d00c4 MD |
673 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(timer_t, timer_id)) sc_out(__field_hex(struct itimerspec *, setting))), |
674 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(timer_id, timer_id)) sc_out(tp_assign(setting, setting))), | |
deeaaf53 MD |
675 | TP_printk() |
676 | ) | |
677 | #endif | |
644d6e9c MD |
678 | #ifndef OVERRIDE_32_clock_settime |
679 | SC_TRACE_EVENT(clock_settime, | |
e17f92ba MD |
680 | TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp), |
681 | TP_ARGS(sc_exit(ret,) which_clock, tp), | |
b75d00c4 MD |
682 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_in(__field_hex(const struct timespec *, tp))), |
683 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_in(tp_assign(tp, tp))), | |
deeaaf53 MD |
684 | TP_printk() |
685 | ) | |
686 | #endif | |
644d6e9c MD |
687 | #ifndef OVERRIDE_32_clock_gettime |
688 | SC_TRACE_EVENT(clock_gettime, | |
e17f92ba MD |
689 | TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), |
690 | TP_ARGS(sc_exit(ret,) which_clock, tp), | |
b75d00c4 MD |
691 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_out(__field_hex(struct timespec *, tp))), |
692 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_out(tp_assign(tp, tp))), | |
deeaaf53 MD |
693 | TP_printk() |
694 | ) | |
695 | #endif | |
644d6e9c MD |
696 | #ifndef OVERRIDE_32_clock_getres |
697 | SC_TRACE_EVENT(clock_getres, | |
e17f92ba MD |
698 | TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), |
699 | TP_ARGS(sc_exit(ret,) which_clock, tp), | |
b75d00c4 MD |
700 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_out(__field_hex(struct timespec *, tp))), |
701 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_out(tp_assign(tp, tp))), | |
deeaaf53 MD |
702 | TP_printk() |
703 | ) | |
704 | #endif | |
644d6e9c MD |
705 | #ifndef OVERRIDE_32_utimes |
706 | SC_TRACE_EVENT(utimes, | |
e17f92ba MD |
707 | TP_PROTO(sc_exit(long ret,) char * filename, struct timeval * utimes), |
708 | TP_ARGS(sc_exit(ret,) filename, utimes), | |
b75d00c4 MD |
709 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct timeval *, utimes))), |
710 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(utimes, utimes))), | |
deeaaf53 MD |
711 | TP_printk() |
712 | ) | |
713 | #endif | |
644d6e9c MD |
714 | #ifndef OVERRIDE_32_mq_notify |
715 | SC_TRACE_EVENT(mq_notify, | |
e17f92ba MD |
716 | TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct sigevent * u_notification), |
717 | TP_ARGS(sc_exit(ret,) mqdes, u_notification), | |
b75d00c4 MD |
718 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(mqd_t, mqdes)) sc_in(__field_hex(const struct sigevent *, u_notification))), |
719 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(mqdes, mqdes)) sc_in(tp_assign(u_notification, u_notification))), | |
deeaaf53 MD |
720 | TP_printk() |
721 | ) | |
722 | #endif | |
644d6e9c MD |
723 | #ifndef OVERRIDE_32_set_robust_list |
724 | SC_TRACE_EVENT(set_robust_list, | |
e17f92ba MD |
725 | TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len), |
726 | TP_ARGS(sc_exit(ret,) head, len), | |
b75d00c4 MD |
727 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct robust_list_head *, head)) sc_in(__field(size_t, len))), |
728 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(head, head)) sc_in(tp_assign(len, len))), | |
deeaaf53 MD |
729 | TP_printk() |
730 | ) | |
731 | #endif | |
644d6e9c MD |
732 | #ifndef OVERRIDE_32_timerfd_gettime |
733 | SC_TRACE_EVENT(timerfd_gettime, | |
e17f92ba MD |
734 | TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr), |
735 | TP_ARGS(sc_exit(ret,) ufd, otmr), | |
b75d00c4 MD |
736 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_out(__field_hex(struct itimerspec *, otmr))), |
737 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ufd, ufd)) sc_out(tp_assign(otmr, otmr))), | |
deeaaf53 MD |
738 | TP_printk() |
739 | ) | |
740 | #endif | |
644d6e9c MD |
741 | #ifndef OVERRIDE_32_pipe2 |
742 | SC_TRACE_EVENT(pipe2, | |
e17f92ba MD |
743 | TP_PROTO(sc_exit(long ret,) int * fildes, int flags), |
744 | TP_ARGS(sc_exit(ret,) fildes, flags), | |
b75d00c4 MD |
745 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(int *, fildes)) sc_in(__field(int, flags))), |
746 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(fildes, fildes)) sc_in(tp_assign(flags, flags))), | |
deeaaf53 MD |
747 | TP_printk() |
748 | ) | |
749 | #endif | |
644d6e9c MD |
750 | #ifndef OVERRIDE_32_clock_adjtime |
751 | SC_TRACE_EVENT(clock_adjtime, | |
e17f92ba MD |
752 | TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx), |
753 | TP_ARGS(sc_exit(ret,) which_clock, utx), | |
b75d00c4 MD |
754 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_inout(__field_hex(struct timex *, utx))), |
755 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_inout(tp_assign(utx, utx))), | |
deeaaf53 MD |
756 | TP_printk() |
757 | ) | |
758 | #endif | |
644d6e9c MD |
759 | #ifndef OVERRIDE_32_read |
760 | SC_TRACE_EVENT(read, | |
e17f92ba MD |
761 | TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count), |
762 | TP_ARGS(sc_exit(ret,) fd, buf, count), | |
b75d00c4 MD |
763 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(char *, buf)) sc_in(__field(size_t, count))), |
764 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(count, count))), | |
deeaaf53 MD |
765 | TP_printk() |
766 | ) | |
767 | #endif | |
644d6e9c MD |
768 | #ifndef OVERRIDE_32_write |
769 | SC_TRACE_EVENT(write, | |
e17f92ba MD |
770 | TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count), |
771 | TP_ARGS(sc_exit(ret,) fd, buf, count), | |
b75d00c4 MD |
772 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_in(__field_hex(const char *, buf)) sc_in(__field(size_t, count))), |
773 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(buf, buf)) sc_in(tp_assign(count, count))), | |
deeaaf53 MD |
774 | TP_printk() |
775 | ) | |
776 | #endif | |
644d6e9c MD |
777 | #ifndef OVERRIDE_32_open |
778 | SC_TRACE_EVENT(open, | |
e17f92ba MD |
779 | TP_PROTO(sc_exit(long ret,) const char * filename, int flags, int mode), |
780 | TP_ARGS(sc_exit(ret,) filename, flags, mode), | |
b75d00c4 MD |
781 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, flags)) sc_in(__field(int, mode))), |
782 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(mode, mode))), | |
deeaaf53 MD |
783 | TP_printk() |
784 | ) | |
785 | #endif | |
644d6e9c MD |
786 | #ifndef OVERRIDE_32_waitpid |
787 | SC_TRACE_EVENT(waitpid, | |
e17f92ba MD |
788 | TP_PROTO(sc_exit(long ret,) pid_t pid, int * stat_addr, int options), |
789 | TP_ARGS(sc_exit(ret,) pid, stat_addr, options), | |
b75d00c4 MD |
790 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(pid_t, pid)) sc_inout(__field_hex(int *, stat_addr)) sc_inout(__field(int, options))), |
791 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(pid, pid)) sc_inout(tp_assign(stat_addr, stat_addr)) sc_inout(tp_assign(options, options))), | |
deeaaf53 MD |
792 | TP_printk() |
793 | ) | |
794 | #endif | |
644d6e9c MD |
795 | #ifndef OVERRIDE_32_mknod |
796 | SC_TRACE_EVENT(mknod, | |
e17f92ba MD |
797 | TP_PROTO(sc_exit(long ret,) const char * filename, int mode, unsigned dev), |
798 | TP_ARGS(sc_exit(ret,) filename, mode, dev), | |
b75d00c4 MD |
799 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, mode)) sc_in(__field(unsigned, dev))), |
800 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode)) sc_in(tp_assign(dev, dev))), | |
deeaaf53 MD |
801 | TP_printk() |
802 | ) | |
803 | #endif | |
644d6e9c MD |
804 | #ifndef OVERRIDE_32_lchown16 |
805 | SC_TRACE_EVENT(lchown16, | |
e17f92ba MD |
806 | TP_PROTO(sc_exit(long ret,) const char * filename, old_uid_t user, old_gid_t group), |
807 | TP_ARGS(sc_exit(ret,) filename, user, group), | |
b75d00c4 MD |
808 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(filename, filename)) sc_inout(__field(old_uid_t, user)) sc_inout(__field(old_gid_t, group))), |
809 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_copy_string_from_user(filename, filename)) sc_inout(tp_assign(user, user)) sc_inout(tp_assign(group, group))), | |
deeaaf53 MD |
810 | TP_printk() |
811 | ) | |
812 | #endif | |
644d6e9c MD |
813 | #ifndef OVERRIDE_32_readlink |
814 | SC_TRACE_EVENT(readlink, | |
e17f92ba MD |
815 | TP_PROTO(sc_exit(long ret,) const char * path, char * buf, int bufsiz), |
816 | TP_ARGS(sc_exit(ret,) path, buf, bufsiz), | |
b75d00c4 MD |
817 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(path, path)) sc_out(__field_hex(char *, buf)) sc_in(__field(int, bufsiz))), |
818 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(path, path)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(bufsiz, bufsiz))), | |
deeaaf53 MD |
819 | TP_printk() |
820 | ) | |
821 | #endif | |
644d6e9c MD |
822 | #ifndef OVERRIDE_32_old_readdir |
823 | SC_TRACE_EVENT(old_readdir, | |
e17f92ba MD |
824 | TP_PROTO(sc_exit(long ret,) unsigned int fd, struct old_linux_dirent * dirent, unsigned int count), |
825 | TP_ARGS(sc_exit(ret,) fd, dirent, count), | |
b75d00c4 MD |
826 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, fd)) sc_inout(__field_hex(struct old_linux_dirent *, dirent)) sc_inout(__field(unsigned int, count))), |
827 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(dirent, dirent)) sc_inout(tp_assign(count, count))), | |
deeaaf53 MD |
828 | TP_printk() |
829 | ) | |
830 | #endif | |
644d6e9c MD |
831 | #ifndef OVERRIDE_32_syslog |
832 | SC_TRACE_EVENT(syslog, | |
e17f92ba MD |
833 | TP_PROTO(sc_exit(long ret,) int type, char * buf, int len), |
834 | TP_ARGS(sc_exit(ret,) type, buf, len), | |
b75d00c4 MD |
835 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, type)) sc_out(__field_hex(char *, buf)) sc_in(__field(int, len))), |
836 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(type, type)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(len, len))), | |
deeaaf53 MD |
837 | TP_printk() |
838 | ) | |
839 | #endif | |
644d6e9c MD |
840 | #ifndef OVERRIDE_32_setitimer |
841 | SC_TRACE_EVENT(setitimer, | |
e17f92ba MD |
842 | TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue), |
843 | TP_ARGS(sc_exit(ret,) which, value, ovalue), | |
b75d00c4 MD |
844 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field_hex(struct itimerval *, value)) sc_out(__field_hex(struct itimerval *, ovalue))), |
845 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(value, value)) sc_out(tp_assign(ovalue, ovalue))), | |
deeaaf53 MD |
846 | TP_printk() |
847 | ) | |
848 | #endif | |
644d6e9c MD |
849 | #ifndef OVERRIDE_32_sigprocmask |
850 | SC_TRACE_EVENT(sigprocmask, | |
e17f92ba MD |
851 | TP_PROTO(sc_exit(long ret,) int how, old_sigset_t * nset, old_sigset_t * oset), |
852 | TP_ARGS(sc_exit(ret,) how, nset, oset), | |
b75d00c4 MD |
853 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, how)) sc_inout(__field_hex(old_sigset_t *, nset)) sc_inout(__field_hex(old_sigset_t *, oset))), |
854 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(how, how)) sc_inout(tp_assign(nset, nset)) sc_inout(tp_assign(oset, oset))), | |
deeaaf53 MD |
855 | TP_printk() |
856 | ) | |
857 | #endif | |
644d6e9c MD |
858 | #ifndef OVERRIDE_32_init_module |
859 | SC_TRACE_EVENT(init_module, | |
e17f92ba MD |
860 | TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs), |
861 | TP_ARGS(sc_exit(ret,) umod, len, uargs), | |
b75d00c4 MD |
862 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(void *, umod)) sc_in(__field(unsigned long, len)) sc_in(__field_hex(const char *, uargs))), |
863 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(umod, umod)) sc_in(tp_assign(len, len)) sc_in(tp_assign(uargs, uargs))), | |
deeaaf53 MD |
864 | TP_printk() |
865 | ) | |
866 | #endif | |
644d6e9c MD |
867 | #ifndef OVERRIDE_32_getdents |
868 | SC_TRACE_EVENT(getdents, | |
e17f92ba MD |
869 | TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent * dirent, unsigned int count), |
870 | TP_ARGS(sc_exit(ret,) fd, dirent, count), | |
b75d00c4 MD |
871 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct linux_dirent *, dirent)) sc_in(__field(unsigned int, count))), |
872 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(dirent, dirent)) sc_in(tp_assign(count, count))), | |
deeaaf53 MD |
873 | TP_printk() |
874 | ) | |
875 | #endif | |
644d6e9c MD |
876 | #ifndef OVERRIDE_32_readv |
877 | SC_TRACE_EVENT(readv, | |
e17f92ba MD |
878 | TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), |
879 | TP_ARGS(sc_exit(ret,) fd, vec, vlen), | |
b75d00c4 MD |
880 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_inout(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen))), |
881 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_inout(tp_assign(vec, vec)) sc_in(tp_assign(vlen, vlen))), | |
deeaaf53 MD |
882 | TP_printk() |
883 | ) | |
884 | #endif | |
644d6e9c MD |
885 | #ifndef OVERRIDE_32_writev |
886 | SC_TRACE_EVENT(writev, | |
e17f92ba MD |
887 | TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), |
888 | TP_ARGS(sc_exit(ret,) fd, vec, vlen), | |
b75d00c4 MD |
889 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_inout(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen))), |
890 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_inout(tp_assign(vec, vec)) sc_in(tp_assign(vlen, vlen))), | |
deeaaf53 MD |
891 | TP_printk() |
892 | ) | |
893 | #endif | |
644d6e9c MD |
894 | #ifndef OVERRIDE_32_sched_setscheduler |
895 | SC_TRACE_EVENT(sched_setscheduler, | |
e17f92ba MD |
896 | TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param), |
897 | TP_ARGS(sc_exit(ret,) pid, policy, param), | |
b75d00c4 MD |
898 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, policy)) sc_in(__field_hex(struct sched_param *, param))), |
899 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(policy, policy)) sc_in(tp_assign(param, param))), | |
deeaaf53 MD |
900 | TP_printk() |
901 | ) | |
902 | #endif | |
644d6e9c MD |
903 | #ifndef OVERRIDE_32_getresuid16 |
904 | SC_TRACE_EVENT(getresuid16, | |
e17f92ba MD |
905 | TP_PROTO(sc_exit(long ret,) old_uid_t * ruid, old_uid_t * euid, old_uid_t * suid), |
906 | TP_ARGS(sc_exit(ret,) ruid, euid, suid), | |
b75d00c4 MD |
907 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(old_uid_t *, ruid)) sc_inout(__field_hex(old_uid_t *, euid)) sc_inout(__field_hex(old_uid_t *, suid))), |
908 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(ruid, ruid)) sc_inout(tp_assign(euid, euid)) sc_inout(tp_assign(suid, suid))), | |
deeaaf53 MD |
909 | TP_printk() |
910 | ) | |
911 | #endif | |
644d6e9c MD |
912 | #ifndef OVERRIDE_32_poll |
913 | SC_TRACE_EVENT(poll, | |
e17f92ba MD |
914 | TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, long timeout_msecs), |
915 | TP_ARGS(sc_exit(ret,) ufds, nfds, timeout_msecs), | |
b75d00c4 MD |
916 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct pollfd *, ufds)) sc_in(__field(unsigned int, nfds)) sc_in(__field(long, timeout_msecs))), |
917 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(ufds, ufds)) sc_in(tp_assign(nfds, nfds)) sc_in(tp_assign(timeout_msecs, timeout_msecs))), | |
deeaaf53 MD |
918 | TP_printk() |
919 | ) | |
920 | #endif | |
644d6e9c MD |
921 | #ifndef OVERRIDE_32_getresgid16 |
922 | SC_TRACE_EVENT(getresgid16, | |
e17f92ba MD |
923 | TP_PROTO(sc_exit(long ret,) old_gid_t * rgid, old_gid_t * egid, old_gid_t * sgid), |
924 | TP_ARGS(sc_exit(ret,) rgid, egid, sgid), | |
b75d00c4 MD |
925 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(old_gid_t *, rgid)) sc_inout(__field_hex(old_gid_t *, egid)) sc_inout(__field_hex(old_gid_t *, sgid))), |
926 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(rgid, rgid)) sc_inout(tp_assign(egid, egid)) sc_inout(tp_assign(sgid, sgid))), | |
deeaaf53 MD |
927 | TP_printk() |
928 | ) | |
929 | #endif | |
644d6e9c MD |
930 | #ifndef OVERRIDE_32_rt_sigqueueinfo |
931 | SC_TRACE_EVENT(rt_sigqueueinfo, | |
e17f92ba MD |
932 | TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo), |
933 | TP_ARGS(sc_exit(ret,) pid, sig, uinfo), | |
b75d00c4 MD |
934 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig)) sc_in(__field_hex(siginfo_t *, uinfo))), |
935 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(sig, sig)) sc_in(tp_assign(uinfo, uinfo))), | |
deeaaf53 MD |
936 | TP_printk() |
937 | ) | |
938 | #endif | |
644d6e9c MD |
939 | #ifndef OVERRIDE_32_chown16 |
940 | SC_TRACE_EVENT(chown16, | |
e17f92ba MD |
941 | TP_PROTO(sc_exit(long ret,) const char * filename, old_uid_t user, old_gid_t group), |
942 | TP_ARGS(sc_exit(ret,) filename, user, group), | |
b75d00c4 MD |
943 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(filename, filename)) sc_inout(__field(old_uid_t, user)) sc_inout(__field(old_gid_t, group))), |
944 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_copy_string_from_user(filename, filename)) sc_inout(tp_assign(user, user)) sc_inout(tp_assign(group, group))), | |
deeaaf53 MD |
945 | TP_printk() |
946 | ) | |
947 | #endif | |
644d6e9c MD |
948 | #ifndef OVERRIDE_32_lchown |
949 | SC_TRACE_EVENT(lchown, | |
e17f92ba MD |
950 | TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), |
951 | TP_ARGS(sc_exit(ret,) filename, user, group), | |
b75d00c4 MD |
952 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group))), |
953 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(user, user)) sc_in(tp_assign(group, group))), | |
deeaaf53 MD |
954 | TP_printk() |
955 | ) | |
956 | #endif | |
644d6e9c MD |
957 | #ifndef OVERRIDE_32_getresuid |
958 | SC_TRACE_EVENT(getresuid, | |
e17f92ba MD |
959 | TP_PROTO(sc_exit(long ret,) uid_t * ruid, uid_t * euid, uid_t * suid), |
960 | TP_ARGS(sc_exit(ret,) ruid, euid, suid), | |
b75d00c4 MD |
961 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(uid_t *, ruid)) sc_out(__field_hex(uid_t *, euid)) sc_out(__field_hex(uid_t *, suid))), |
962 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(ruid, ruid)) sc_out(tp_assign(euid, euid)) sc_out(tp_assign(suid, suid))), | |
deeaaf53 MD |
963 | TP_printk() |
964 | ) | |
965 | #endif | |
644d6e9c MD |
966 | #ifndef OVERRIDE_32_getresgid |
967 | SC_TRACE_EVENT(getresgid, | |
e17f92ba MD |
968 | TP_PROTO(sc_exit(long ret,) gid_t * rgid, gid_t * egid, gid_t * sgid), |
969 | TP_ARGS(sc_exit(ret,) rgid, egid, sgid), | |
b75d00c4 MD |
970 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(gid_t *, rgid)) sc_out(__field_hex(gid_t *, egid)) sc_out(__field_hex(gid_t *, sgid))), |
971 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(rgid, rgid)) sc_out(tp_assign(egid, egid)) sc_out(tp_assign(sgid, sgid))), | |
deeaaf53 MD |
972 | TP_printk() |
973 | ) | |
974 | #endif | |
644d6e9c MD |
975 | #ifndef OVERRIDE_32_chown |
976 | SC_TRACE_EVENT(chown, | |
e17f92ba MD |
977 | TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), |
978 | TP_ARGS(sc_exit(ret,) filename, user, group), | |
b75d00c4 MD |
979 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(filename, filename)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group))), |
980 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(user, user)) sc_in(tp_assign(group, group))), | |
deeaaf53 MD |
981 | TP_printk() |
982 | ) | |
983 | #endif | |
644d6e9c MD |
984 | #ifndef OVERRIDE_32_mincore |
985 | SC_TRACE_EVENT(mincore, | |
e17f92ba MD |
986 | TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec), |
987 | TP_ARGS(sc_exit(ret,) start, len, vec), | |
b75d00c4 MD |
988 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, start)) sc_in(__field(size_t, len)) sc_out(__field_hex(unsigned char *, vec))), |
989 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(start, start)) sc_in(tp_assign(len, len)) sc_out(tp_assign(vec, vec))), | |
deeaaf53 MD |
990 | TP_printk() |
991 | ) | |
992 | #endif | |
644d6e9c MD |
993 | #ifndef OVERRIDE_32_getdents64 |
994 | SC_TRACE_EVENT(getdents64, | |
e17f92ba MD |
995 | TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), |
996 | TP_ARGS(sc_exit(ret,) fd, dirent, count), | |
b75d00c4 MD |
997 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, fd)) sc_out(__field_hex(struct linux_dirent64 *, dirent)) sc_in(__field(unsigned int, count))), |
998 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(dirent, dirent)) sc_in(tp_assign(count, count))), | |
deeaaf53 MD |
999 | TP_printk() |
1000 | ) | |
1001 | #endif | |
644d6e9c MD |
1002 | #ifndef OVERRIDE_32_listxattr |
1003 | SC_TRACE_EVENT(listxattr, | |
e17f92ba MD |
1004 | TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), |
1005 | TP_ARGS(sc_exit(ret,) pathname, list, size), | |
b75d00c4 MD |
1006 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(char *, list)) sc_in(__field(size_t, size))), |
1007 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_out(tp_assign(list, list)) sc_in(tp_assign(size, size))), | |
deeaaf53 MD |
1008 | TP_printk() |
1009 | ) | |
1010 | #endif | |
644d6e9c MD |
1011 | #ifndef OVERRIDE_32_llistxattr |
1012 | SC_TRACE_EVENT(llistxattr, | |
e17f92ba MD |
1013 | TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), |
1014 | TP_ARGS(sc_exit(ret,) pathname, list, size), | |
b75d00c4 MD |
1015 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(char *, list)) sc_in(__field(size_t, size))), |
1016 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_out(tp_assign(list, list)) sc_in(tp_assign(size, size))), | |
deeaaf53 MD |
1017 | TP_printk() |
1018 | ) | |
1019 | #endif | |
644d6e9c MD |
1020 | #ifndef OVERRIDE_32_flistxattr |
1021 | SC_TRACE_EVENT(flistxattr, | |
e17f92ba MD |
1022 | TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size), |
1023 | TP_ARGS(sc_exit(ret,) fd, list, size), | |
b75d00c4 MD |
1024 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(char *, list)) sc_in(__field(size_t, size))), |
1025 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(list, list)) sc_in(tp_assign(size, size))), | |
deeaaf53 MD |
1026 | TP_printk() |
1027 | ) | |
1028 | #endif | |
644d6e9c MD |
1029 | #ifndef OVERRIDE_32_sched_setaffinity |
1030 | SC_TRACE_EVENT(sched_setaffinity, | |
e17f92ba MD |
1031 | TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), |
1032 | TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), | |
b75d00c4 MD |
1033 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(unsigned int, len)) sc_in(__field_hex(unsigned long *, user_mask_ptr))), |
1034 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(len, len)) sc_in(tp_assign(user_mask_ptr, user_mask_ptr))), | |
deeaaf53 MD |
1035 | TP_printk() |
1036 | ) | |
1037 | #endif | |
644d6e9c MD |
1038 | #ifndef OVERRIDE_32_sched_getaffinity |
1039 | SC_TRACE_EVENT(sched_getaffinity, | |
e17f92ba MD |
1040 | TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int len, unsigned long * user_mask_ptr), |
1041 | TP_ARGS(sc_exit(ret,) pid, len, user_mask_ptr), | |
b75d00c4 MD |
1042 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(unsigned int, len)) sc_out(__field_hex(unsigned long *, user_mask_ptr))), |
1043 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(len, len)) sc_out(tp_assign(user_mask_ptr, user_mask_ptr))), | |
deeaaf53 MD |
1044 | TP_printk() |
1045 | ) | |
1046 | #endif | |
644d6e9c MD |
1047 | #ifndef OVERRIDE_32_io_submit |
1048 | SC_TRACE_EVENT(io_submit, | |
e17f92ba MD |
1049 | TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp), |
1050 | TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp), | |
b75d00c4 MD |
1051 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx_id)) sc_in(__field(long, nr)) sc_in(__field_hex(struct iocb * *, iocbpp))), |
1052 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ctx_id, ctx_id)) sc_in(tp_assign(nr, nr)) sc_in(tp_assign(iocbpp, iocbpp))), | |
deeaaf53 MD |
1053 | TP_printk() |
1054 | ) | |
1055 | #endif | |
644d6e9c MD |
1056 | #ifndef OVERRIDE_32_io_cancel |
1057 | SC_TRACE_EVENT(io_cancel, | |
e17f92ba MD |
1058 | TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), |
1059 | TP_ARGS(sc_exit(ret,) ctx_id, iocb, result), | |
b75d00c4 MD |
1060 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx_id)) sc_in(__field_hex(struct iocb *, iocb)) sc_out(__field_hex(struct io_event *, result))), |
1061 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ctx_id, ctx_id)) sc_in(tp_assign(iocb, iocb)) sc_out(tp_assign(result, result))), | |
deeaaf53 MD |
1062 | TP_printk() |
1063 | ) | |
1064 | #endif | |
644d6e9c MD |
1065 | #ifndef OVERRIDE_32_timer_create |
1066 | SC_TRACE_EVENT(timer_create, | |
e17f92ba MD |
1067 | TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), |
1068 | TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id), | |
b75d00c4 MD |
1069 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_in(__field_hex(struct sigevent *, timer_event_spec)) sc_out(__field_hex(timer_t *, created_timer_id))), |
1070 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_in(tp_assign(timer_event_spec, timer_event_spec)) sc_out(tp_assign(created_timer_id, created_timer_id))), | |
deeaaf53 MD |
1071 | TP_printk() |
1072 | ) | |
1073 | #endif | |
644d6e9c MD |
1074 | #ifndef OVERRIDE_32_statfs64 |
1075 | SC_TRACE_EVENT(statfs64, | |
e17f92ba MD |
1076 | TP_PROTO(sc_exit(long ret,) const char * pathname, size_t sz, struct statfs64 * buf), |
1077 | TP_ARGS(sc_exit(ret,) pathname, sz, buf), | |
b75d00c4 MD |
1078 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__string_from_user(pathname, pathname)) sc_inout(__field(size_t, sz)) sc_inout(__field_hex(struct statfs64 *, buf))), |
1079 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_copy_string_from_user(pathname, pathname)) sc_inout(tp_assign(sz, sz)) sc_inout(tp_assign(buf, buf))), | |
deeaaf53 MD |
1080 | TP_printk() |
1081 | ) | |
1082 | #endif | |
644d6e9c MD |
1083 | #ifndef OVERRIDE_32_fstatfs64 |
1084 | SC_TRACE_EVENT(fstatfs64, | |
e17f92ba MD |
1085 | TP_PROTO(sc_exit(long ret,) unsigned int fd, size_t sz, struct statfs64 * buf), |
1086 | TP_ARGS(sc_exit(ret,) fd, sz, buf), | |
b75d00c4 MD |
1087 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, fd)) sc_inout(__field(size_t, sz)) sc_inout(__field_hex(struct statfs64 *, buf))), |
1088 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(sz, sz)) sc_inout(tp_assign(buf, buf))), | |
deeaaf53 MD |
1089 | TP_printk() |
1090 | ) | |
1091 | #endif | |
644d6e9c MD |
1092 | #ifndef OVERRIDE_32_mq_getsetattr |
1093 | SC_TRACE_EVENT(mq_getsetattr, | |
e17f92ba MD |
1094 | TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const struct mq_attr * u_mqstat, struct mq_attr * u_omqstat), |
1095 | TP_ARGS(sc_exit(ret,) mqdes, u_mqstat, u_omqstat), | |
b75d00c4 MD |
1096 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(mqd_t, mqdes)) sc_in(__field_hex(const struct mq_attr *, u_mqstat)) sc_out(__field_hex(struct mq_attr *, u_omqstat))), |
1097 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(mqdes, mqdes)) sc_in(tp_assign(u_mqstat, u_mqstat)) sc_out(tp_assign(u_omqstat, u_omqstat))), | |
deeaaf53 MD |
1098 | TP_printk() |
1099 | ) | |
1100 | #endif | |
644d6e9c MD |
1101 | #ifndef OVERRIDE_32_inotify_add_watch |
1102 | SC_TRACE_EVENT(inotify_add_watch, | |
e17f92ba MD |
1103 | TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask), |
1104 | TP_ARGS(sc_exit(ret,) fd, pathname, mask), | |
b75d00c4 MD |
1105 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(u32, mask))), |
1106 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_assign(mask, mask))), | |
deeaaf53 MD |
1107 | TP_printk() |
1108 | ) | |
1109 | #endif | |
644d6e9c MD |
1110 | #ifndef OVERRIDE_32_mkdirat |
1111 | SC_TRACE_EVENT(mkdirat, | |
e17f92ba MD |
1112 | TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int mode), |
1113 | TP_ARGS(sc_exit(ret,) dfd, pathname, mode), | |
b75d00c4 MD |
1114 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(int, mode))), |
1115 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_assign(mode, mode))), | |
deeaaf53 MD |
1116 | TP_printk() |
1117 | ) | |
1118 | #endif | |
644d6e9c MD |
1119 | #ifndef OVERRIDE_32_futimesat |
1120 | SC_TRACE_EVENT(futimesat, | |
e17f92ba MD |
1121 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timeval * utimes), |
1122 | TP_ARGS(sc_exit(ret,) dfd, filename, utimes), | |
b75d00c4 MD |
1123 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct timeval *, utimes))), |
1124 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(utimes, utimes))), | |
deeaaf53 MD |
1125 | TP_printk() |
1126 | ) | |
1127 | #endif | |
644d6e9c MD |
1128 | #ifndef OVERRIDE_32_unlinkat |
1129 | SC_TRACE_EVENT(unlinkat, | |
e17f92ba MD |
1130 | TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag), |
1131 | TP_ARGS(sc_exit(ret,) dfd, pathname, flag), | |
b75d00c4 MD |
1132 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(pathname, pathname)) sc_in(__field(int, flag))), |
1133 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_assign(flag, flag))), | |
deeaaf53 MD |
1134 | TP_printk() |
1135 | ) | |
1136 | #endif | |
644d6e9c MD |
1137 | #ifndef OVERRIDE_32_symlinkat |
1138 | SC_TRACE_EVENT(symlinkat, | |
e17f92ba MD |
1139 | TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname), |
1140 | TP_ARGS(sc_exit(ret,) oldname, newdfd, newname), | |
b75d00c4 MD |
1141 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(oldname, oldname)) sc_in(__field(int, newdfd)) sc_in(__string_from_user(newname, newname))), |
1142 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_assign(newdfd, newdfd)) sc_in(tp_copy_string_from_user(newname, newname))), | |
deeaaf53 MD |
1143 | TP_printk() |
1144 | ) | |
1145 | #endif | |
644d6e9c MD |
1146 | #ifndef OVERRIDE_32_fchmodat |
1147 | SC_TRACE_EVENT(fchmodat, | |
e17f92ba MD |
1148 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, mode_t mode), |
1149 | TP_ARGS(sc_exit(ret,) dfd, filename, mode), | |
b75d00c4 MD |
1150 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(mode_t, mode))), |
1151 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode))), | |
deeaaf53 MD |
1152 | TP_printk() |
1153 | ) | |
1154 | #endif | |
644d6e9c MD |
1155 | #ifndef OVERRIDE_32_faccessat |
1156 | SC_TRACE_EVENT(faccessat, | |
e17f92ba MD |
1157 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode), |
1158 | TP_ARGS(sc_exit(ret,) dfd, filename, mode), | |
b75d00c4 MD |
1159 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, mode))), |
1160 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode))), | |
deeaaf53 MD |
1161 | TP_printk() |
1162 | ) | |
1163 | #endif | |
644d6e9c MD |
1164 | #ifndef OVERRIDE_32_get_robust_list |
1165 | SC_TRACE_EVENT(get_robust_list, | |
e17f92ba MD |
1166 | TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), |
1167 | TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr), | |
b75d00c4 MD |
1168 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, pid)) sc_out(__field_hex(struct robust_list_head * *, head_ptr)) sc_out(__field_hex(size_t *, len_ptr))), |
1169 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_out(tp_assign(head_ptr, head_ptr)) sc_out(tp_assign(len_ptr, len_ptr))), | |
deeaaf53 MD |
1170 | TP_printk() |
1171 | ) | |
1172 | #endif | |
644d6e9c MD |
1173 | #ifndef OVERRIDE_32_getcpu |
1174 | SC_TRACE_EVENT(getcpu, | |
e17f92ba MD |
1175 | TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), |
1176 | TP_ARGS(sc_exit(ret,) cpup, nodep, unused), | |
b75d00c4 MD |
1177 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(unsigned *, cpup)) sc_out(__field_hex(unsigned *, nodep)) sc_inout(__field_hex(struct getcpu_cache *, unused))), |
1178 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(cpup, cpup)) sc_out(tp_assign(nodep, nodep)) sc_inout(tp_assign(unused, unused))), | |
deeaaf53 MD |
1179 | TP_printk() |
1180 | ) | |
1181 | #endif | |
644d6e9c MD |
1182 | #ifndef OVERRIDE_32_signalfd |
1183 | SC_TRACE_EVENT(signalfd, | |
e17f92ba MD |
1184 | TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask), |
1185 | TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask), | |
b75d00c4 MD |
1186 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_in(__field_hex(sigset_t *, user_mask)) sc_in(__field(size_t, sizemask))), |
1187 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ufd, ufd)) sc_in(tp_assign(user_mask, user_mask)) sc_in(tp_assign(sizemask, sizemask))), | |
deeaaf53 MD |
1188 | TP_printk() |
1189 | ) | |
1190 | #endif | |
644d6e9c MD |
1191 | #ifndef OVERRIDE_32_reboot |
1192 | SC_TRACE_EVENT(reboot, | |
e17f92ba MD |
1193 | TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg), |
1194 | TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg), | |
b75d00c4 MD |
1195 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, magic1)) sc_in(__field(int, magic2)) sc_in(__field(unsigned int, cmd)) sc_in(__field_hex(void *, arg))), |
1196 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(magic1, magic1)) sc_in(tp_assign(magic2, magic2)) sc_in(tp_assign(cmd, cmd)) sc_in(tp_assign(arg, arg))), | |
deeaaf53 MD |
1197 | TP_printk() |
1198 | ) | |
1199 | #endif | |
644d6e9c MD |
1200 | #ifndef OVERRIDE_32_wait4 |
1201 | SC_TRACE_EVENT(wait4, | |
e17f92ba MD |
1202 | TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru), |
1203 | TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru), | |
b75d00c4 MD |
1204 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, upid)) sc_out(__field_hex(int *, stat_addr)) sc_in(__field(int, options)) sc_out(__field_hex(struct rusage *, ru))), |
1205 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(upid, upid)) sc_out(tp_assign(stat_addr, stat_addr)) sc_in(tp_assign(options, options)) sc_out(tp_assign(ru, ru))), | |
deeaaf53 MD |
1206 | TP_printk() |
1207 | ) | |
1208 | #endif | |
644d6e9c MD |
1209 | #ifndef OVERRIDE_32_quotactl |
1210 | SC_TRACE_EVENT(quotactl, | |
e17f92ba MD |
1211 | TP_PROTO(sc_exit(long ret,) unsigned int cmd, const char * special, qid_t id, void * addr), |
1212 | TP_ARGS(sc_exit(ret,) cmd, special, id, addr), | |
b75d00c4 MD |
1213 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned int, cmd)) sc_in(__field_hex(const char *, special)) sc_in(__field(qid_t, id)) sc_inout(__field_hex(void *, addr))), |
1214 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(cmd, cmd)) sc_in(tp_assign(special, special)) sc_in(tp_assign(id, id)) sc_inout(tp_assign(addr, addr))), | |
deeaaf53 MD |
1215 | TP_printk() |
1216 | ) | |
1217 | #endif | |
644d6e9c MD |
1218 | #ifndef OVERRIDE_32_rt_sigaction |
1219 | SC_TRACE_EVENT(rt_sigaction, | |
e17f92ba MD |
1220 | TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), |
1221 | TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize), | |
b75d00c4 MD |
1222 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, sig)) sc_in(__field_hex(const struct sigaction *, act)) sc_out(__field_hex(struct sigaction *, oact)) sc_in(__field(size_t, sigsetsize))), |
1223 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(sig, sig)) sc_in(tp_assign(act, act)) sc_out(tp_assign(oact, oact)) sc_in(tp_assign(sigsetsize, sigsetsize))), | |
deeaaf53 MD |
1224 | TP_printk() |
1225 | ) | |
1226 | #endif | |
644d6e9c MD |
1227 | #ifndef OVERRIDE_32_rt_sigprocmask |
1228 | SC_TRACE_EVENT(rt_sigprocmask, | |
e17f92ba MD |
1229 | TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), |
1230 | TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize), | |
b75d00c4 MD |
1231 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, how)) sc_in(__field_hex(sigset_t *, nset)) sc_out(__field_hex(sigset_t *, oset)) sc_in(__field(size_t, sigsetsize))), |
1232 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(how, how)) sc_in(tp_assign(nset, nset)) sc_out(tp_assign(oset, oset)) sc_in(tp_assign(sigsetsize, sigsetsize))), | |
deeaaf53 MD |
1233 | TP_printk() |
1234 | ) | |
1235 | #endif | |
644d6e9c MD |
1236 | #ifndef OVERRIDE_32_rt_sigtimedwait |
1237 | SC_TRACE_EVENT(rt_sigtimedwait, | |
e17f92ba MD |
1238 | TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), |
1239 | TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize), | |
b75d00c4 MD |
1240 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_out(__field_hex(const sigset_t *, uthese)) sc_out(__field_hex(siginfo_t *, uinfo)) sc_in(__field_hex(const struct timespec *, uts)) sc_in(__field(size_t, sigsetsize))), |
1241 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_out(tp_assign(uthese, uthese)) sc_out(tp_assign(uinfo, uinfo)) sc_in(tp_assign(uts, uts)) sc_in(tp_assign(sigsetsize, sigsetsize))), | |
deeaaf53 MD |
1242 | TP_printk() |
1243 | ) | |
1244 | #endif | |
644d6e9c MD |
1245 | #ifndef OVERRIDE_32_sendfile |
1246 | SC_TRACE_EVENT(sendfile, | |
e17f92ba MD |
1247 | TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, off_t * offset, size_t count), |
1248 | TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), | |
b75d00c4 MD |
1249 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, out_fd)) sc_inout(__field(int, in_fd)) sc_inout(__field_hex(off_t *, offset)) sc_inout(__field(size_t, count))), |
1250 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(out_fd, out_fd)) sc_inout(tp_assign(in_fd, in_fd)) sc_inout(tp_assign(offset, offset)) sc_inout(tp_assign(count, count))), | |
deeaaf53 MD |
1251 | TP_printk() |
1252 | ) | |
1253 | #endif | |
644d6e9c MD |
1254 | #ifndef OVERRIDE_32_getxattr |
1255 | SC_TRACE_EVENT(getxattr, | |
e17f92ba MD |
1256 | TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), |
1257 | TP_ARGS(sc_exit(ret,) pathname, name, value, size), | |
b75d00c4 MD |
1258 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_out(__field_hex(void *, value)) sc_in(__field(size_t, size))), |
1259 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name)) sc_out(tp_assign(value, value)) sc_in(tp_assign(size, size))), | |
deeaaf53 MD |
1260 | TP_printk() |
1261 | ) | |
1262 | #endif | |
644d6e9c MD |
1263 | #ifndef OVERRIDE_32_lgetxattr |
1264 | SC_TRACE_EVENT(lgetxattr, | |
e17f92ba MD |
1265 | TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), |
1266 | TP_ARGS(sc_exit(ret,) pathname, name, value, size), | |
b75d00c4 MD |
1267 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_out(__field_hex(void *, value)) sc_in(__field(size_t, size))), |
1268 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name)) sc_out(tp_assign(value, value)) sc_in(tp_assign(size, size))), | |
deeaaf53 MD |
1269 | TP_printk() |
1270 | ) | |
1271 | #endif | |
644d6e9c MD |
1272 | #ifndef OVERRIDE_32_fgetxattr |
1273 | SC_TRACE_EVENT(fgetxattr, | |
e17f92ba MD |
1274 | TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size), |
1275 | TP_ARGS(sc_exit(ret,) fd, name, value, size), | |
b75d00c4 MD |
1276 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(name, name)) sc_out(__field_hex(void *, value)) sc_in(__field(size_t, size))), |
1277 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_copy_string_from_user(name, name)) sc_out(tp_assign(value, value)) sc_in(tp_assign(size, size))), | |
deeaaf53 MD |
1278 | TP_printk() |
1279 | ) | |
1280 | #endif | |
644d6e9c MD |
1281 | #ifndef OVERRIDE_32_sendfile64 |
1282 | SC_TRACE_EVENT(sendfile64, | |
e17f92ba MD |
1283 | TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count), |
1284 | TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), | |
b75d00c4 MD |
1285 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, out_fd)) sc_in(__field(int, in_fd)) sc_inout(__field_hex(loff_t *, offset)) sc_in(__field(size_t, count))), |
1286 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(out_fd, out_fd)) sc_in(tp_assign(in_fd, in_fd)) sc_inout(tp_assign(offset, offset)) sc_in(tp_assign(count, count))), | |
deeaaf53 MD |
1287 | TP_printk() |
1288 | ) | |
1289 | #endif | |
644d6e9c MD |
1290 | #ifndef OVERRIDE_32_epoll_ctl |
1291 | SC_TRACE_EVENT(epoll_ctl, | |
e17f92ba MD |
1292 | TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event), |
1293 | TP_ARGS(sc_exit(ret,) epfd, op, fd, event), | |
b75d00c4 MD |
1294 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, epfd)) sc_in(__field(int, op)) sc_in(__field(int, fd)) sc_in(__field_hex(struct epoll_event *, event))), |
1295 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(epfd, epfd)) sc_in(tp_assign(op, op)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(event, event))), | |
deeaaf53 MD |
1296 | TP_printk() |
1297 | ) | |
1298 | #endif | |
644d6e9c MD |
1299 | #ifndef OVERRIDE_32_epoll_wait |
1300 | SC_TRACE_EVENT(epoll_wait, | |
e17f92ba MD |
1301 | TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout), |
1302 | TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout), | |
b75d00c4 MD |
1303 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, epfd)) sc_out(__field_hex(struct epoll_event *, events)) sc_in(__field(int, maxevents)) sc_in(__field(int, timeout))), |
1304 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(epfd, epfd)) sc_out(tp_assign(events, events)) sc_in(tp_assign(maxevents, maxevents)) sc_in(tp_assign(timeout, timeout))), | |
deeaaf53 MD |
1305 | TP_printk() |
1306 | ) | |
1307 | #endif | |
644d6e9c MD |
1308 | #ifndef OVERRIDE_32_timer_settime |
1309 | SC_TRACE_EVENT(timer_settime, | |
e17f92ba MD |
1310 | TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), |
1311 | TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting), | |
b75d00c4 MD |
1312 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(timer_t, timer_id)) sc_in(__field(int, flags)) sc_in(__field_hex(const struct itimerspec *, new_setting)) sc_out(__field_hex(struct itimerspec *, old_setting))), |
1313 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(timer_id, timer_id)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(new_setting, new_setting)) sc_out(tp_assign(old_setting, old_setting))), | |
deeaaf53 MD |
1314 | TP_printk() |
1315 | ) | |
1316 | #endif | |
644d6e9c MD |
1317 | #ifndef OVERRIDE_32_clock_nanosleep |
1318 | SC_TRACE_EVENT(clock_nanosleep, | |
e17f92ba MD |
1319 | TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), |
1320 | TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), | |
b75d00c4 MD |
1321 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(const clockid_t, which_clock)) sc_in(__field(int, flags)) sc_in(__field_hex(const struct timespec *, rqtp)) sc_out(__field_hex(struct timespec *, rmtp))), |
1322 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which_clock, which_clock)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(rqtp, rqtp)) sc_out(tp_assign(rmtp, rmtp))), | |
deeaaf53 MD |
1323 | TP_printk() |
1324 | ) | |
1325 | #endif | |
644d6e9c MD |
1326 | #ifndef OVERRIDE_32_mq_open |
1327 | SC_TRACE_EVENT(mq_open, | |
e17f92ba MD |
1328 | TP_PROTO(sc_exit(long ret,) const char * u_name, int oflag, mode_t mode, struct mq_attr * u_attr), |
1329 | TP_ARGS(sc_exit(ret,) u_name, oflag, mode, u_attr), | |
b75d00c4 MD |
1330 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(u_name, u_name)) sc_in(__field(int, oflag)) sc_in(__field(mode_t, mode)) sc_in(__field_hex(struct mq_attr *, u_attr))), |
1331 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(u_name, u_name)) sc_in(tp_assign(oflag, oflag)) sc_in(tp_assign(mode, mode)) sc_in(tp_assign(u_attr, u_attr))), | |
deeaaf53 MD |
1332 | TP_printk() |
1333 | ) | |
1334 | #endif | |
644d6e9c MD |
1335 | #ifndef OVERRIDE_32_kexec_load |
1336 | SC_TRACE_EVENT(kexec_load, | |
e17f92ba MD |
1337 | TP_PROTO(sc_exit(long ret,) unsigned long entry, unsigned long nr_segments, struct kexec_segment * segments, unsigned long flags), |
1338 | TP_ARGS(sc_exit(ret,) entry, nr_segments, segments, flags), | |
b75d00c4 MD |
1339 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, entry)) sc_in(__field(unsigned long, nr_segments)) sc_in(__field_hex(struct kexec_segment *, segments)) sc_in(__field(unsigned long, flags))), |
1340 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(entry, entry)) sc_in(tp_assign(nr_segments, nr_segments)) sc_in(tp_assign(segments, segments)) sc_in(tp_assign(flags, flags))), | |
deeaaf53 MD |
1341 | TP_printk() |
1342 | ) | |
1343 | #endif | |
644d6e9c MD |
1344 | #ifndef OVERRIDE_32_request_key |
1345 | SC_TRACE_EVENT(request_key, | |
e17f92ba MD |
1346 | TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const char * _callout_info, key_serial_t destringid), |
1347 | TP_ARGS(sc_exit(ret,) _type, _description, _callout_info, destringid), | |
b75d00c4 MD |
1348 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(_type, _type)) sc_in(__field_hex(const char *, _description)) sc_in(__field_hex(const char *, _callout_info)) sc_in(__field(key_serial_t, destringid))), |
1349 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(_type, _type)) sc_in(tp_assign(_description, _description)) sc_in(tp_assign(_callout_info, _callout_info)) sc_in(tp_assign(destringid, destringid))), | |
deeaaf53 MD |
1350 | TP_printk() |
1351 | ) | |
1352 | #endif | |
644d6e9c MD |
1353 | #ifndef OVERRIDE_32_openat |
1354 | SC_TRACE_EVENT(openat, | |
e17f92ba MD |
1355 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, int mode), |
1356 | TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode), | |
b75d00c4 MD |
1357 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, flags)) sc_in(__field(int, mode))), |
1358 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(mode, mode))), | |
deeaaf53 MD |
1359 | TP_printk() |
1360 | ) | |
1361 | #endif | |
644d6e9c MD |
1362 | #ifndef OVERRIDE_32_mknodat |
1363 | SC_TRACE_EVENT(mknodat, | |
e17f92ba MD |
1364 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode, unsigned dev), |
1365 | TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev), | |
b75d00c4 MD |
1366 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(int, mode)) sc_in(__field(unsigned, dev))), |
1367 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(mode, mode)) sc_in(tp_assign(dev, dev))), | |
deeaaf53 MD |
1368 | TP_printk() |
1369 | ) | |
1370 | #endif | |
644d6e9c MD |
1371 | #ifndef OVERRIDE_32_fstatat64 |
1372 | SC_TRACE_EVENT(fstatat64, | |
e17f92ba MD |
1373 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat64 * statbuf, int flag), |
1374 | TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag), | |
b75d00c4 MD |
1375 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(int, dfd)) sc_inout(__string_from_user(filename, filename)) sc_inout(__field_hex(struct stat64 *, statbuf)) sc_inout(__field(int, flag))), |
1376 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(dfd, dfd)) sc_inout(tp_copy_string_from_user(filename, filename)) sc_inout(tp_assign(statbuf, statbuf)) sc_inout(tp_assign(flag, flag))), | |
deeaaf53 MD |
1377 | TP_printk() |
1378 | ) | |
1379 | #endif | |
644d6e9c MD |
1380 | #ifndef OVERRIDE_32_renameat |
1381 | SC_TRACE_EVENT(renameat, | |
e17f92ba MD |
1382 | TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname), |
1383 | TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname), | |
b75d00c4 MD |
1384 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, olddfd)) sc_in(__string_from_user(oldname, oldname)) sc_in(__field(int, newdfd)) sc_in(__string_from_user(newname, newname))), |
1385 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(olddfd, olddfd)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_assign(newdfd, newdfd)) sc_in(tp_copy_string_from_user(newname, newname))), | |
deeaaf53 MD |
1386 | TP_printk() |
1387 | ) | |
1388 | #endif | |
644d6e9c MD |
1389 | #ifndef OVERRIDE_32_readlinkat |
1390 | SC_TRACE_EVENT(readlinkat, | |
e17f92ba MD |
1391 | TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz), |
1392 | TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz), | |
b75d00c4 MD |
1393 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(pathname, pathname)) sc_out(__field_hex(char *, buf)) sc_in(__field(int, bufsiz))), |
1394 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_out(tp_assign(buf, buf)) sc_in(tp_assign(bufsiz, bufsiz))), | |
deeaaf53 MD |
1395 | TP_printk() |
1396 | ) | |
1397 | #endif | |
644d6e9c MD |
1398 | #ifndef OVERRIDE_32_vmsplice |
1399 | SC_TRACE_EVENT(vmsplice, | |
e17f92ba MD |
1400 | TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), |
1401 | TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags), | |
b75d00c4 MD |
1402 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(const struct iovec *, iov)) sc_in(__field(unsigned long, nr_segs)) sc_in(__field(unsigned int, flags))), |
1403 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(iov, iov)) sc_in(tp_assign(nr_segs, nr_segs)) sc_in(tp_assign(flags, flags))), | |
deeaaf53 MD |
1404 | TP_printk() |
1405 | ) | |
1406 | #endif | |
644d6e9c MD |
1407 | #ifndef OVERRIDE_32_utimensat |
1408 | SC_TRACE_EVENT(utimensat, | |
e17f92ba MD |
1409 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags), |
1410 | TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags), | |
b75d00c4 MD |
1411 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field_hex(struct timespec *, utimes)) sc_in(__field(int, flags))), |
1412 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(utimes, utimes)) sc_in(tp_assign(flags, flags))), | |
deeaaf53 MD |
1413 | TP_printk() |
1414 | ) | |
1415 | #endif | |
644d6e9c MD |
1416 | #ifndef OVERRIDE_32_timerfd_settime |
1417 | SC_TRACE_EVENT(timerfd_settime, | |
e17f92ba MD |
1418 | TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), |
1419 | TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr), | |
b75d00c4 MD |
1420 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_in(__field(int, flags)) sc_in(__field_hex(const struct itimerspec *, utmr)) sc_out(__field_hex(struct itimerspec *, otmr))), |
1421 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ufd, ufd)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(utmr, utmr)) sc_out(tp_assign(otmr, otmr))), | |
deeaaf53 MD |
1422 | TP_printk() |
1423 | ) | |
1424 | #endif | |
644d6e9c MD |
1425 | #ifndef OVERRIDE_32_signalfd4 |
1426 | SC_TRACE_EVENT(signalfd4, | |
e17f92ba MD |
1427 | TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags), |
1428 | TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags), | |
b75d00c4 MD |
1429 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, ufd)) sc_in(__field_hex(sigset_t *, user_mask)) sc_in(__field(size_t, sizemask)) sc_in(__field(int, flags))), |
1430 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ufd, ufd)) sc_in(tp_assign(user_mask, user_mask)) sc_in(tp_assign(sizemask, sizemask)) sc_in(tp_assign(flags, flags))), | |
deeaaf53 MD |
1431 | TP_printk() |
1432 | ) | |
1433 | #endif | |
644d6e9c MD |
1434 | #ifndef OVERRIDE_32_rt_tgsigqueueinfo |
1435 | SC_TRACE_EVENT(rt_tgsigqueueinfo, | |
e17f92ba MD |
1436 | TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), |
1437 | TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo), | |
b75d00c4 MD |
1438 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, tgid)) sc_in(__field(pid_t, pid)) sc_in(__field(int, sig)) sc_in(__field_hex(siginfo_t *, uinfo))), |
1439 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(tgid, tgid)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(sig, sig)) sc_in(tp_assign(uinfo, uinfo))), | |
deeaaf53 MD |
1440 | TP_printk() |
1441 | ) | |
1442 | #endif | |
644d6e9c MD |
1443 | #ifndef OVERRIDE_32_prlimit64 |
1444 | SC_TRACE_EVENT(prlimit64, | |
e17f92ba MD |
1445 | TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), |
1446 | TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim), | |
b75d00c4 MD |
1447 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(pid_t, pid)) sc_in(__field(unsigned int, resource)) sc_in(__field_hex(const struct rlimit64 *, new_rlim)) sc_out(__field_hex(struct rlimit64 *, old_rlim))), |
1448 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(resource, resource)) sc_in(tp_assign(new_rlim, new_rlim)) sc_out(tp_assign(old_rlim, old_rlim))), | |
deeaaf53 MD |
1449 | TP_printk() |
1450 | ) | |
1451 | #endif | |
644d6e9c MD |
1452 | #ifndef OVERRIDE_32_sendmmsg |
1453 | SC_TRACE_EVENT(sendmmsg, | |
e17f92ba MD |
1454 | TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), |
1455 | TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags), | |
b75d00c4 MD |
1456 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__field_hex(struct mmsghdr *, mmsg)) sc_in(__field(unsigned int, vlen)) sc_in(__field(unsigned int, flags))), |
1457 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(mmsg, mmsg)) sc_in(tp_assign(vlen, vlen)) sc_in(tp_assign(flags, flags))), | |
deeaaf53 MD |
1458 | TP_printk() |
1459 | ) | |
1460 | #endif | |
644d6e9c MD |
1461 | #ifndef OVERRIDE_32_mount |
1462 | SC_TRACE_EVENT(mount, | |
e17f92ba MD |
1463 | TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), |
1464 | TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data), | |
b75d00c4 MD |
1465 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(dev_name, dev_name)) sc_in(__string_from_user(dir_name, dir_name)) sc_in(__string_from_user(type, type)) sc_in(__field(unsigned long, flags)) sc_in(__field_hex(void *, data))), |
1466 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(dev_name, dev_name)) sc_in(tp_copy_string_from_user(dir_name, dir_name)) sc_in(tp_copy_string_from_user(type, type)) sc_in(tp_assign(flags, flags)) sc_in(tp_assign(data, data))), | |
deeaaf53 MD |
1467 | TP_printk() |
1468 | ) | |
1469 | #endif | |
644d6e9c MD |
1470 | #ifndef OVERRIDE_32_llseek |
1471 | SC_TRACE_EVENT(llseek, | |
e17f92ba MD |
1472 | TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int origin), |
1473 | TP_ARGS(sc_exit(ret,) fd, offset_high, offset_low, result, origin), | |
b75d00c4 MD |
1474 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, fd)) sc_inout(__field(unsigned long, offset_high)) sc_inout(__field(unsigned long, offset_low)) sc_inout(__field_hex(loff_t *, result)) sc_inout(__field(unsigned int, origin))), |
1475 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(fd, fd)) sc_inout(tp_assign(offset_high, offset_high)) sc_inout(tp_assign(offset_low, offset_low)) sc_inout(tp_assign(result, result)) sc_inout(tp_assign(origin, origin))), | |
deeaaf53 MD |
1476 | TP_printk() |
1477 | ) | |
1478 | #endif | |
644d6e9c MD |
1479 | #ifndef OVERRIDE_32_select |
1480 | SC_TRACE_EVENT(select, | |
e17f92ba MD |
1481 | TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), |
1482 | TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp), | |
b75d00c4 MD |
1483 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, n)) sc_inout(__field_hex(fd_set *, inp)) sc_inout(__field_hex(fd_set *, outp)) sc_inout(__field_hex(fd_set *, exp)) sc_inout(__field_hex(struct timeval *, tvp))), |
1484 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(n, n)) sc_inout(tp_assign(inp, inp)) sc_inout(tp_assign(outp, outp)) sc_inout(tp_assign(exp, exp)) sc_inout(tp_assign(tvp, tvp))), | |
deeaaf53 MD |
1485 | TP_printk() |
1486 | ) | |
1487 | #endif | |
644d6e9c MD |
1488 | #ifndef OVERRIDE_32_setxattr |
1489 | SC_TRACE_EVENT(setxattr, | |
e17f92ba MD |
1490 | TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), |
1491 | TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), | |
b75d00c4 MD |
1492 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_in(__field_hex(const void *, value)) sc_in(__field(size_t, size)) sc_in(__field(int, flags))), |
1493 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(value, value)) sc_in(tp_assign(size, size)) sc_in(tp_assign(flags, flags))), | |
deeaaf53 MD |
1494 | TP_printk() |
1495 | ) | |
1496 | #endif | |
644d6e9c MD |
1497 | #ifndef OVERRIDE_32_lsetxattr |
1498 | SC_TRACE_EVENT(lsetxattr, | |
e17f92ba MD |
1499 | TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), |
1500 | TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), | |
b75d00c4 MD |
1501 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(pathname, pathname)) sc_in(__string_from_user(name, name)) sc_in(__field_hex(const void *, value)) sc_in(__field(size_t, size)) sc_in(__field(int, flags))), |
1502 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(pathname, pathname)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(value, value)) sc_in(tp_assign(size, size)) sc_in(tp_assign(flags, flags))), | |
deeaaf53 MD |
1503 | TP_printk() |
1504 | ) | |
1505 | #endif | |
644d6e9c MD |
1506 | #ifndef OVERRIDE_32_fsetxattr |
1507 | SC_TRACE_EVENT(fsetxattr, | |
e17f92ba MD |
1508 | TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags), |
1509 | TP_ARGS(sc_exit(ret,) fd, name, value, size, flags), | |
b75d00c4 MD |
1510 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_in(__string_from_user(name, name)) sc_in(__field_hex(const void *, value)) sc_in(__field(size_t, size)) sc_in(__field(int, flags))), |
1511 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_copy_string_from_user(name, name)) sc_in(tp_assign(value, value)) sc_in(tp_assign(size, size)) sc_in(tp_assign(flags, flags))), | |
deeaaf53 MD |
1512 | TP_printk() |
1513 | ) | |
1514 | #endif | |
644d6e9c MD |
1515 | #ifndef OVERRIDE_32_io_getevents |
1516 | SC_TRACE_EVENT(io_getevents, | |
e17f92ba MD |
1517 | TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), |
1518 | TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout), | |
b75d00c4 MD |
1519 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(aio_context_t, ctx_id)) sc_in(__field(long, min_nr)) sc_in(__field(long, nr)) sc_out(__field_hex(struct io_event *, events)) sc_inout(__field_hex(struct timespec *, timeout))), |
1520 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(ctx_id, ctx_id)) sc_in(tp_assign(min_nr, min_nr)) sc_in(tp_assign(nr, nr)) sc_out(tp_assign(events, events)) sc_inout(tp_assign(timeout, timeout))), | |
deeaaf53 MD |
1521 | TP_printk() |
1522 | ) | |
1523 | #endif | |
644d6e9c MD |
1524 | #ifndef OVERRIDE_32_mq_timedsend |
1525 | SC_TRACE_EVENT(mq_timedsend, | |
e17f92ba MD |
1526 | TP_PROTO(sc_exit(long ret,) mqd_t mqdes, const char * u_msg_ptr, size_t msg_len, unsigned int msg_prio, const struct timespec * u_abs_timeout), |
1527 | TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout), | |
b75d00c4 MD |
1528 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(mqd_t, mqdes)) sc_in(__field_hex(const char *, u_msg_ptr)) sc_in(__field(size_t, msg_len)) sc_in(__field(unsigned int, msg_prio)) sc_in(__field_hex(const struct timespec *, u_abs_timeout))), |
1529 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(mqdes, mqdes)) sc_in(tp_assign(u_msg_ptr, u_msg_ptr)) sc_in(tp_assign(msg_len, msg_len)) sc_in(tp_assign(msg_prio, msg_prio)) sc_in(tp_assign(u_abs_timeout, u_abs_timeout))), | |
deeaaf53 MD |
1530 | TP_printk() |
1531 | ) | |
1532 | #endif | |
644d6e9c MD |
1533 | #ifndef OVERRIDE_32_mq_timedreceive |
1534 | SC_TRACE_EVENT(mq_timedreceive, | |
e17f92ba MD |
1535 | TP_PROTO(sc_exit(long ret,) mqd_t mqdes, char * u_msg_ptr, size_t msg_len, unsigned int * u_msg_prio, const struct timespec * u_abs_timeout), |
1536 | TP_ARGS(sc_exit(ret,) mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout), | |
b75d00c4 MD |
1537 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(mqd_t, mqdes)) sc_out(__field_hex(char *, u_msg_ptr)) sc_in(__field(size_t, msg_len)) sc_out(__field_hex(unsigned int *, u_msg_prio)) sc_in(__field_hex(const struct timespec *, u_abs_timeout))), |
1538 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(mqdes, mqdes)) sc_out(tp_assign(u_msg_ptr, u_msg_ptr)) sc_in(tp_assign(msg_len, msg_len)) sc_out(tp_assign(u_msg_prio, u_msg_prio)) sc_in(tp_assign(u_abs_timeout, u_abs_timeout))), | |
deeaaf53 MD |
1539 | TP_printk() |
1540 | ) | |
1541 | #endif | |
644d6e9c MD |
1542 | #ifndef OVERRIDE_32_waitid |
1543 | SC_TRACE_EVENT(waitid, | |
e17f92ba MD |
1544 | TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), |
1545 | TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru), | |
b75d00c4 MD |
1546 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, which)) sc_in(__field(pid_t, upid)) sc_out(__field_hex(struct siginfo *, infop)) sc_in(__field(int, options)) sc_out(__field_hex(struct rusage *, ru))), |
1547 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(which, which)) sc_in(tp_assign(upid, upid)) sc_out(tp_assign(infop, infop)) sc_in(tp_assign(options, options)) sc_out(tp_assign(ru, ru))), | |
deeaaf53 MD |
1548 | TP_printk() |
1549 | ) | |
1550 | #endif | |
644d6e9c MD |
1551 | #ifndef OVERRIDE_32_add_key |
1552 | SC_TRACE_EVENT(add_key, | |
e17f92ba MD |
1553 | TP_PROTO(sc_exit(long ret,) const char * _type, const char * _description, const void * _payload, size_t plen, key_serial_t ringid), |
1554 | TP_ARGS(sc_exit(ret,) _type, _description, _payload, plen, ringid), | |
b75d00c4 MD |
1555 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__string_from_user(_type, _type)) sc_in(__field_hex(const char *, _description)) sc_in(__field_hex(const void *, _payload)) sc_in(__field(size_t, plen)) sc_in(__field(key_serial_t, ringid))), |
1556 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_copy_string_from_user(_type, _type)) sc_in(tp_assign(_description, _description)) sc_in(tp_assign(_payload, _payload)) sc_in(tp_assign(plen, plen)) sc_in(tp_assign(ringid, ringid))), | |
deeaaf53 MD |
1557 | TP_printk() |
1558 | ) | |
1559 | #endif | |
644d6e9c MD |
1560 | #ifndef OVERRIDE_32_fchownat |
1561 | SC_TRACE_EVENT(fchownat, | |
e17f92ba MD |
1562 | TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag), |
1563 | TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag), | |
b75d00c4 MD |
1564 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, dfd)) sc_in(__string_from_user(filename, filename)) sc_in(__field(uid_t, user)) sc_in(__field(gid_t, group)) sc_in(__field(int, flag))), |
1565 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(dfd, dfd)) sc_in(tp_copy_string_from_user(filename, filename)) sc_in(tp_assign(user, user)) sc_in(tp_assign(group, group)) sc_in(tp_assign(flag, flag))), | |
deeaaf53 MD |
1566 | TP_printk() |
1567 | ) | |
1568 | #endif | |
644d6e9c MD |
1569 | #ifndef OVERRIDE_32_linkat |
1570 | SC_TRACE_EVENT(linkat, | |
e17f92ba MD |
1571 | TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags), |
1572 | TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), | |
b75d00c4 MD |
1573 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, olddfd)) sc_in(__string_from_user(oldname, oldname)) sc_in(__field(int, newdfd)) sc_in(__string_from_user(newname, newname)) sc_in(__field(int, flags))), |
1574 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(olddfd, olddfd)) sc_in(tp_copy_string_from_user(oldname, oldname)) sc_in(tp_assign(newdfd, newdfd)) sc_in(tp_copy_string_from_user(newname, newname)) sc_in(tp_assign(flags, flags))), | |
deeaaf53 MD |
1575 | TP_printk() |
1576 | ) | |
1577 | #endif | |
644d6e9c MD |
1578 | #ifndef OVERRIDE_32_ppoll |
1579 | SC_TRACE_EVENT(ppoll, | |
e17f92ba MD |
1580 | TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), |
1581 | TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize), | |
b75d00c4 MD |
1582 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(struct pollfd *, ufds)) sc_in(__field(unsigned int, nfds)) sc_in(__field_hex(struct timespec *, tsp)) sc_in(__field_hex(const sigset_t *, sigmask)) sc_in(__field(size_t, sigsetsize))), |
1583 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(ufds, ufds)) sc_in(tp_assign(nfds, nfds)) sc_in(tp_assign(tsp, tsp)) sc_in(tp_assign(sigmask, sigmask)) sc_in(tp_assign(sigsetsize, sigsetsize))), | |
deeaaf53 MD |
1584 | TP_printk() |
1585 | ) | |
1586 | #endif | |
644d6e9c MD |
1587 | #ifndef OVERRIDE_32_preadv |
1588 | SC_TRACE_EVENT(preadv, | |
e17f92ba MD |
1589 | TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), |
1590 | TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), | |
b75d00c4 MD |
1591 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_out(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen)) sc_in(__field(unsigned long, pos_l)) sc_in(__field(unsigned long, pos_h))), |
1592 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(vec, vec)) sc_in(tp_assign(vlen, vlen)) sc_in(tp_assign(pos_l, pos_l)) sc_in(tp_assign(pos_h, pos_h))), | |
deeaaf53 MD |
1593 | TP_printk() |
1594 | ) | |
1595 | #endif | |
644d6e9c MD |
1596 | #ifndef OVERRIDE_32_pwritev |
1597 | SC_TRACE_EVENT(pwritev, | |
e17f92ba MD |
1598 | TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), |
1599 | TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), | |
b75d00c4 MD |
1600 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(unsigned long, fd)) sc_in(__field_hex(const struct iovec *, vec)) sc_in(__field(unsigned long, vlen)) sc_in(__field(unsigned long, pos_l)) sc_in(__field(unsigned long, pos_h))), |
1601 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_in(tp_assign(vec, vec)) sc_in(tp_assign(vlen, vlen)) sc_in(tp_assign(pos_l, pos_l)) sc_in(tp_assign(pos_h, pos_h))), | |
deeaaf53 MD |
1602 | TP_printk() |
1603 | ) | |
1604 | #endif | |
644d6e9c MD |
1605 | #ifndef OVERRIDE_32_perf_event_open |
1606 | SC_TRACE_EVENT(perf_event_open, | |
e17f92ba MD |
1607 | TP_PROTO(sc_exit(long ret,) struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), |
1608 | TP_ARGS(sc_exit(ret,) attr_uptr, pid, cpu, group_fd, flags), | |
b75d00c4 MD |
1609 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field_hex(struct perf_event_attr *, attr_uptr)) sc_in(__field(pid_t, pid)) sc_in(__field(int, cpu)) sc_in(__field(int, group_fd)) sc_in(__field(unsigned long, flags))), |
1610 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(attr_uptr, attr_uptr)) sc_in(tp_assign(pid, pid)) sc_in(tp_assign(cpu, cpu)) sc_in(tp_assign(group_fd, group_fd)) sc_in(tp_assign(flags, flags))), | |
deeaaf53 MD |
1611 | TP_printk() |
1612 | ) | |
1613 | #endif | |
644d6e9c MD |
1614 | #ifndef OVERRIDE_32_recvmmsg |
1615 | SC_TRACE_EVENT(recvmmsg, | |
e17f92ba MD |
1616 | TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), |
1617 | TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout), | |
b75d00c4 MD |
1618 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd)) sc_out(__field_hex(struct mmsghdr *, mmsg)) sc_in(__field(unsigned int, vlen)) sc_in(__field(unsigned int, flags)) sc_inout(__field_hex(struct timespec *, timeout))), |
1619 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd, fd)) sc_out(tp_assign(mmsg, mmsg)) sc_in(tp_assign(vlen, vlen)) sc_in(tp_assign(flags, flags)) sc_inout(tp_assign(timeout, timeout))), | |
deeaaf53 MD |
1620 | TP_printk() |
1621 | ) | |
1622 | #endif | |
644d6e9c MD |
1623 | #ifndef OVERRIDE_32_ipc |
1624 | SC_TRACE_EVENT(ipc, | |
e17f92ba MD |
1625 | TP_PROTO(sc_exit(long ret,) unsigned int call, int first, unsigned long second, unsigned long third, void * ptr, long fifth), |
1626 | TP_ARGS(sc_exit(ret,) call, first, second, third, ptr, fifth), | |
b75d00c4 MD |
1627 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field(unsigned int, call)) sc_inout(__field(int, first)) sc_inout(__field(unsigned long, second)) sc_inout(__field(unsigned long, third)) sc_inout(__field_hex(void *, ptr)) sc_inout(__field(long, fifth))), |
1628 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(call, call)) sc_inout(tp_assign(first, first)) sc_inout(tp_assign(second, second)) sc_inout(tp_assign(third, third)) sc_inout(tp_assign(ptr, ptr)) sc_inout(tp_assign(fifth, fifth))), | |
deeaaf53 MD |
1629 | TP_printk() |
1630 | ) | |
1631 | #endif | |
644d6e9c MD |
1632 | #ifndef OVERRIDE_32_futex |
1633 | SC_TRACE_EVENT(futex, | |
e17f92ba MD |
1634 | TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), |
1635 | TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3), | |
b75d00c4 MD |
1636 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_inout(__field_hex(u32 *, uaddr)) sc_in(__field(int, op)) sc_in(__field(u32, val)) sc_in(__field_hex(struct timespec *, utime)) sc_inout(__field_hex(u32 *, uaddr2)) sc_in(__field(u32, val3))), |
1637 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_inout(tp_assign(uaddr, uaddr)) sc_in(tp_assign(op, op)) sc_in(tp_assign(val, val)) sc_in(tp_assign(utime, utime)) sc_inout(tp_assign(uaddr2, uaddr2)) sc_in(tp_assign(val3, val3))), | |
deeaaf53 MD |
1638 | TP_printk() |
1639 | ) | |
1640 | #endif | |
644d6e9c MD |
1641 | #ifndef OVERRIDE_32_pselect6 |
1642 | SC_TRACE_EVENT(pselect6, | |
e17f92ba MD |
1643 | TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), |
1644 | TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig), | |
b75d00c4 MD |
1645 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, n)) sc_inout(__field_hex(fd_set *, inp)) sc_inout(__field_hex(fd_set *, outp)) sc_inout(__field_hex(fd_set *, exp)) sc_inout(__field_hex(struct timespec *, tsp)) sc_in(__field_hex(void *, sig))), |
1646 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(n, n)) sc_inout(tp_assign(inp, inp)) sc_inout(tp_assign(outp, outp)) sc_inout(tp_assign(exp, exp)) sc_inout(tp_assign(tsp, tsp)) sc_in(tp_assign(sig, sig))), | |
deeaaf53 MD |
1647 | TP_printk() |
1648 | ) | |
1649 | #endif | |
644d6e9c MD |
1650 | #ifndef OVERRIDE_32_splice |
1651 | SC_TRACE_EVENT(splice, | |
e17f92ba MD |
1652 | TP_PROTO(sc_exit(long ret,) int fd_in, loff_t * off_in, int fd_out, loff_t * off_out, size_t len, unsigned int flags), |
1653 | TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags), | |
b75d00c4 MD |
1654 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, fd_in)) sc_in(__field_hex(loff_t *, off_in)) sc_in(__field(int, fd_out)) sc_in(__field_hex(loff_t *, off_out)) sc_in(__field(size_t, len)) sc_in(__field(unsigned int, flags))), |
1655 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(fd_in, fd_in)) sc_in(tp_assign(off_in, off_in)) sc_in(tp_assign(fd_out, fd_out)) sc_in(tp_assign(off_out, off_out)) sc_in(tp_assign(len, len)) sc_in(tp_assign(flags, flags))), | |
deeaaf53 MD |
1656 | TP_printk() |
1657 | ) | |
1658 | #endif | |
644d6e9c MD |
1659 | #ifndef OVERRIDE_32_epoll_pwait |
1660 | SC_TRACE_EVENT(epoll_pwait, | |
e17f92ba MD |
1661 | TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), |
1662 | TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize), | |
b75d00c4 MD |
1663 | TP_STRUCT__entry(sc_exit(__field(long, ret)) sc_in(__field(int, epfd)) sc_out(__field_hex(struct epoll_event *, events)) sc_in(__field(int, maxevents)) sc_in(__field(int, timeout)) sc_in(__field_hex(const sigset_t *, sigmask)) sc_in(__field(size_t, sigsetsize))), |
1664 | TP_fast_assign(sc_exit(tp_assign(ret, ret)) sc_in(tp_assign(epfd, epfd)) sc_out(tp_assign(events, events)) sc_in(tp_assign(maxevents, maxevents)) sc_in(tp_assign(timeout, timeout)) sc_in(tp_assign(sigmask, sigmask)) sc_in(tp_assign(sigsetsize, sigsetsize))), | |
deeaaf53 MD |
1665 | TP_printk() |
1666 | ) | |
1667 | #endif | |
1668 | ||
1669 | #endif /* _TRACE_SYSCALLS_POINTERS_H */ | |
1670 | ||
1671 | /* This part must be outside protection */ | |
1672 | #include "../../../probes/define_trace.h" | |
1673 | ||
1674 | #else /* CREATE_SYSCALL_TABLE */ | |
1675 | ||
1676 | #include "x86-32-syscalls-3.1.0-rc6_pointers_override.h" | |
daaf627a | 1677 | #include "syscalls_pointers_override.h" |
deeaaf53 | 1678 | |
644d6e9c MD |
1679 | #ifndef OVERRIDE_TABLE_32_read |
1680 | TRACE_SYSCALL_TABLE(read, read, 3, 3) | |
deeaaf53 | 1681 | #endif |
644d6e9c MD |
1682 | #ifndef OVERRIDE_TABLE_32_write |
1683 | TRACE_SYSCALL_TABLE(write, write, 4, 3) | |
deeaaf53 | 1684 | #endif |
644d6e9c MD |
1685 | #ifndef OVERRIDE_TABLE_32_open |
1686 | TRACE_SYSCALL_TABLE(open, open, 5, 3) | |
deeaaf53 | 1687 | #endif |
644d6e9c MD |
1688 | #ifndef OVERRIDE_TABLE_32_waitpid |
1689 | TRACE_SYSCALL_TABLE(waitpid, waitpid, 7, 3) | |
deeaaf53 | 1690 | #endif |
644d6e9c MD |
1691 | #ifndef OVERRIDE_TABLE_32_creat |
1692 | TRACE_SYSCALL_TABLE(creat, creat, 8, 2) | |
deeaaf53 | 1693 | #endif |
644d6e9c MD |
1694 | #ifndef OVERRIDE_TABLE_32_link |
1695 | TRACE_SYSCALL_TABLE(link, link, 9, 2) | |
deeaaf53 | 1696 | #endif |
644d6e9c MD |
1697 | #ifndef OVERRIDE_TABLE_32_unlink |
1698 | TRACE_SYSCALL_TABLE(unlink, unlink, 10, 1) | |
deeaaf53 | 1699 | #endif |
644d6e9c MD |
1700 | #ifndef OVERRIDE_TABLE_32_chdir |
1701 | TRACE_SYSCALL_TABLE(chdir, chdir, 12, 1) | |
deeaaf53 | 1702 | #endif |
644d6e9c MD |
1703 | #ifndef OVERRIDE_TABLE_32_time |
1704 | TRACE_SYSCALL_TABLE(time, time, 13, 1) | |
deeaaf53 | 1705 | #endif |
644d6e9c MD |
1706 | #ifndef OVERRIDE_TABLE_32_mknod |
1707 | TRACE_SYSCALL_TABLE(mknod, mknod, 14, 3) | |
deeaaf53 | 1708 | #endif |
644d6e9c MD |
1709 | #ifndef OVERRIDE_TABLE_32_chmod |
1710 | TRACE_SYSCALL_TABLE(chmod, chmod, 15, 2) | |
deeaaf53 | 1711 | #endif |
644d6e9c MD |
1712 | #ifndef OVERRIDE_TABLE_32_lchown16 |
1713 | TRACE_SYSCALL_TABLE(lchown16, lchown16, 16, 3) | |
deeaaf53 | 1714 | #endif |
644d6e9c MD |
1715 | #ifndef OVERRIDE_TABLE_32_stat |
1716 | TRACE_SYSCALL_TABLE(stat, stat, 18, 2) | |
deeaaf53 | 1717 | #endif |
644d6e9c MD |
1718 | #ifndef OVERRIDE_TABLE_32_mount |
1719 | TRACE_SYSCALL_TABLE(mount, mount, 21, 5) | |
deeaaf53 | 1720 | #endif |
644d6e9c MD |
1721 | #ifndef OVERRIDE_TABLE_32_oldumount |
1722 | TRACE_SYSCALL_TABLE(oldumount, oldumount, 22, 1) | |
deeaaf53 | 1723 | #endif |
644d6e9c MD |
1724 | #ifndef OVERRIDE_TABLE_32_stime |
1725 | TRACE_SYSCALL_TABLE(stime, stime, 25, 1) | |
deeaaf53 | 1726 | #endif |
644d6e9c MD |
1727 | #ifndef OVERRIDE_TABLE_32_fstat |
1728 | TRACE_SYSCALL_TABLE(fstat, fstat, 28, 2) | |
deeaaf53 | 1729 | #endif |
644d6e9c MD |
1730 | #ifndef OVERRIDE_TABLE_32_utime |
1731 | TRACE_SYSCALL_TABLE(utime, utime, 30, 2) | |
deeaaf53 | 1732 | #endif |
644d6e9c MD |
1733 | #ifndef OVERRIDE_TABLE_32_access |
1734 | TRACE_SYSCALL_TABLE(access, access, 33, 2) | |
deeaaf53 | 1735 | #endif |
644d6e9c MD |
1736 | #ifndef OVERRIDE_TABLE_32_rename |
1737 | TRACE_SYSCALL_TABLE(rename, rename, 38, 2) | |
deeaaf53 | 1738 | #endif |
644d6e9c MD |
1739 | #ifndef OVERRIDE_TABLE_32_mkdir |
1740 | TRACE_SYSCALL_TABLE(mkdir, mkdir, 39, 2) | |
deeaaf53 | 1741 | #endif |
644d6e9c MD |
1742 | #ifndef OVERRIDE_TABLE_32_rmdir |
1743 | TRACE_SYSCALL_TABLE(rmdir, rmdir, 40, 1) | |
deeaaf53 | 1744 | #endif |
644d6e9c MD |
1745 | #ifndef OVERRIDE_TABLE_32_pipe |
1746 | TRACE_SYSCALL_TABLE(pipe, pipe, 42, 1) | |
deeaaf53 | 1747 | #endif |
644d6e9c MD |
1748 | #ifndef OVERRIDE_TABLE_32_times |
1749 | TRACE_SYSCALL_TABLE(times, times, 43, 1) | |
deeaaf53 | 1750 | #endif |
644d6e9c MD |
1751 | #ifndef OVERRIDE_TABLE_32_acct |
1752 | TRACE_SYSCALL_TABLE(acct, acct, 51, 1) | |
deeaaf53 | 1753 | #endif |
644d6e9c MD |
1754 | #ifndef OVERRIDE_TABLE_32_umount |
1755 | TRACE_SYSCALL_TABLE(umount, umount, 52, 2) | |
deeaaf53 | 1756 | #endif |
644d6e9c MD |
1757 | #ifndef OVERRIDE_TABLE_32_olduname |
1758 | TRACE_SYSCALL_TABLE(olduname, olduname, 59, 1) | |
deeaaf53 | 1759 | #endif |
644d6e9c MD |
1760 | #ifndef OVERRIDE_TABLE_32_chroot |
1761 | TRACE_SYSCALL_TABLE(chroot, chroot, 61, 1) | |
deeaaf53 | 1762 | #endif |
644d6e9c MD |
1763 | #ifndef OVERRIDE_TABLE_32_ustat |
1764 | TRACE_SYSCALL_TABLE(ustat, ustat, 62, 2) | |
deeaaf53 | 1765 | #endif |
644d6e9c MD |
1766 | #ifndef OVERRIDE_TABLE_32_sigpending |
1767 | TRACE_SYSCALL_TABLE(sigpending, sigpending, 73, 1) | |
deeaaf53 | 1768 | #endif |
644d6e9c MD |
1769 | #ifndef OVERRIDE_TABLE_32_sethostname |
1770 | TRACE_SYSCALL_TABLE(sethostname, sethostname, 74, 2) | |
deeaaf53 | 1771 | #endif |
644d6e9c MD |
1772 | #ifndef OVERRIDE_TABLE_32_setrlimit |
1773 | TRACE_SYSCALL_TABLE(setrlimit, setrlimit, 75, 2) | |
deeaaf53 | 1774 | #endif |
644d6e9c MD |
1775 | #ifndef OVERRIDE_TABLE_32_old_getrlimit |
1776 | TRACE_SYSCALL_TABLE(old_getrlimit, old_getrlimit, 76, 2) | |
deeaaf53 | 1777 | #endif |
644d6e9c MD |
1778 | #ifndef OVERRIDE_TABLE_32_getrusage |
1779 | TRACE_SYSCALL_TABLE(getrusage, getrusage, 77, 2) | |
deeaaf53 | 1780 | #endif |
644d6e9c MD |
1781 | #ifndef OVERRIDE_TABLE_32_gettimeofday |
1782 | TRACE_SYSCALL_TABLE(gettimeofday, gettimeofday, 78, 2) | |
deeaaf53 | 1783 | #endif |
644d6e9c MD |
1784 | #ifndef OVERRIDE_TABLE_32_settimeofday |
1785 | TRACE_SYSCALL_TABLE(settimeofday, settimeofday, 79, 2) | |
deeaaf53 | 1786 | #endif |
644d6e9c MD |
1787 | #ifndef OVERRIDE_TABLE_32_getgroups16 |
1788 | TRACE_SYSCALL_TABLE(getgroups16, getgroups16, 80, 2) | |
deeaaf53 | 1789 | #endif |
644d6e9c MD |
1790 | #ifndef OVERRIDE_TABLE_32_setgroups16 |
1791 | TRACE_SYSCALL_TABLE(setgroups16, setgroups16, 81, 2) | |
deeaaf53 | 1792 | #endif |
644d6e9c MD |
1793 | #ifndef OVERRIDE_TABLE_32_old_select |
1794 | TRACE_SYSCALL_TABLE(old_select, old_select, 82, 1) | |
deeaaf53 | 1795 | #endif |
644d6e9c MD |
1796 | #ifndef OVERRIDE_TABLE_32_symlink |
1797 | TRACE_SYSCALL_TABLE(symlink, symlink, 83, 2) | |
deeaaf53 | 1798 | #endif |
644d6e9c MD |
1799 | #ifndef OVERRIDE_TABLE_32_lstat |
1800 | TRACE_SYSCALL_TABLE(lstat, lstat, 84, 2) | |
deeaaf53 | 1801 | #endif |
644d6e9c MD |
1802 | #ifndef OVERRIDE_TABLE_32_readlink |
1803 | TRACE_SYSCALL_TABLE(readlink, readlink, 85, 3) | |
deeaaf53 | 1804 | #endif |
644d6e9c MD |
1805 | #ifndef OVERRIDE_TABLE_32_uselib |
1806 | TRACE_SYSCALL_TABLE(uselib, uselib, 86, 1) | |
deeaaf53 | 1807 | #endif |
644d6e9c MD |
1808 | #ifndef OVERRIDE_TABLE_32_swapon |
1809 | TRACE_SYSCALL_TABLE(swapon, swapon, 87, 2) | |
deeaaf53 | 1810 | #endif |
644d6e9c MD |
1811 | #ifndef OVERRIDE_TABLE_32_reboot |
1812 | TRACE_SYSCALL_TABLE(reboot, reboot, 88, 4) | |
deeaaf53 | 1813 | #endif |
644d6e9c MD |
1814 | #ifndef OVERRIDE_TABLE_32_old_readdir |
1815 | TRACE_SYSCALL_TABLE(old_readdir, old_readdir, 89, 3) | |
deeaaf53 | 1816 | #endif |
644d6e9c MD |
1817 | #ifndef OVERRIDE_TABLE_32_old_mmap |
1818 | TRACE_SYSCALL_TABLE(old_mmap, old_mmap, 90, 1) | |
deeaaf53 | 1819 | #endif |
644d6e9c MD |
1820 | #ifndef OVERRIDE_TABLE_32_truncate |
1821 | TRACE_SYSCALL_TABLE(truncate, truncate, 92, 2) | |
deeaaf53 | 1822 | #endif |
644d6e9c MD |
1823 | #ifndef OVERRIDE_TABLE_32_statfs |
1824 | TRACE_SYSCALL_TABLE(statfs, statfs, 99, 2) | |
deeaaf53 | 1825 | #endif |
644d6e9c MD |
1826 | #ifndef OVERRIDE_TABLE_32_fstatfs |
1827 | TRACE_SYSCALL_TABLE(fstatfs, fstatfs, 100, 2) | |
deeaaf53 | 1828 | #endif |
644d6e9c MD |
1829 | #ifndef OVERRIDE_TABLE_32_socketcall |
1830 | TRACE_SYSCALL_TABLE(socketcall, socketcall, 102, 2) | |
deeaaf53 | 1831 | #endif |
644d6e9c MD |
1832 | #ifndef OVERRIDE_TABLE_32_syslog |
1833 | TRACE_SYSCALL_TABLE(syslog, syslog, 103, 3) | |
deeaaf53 | 1834 | #endif |
644d6e9c MD |
1835 | #ifndef OVERRIDE_TABLE_32_setitimer |
1836 | TRACE_SYSCALL_TABLE(setitimer, setitimer, 104, 3) | |
deeaaf53 | 1837 | #endif |
644d6e9c MD |
1838 | #ifndef OVERRIDE_TABLE_32_getitimer |
1839 | TRACE_SYSCALL_TABLE(getitimer, getitimer, 105, 2) | |
deeaaf53 | 1840 | #endif |
644d6e9c MD |
1841 | #ifndef OVERRIDE_TABLE_32_newstat |
1842 | TRACE_SYSCALL_TABLE(newstat, newstat, 106, 2) | |
deeaaf53 | 1843 | #endif |
644d6e9c MD |
1844 | #ifndef OVERRIDE_TABLE_32_newlstat |
1845 | TRACE_SYSCALL_TABLE(newlstat, newlstat, 107, 2) | |
deeaaf53 | 1846 | #endif |
644d6e9c MD |
1847 | #ifndef OVERRIDE_TABLE_32_newfstat |
1848 | TRACE_SYSCALL_TABLE(newfstat, newfstat, 108, 2) | |
deeaaf53 | 1849 | #endif |
644d6e9c MD |
1850 | #ifndef OVERRIDE_TABLE_32_uname |
1851 | TRACE_SYSCALL_TABLE(uname, uname, 109, 1) | |
deeaaf53 | 1852 | #endif |
644d6e9c MD |
1853 | #ifndef OVERRIDE_TABLE_32_wait4 |
1854 | TRACE_SYSCALL_TABLE(wait4, wait4, 114, 4) | |
deeaaf53 | 1855 | #endif |
644d6e9c MD |
1856 | #ifndef OVERRIDE_TABLE_32_swapoff |
1857 | TRACE_SYSCALL_TABLE(swapoff, swapoff, 115, 1) | |
deeaaf53 | 1858 | #endif |
644d6e9c MD |
1859 | #ifndef OVERRIDE_TABLE_32_sysinfo |
1860 | TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 116, 1) | |
deeaaf53 | 1861 | #endif |
644d6e9c MD |
1862 | #ifndef OVERRIDE_TABLE_32_ipc |
1863 | TRACE_SYSCALL_TABLE(ipc, ipc, 117, 6) | |
deeaaf53 | 1864 | #endif |
644d6e9c MD |
1865 | #ifndef OVERRIDE_TABLE_32_setdomainname |
1866 | TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 121, 2) | |
deeaaf53 | 1867 | #endif |
644d6e9c MD |
1868 | #ifndef OVERRIDE_TABLE_32_newuname |
1869 | TRACE_SYSCALL_TABLE(newuname, newuname, 122, 1) | |
deeaaf53 | 1870 | #endif |
644d6e9c MD |
1871 | #ifndef OVERRIDE_TABLE_32_adjtimex |
1872 | TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 124, 1) | |
deeaaf53 | 1873 | #endif |
644d6e9c MD |
1874 | #ifndef OVERRIDE_TABLE_32_sigprocmask |
1875 | TRACE_SYSCALL_TABLE(sigprocmask, sigprocmask, 126, 3) | |
deeaaf53 | 1876 | #endif |
644d6e9c MD |
1877 | #ifndef OVERRIDE_TABLE_32_init_module |
1878 | TRACE_SYSCALL_TABLE(init_module, init_module, 128, 3) | |
deeaaf53 | 1879 | #endif |
644d6e9c MD |
1880 | #ifndef OVERRIDE_TABLE_32_delete_module |
1881 | TRACE_SYSCALL_TABLE(delete_module, delete_module, 129, 2) | |
deeaaf53 | 1882 | #endif |
644d6e9c MD |
1883 | #ifndef OVERRIDE_TABLE_32_quotactl |
1884 | TRACE_SYSCALL_TABLE(quotactl, quotactl, 131, 4) | |
deeaaf53 | 1885 | #endif |
644d6e9c MD |
1886 | #ifndef OVERRIDE_TABLE_32_llseek |
1887 | TRACE_SYSCALL_TABLE(llseek, llseek, 140, 5) | |
deeaaf53 | 1888 | #endif |
644d6e9c MD |
1889 | #ifndef OVERRIDE_TABLE_32_getdents |
1890 | TRACE_SYSCALL_TABLE(getdents, getdents, 141, 3) | |
deeaaf53 | 1891 | #endif |
644d6e9c MD |
1892 | #ifndef OVERRIDE_TABLE_32_select |
1893 | TRACE_SYSCALL_TABLE(select, select, 142, 5) | |
deeaaf53 | 1894 | #endif |
644d6e9c MD |
1895 | #ifndef OVERRIDE_TABLE_32_readv |
1896 | TRACE_SYSCALL_TABLE(readv, readv, 145, 3) | |
deeaaf53 | 1897 | #endif |
644d6e9c MD |
1898 | #ifndef OVERRIDE_TABLE_32_writev |
1899 | TRACE_SYSCALL_TABLE(writev, writev, 146, 3) | |
deeaaf53 | 1900 | #endif |
644d6e9c MD |
1901 | #ifndef OVERRIDE_TABLE_32_sysctl |
1902 | TRACE_SYSCALL_TABLE(sysctl, sysctl, 149, 1) | |
deeaaf53 | 1903 | #endif |
644d6e9c MD |
1904 | #ifndef OVERRIDE_TABLE_32_sched_setparam |
1905 | TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 154, 2) | |
deeaaf53 | 1906 | #endif |
644d6e9c MD |
1907 | #ifndef OVERRIDE_TABLE_32_sched_getparam |
1908 | TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 155, 2) | |
deeaaf53 | 1909 | #endif |
644d6e9c MD |
1910 | #ifndef OVERRIDE_TABLE_32_sched_setscheduler |
1911 | TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 156, 3) | |
deeaaf53 | 1912 | #endif |
644d6e9c MD |
1913 | #ifndef OVERRIDE_TABLE_32_sched_rr_get_interval |
1914 | TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 161, 2) | |
deeaaf53 | 1915 | #endif |
644d6e9c MD |
1916 | #ifndef OVERRIDE_TABLE_32_nanosleep |
1917 | TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 162, 2) | |
deeaaf53 | 1918 | #endif |
644d6e9c MD |
1919 | #ifndef OVERRIDE_TABLE_32_getresuid16 |
1920 | TRACE_SYSCALL_TABLE(getresuid16, getresuid16, 165, 3) | |
deeaaf53 | 1921 | #endif |
644d6e9c MD |
1922 | #ifndef OVERRIDE_TABLE_32_poll |
1923 | TRACE_SYSCALL_TABLE(poll, poll, 168, 3) | |
deeaaf53 | 1924 | #endif |
644d6e9c MD |
1925 | #ifndef OVERRIDE_TABLE_32_getresgid16 |
1926 | TRACE_SYSCALL_TABLE(getresgid16, getresgid16, 171, 3) | |
deeaaf53 | 1927 | #endif |
644d6e9c MD |
1928 | #ifndef OVERRIDE_TABLE_32_rt_sigaction |
1929 | TRACE_SYSCALL_TABLE(rt_sigaction, rt_sigaction, 174, 4) | |
deeaaf53 | 1930 | #endif |
644d6e9c MD |
1931 | #ifndef OVERRIDE_TABLE_32_rt_sigprocmask |
1932 | TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 175, 4) | |
deeaaf53 | 1933 | #endif |
644d6e9c MD |
1934 | #ifndef OVERRIDE_TABLE_32_rt_sigpending |
1935 | TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 176, 2) | |
deeaaf53 | 1936 | #endif |
644d6e9c MD |
1937 | #ifndef OVERRIDE_TABLE_32_rt_sigtimedwait |
1938 | TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 177, 4) | |
deeaaf53 | 1939 | #endif |
644d6e9c MD |
1940 | #ifndef OVERRIDE_TABLE_32_rt_sigqueueinfo |
1941 | TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 178, 3) | |
deeaaf53 | 1942 | #endif |
644d6e9c MD |
1943 | #ifndef OVERRIDE_TABLE_32_rt_sigsuspend |
1944 | TRACE_SYSCALL_TABLE(rt_sigsuspend, rt_sigsuspend, 179, 2) | |
deeaaf53 | 1945 | #endif |
644d6e9c MD |
1946 | #ifndef OVERRIDE_TABLE_32_chown16 |
1947 | TRACE_SYSCALL_TABLE(chown16, chown16, 182, 3) | |
deeaaf53 | 1948 | #endif |
644d6e9c MD |
1949 | #ifndef OVERRIDE_TABLE_32_getcwd |
1950 | TRACE_SYSCALL_TABLE(getcwd, getcwd, 183, 2) | |
deeaaf53 | 1951 | #endif |
644d6e9c MD |
1952 | #ifndef OVERRIDE_TABLE_32_sendfile |
1953 | TRACE_SYSCALL_TABLE(sendfile, sendfile, 187, 4) | |
deeaaf53 | 1954 | #endif |
644d6e9c MD |
1955 | #ifndef OVERRIDE_TABLE_32_getrlimit |
1956 | TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 191, 2) | |
deeaaf53 | 1957 | #endif |
644d6e9c MD |
1958 | #ifndef OVERRIDE_TABLE_32_stat64 |
1959 | TRACE_SYSCALL_TABLE(stat64, stat64, 195, 2) | |
deeaaf53 | 1960 | #endif |
644d6e9c MD |
1961 | #ifndef OVERRIDE_TABLE_32_lstat64 |
1962 | TRACE_SYSCALL_TABLE(lstat64, lstat64, 196, 2) | |
deeaaf53 | 1963 | #endif |
644d6e9c MD |
1964 | #ifndef OVERRIDE_TABLE_32_fstat64 |
1965 | TRACE_SYSCALL_TABLE(fstat64, fstat64, 197, 2) | |
deeaaf53 | 1966 | #endif |
644d6e9c MD |
1967 | #ifndef OVERRIDE_TABLE_32_lchown |
1968 | TRACE_SYSCALL_TABLE(lchown, lchown, 198, 3) | |
deeaaf53 | 1969 | #endif |
644d6e9c MD |
1970 | #ifndef OVERRIDE_TABLE_32_getgroups |
1971 | TRACE_SYSCALL_TABLE(getgroups, getgroups, 205, 2) | |
deeaaf53 | 1972 | #endif |
644d6e9c MD |
1973 | #ifndef OVERRIDE_TABLE_32_setgroups |
1974 | TRACE_SYSCALL_TABLE(setgroups, setgroups, 206, 2) | |
deeaaf53 | 1975 | #endif |
644d6e9c MD |
1976 | #ifndef OVERRIDE_TABLE_32_getresuid |
1977 | TRACE_SYSCALL_TABLE(getresuid, getresuid, 209, 3) | |
deeaaf53 | 1978 | #endif |
644d6e9c MD |
1979 | #ifndef OVERRIDE_TABLE_32_getresgid |
1980 | TRACE_SYSCALL_TABLE(getresgid, getresgid, 211, 3) | |
deeaaf53 | 1981 | #endif |
644d6e9c MD |
1982 | #ifndef OVERRIDE_TABLE_32_chown |
1983 | TRACE_SYSCALL_TABLE(chown, chown, 212, 3) | |
deeaaf53 | 1984 | #endif |
644d6e9c MD |
1985 | #ifndef OVERRIDE_TABLE_32_pivot_root |
1986 | TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 217, 2) | |
deeaaf53 | 1987 | #endif |
644d6e9c MD |
1988 | #ifndef OVERRIDE_TABLE_32_mincore |
1989 | TRACE_SYSCALL_TABLE(mincore, mincore, 218, 3) | |
deeaaf53 | 1990 | #endif |
644d6e9c MD |
1991 | #ifndef OVERRIDE_TABLE_32_getdents64 |
1992 | TRACE_SYSCALL_TABLE(getdents64, getdents64, 220, 3) | |
deeaaf53 | 1993 | #endif |
644d6e9c MD |
1994 | #ifndef OVERRIDE_TABLE_32_setxattr |
1995 | TRACE_SYSCALL_TABLE(setxattr, setxattr, 226, 5) | |
deeaaf53 | 1996 | #endif |
644d6e9c MD |
1997 | #ifndef OVERRIDE_TABLE_32_lsetxattr |
1998 | TRACE_SYSCALL_TABLE(lsetxattr, lsetxattr, 227, 5) | |
deeaaf53 | 1999 | #endif |
644d6e9c MD |
2000 | #ifndef OVERRIDE_TABLE_32_fsetxattr |
2001 | TRACE_SYSCALL_TABLE(fsetxattr, fsetxattr, 228, 5) | |
deeaaf53 | 2002 | #endif |
644d6e9c MD |
2003 | #ifndef OVERRIDE_TABLE_32_getxattr |
2004 | TRACE_SYSCALL_TABLE(getxattr, getxattr, 229, 4) | |
deeaaf53 | 2005 | #endif |
644d6e9c MD |
2006 | #ifndef OVERRIDE_TABLE_32_lgetxattr |
2007 | TRACE_SYSCALL_TABLE(lgetxattr, lgetxattr, 230, 4) | |
deeaaf53 | 2008 | #endif |
644d6e9c MD |
2009 | #ifndef OVERRIDE_TABLE_32_fgetxattr |
2010 | TRACE_SYSCALL_TABLE(fgetxattr, fgetxattr, 231, 4) | |
deeaaf53 | 2011 | #endif |
644d6e9c MD |
2012 | #ifndef OVERRIDE_TABLE_32_listxattr |
2013 | TRACE_SYSCALL_TABLE(listxattr, listxattr, 232, 3) | |
deeaaf53 | 2014 | #endif |
644d6e9c MD |
2015 | #ifndef OVERRIDE_TABLE_32_llistxattr |
2016 | TRACE_SYSCALL_TABLE(llistxattr, llistxattr, 233, 3) | |
deeaaf53 | 2017 | #endif |
644d6e9c MD |
2018 | #ifndef OVERRIDE_TABLE_32_flistxattr |
2019 | TRACE_SYSCALL_TABLE(flistxattr, flistxattr, 234, 3) | |
deeaaf53 | 2020 | #endif |
644d6e9c MD |
2021 | #ifndef OVERRIDE_TABLE_32_removexattr |
2022 | TRACE_SYSCALL_TABLE(removexattr, removexattr, 235, 2) | |
deeaaf53 | 2023 | #endif |
644d6e9c MD |
2024 | #ifndef OVERRIDE_TABLE_32_lremovexattr |
2025 | TRACE_SYSCALL_TABLE(lremovexattr, lremovexattr, 236, 2) | |
deeaaf53 | 2026 | #endif |
644d6e9c MD |
2027 | #ifndef OVERRIDE_TABLE_32_fremovexattr |
2028 | TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 237, 2) | |
deeaaf53 | 2029 | #endif |
644d6e9c MD |
2030 | #ifndef OVERRIDE_TABLE_32_sendfile64 |
2031 | TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 239, 4) | |
deeaaf53 | 2032 | #endif |
644d6e9c MD |
2033 | #ifndef OVERRIDE_TABLE_32_futex |
2034 | TRACE_SYSCALL_TABLE(futex, futex, 240, 6) | |
deeaaf53 | 2035 | #endif |
644d6e9c MD |
2036 | #ifndef OVERRIDE_TABLE_32_sched_setaffinity |
2037 | TRACE_SYSCALL_TABLE(sched_setaffinity, sched_setaffinity, 241, 3) | |
deeaaf53 | 2038 | #endif |
644d6e9c MD |
2039 | #ifndef OVERRIDE_TABLE_32_sched_getaffinity |
2040 | TRACE_SYSCALL_TABLE(sched_getaffinity, sched_getaffinity, 242, 3) | |
deeaaf53 | 2041 | #endif |
644d6e9c MD |
2042 | #ifndef OVERRIDE_TABLE_32_io_setup |
2043 | TRACE_SYSCALL_TABLE(io_setup, io_setup, 245, 2) | |
deeaaf53 | 2044 | #endif |
644d6e9c MD |
2045 | #ifndef OVERRIDE_TABLE_32_io_getevents |
2046 | TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 247, 5) | |
deeaaf53 | 2047 | #endif |
644d6e9c MD |
2048 | #ifndef OVERRIDE_TABLE_32_io_submit |
2049 | TRACE_SYSCALL_TABLE(io_submit, io_submit, 248, 3) | |
deeaaf53 | 2050 | #endif |
644d6e9c MD |
2051 | #ifndef OVERRIDE_TABLE_32_io_cancel |
2052 | TRACE_SYSCALL_TABLE(io_cancel, io_cancel, 249, 3) | |
deeaaf53 | 2053 | #endif |
644d6e9c MD |
2054 | #ifndef OVERRIDE_TABLE_32_epoll_ctl |
2055 | TRACE_SYSCALL_TABLE(epoll_ctl, epoll_ctl, 255, 4) | |
deeaaf53 | 2056 | #endif |
644d6e9c MD |
2057 | #ifndef OVERRIDE_TABLE_32_epoll_wait |
2058 | TRACE_SYSCALL_TABLE(epoll_wait, epoll_wait, 256, 4) | |
deeaaf53 | 2059 | #endif |
644d6e9c MD |
2060 | #ifndef OVERRIDE_TABLE_32_set_tid_address |
2061 | TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 258, 1) | |
deeaaf53 | 2062 | #endif |
644d6e9c MD |
2063 | #ifndef OVERRIDE_TABLE_32_timer_create |
2064 | TRACE_SYSCALL_TABLE(timer_create, timer_create, 259, 3) | |
deeaaf53 | 2065 | #endif |
644d6e9c MD |
2066 | #ifndef OVERRIDE_TABLE_32_timer_settime |
2067 | TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 260, 4) | |
deeaaf53 | 2068 | #endif |
644d6e9c MD |
2069 | #ifndef OVERRIDE_TABLE_32_timer_gettime |
2070 | TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 261, 2) | |
deeaaf53 | 2071 | #endif |
644d6e9c MD |
2072 | #ifndef OVERRIDE_TABLE_32_clock_settime |
2073 | TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 264, 2) | |
deeaaf53 | 2074 | #endif |
644d6e9c MD |
2075 | #ifndef OVERRIDE_TABLE_32_clock_gettime |
2076 | TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 265, 2) | |
deeaaf53 | 2077 | #endif |
644d6e9c MD |
2078 | #ifndef OVERRIDE_TABLE_32_clock_getres |
2079 | TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 266, 2) | |
deeaaf53 | 2080 | #endif |
644d6e9c MD |
2081 | #ifndef OVERRIDE_TABLE_32_clock_nanosleep |
2082 | TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 267, 4) | |
deeaaf53 | 2083 | #endif |
644d6e9c MD |
2084 | #ifndef OVERRIDE_TABLE_32_statfs64 |
2085 | TRACE_SYSCALL_TABLE(statfs64, statfs64, 268, 3) | |
deeaaf53 | 2086 | #endif |
644d6e9c MD |
2087 | #ifndef OVERRIDE_TABLE_32_fstatfs64 |
2088 | TRACE_SYSCALL_TABLE(fstatfs64, fstatfs64, 269, 3) | |
deeaaf53 | 2089 | #endif |
644d6e9c MD |
2090 | #ifndef OVERRIDE_TABLE_32_utimes |
2091 | TRACE_SYSCALL_TABLE(utimes, utimes, 271, 2) | |
deeaaf53 | 2092 | #endif |
644d6e9c MD |
2093 | #ifndef OVERRIDE_TABLE_32_mq_open |
2094 | TRACE_SYSCALL_TABLE(mq_open, mq_open, 277, 4) | |
deeaaf53 | 2095 | #endif |
644d6e9c MD |
2096 | #ifndef OVERRIDE_TABLE_32_mq_unlink |
2097 | TRACE_SYSCALL_TABLE(mq_unlink, mq_unlink, 278, 1) | |
deeaaf53 | 2098 | #endif |
644d6e9c MD |
2099 | #ifndef OVERRIDE_TABLE_32_mq_timedsend |
2100 | TRACE_SYSCALL_TABLE(mq_timedsend, mq_timedsend, 279, 5) | |
deeaaf53 | 2101 | #endif |
644d6e9c MD |
2102 | #ifndef OVERRIDE_TABLE_32_mq_timedreceive |
2103 | TRACE_SYSCALL_TABLE(mq_timedreceive, mq_timedreceive, 280, 5) | |
deeaaf53 | 2104 | #endif |
644d6e9c MD |
2105 | #ifndef OVERRIDE_TABLE_32_mq_notify |
2106 | TRACE_SYSCALL_TABLE(mq_notify, mq_notify, 281, 2) | |
deeaaf53 | 2107 | #endif |
644d6e9c MD |
2108 | #ifndef OVERRIDE_TABLE_32_mq_getsetattr |
2109 | TRACE_SYSCALL_TABLE(mq_getsetattr, mq_getsetattr, 282, 3) | |
deeaaf53 | 2110 | #endif |
644d6e9c MD |
2111 | #ifndef OVERRIDE_TABLE_32_kexec_load |
2112 | TRACE_SYSCALL_TABLE(kexec_load, kexec_load, 283, 4) | |
deeaaf53 | 2113 | #endif |
644d6e9c MD |
2114 | #ifndef OVERRIDE_TABLE_32_waitid |
2115 | TRACE_SYSCALL_TABLE(waitid, waitid, 284, 5) | |
deeaaf53 | 2116 | #endif |
644d6e9c MD |
2117 | #ifndef OVERRIDE_TABLE_32_add_key |
2118 | TRACE_SYSCALL_TABLE(add_key, add_key, 286, 5) | |
deeaaf53 | 2119 | #endif |
644d6e9c MD |
2120 | #ifndef OVERRIDE_TABLE_32_request_key |
2121 | TRACE_SYSCALL_TABLE(request_key, request_key, 287, 4) | |
deeaaf53 | 2122 | #endif |
644d6e9c MD |
2123 | #ifndef OVERRIDE_TABLE_32_inotify_add_watch |
2124 | TRACE_SYSCALL_TABLE(inotify_add_watch, inotify_add_watch, 292, 3) | |
deeaaf53 | 2125 | #endif |
644d6e9c MD |
2126 | #ifndef OVERRIDE_TABLE_32_openat |
2127 | TRACE_SYSCALL_TABLE(openat, openat, 295, 4) | |
deeaaf53 | 2128 | #endif |
644d6e9c MD |
2129 | #ifndef OVERRIDE_TABLE_32_mkdirat |
2130 | TRACE_SYSCALL_TABLE(mkdirat, mkdirat, 296, 3) | |
deeaaf53 | 2131 | #endif |
644d6e9c MD |
2132 | #ifndef OVERRIDE_TABLE_32_mknodat |
2133 | TRACE_SYSCALL_TABLE(mknodat, mknodat, 297, 4) | |
deeaaf53 | 2134 | #endif |
644d6e9c MD |
2135 | #ifndef OVERRIDE_TABLE_32_fchownat |
2136 | TRACE_SYSCALL_TABLE(fchownat, fchownat, 298, 5) | |
deeaaf53 | 2137 | #endif |
644d6e9c MD |
2138 | #ifndef OVERRIDE_TABLE_32_futimesat |
2139 | TRACE_SYSCALL_TABLE(futimesat, futimesat, 299, 3) | |
deeaaf53 | 2140 | #endif |
644d6e9c MD |
2141 | #ifndef OVERRIDE_TABLE_32_fstatat64 |
2142 | TRACE_SYSCALL_TABLE(fstatat64, fstatat64, 300, 4) | |
deeaaf53 | 2143 | #endif |
644d6e9c MD |
2144 | #ifndef OVERRIDE_TABLE_32_unlinkat |
2145 | TRACE_SYSCALL_TABLE(unlinkat, unlinkat, 301, 3) | |
deeaaf53 | 2146 | #endif |
644d6e9c MD |
2147 | #ifndef OVERRIDE_TABLE_32_renameat |
2148 | TRACE_SYSCALL_TABLE(renameat, renameat, 302, 4) | |
deeaaf53 | 2149 | #endif |
644d6e9c MD |
2150 | #ifndef OVERRIDE_TABLE_32_linkat |
2151 | TRACE_SYSCALL_TABLE(linkat, linkat, 303, 5) | |
deeaaf53 | 2152 | #endif |
644d6e9c MD |
2153 | #ifndef OVERRIDE_TABLE_32_symlinkat |
2154 | TRACE_SYSCALL_TABLE(symlinkat, symlinkat, 304, 3) | |
deeaaf53 | 2155 | #endif |
644d6e9c MD |
2156 | #ifndef OVERRIDE_TABLE_32_readlinkat |
2157 | TRACE_SYSCALL_TABLE(readlinkat, readlinkat, 305, 4) | |
deeaaf53 | 2158 | #endif |
644d6e9c MD |
2159 | #ifndef OVERRIDE_TABLE_32_fchmodat |
2160 | TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 306, 3) | |
deeaaf53 | 2161 | #endif |
644d6e9c MD |
2162 | #ifndef OVERRIDE_TABLE_32_faccessat |
2163 | TRACE_SYSCALL_TABLE(faccessat, faccessat, 307, 3) | |
deeaaf53 | 2164 | #endif |
644d6e9c MD |
2165 | #ifndef OVERRIDE_TABLE_32_pselect6 |
2166 | TRACE_SYSCALL_TABLE(pselect6, pselect6, 308, 6) | |
deeaaf53 | 2167 | #endif |
644d6e9c MD |
2168 | #ifndef OVERRIDE_TABLE_32_ppoll |
2169 | TRACE_SYSCALL_TABLE(ppoll, ppoll, 309, 5) | |
deeaaf53 | 2170 | #endif |
644d6e9c MD |
2171 | #ifndef OVERRIDE_TABLE_32_set_robust_list |
2172 | TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 311, 2) | |
deeaaf53 | 2173 | #endif |
644d6e9c MD |
2174 | #ifndef OVERRIDE_TABLE_32_get_robust_list |
2175 | TRACE_SYSCALL_TABLE(get_robust_list, get_robust_list, 312, 3) | |
deeaaf53 | 2176 | #endif |
644d6e9c MD |
2177 | #ifndef OVERRIDE_TABLE_32_splice |
2178 | TRACE_SYSCALL_TABLE(splice, splice, 313, 6) | |
deeaaf53 | 2179 | #endif |
644d6e9c MD |
2180 | #ifndef OVERRIDE_TABLE_32_vmsplice |
2181 | TRACE_SYSCALL_TABLE(vmsplice, vmsplice, 316, 4) | |
deeaaf53 | 2182 | #endif |
644d6e9c MD |
2183 | #ifndef OVERRIDE_TABLE_32_getcpu |
2184 | TRACE_SYSCALL_TABLE(getcpu, getcpu, 318, 3) | |
deeaaf53 | 2185 | #endif |
644d6e9c MD |
2186 | #ifndef OVERRIDE_TABLE_32_epoll_pwait |
2187 | TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 319, 6) | |
deeaaf53 | 2188 | #endif |
644d6e9c MD |
2189 | #ifndef OVERRIDE_TABLE_32_utimensat |
2190 | TRACE_SYSCALL_TABLE(utimensat, utimensat, 320, 4) | |
deeaaf53 | 2191 | #endif |
644d6e9c MD |
2192 | #ifndef OVERRIDE_TABLE_32_signalfd |
2193 | TRACE_SYSCALL_TABLE(signalfd, signalfd, 321, 3) | |
deeaaf53 | 2194 | #endif |
644d6e9c MD |
2195 | #ifndef OVERRIDE_TABLE_32_timerfd_settime |
2196 | TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 325, 4) | |
deeaaf53 | 2197 | #endif |
644d6e9c MD |
2198 | #ifndef OVERRIDE_TABLE_32_timerfd_gettime |
2199 | TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 326, 2) | |
deeaaf53 | 2200 | #endif |
644d6e9c MD |
2201 | #ifndef OVERRIDE_TABLE_32_signalfd4 |
2202 | TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 327, 4) | |
deeaaf53 | 2203 | #endif |
644d6e9c MD |
2204 | #ifndef OVERRIDE_TABLE_32_pipe2 |
2205 | TRACE_SYSCALL_TABLE(pipe2, pipe2, 331, 2) | |
deeaaf53 | 2206 | #endif |
644d6e9c MD |
2207 | #ifndef OVERRIDE_TABLE_32_preadv |
2208 | TRACE_SYSCALL_TABLE(preadv, preadv, 333, 5) | |
deeaaf53 | 2209 | #endif |
644d6e9c MD |
2210 | #ifndef OVERRIDE_TABLE_32_pwritev |
2211 | TRACE_SYSCALL_TABLE(pwritev, pwritev, 334, 5) | |
deeaaf53 | 2212 | #endif |
644d6e9c MD |
2213 | #ifndef OVERRIDE_TABLE_32_rt_tgsigqueueinfo |
2214 | TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 335, 4) | |
deeaaf53 | 2215 | #endif |
644d6e9c MD |
2216 | #ifndef OVERRIDE_TABLE_32_perf_event_open |
2217 | TRACE_SYSCALL_TABLE(perf_event_open, perf_event_open, 336, 5) | |
deeaaf53 | 2218 | #endif |
644d6e9c MD |
2219 | #ifndef OVERRIDE_TABLE_32_recvmmsg |
2220 | TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 337, 5) | |
deeaaf53 | 2221 | #endif |
644d6e9c MD |
2222 | #ifndef OVERRIDE_TABLE_32_prlimit64 |
2223 | TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 340, 4) | |
deeaaf53 | 2224 | #endif |
644d6e9c MD |
2225 | #ifndef OVERRIDE_TABLE_32_clock_adjtime |
2226 | TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 343, 2) | |
deeaaf53 | 2227 | #endif |
644d6e9c MD |
2228 | #ifndef OVERRIDE_TABLE_32_sendmmsg |
2229 | TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 345, 4) | |
deeaaf53 MD |
2230 | #endif |
2231 | ||
2232 | #endif /* CREATE_SYSCALL_TABLE */ |