New upstream version 2.1.0~rc1
Jon Bernard
11 years ago
0 | 2012-06-27 LTTng modules 2.0.4 | |
0 | 2012-09-10 LTTng modules 2.1.0-rc1 | |
1 | * fix timestamps on architectures without CONFIG_KTIME_SCALAR | |
2 | * Support for linux kernels 2.6.32 through 2.6.37 | |
3 | * Document limitation of vppid and ppid context wrt eventual RCU instrumentation | |
4 | * Cleanup: no need to hold RCU read-side lock when reading current nsproxy | |
5 | * Add env hostname information | |
6 | * Fix: lttng_statedump_process_state for each PID NS has infinite loop | |
7 | * lttng_statedump_process_state for each PID NS | |
8 | * Support the hostname context | |
9 | * Fix: statedump namespaced pid, tid and ppid | |
10 | * Fix: statedump: disable vm maps enumeration | |
11 | * Fix: ensure userspace accesses are done with _inatomic | |
12 | * Fix: vppid context should test for current nsproxy | |
13 | * Add MIPS system call support | |
14 | * Change mode of lttng-syscalls-generate-headers.sh to 755 | |
15 | * cleanup: fix typo in syscall instrumentation header | |
16 | * Cleanup: remove trailing whitespace in README | |
17 | * trace event: introduce TP_MODULE_NOAUTOLOAD and TP_MODULE_NOINIT | |
1 | 18 | * LTTng: probe-statedump: add #include <linux/sched.h> |
2 | 19 | * fix: signal_generate event should print utf8 for comm field |
3 | ||
4 | 2012-06-01 LTTng modules 2.0.3 | |
20 | * Makes write operation a parameter for tp_memcpy macro | |
21 | * Add coding style document | |
22 | * Update instrumentation/events README file | |
23 | * Add makefile target for preprocessor | |
5 | 24 | * Fix: free_event_id check should compare unsigned int with -1U |
25 | * Use unsigned long type for events discarded counter | |
6 | 26 | * Fix: update signal instrumentation for 3.4 kernel |
7 | ||
8 | 2012-04-18 LTTng modules 2.0.2 | |
27 | * LTTng Modules ARM syscall instrumentation | |
9 | 28 | * Fix: generate header missing echo -e for escape chars |
10 | 29 | * Fix: add missing uaccess.h include (for ARM) |
11 | 30 | * README: Document that CONFIG_MODULES is required |
0 | LTTng Modules Kernel Tracer Coding Style | |
1 | ||
2 | The coding style used for this project follows the the Linux kernel | |
3 | guide lines. Please refer to: | |
4 | ||
5 | - Linux kernel Documentation/CodingStyle document for details, | |
6 | - Linux kernel scripts/checkpatch.pl for a script which verify the patch | |
7 | coding style. | |
8 | ||
9 | Mathieu Desnoyers, May 30, 2012 |
19 | 19 | lttng-context-vpid.o lttng-context-tid.o \ |
20 | 20 | lttng-context-vtid.o lttng-context-ppid.o \ |
21 | 21 | lttng-context-vppid.o lttng-calibrate.o \ |
22 | wrapper/random.o | |
22 | lttng-context-hostname.o wrapper/random.o | |
23 | 23 | |
24 | 24 | obj-m += lttng-statedump.o |
25 | 25 | lttng-statedump-objs := lttng-statedump-impl.o wrapper/irqdesc.o |
26 | 26 | |
27 | 27 | ifneq ($(CONFIG_HAVE_SYSCALL_TRACEPOINTS),) |
28 | lttng-tracer-objs += lttng-syscalls.o | |
28 | lttng-tracer-objs += lttng-syscalls.o probes/lttng-probe-user.o | |
29 | 29 | endif |
30 | 30 | |
31 | 31 | ifneq ($(CONFIG_PERF_EVENTS),) |
32 | 32 | lttng-tracer-objs += $(shell \ |
33 | 33 | if [ $(VERSION) -ge 3 \ |
34 | -o \( $(VERSION) -eq 2 -a $(PATCHLEVEL) -ge 6 -a $(SUBLEVEL) -ge 33 \) ] ; then \ | |
34 | -o \( $(VERSION) -eq 2 -a $(PATCHLEVEL) -ge 6 -a $(SUBLEVEL) -ge 34 \) ] ; then \ | |
35 | 35 | echo "lttng-context-perf-counters.o" ; fi;) |
36 | 36 | endif |
37 | 37 | |
54 | 54 | clean: |
55 | 55 | $(MAKE) -C $(KERNELDIR) M=$(PWD) clean |
56 | 56 | |
57 | %.i: %.c | |
58 | $(MAKE) -C $(KERNELDIR) M=$(PWD) $@ | |
57 | 59 | endif |
37 | 37 | |
38 | 38 | So far, it has been tested on vanilla Linux kernels 2.6.38, 2.6.39, 3.0, |
39 | 39 | 3.1, 3.2, 3.3 (on x86 32/64-bit, and powerpc 32-bit at the moment, build |
40 | tested on ARM). It should work fine with newer kernels and other | |
41 | architectures, but expect build issues with kernels older than 2.6.36. | |
42 | The clock source currently used is the standard gettimeofday (slower, | |
43 | less scalable and less precise than the LTTng 0.x clocks). Support for | |
44 | LTTng 0.x clocks will be added back soon into LTTng 2.0. Please note | |
45 | that lttng-modules 2.0 can build on a Linux kernel patched with the | |
46 | LTTng 0.x patchset, but the lttng-modules 2.0 replace the lttng-modules | |
47 | 0.x, so both tracers cannot be installed at the same time for a given | |
48 | kernel version. | |
40 | tested on ARM). Kernels 2.6.32 to 2.6.34 need up to 3 patches applied | |
41 | (refer to linux-patches within the lttng-modules tree). It should work | |
42 | fine with newer kernels and other architectures, but expect build issues | |
43 | with kernels older than 2.6.36. The clock source currently used is the | |
44 | standard gettimeofday (slower, less scalable and less precise than the | |
45 | LTTng 0.x clocks). Support for LTTng 0.x clocks will be added back soon | |
46 | into LTTng 2.0. Please note that lttng-modules 2.0 can build on a Linux | |
47 | kernel patched with the LTTng 0.x patchset, but the lttng-modules 2.0 | |
48 | replace the lttng-modules 0.x, so both tracers cannot be installed at | |
49 | the same time for a given kernel version. | |
49 | 50 | |
50 | 51 | |
51 | 52 | * Kernel config options required |
78 | 79 | lttng add-context -t perf:* |
79 | 80 | CONFIG_EVENT_TRACING: |
80 | 81 | needed to allow block layer tracing |
81 | CONFIG_KPROBES: | |
82 | CONFIG_KPROBES: | |
82 | 83 | Dynamic probe. |
83 | 84 | lttng enable-event -k --probe ... |
84 | 85 | CONFIG_KRETPROBES: |
0 | The workflow for updating patches from newer kernel: | |
0 | * Workflow for updating patches from newer kernel: | |
1 | 1 | |
2 | 2 | Diff mainline/ and lttng-module/ directories. |
3 | 3 | |
4 | 4 | Pull the new headers from mainline kernel to mainline/. |
5 | 5 | Copy them into lttng-modules. |
6 | 6 | Apply diff. Fix conflicts. |
7 | ||
8 | ||
9 | * Workflow to add new Tracepoint instrumentation to newer kernel, | |
10 | and add support for it into LTTng: | |
11 | ||
12 | a) instrument the kernel with new trace events headers. If you want that | |
13 | instrumentation distributed, you will have to push those changes into | |
14 | the upstream Linux kernel first, | |
15 | b) copy those headers into lttng mainline/ directory, | |
16 | c) look at a diff from other headers between mainline/ and | |
17 | lttng/, and use that as a recipe to create a new lttng/ | |
18 | header from the mainline/ header, | |
19 | d) create a new file in probes/ for the new trace event header you added, | |
20 | e) add it to probes/Makefile, | |
21 | f) build, make modules_install, | |
22 | g) don't forget to load that new module too. | |
23 | ||
24 | Currently, LTTng policy is to only accept headers derived from trace | |
25 | event headers accepted into the Linux kernel upstream for tracepoints | |
26 | related to upstream kernel instrumentation. |
88 | 88 | __entry->irq, __entry->ret ? "handled" : "unhandled") |
89 | 89 | ) |
90 | 90 | |
91 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,37)) | |
91 | 92 | DECLARE_EVENT_CLASS(softirq, |
92 | 93 | |
93 | 94 | TP_PROTO(unsigned int vec_nr), |
147 | 148 | |
148 | 149 | TP_ARGS(vec_nr) |
149 | 150 | ) |
151 | #else /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,37)) */ | |
152 | DECLARE_EVENT_CLASS(softirq, | |
153 | ||
154 | TP_PROTO(struct softirq_action *h, struct softirq_action *vec), | |
155 | ||
156 | TP_ARGS(h, vec), | |
157 | ||
158 | TP_STRUCT__entry( | |
159 | __field( unsigned int, vec ) | |
160 | ), | |
161 | ||
162 | TP_fast_assign( | |
163 | tp_assign(vec, (int)(h - vec)) | |
164 | ), | |
165 | ||
166 | TP_printk("vec=%u [action=%s]", __entry->vec, | |
167 | show_softirq_name(__entry->vec)) | |
168 | ) | |
169 | ||
170 | /** | |
171 | * softirq_entry - called immediately before the softirq handler | |
172 | * @h: pointer to struct softirq_action | |
173 | * @vec: pointer to first struct softirq_action in softirq_vec array | |
174 | * | |
175 | * When used in combination with the softirq_exit tracepoint | |
176 | * we can determine the softirq handler runtine. | |
177 | */ | |
178 | DEFINE_EVENT(softirq, softirq_entry, | |
179 | ||
180 | TP_PROTO(struct softirq_action *h, struct softirq_action *vec), | |
181 | ||
182 | TP_ARGS(h, vec) | |
183 | ) | |
184 | ||
185 | /** | |
186 | * softirq_exit - called immediately after the softirq handler returns | |
187 | * @h: pointer to struct softirq_action | |
188 | * @vec: pointer to first struct softirq_action in softirq_vec array | |
189 | * | |
190 | * When used in combination with the softirq_entry tracepoint | |
191 | * we can determine the softirq handler runtine. | |
192 | */ | |
193 | DEFINE_EVENT(softirq, softirq_exit, | |
194 | ||
195 | TP_PROTO(struct softirq_action *h, struct softirq_action *vec), | |
196 | ||
197 | TP_ARGS(h, vec) | |
198 | ) | |
199 | ||
200 | /** | |
201 | * softirq_raise - called immediately when a softirq is raised | |
202 | * @h: pointer to struct softirq_action | |
203 | * @vec: pointer to first struct softirq_action in softirq_vec array | |
204 | * | |
205 | * When used in combination with the softirq_entry tracepoint | |
206 | * we can determine the softirq raise to run latency. | |
207 | */ | |
208 | DEFINE_EVENT(softirq, softirq_raise, | |
209 | ||
210 | TP_PROTO(struct softirq_action *h, struct softirq_action *vec), | |
211 | ||
212 | TP_ARGS(h, vec) | |
213 | ) | |
214 | #endif /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,37)) */ | |
150 | 215 | |
151 | 216 | #endif /* _TRACE_IRQ_H */ |
152 | 217 |
4 | 4 | #define _TRACE_LTTNG_STATEDUMP_H |
5 | 5 | |
6 | 6 | #include <linux/tracepoint.h> |
7 | #include <linux/nsproxy.h> | |
8 | #include <linux/pid_namespace.h> | |
7 | 9 | |
8 | 10 | TRACE_EVENT(lttng_statedump_start, |
9 | 11 | TP_PROTO(struct lttng_session *session), |
28 | 30 | TRACE_EVENT(lttng_statedump_process_state, |
29 | 31 | TP_PROTO(struct lttng_session *session, |
30 | 32 | struct task_struct *p, |
31 | int type, int mode, int submode, int status), | |
32 | TP_ARGS(session, p, type, mode, submode, status), | |
33 | int type, int mode, int submode, int status, | |
34 | struct pid_namespace *pid_ns), | |
35 | TP_ARGS(session, p, type, mode, submode, status, pid_ns), | |
33 | 36 | TP_STRUCT__entry( |
34 | 37 | __field(pid_t, tid) |
35 | 38 | __field(pid_t, vtid) |
42 | 45 | __field(int, mode) |
43 | 46 | __field(int, submode) |
44 | 47 | __field(int, status) |
48 | __field(int, ns_level) | |
45 | 49 | ), |
46 | 50 | TP_fast_assign( |
47 | 51 | tp_assign(tid, p->pid) |
48 | tp_assign(vtid, !p->nsproxy ? 0 : task_pid_vnr(p)) | |
52 | tp_assign(vtid, pid_ns ? task_pid_nr_ns(p, pid_ns) : 0) | |
49 | 53 | tp_assign(pid, p->tgid) |
50 | tp_assign(vpid, !p->nsproxy ? 0 : task_tgid_vnr(p)) | |
54 | tp_assign(vpid, pid_ns ? task_tgid_nr_ns(p, pid_ns) : 0) | |
51 | 55 | tp_assign(ppid, |
52 | 56 | ({ |
53 | 57 | pid_t ret; |
60 | 64 | tp_assign(vppid, |
61 | 65 | ({ |
62 | 66 | struct task_struct *parent; |
63 | pid_t ret; | |
67 | pid_t ret = 0; | |
64 | 68 | |
65 | 69 | rcu_read_lock(); |
66 | parent = rcu_dereference(current->real_parent); | |
67 | if (!parent->nsproxy) | |
68 | ret = 0; | |
69 | else | |
70 | ret = task_tgid_nr(parent); | |
70 | parent = rcu_dereference(p->real_parent); | |
71 | ret = task_tgid_nr_ns(parent, pid_ns); | |
71 | 72 | rcu_read_unlock(); |
72 | 73 | ret; |
73 | 74 | })) |
76 | 77 | tp_assign(mode, mode) |
77 | 78 | tp_assign(submode, submode) |
78 | 79 | tp_assign(status, status) |
80 | tp_assign(ns_level, pid_ns ? pid_ns->level : 0) | |
79 | 81 | ), |
80 | 82 | TP_printk("") |
81 | 83 | ) |
73 | 73 | */ |
74 | 74 | DECLARE_EVENT_CLASS(sched_wakeup_template, |
75 | 75 | |
76 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35)) | |
76 | 77 | TP_PROTO(struct task_struct *p, int success), |
77 | 78 | |
78 | 79 | TP_ARGS(p, success), |
80 | #else | |
81 | TP_PROTO(struct rq *rq, struct task_struct *p, int success), | |
82 | ||
83 | TP_ARGS(rq, p, success), | |
84 | #endif | |
79 | 85 | |
80 | 86 | TP_STRUCT__entry( |
81 | 87 | __array_text( char, comm, TASK_COMM_LEN ) |
98 | 104 | __entry->success, __entry->target_cpu) |
99 | 105 | ) |
100 | 106 | |
107 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35)) | |
108 | ||
101 | 109 | DEFINE_EVENT(sched_wakeup_template, sched_wakeup, |
102 | 110 | TP_PROTO(struct task_struct *p, int success), |
103 | 111 | TP_ARGS(p, success)) |
109 | 117 | TP_PROTO(struct task_struct *p, int success), |
110 | 118 | TP_ARGS(p, success)) |
111 | 119 | |
120 | #else /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35)) */ | |
121 | ||
122 | DEFINE_EVENT(sched_wakeup_template, sched_wakeup, | |
123 | TP_PROTO(struct rq *rq, struct task_struct *p, int success), | |
124 | TP_ARGS(rq, p, success)) | |
125 | ||
126 | /* | |
127 | * Tracepoint for waking up a new task: | |
128 | */ | |
129 | DEFINE_EVENT(sched_wakeup_template, sched_wakeup_new, | |
130 | TP_PROTO(struct rq *rq, struct task_struct *p, int success), | |
131 | TP_ARGS(rq, p, success)) | |
132 | ||
133 | #endif /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35)) */ | |
134 | ||
112 | 135 | /* |
113 | 136 | * Tracepoint for task switches, performed by the scheduler: |
114 | 137 | */ |
115 | 138 | TRACE_EVENT(sched_switch, |
116 | 139 | |
140 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35)) | |
117 | 141 | TP_PROTO(struct task_struct *prev, |
118 | 142 | struct task_struct *next), |
119 | 143 | |
120 | 144 | TP_ARGS(prev, next), |
145 | #else /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35)) */ | |
146 | TP_PROTO(struct rq *rq, struct task_struct *prev, | |
147 | struct task_struct *next), | |
148 | ||
149 | TP_ARGS(rq, prev, next), | |
150 | #endif /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35)) */ | |
121 | 151 | |
122 | 152 | TP_STRUCT__entry( |
123 | 153 | __array_text( char, prev_comm, TASK_COMM_LEN ) |
219 | 249 | /* |
220 | 250 | * Tracepoint for waiting on task to unschedule: |
221 | 251 | */ |
252 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35)) | |
222 | 253 | DEFINE_EVENT(sched_process_template, sched_wait_task, |
223 | 254 | TP_PROTO(struct task_struct *p), |
224 | 255 | TP_ARGS(p)) |
256 | #else /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35)) */ | |
257 | DEFINE_EVENT(sched_process_template, sched_wait_task, | |
258 | TP_PROTO(struct rq *rq, struct task_struct *p), | |
259 | TP_ARGS(rq, p)) | |
260 | #endif /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35)) */ | |
225 | 261 | |
226 | 262 | /* |
227 | 263 | * Tracepoint for a waiting task: |
9 | 9 | #define _TRACE_TIMER_DEF_ |
10 | 10 | #include <linux/hrtimer.h> |
11 | 11 | #include <linux/timer.h> |
12 | ||
13 | struct timer_list; | |
14 | ||
12 | 15 | #endif /* _TRACE_TIMER_DEF_ */ |
13 | 16 | |
14 | 17 | DECLARE_EVENT_CLASS(timer_class, |
0 | syscall sys_restart_syscall nr 0 nbargs 0 types: () args: () | |
1 | syscall sys_exit nr 1 nbargs 1 types: (int) args: (error_code) | |
2 | syscall sys_read nr 3 nbargs 3 types: (unsigned int, char *, size_t) args: (fd, buf, count) | |
3 | syscall sys_write nr 4 nbargs 3 types: (unsigned int, const char *, size_t) args: (fd, buf, count) | |
4 | syscall sys_open nr 5 nbargs 3 types: (const char *, int, int) args: (filename, flags, mode) | |
5 | syscall sys_close nr 6 nbargs 1 types: (unsigned int) args: (fd) | |
6 | syscall sys_creat nr 8 nbargs 2 types: (const char *, int) args: (pathname, mode) | |
7 | syscall sys_link nr 9 nbargs 2 types: (const char *, const char *) args: (oldname, newname) | |
8 | syscall sys_unlink nr 10 nbargs 1 types: (const char *) args: (pathname) | |
9 | syscall sys_chdir nr 12 nbargs 1 types: (const char *) args: (filename) | |
10 | syscall sys_mknod nr 14 nbargs 3 types: (const char *, int, unsigned) args: (filename, mode, dev) | |
11 | syscall sys_chmod nr 15 nbargs 2 types: (const char *, mode_t) args: (filename, mode) | |
12 | syscall sys_lchown16 nr 16 nbargs 3 types: (const char *, old_uid_t, old_gid_t) args: (filename, user, group) | |
13 | syscall sys_lseek nr 19 nbargs 3 types: (unsigned int, off_t, unsigned int) args: (fd, offset, origin) | |
14 | syscall sys_getpid nr 20 nbargs 0 types: () args: () | |
15 | syscall sys_mount nr 21 nbargs 5 types: (char *, char *, char *, unsigned long, void *) args: (dev_name, dir_name, type, flags, data) | |
16 | syscall sys_setuid16 nr 23 nbargs 1 types: (old_uid_t) args: (uid) | |
17 | syscall sys_getuid16 nr 24 nbargs 0 types: () args: () | |
18 | syscall sys_ptrace nr 26 nbargs 4 types: (long, long, unsigned long, unsigned long) args: (request, pid, addr, data) | |
19 | syscall sys_pause nr 29 nbargs 0 types: () args: () | |
20 | syscall sys_access nr 33 nbargs 2 types: (const char *, int) args: (filename, mode) | |
21 | syscall sys_nice nr 34 nbargs 1 types: (int) args: (increment) | |
22 | syscall sys_sync nr 36 nbargs 0 types: () args: () | |
23 | syscall sys_kill nr 37 nbargs 2 types: (pid_t, int) args: (pid, sig) | |
24 | syscall sys_rename nr 38 nbargs 2 types: (const char *, const char *) args: (oldname, newname) | |
25 | syscall sys_mkdir nr 39 nbargs 2 types: (const char *, int) args: (pathname, mode) | |
26 | syscall sys_rmdir nr 40 nbargs 1 types: (const char *) args: (pathname) | |
27 | syscall sys_dup nr 41 nbargs 1 types: (unsigned int) args: (fildes) | |
28 | syscall sys_pipe nr 42 nbargs 1 types: (int *) args: (fildes) | |
29 | syscall sys_times nr 43 nbargs 1 types: (struct tms *) args: (tbuf) | |
30 | syscall sys_brk nr 45 nbargs 1 types: (unsigned long) args: (brk) | |
31 | syscall sys_setgid16 nr 46 nbargs 1 types: (old_gid_t) args: (gid) | |
32 | syscall sys_getgid16 nr 47 nbargs 0 types: () args: () | |
33 | syscall sys_geteuid16 nr 49 nbargs 0 types: () args: () | |
34 | syscall sys_getegid16 nr 50 nbargs 0 types: () args: () | |
35 | syscall sys_umount nr 52 nbargs 2 types: (char *, int) args: (name, flags) | |
36 | syscall sys_ioctl nr 54 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) | |
37 | syscall sys_fcntl nr 55 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) | |
38 | syscall sys_setpgid nr 57 nbargs 2 types: (pid_t, pid_t) args: (pid, pgid) | |
39 | syscall sys_umask nr 60 nbargs 1 types: (int) args: (mask) | |
40 | syscall sys_chroot nr 61 nbargs 1 types: (const char *) args: (filename) | |
41 | syscall sys_ustat nr 62 nbargs 2 types: (unsigned, struct ustat *) args: (dev, ubuf) | |
42 | syscall sys_dup2 nr 63 nbargs 2 types: (unsigned int, unsigned int) args: (oldfd, newfd) | |
43 | syscall sys_getppid nr 64 nbargs 0 types: () args: () | |
44 | syscall sys_getpgrp nr 65 nbargs 0 types: () args: () | |
45 | syscall sys_setsid nr 66 nbargs 0 types: () args: () | |
46 | syscall sys_setreuid16 nr 70 nbargs 2 types: (old_uid_t, old_uid_t) args: (ruid, euid) | |
47 | syscall sys_setregid16 nr 71 nbargs 2 types: (old_gid_t, old_gid_t) args: (rgid, egid) | |
48 | syscall sys_sigpending nr 73 nbargs 1 types: (old_sigset_t *) args: (set) | |
49 | syscall sys_sethostname nr 74 nbargs 2 types: (char *, int) args: (name, len) | |
50 | syscall sys_setrlimit nr 75 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) | |
51 | syscall sys_getrusage nr 77 nbargs 2 types: (int, struct rusage *) args: (who, ru) | |
52 | syscall sys_gettimeofday nr 78 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) | |
53 | syscall sys_settimeofday nr 79 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) | |
54 | syscall sys_getgroups16 nr 80 nbargs 2 types: (int, old_gid_t *) args: (gidsetsize, grouplist) | |
55 | syscall sys_setgroups16 nr 81 nbargs 2 types: (int, old_gid_t *) args: (gidsetsize, grouplist) | |
56 | syscall sys_symlink nr 83 nbargs 2 types: (const char *, const char *) args: (oldname, newname) | |
57 | syscall sys_readlink nr 85 nbargs 3 types: (const char *, char *, int) args: (path, buf, bufsiz) | |
58 | syscall sys_uselib nr 86 nbargs 1 types: (const char *) args: (library) | |
59 | syscall sys_reboot nr 88 nbargs 4 types: (int, int, unsigned int, void *) args: (magic1, magic2, cmd, arg) | |
60 | syscall sys_munmap nr 91 nbargs 2 types: (unsigned long, size_t) args: (addr, len) | |
61 | syscall sys_truncate nr 92 nbargs 2 types: (const char *, long) args: (path, length) | |
62 | syscall sys_ftruncate nr 93 nbargs 2 types: (unsigned int, unsigned long) args: (fd, length) | |
63 | syscall sys_fchmod nr 94 nbargs 2 types: (unsigned int, mode_t) args: (fd, mode) | |
64 | syscall sys_fchown16 nr 95 nbargs 3 types: (unsigned int, old_uid_t, old_gid_t) args: (fd, user, group) | |
65 | syscall sys_getpriority nr 96 nbargs 2 types: (int, int) args: (which, who) | |
66 | syscall sys_setpriority nr 97 nbargs 3 types: (int, int, int) args: (which, who, niceval) | |
67 | syscall sys_statfs nr 99 nbargs 2 types: (const char *, struct statfs *) args: (pathname, buf) | |
68 | syscall sys_fstatfs nr 100 nbargs 2 types: (unsigned int, struct statfs *) args: (fd, buf) | |
69 | syscall sys_syslog nr 103 nbargs 3 types: (int, char *, int) args: (type, buf, len) | |
70 | syscall sys_setitimer nr 104 nbargs 3 types: (int, struct itimerval *, struct itimerval *) args: (which, value, ovalue) | |
71 | syscall sys_getitimer nr 105 nbargs 2 types: (int, struct itimerval *) args: (which, value) | |
72 | syscall sys_newstat nr 106 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) | |
73 | syscall sys_newlstat nr 107 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) | |
74 | syscall sys_newfstat nr 108 nbargs 2 types: (unsigned int, struct stat *) args: (fd, statbuf) | |
75 | syscall sys_vhangup nr 111 nbargs 0 types: () args: () | |
76 | syscall sys_wait4 nr 114 nbargs 4 types: (pid_t, int *, int, struct rusage *) args: (upid, stat_addr, options, ru) | |
77 | syscall sys_sysinfo nr 116 nbargs 1 types: (struct sysinfo *) args: (info) | |
78 | syscall sys_fsync nr 118 nbargs 1 types: (unsigned int) args: (fd) | |
79 | syscall sys_setdomainname nr 121 nbargs 2 types: (char *, int) args: (name, len) | |
80 | syscall sys_newuname nr 122 nbargs 1 types: (struct new_utsname *) args: (name) | |
81 | syscall sys_adjtimex nr 124 nbargs 1 types: (struct timex *) args: (txc_p) | |
82 | syscall sys_mprotect nr 125 nbargs 3 types: (unsigned long, size_t, unsigned long) args: (start, len, prot) | |
83 | syscall sys_sigprocmask nr 126 nbargs 3 types: (int, old_sigset_t *, old_sigset_t *) args: (how, set, oset) | |
84 | syscall sys_init_module nr 128 nbargs 3 types: (void *, unsigned long, const char *) args: (umod, len, uargs) | |
85 | syscall sys_delete_module nr 129 nbargs 2 types: (const char *, unsigned int) args: (name_user, flags) | |
86 | syscall sys_getpgid nr 132 nbargs 1 types: (pid_t) args: (pid) | |
87 | syscall sys_fchdir nr 133 nbargs 1 types: (unsigned int) args: (fd) | |
88 | syscall sys_bdflush nr 134 nbargs 2 types: (int, long) args: (func, data) | |
89 | syscall sys_sysfs nr 135 nbargs 3 types: (int, unsigned long, unsigned long) args: (option, arg1, arg2) | |
90 | syscall sys_personality nr 136 nbargs 1 types: (unsigned int) args: (personality) | |
91 | syscall sys_setfsuid16 nr 138 nbargs 1 types: (old_uid_t) args: (uid) | |
92 | syscall sys_setfsgid16 nr 139 nbargs 1 types: (old_gid_t) args: (gid) | |
93 | syscall sys_llseek nr 140 nbargs 5 types: (unsigned int, unsigned long, unsigned long, loff_t *, unsigned int) args: (fd, offset_high, offset_low, result, origin) | |
94 | syscall sys_getdents nr 141 nbargs 3 types: (unsigned int, struct linux_dirent *, unsigned int) args: (fd, dirent, count) | |
95 | syscall sys_select nr 142 nbargs 5 types: (int, fd_set *, fd_set *, fd_set *, struct timeval *) args: (n, inp, outp, exp, tvp) | |
96 | syscall sys_flock nr 143 nbargs 2 types: (unsigned int, unsigned int) args: (fd, cmd) | |
97 | syscall sys_msync nr 144 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) | |
98 | syscall sys_readv nr 145 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) | |
99 | syscall sys_writev nr 146 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) | |
100 | syscall sys_getsid nr 147 nbargs 1 types: (pid_t) args: (pid) | |
101 | syscall sys_fdatasync nr 148 nbargs 1 types: (unsigned int) args: (fd) | |
102 | syscall sys_sysctl nr 149 nbargs 1 types: (struct __sysctl_args *) args: (args) | |
103 | syscall sys_mlock nr 150 nbargs 2 types: (unsigned long, size_t) args: (start, len) | |
104 | syscall sys_munlock nr 151 nbargs 2 types: (unsigned long, size_t) args: (start, len) | |
105 | syscall sys_mlockall nr 152 nbargs 1 types: (int) args: (flags) | |
106 | syscall sys_munlockall nr 153 nbargs 0 types: () args: () | |
107 | syscall sys_sched_setparam nr 154 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) | |
108 | syscall sys_sched_getparam nr 155 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) | |
109 | syscall sys_sched_setscheduler nr 156 nbargs 3 types: (pid_t, int, struct sched_param *) args: (pid, policy, param) | |
110 | syscall sys_sched_getscheduler nr 157 nbargs 1 types: (pid_t) args: (pid) | |
111 | syscall sys_sched_yield nr 158 nbargs 0 types: () args: () | |
112 | syscall sys_sched_get_priority_max nr 159 nbargs 1 types: (int) args: (policy) | |
113 | syscall sys_sched_get_priority_min nr 160 nbargs 1 types: (int) args: (policy) | |
114 | syscall sys_sched_rr_get_interval nr 161 nbargs 2 types: (pid_t, struct timespec *) args: (pid, interval) | |
115 | syscall sys_nanosleep nr 162 nbargs 2 types: (struct timespec *, struct timespec *) args: (rqtp, rmtp) | |
116 | syscall sys_mremap nr 163 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, old_len, new_len, flags, new_addr) | |
117 | syscall sys_setresuid16 nr 164 nbargs 3 types: (old_uid_t, old_uid_t, old_uid_t) args: (ruid, euid, suid) | |
118 | syscall sys_getresuid16 nr 165 nbargs 3 types: (old_uid_t *, old_uid_t *, old_uid_t *) args: (ruid, euid, suid) | |
119 | syscall sys_poll nr 168 nbargs 3 types: (struct pollfd *, unsigned int, long) args: (ufds, nfds, timeout_msecs) | |
120 | syscall sys_setresgid16 nr 170 nbargs 3 types: (old_gid_t, old_gid_t, old_gid_t) args: (rgid, egid, sgid) | |
121 | syscall sys_getresgid16 nr 171 nbargs 3 types: (old_gid_t *, old_gid_t *, old_gid_t *) args: (rgid, egid, sgid) | |
122 | syscall sys_prctl nr 172 nbargs 5 types: (int, unsigned long, unsigned long, unsigned long, unsigned long) args: (option, arg2, arg3, arg4, arg5) | |
123 | syscall sys_rt_sigaction nr 174 nbargs 4 types: (int, const struct sigaction *, struct sigaction *, size_t) args: (sig, act, oact, sigsetsize) | |
124 | syscall sys_rt_sigprocmask nr 175 nbargs 4 types: (int, sigset_t *, sigset_t *, size_t) args: (how, set, oset, sigsetsize) | |
125 | syscall sys_rt_sigpending nr 176 nbargs 2 types: (sigset_t *, size_t) args: (set, sigsetsize) | |
126 | syscall sys_rt_sigtimedwait nr 177 nbargs 4 types: (const sigset_t *, siginfo_t *, const struct timespec *, size_t) args: (uthese, uinfo, uts, sigsetsize) | |
127 | syscall sys_rt_sigqueueinfo nr 178 nbargs 3 types: (pid_t, int, siginfo_t *) args: (pid, sig, uinfo) | |
128 | syscall sys_rt_sigsuspend nr 179 nbargs 2 types: (sigset_t *, size_t) args: (unewset, sigsetsize) | |
129 | syscall sys_chown16 nr 182 nbargs 3 types: (const char *, old_uid_t, old_gid_t) args: (filename, user, group) | |
130 | syscall sys_getcwd nr 183 nbargs 2 types: (char *, unsigned long) args: (buf, size) | |
131 | syscall sys_capget nr 184 nbargs 2 types: (cap_user_header_t, cap_user_data_t) args: (header, dataptr) | |
132 | syscall sys_capset nr 185 nbargs 2 types: (cap_user_header_t, const cap_user_data_t) args: (header, data) | |
133 | syscall sys_sendfile nr 187 nbargs 4 types: (int, int, off_t *, size_t) args: (out_fd, in_fd, offset, count) | |
134 | syscall sys_getrlimit nr 191 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) | |
135 | syscall sys_stat64 nr 195 nbargs 2 types: (const char *, struct stat64 *) args: (filename, statbuf) | |
136 | syscall sys_lstat64 nr 196 nbargs 2 types: (const char *, struct stat64 *) args: (filename, statbuf) | |
137 | syscall sys_fstat64 nr 197 nbargs 2 types: (unsigned long, struct stat64 *) args: (fd, statbuf) | |
138 | syscall sys_lchown nr 198 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) | |
139 | syscall sys_getuid nr 199 nbargs 0 types: () args: () | |
140 | syscall sys_getgid nr 200 nbargs 0 types: () args: () | |
141 | syscall sys_geteuid nr 201 nbargs 0 types: () args: () | |
142 | syscall sys_getegid nr 202 nbargs 0 types: () args: () | |
143 | syscall sys_setreuid nr 203 nbargs 2 types: (uid_t, uid_t) args: (ruid, euid) | |
144 | syscall sys_setregid nr 204 nbargs 2 types: (gid_t, gid_t) args: (rgid, egid) | |
145 | syscall sys_getgroups nr 205 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) | |
146 | syscall sys_setgroups nr 206 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) | |
147 | syscall sys_fchown nr 207 nbargs 3 types: (unsigned int, uid_t, gid_t) args: (fd, user, group) | |
148 | syscall sys_setresuid nr 208 nbargs 3 types: (uid_t, uid_t, uid_t) args: (ruid, euid, suid) | |
149 | syscall sys_getresuid nr 209 nbargs 3 types: (uid_t *, uid_t *, uid_t *) args: (ruid, euid, suid) | |
150 | syscall sys_setresgid nr 210 nbargs 3 types: (gid_t, gid_t, gid_t) args: (rgid, egid, sgid) | |
151 | syscall sys_getresgid nr 211 nbargs 3 types: (gid_t *, gid_t *, gid_t *) args: (rgid, egid, sgid) | |
152 | syscall sys_chown nr 212 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) | |
153 | syscall sys_setuid nr 213 nbargs 1 types: (uid_t) args: (uid) | |
154 | syscall sys_setgid nr 214 nbargs 1 types: (gid_t) args: (gid) | |
155 | syscall sys_setfsuid nr 215 nbargs 1 types: (uid_t) args: (uid) | |
156 | syscall sys_setfsgid nr 216 nbargs 1 types: (gid_t) args: (gid) | |
157 | syscall sys_getdents64 nr 217 nbargs 3 types: (unsigned int, struct linux_dirent64 *, unsigned int) args: (fd, dirent, count) | |
158 | syscall sys_pivot_root nr 218 nbargs 2 types: (const char *, const char *) args: (new_root, put_old) | |
159 | syscall sys_mincore nr 219 nbargs 3 types: (unsigned long, size_t, unsigned char *) args: (start, len, vec) | |
160 | syscall sys_madvise nr 220 nbargs 3 types: (unsigned long, size_t, int) args: (start, len_in, behavior) | |
161 | syscall sys_fcntl64 nr 221 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) | |
162 | syscall sys_gettid nr 224 nbargs 0 types: () args: () | |
163 | syscall sys_setxattr nr 226 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) | |
164 | syscall sys_lsetxattr nr 227 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) | |
165 | syscall sys_fsetxattr nr 228 nbargs 5 types: (int, const char *, const void *, size_t, int) args: (fd, name, value, size, flags) | |
166 | syscall sys_getxattr nr 229 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) | |
167 | syscall sys_lgetxattr nr 230 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) | |
168 | syscall sys_fgetxattr nr 231 nbargs 4 types: (int, const char *, void *, size_t) args: (fd, name, value, size) | |
169 | syscall sys_listxattr nr 232 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) | |
170 | syscall sys_llistxattr nr 233 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) | |
171 | syscall sys_flistxattr nr 234 nbargs 3 types: (int, char *, size_t) args: (fd, list, size) | |
172 | syscall sys_removexattr nr 235 nbargs 2 types: (const char *, const char *) args: (pathname, name) | |
173 | syscall sys_lremovexattr nr 236 nbargs 2 types: (const char *, const char *) args: (pathname, name) | |
174 | syscall sys_fremovexattr nr 237 nbargs 2 types: (int, const char *) args: (fd, name) | |
175 | syscall sys_tkill nr 238 nbargs 2 types: (pid_t, int) args: (pid, sig) | |
176 | syscall sys_sendfile64 nr 239 nbargs 4 types: (int, int, loff_t *, size_t) args: (out_fd, in_fd, offset, count) | |
177 | syscall sys_futex nr 240 nbargs 6 types: (u32 *, int, u32, struct timespec *, u32 *, u32) args: (uaddr, op, val, utime, uaddr2, val3) | |
178 | syscall sys_sched_setaffinity nr 241 nbargs 3 types: (pid_t, unsigned int, unsigned long *) args: (pid, len, user_mask_ptr) | |
179 | syscall sys_sched_getaffinity nr 242 nbargs 3 types: (pid_t, unsigned int, unsigned long *) args: (pid, len, user_mask_ptr) | |
180 | syscall sys_io_setup nr 243 nbargs 2 types: (unsigned, aio_context_t *) args: (nr_events, ctxp) | |
181 | syscall sys_io_destroy nr 244 nbargs 1 types: (aio_context_t) args: (ctx) | |
182 | syscall sys_io_getevents nr 245 nbargs 5 types: (aio_context_t, long, long, struct io_event *, struct timespec *) args: (ctx_id, min_nr, nr, events, timeout) | |
183 | syscall sys_io_submit nr 246 nbargs 3 types: (aio_context_t, long, struct iocb * *) args: (ctx_id, nr, iocbpp) | |
184 | syscall sys_io_cancel nr 247 nbargs 3 types: (aio_context_t, struct iocb *, struct io_event *) args: (ctx_id, iocb, result) | |
185 | syscall sys_exit_group nr 248 nbargs 1 types: (int) args: (error_code) | |
186 | syscall sys_epoll_create nr 250 nbargs 1 types: (int) args: (size) | |
187 | syscall sys_epoll_ctl nr 251 nbargs 4 types: (int, int, int, struct epoll_event *) args: (epfd, op, fd, event) | |
188 | syscall sys_epoll_wait nr 252 nbargs 4 types: (int, struct epoll_event *, int, int) args: (epfd, events, maxevents, timeout) | |
189 | syscall sys_remap_file_pages nr 253 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (start, size, prot, pgoff, flags) | |
190 | syscall sys_set_tid_address nr 256 nbargs 1 types: (int *) args: (tidptr) | |
191 | syscall sys_timer_create nr 257 nbargs 3 types: (const clockid_t, struct sigevent *, timer_t *) args: (which_clock, timer_event_spec, created_timer_id) | |
192 | syscall sys_timer_settime nr 258 nbargs 4 types: (timer_t, int, const struct itimerspec *, struct itimerspec *) args: (timer_id, flags, new_setting, old_setting) | |
193 | syscall sys_timer_gettime nr 259 nbargs 2 types: (timer_t, struct itimerspec *) args: (timer_id, setting) | |
194 | syscall sys_timer_getoverrun nr 260 nbargs 1 types: (timer_t) args: (timer_id) | |
195 | syscall sys_timer_delete nr 261 nbargs 1 types: (timer_t) args: (timer_id) | |
196 | syscall sys_clock_settime nr 262 nbargs 2 types: (const clockid_t, const struct timespec *) args: (which_clock, tp) | |
197 | syscall sys_clock_gettime nr 263 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) | |
198 | syscall sys_clock_getres nr 264 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) | |
199 | syscall sys_clock_nanosleep nr 265 nbargs 4 types: (const clockid_t, int, const struct timespec *, struct timespec *) args: (which_clock, flags, rqtp, rmtp) | |
200 | syscall sys_tgkill nr 268 nbargs 3 types: (pid_t, pid_t, int) args: (tgid, pid, sig) | |
201 | syscall sys_utimes nr 269 nbargs 2 types: (char *, struct timeval *) args: (filename, utimes) | |
202 | syscall sys_mq_open nr 274 nbargs 4 types: (const char *, int, mode_t, struct mq_attr *) args: (u_name, oflag, mode, u_attr) | |
203 | syscall sys_mq_unlink nr 275 nbargs 1 types: (const char *) args: (u_name) | |
204 | syscall sys_mq_timedsend nr 276 nbargs 5 types: (mqd_t, const char *, size_t, unsigned int, const struct timespec *) args: (mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout) | |
205 | syscall sys_mq_timedreceive nr 277 nbargs 5 types: (mqd_t, char *, size_t, unsigned int *, const struct timespec *) args: (mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout) | |
206 | syscall sys_mq_notify nr 278 nbargs 2 types: (mqd_t, const struct sigevent *) args: (mqdes, u_notification) | |
207 | syscall sys_mq_getsetattr nr 279 nbargs 3 types: (mqd_t, const struct mq_attr *, struct mq_attr *) args: (mqdes, u_mqstat, u_omqstat) | |
208 | syscall sys_waitid nr 280 nbargs 5 types: (int, pid_t, struct siginfo *, int, struct rusage *) args: (which, upid, infop, options, ru) | |
209 | syscall sys_socket nr 281 nbargs 3 types: (int, int, int) args: (family, type, protocol) | |
210 | syscall sys_bind nr 282 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, umyaddr, addrlen) | |
211 | syscall sys_connect nr 283 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, uservaddr, addrlen) | |
212 | syscall sys_listen nr 284 nbargs 2 types: (int, int) args: (fd, backlog) | |
213 | syscall sys_accept nr 285 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, upeer_sockaddr, upeer_addrlen) | |
214 | syscall sys_getsockname nr 286 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) | |
215 | syscall sys_getpeername nr 287 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) | |
216 | syscall sys_socketpair nr 288 nbargs 4 types: (int, int, int, int *) args: (family, type, protocol, usockvec) | |
217 | syscall sys_send nr 289 nbargs 4 types: (int, void *, size_t, unsigned) args: (fd, buff, len, flags) | |
218 | syscall sys_sendto nr 290 nbargs 6 types: (int, void *, size_t, unsigned, struct sockaddr *, int) args: (fd, buff, len, flags, addr, addr_len) | |
219 | syscall sys_recvfrom nr 292 nbargs 6 types: (int, void *, size_t, unsigned, struct sockaddr *, int *) args: (fd, ubuf, size, flags, addr, addr_len) | |
220 | syscall sys_shutdown nr 293 nbargs 2 types: (int, int) args: (fd, how) | |
221 | syscall sys_setsockopt nr 294 nbargs 5 types: (int, int, int, char *, int) args: (fd, level, optname, optval, optlen) | |
222 | syscall sys_getsockopt nr 295 nbargs 5 types: (int, int, int, char *, int *) args: (fd, level, optname, optval, optlen) | |
223 | syscall sys_sendmsg nr 296 nbargs 3 types: (int, struct msghdr *, unsigned) args: (fd, msg, flags) | |
224 | syscall sys_recvmsg nr 297 nbargs 3 types: (int, struct msghdr *, unsigned int) args: (fd, msg, flags) | |
225 | syscall sys_semop nr 298 nbargs 3 types: (int, struct sembuf *, unsigned) args: (semid, tsops, nsops) | |
226 | syscall sys_semget nr 299 nbargs 3 types: (key_t, int, int) args: (key, nsems, semflg) | |
227 | syscall sys_msgsnd nr 301 nbargs 4 types: (int, struct msgbuf *, size_t, int) args: (msqid, msgp, msgsz, msgflg) | |
228 | syscall sys_msgrcv nr 302 nbargs 5 types: (int, struct msgbuf *, size_t, long, int) args: (msqid, msgp, msgsz, msgtyp, msgflg) | |
229 | syscall sys_msgget nr 303 nbargs 2 types: (key_t, int) args: (key, msgflg) | |
230 | syscall sys_msgctl nr 304 nbargs 3 types: (int, int, struct msqid_ds *) args: (msqid, cmd, buf) | |
231 | syscall sys_shmat nr 305 nbargs 3 types: (int, char *, int) args: (shmid, shmaddr, shmflg) | |
232 | syscall sys_shmdt nr 306 nbargs 1 types: (char *) args: (shmaddr) | |
233 | syscall sys_shmget nr 307 nbargs 3 types: (key_t, size_t, int) args: (key, size, shmflg) | |
234 | syscall sys_shmctl nr 308 nbargs 3 types: (int, int, struct shmid_ds *) args: (shmid, cmd, buf) | |
235 | syscall sys_add_key nr 309 nbargs 5 types: (const char *, const char *, const void *, size_t, key_serial_t) args: (_type, _description, _payload, plen, ringid) | |
236 | syscall sys_request_key nr 310 nbargs 4 types: (const char *, const char *, const char *, key_serial_t) args: (_type, _description, _callout_info, destringid) | |
237 | syscall sys_keyctl nr 311 nbargs 5 types: (int, unsigned long, unsigned long, unsigned long, unsigned long) args: (option, arg2, arg3, arg4, arg5) | |
238 | syscall sys_semtimedop nr 312 nbargs 4 types: (int, struct sembuf *, unsigned, const struct timespec *) args: (semid, tsops, nsops, timeout) | |
239 | syscall sys_ioprio_set nr 314 nbargs 3 types: (int, int, int) args: (which, who, ioprio) | |
240 | syscall sys_ioprio_get nr 315 nbargs 2 types: (int, int) args: (which, who) | |
241 | syscall sys_inotify_init nr 316 nbargs 0 types: () args: () | |
242 | syscall sys_inotify_add_watch nr 317 nbargs 3 types: (int, const char *, u32) args: (fd, pathname, mask) | |
243 | syscall sys_inotify_rm_watch nr 318 nbargs 2 types: (int, __s32) args: (fd, wd) | |
244 | syscall sys_openat nr 322 nbargs 4 types: (int, const char *, int, int) args: (dfd, filename, flags, mode) | |
245 | syscall sys_mkdirat nr 323 nbargs 3 types: (int, const char *, int) args: (dfd, pathname, mode) | |
246 | syscall sys_mknodat nr 324 nbargs 4 types: (int, const char *, int, unsigned) args: (dfd, filename, mode, dev) | |
247 | syscall sys_fchownat nr 325 nbargs 5 types: (int, const char *, uid_t, gid_t, int) args: (dfd, filename, user, group, flag) | |
248 | syscall sys_futimesat nr 326 nbargs 3 types: (int, const char *, struct timeval *) args: (dfd, filename, utimes) | |
249 | syscall sys_fstatat64 nr 327 nbargs 4 types: (int, const char *, struct stat64 *, int) args: (dfd, filename, statbuf, flag) | |
250 | syscall sys_unlinkat nr 328 nbargs 3 types: (int, const char *, int) args: (dfd, pathname, flag) | |
251 | syscall sys_renameat nr 329 nbargs 4 types: (int, const char *, int, const char *) args: (olddfd, oldname, newdfd, newname) | |
252 | syscall sys_linkat nr 330 nbargs 5 types: (int, const char *, int, const char *, int) args: (olddfd, oldname, newdfd, newname, flags) | |
253 | syscall sys_symlinkat nr 331 nbargs 3 types: (const char *, int, const char *) args: (oldname, newdfd, newname) | |
254 | syscall sys_readlinkat nr 332 nbargs 4 types: (int, const char *, char *, int) args: (dfd, pathname, buf, bufsiz) | |
255 | syscall sys_fchmodat nr 333 nbargs 3 types: (int, const char *, mode_t) args: (dfd, filename, mode) | |
256 | syscall sys_faccessat nr 334 nbargs 3 types: (int, const char *, int) args: (dfd, filename, mode) | |
257 | syscall sys_pselect6 nr 335 nbargs 6 types: (int, fd_set *, fd_set *, fd_set *, struct timespec *, void *) args: (n, inp, outp, exp, tsp, sig) | |
258 | syscall sys_ppoll nr 336 nbargs 5 types: (struct pollfd *, unsigned int, struct timespec *, const sigset_t *, size_t) args: (ufds, nfds, tsp, sigmask, sigsetsize) | |
259 | syscall sys_unshare nr 337 nbargs 1 types: (unsigned long) args: (unshare_flags) | |
260 | syscall sys_set_robust_list nr 338 nbargs 2 types: (struct robust_list_head *, size_t) args: (head, len) | |
261 | syscall sys_get_robust_list nr 339 nbargs 3 types: (int, struct robust_list_head * *, size_t *) args: (pid, head_ptr, len_ptr) | |
262 | syscall sys_splice nr 340 nbargs 6 types: (int, loff_t *, int, loff_t *, size_t, unsigned int) args: (fd_in, off_in, fd_out, off_out, len, flags) | |
263 | syscall sys_tee nr 342 nbargs 4 types: (int, int, size_t, unsigned int) args: (fdin, fdout, len, flags) | |
264 | syscall sys_vmsplice nr 343 nbargs 4 types: (int, const struct iovec *, unsigned long, unsigned int) args: (fd, iov, nr_segs, flags) | |
265 | syscall sys_getcpu nr 345 nbargs 3 types: (unsigned *, unsigned *, struct getcpu_cache *) args: (cpup, nodep, unused) | |
266 | syscall sys_epoll_pwait nr 346 nbargs 6 types: (int, struct epoll_event *, int, int, const sigset_t *, size_t) args: (epfd, events, maxevents, timeout, sigmask, sigsetsize) | |
267 | syscall sys_utimensat nr 348 nbargs 4 types: (int, const char *, struct timespec *, int) args: (dfd, filename, utimes, flags) | |
268 | syscall sys_signalfd nr 349 nbargs 3 types: (int, sigset_t *, size_t) args: (ufd, user_mask, sizemask) | |
269 | syscall sys_timerfd_create nr 350 nbargs 2 types: (int, int) args: (clockid, flags) | |
270 | syscall sys_eventfd nr 351 nbargs 1 types: (unsigned int) args: (count) | |
271 | syscall sys_timerfd_settime nr 353 nbargs 4 types: (int, int, const struct itimerspec *, struct itimerspec *) args: (ufd, flags, utmr, otmr) | |
272 | syscall sys_timerfd_gettime nr 354 nbargs 2 types: (int, struct itimerspec *) args: (ufd, otmr) | |
273 | syscall sys_signalfd4 nr 355 nbargs 4 types: (int, sigset_t *, size_t, int) args: (ufd, user_mask, sizemask, flags) | |
274 | syscall sys_eventfd2 nr 356 nbargs 2 types: (unsigned int, int) args: (count, flags) | |
275 | syscall sys_epoll_create1 nr 357 nbargs 1 types: (int) args: (flags) | |
276 | syscall sys_dup3 nr 358 nbargs 3 types: (unsigned int, unsigned int, int) args: (oldfd, newfd, flags) | |
277 | syscall sys_pipe2 nr 359 nbargs 2 types: (int *, int) args: (fildes, flags) | |
278 | syscall sys_inotify_init1 nr 360 nbargs 1 types: (int) args: (flags) | |
279 | syscall sys_preadv nr 361 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) | |
280 | syscall sys_pwritev nr 362 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) | |
281 | syscall sys_rt_tgsigqueueinfo nr 363 nbargs 4 types: (pid_t, pid_t, int, siginfo_t *) args: (tgid, pid, sig, uinfo) | |
282 | syscall sys_recvmmsg nr 365 nbargs 5 types: (int, struct mmsghdr *, unsigned int, unsigned int, struct timespec *) args: (fd, mmsg, vlen, flags, timeout) | |
283 | syscall sys_accept4 nr 366 nbargs 4 types: (int, struct sockaddr *, int *, int) args: (fd, upeer_sockaddr, upeer_addrlen, flags) | |
284 | syscall sys_prlimit64 nr 369 nbargs 4 types: (pid_t, unsigned int, const struct rlimit64 *, struct rlimit64 *) args: (pid, resource, new_rlim, old_rlim) |
0 | syscall sys_exit nr 4003 nbargs 1 types: (int) args: (error_code) | |
1 | syscall sys_read nr 4007 nbargs 3 types: (unsigned int, char *, size_t) args: (fd, buf, count) | |
2 | syscall sys_write nr 4009 nbargs 3 types: (unsigned int, const char *, size_t) args: (fd, buf, count) | |
3 | syscall sys_open nr 4011 nbargs 3 types: (const char *, int, umode_t) args: (filename, flags, mode) | |
4 | syscall sys_close nr 4013 nbargs 1 types: (unsigned int) args: (fd) | |
5 | syscall sys_waitpid nr 4015 nbargs 3 types: (pid_t, int *, int) args: (pid, stat_addr, options) | |
6 | syscall sys_creat nr 4017 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) | |
7 | syscall sys_link nr 4019 nbargs 2 types: (const char *, const char *) args: (oldname, newname) | |
8 | syscall sys_unlink nr 4021 nbargs 1 types: (const char *) args: (pathname) | |
9 | syscall sys_chdir nr 4025 nbargs 1 types: (const char *) args: (filename) | |
10 | syscall sys_time nr 4027 nbargs 1 types: (time_t *) args: (tloc) | |
11 | syscall sys_mknod nr 4029 nbargs 3 types: (const char *, umode_t, unsigned) args: (filename, mode, dev) | |
12 | syscall sys_chmod nr 4031 nbargs 2 types: (const char *, umode_t) args: (filename, mode) | |
13 | syscall sys_lchown nr 4033 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) | |
14 | syscall sys_lseek nr 4039 nbargs 3 types: (unsigned int, off_t, unsigned int) args: (fd, offset, origin) | |
15 | syscall sys_getpid nr 4041 nbargs 0 types: () args: () | |
16 | syscall sys_mount nr 4043 nbargs 5 types: (char *, char *, char *, unsigned long, void *) args: (dev_name, dir_name, type, flags, data) | |
17 | syscall sys_oldumount nr 4045 nbargs 1 types: (char *) args: (name) | |
18 | syscall sys_setuid nr 4047 nbargs 1 types: (uid_t) args: (uid) | |
19 | syscall sys_getuid nr 4049 nbargs 0 types: () args: () | |
20 | syscall sys_stime nr 4051 nbargs 1 types: (time_t *) args: (tptr) | |
21 | syscall sys_ptrace nr 4053 nbargs 4 types: (long, long, unsigned long, unsigned long) args: (request, pid, addr, data) | |
22 | syscall sys_alarm nr 4055 nbargs 1 types: (unsigned int) args: (seconds) | |
23 | syscall sys_pause nr 4059 nbargs 0 types: () args: () | |
24 | syscall sys_utime nr 4061 nbargs 2 types: (char *, struct utimbuf *) args: (filename, times) | |
25 | syscall sys_access nr 4067 nbargs 2 types: (const char *, int) args: (filename, mode) | |
26 | syscall sys_nice nr 4069 nbargs 1 types: (int) args: (increment) | |
27 | syscall sys_sync nr 4073 nbargs 0 types: () args: () | |
28 | syscall sys_kill nr 4075 nbargs 2 types: (pid_t, int) args: (pid, sig) | |
29 | syscall sys_rename nr 4077 nbargs 2 types: (const char *, const char *) args: (oldname, newname) | |
30 | syscall sys_mkdir nr 4079 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) | |
31 | syscall sys_rmdir nr 4081 nbargs 1 types: (const char *) args: (pathname) | |
32 | syscall sys_dup nr 4083 nbargs 1 types: (unsigned int) args: (fildes) | |
33 | syscall sys_times nr 4087 nbargs 1 types: (struct tms *) args: (tbuf) | |
34 | syscall sys_brk nr 4091 nbargs 1 types: (unsigned long) args: (brk) | |
35 | syscall sys_setgid nr 4093 nbargs 1 types: (gid_t) args: (gid) | |
36 | syscall sys_getgid nr 4095 nbargs 0 types: () args: () | |
37 | syscall sys_geteuid nr 4099 nbargs 0 types: () args: () | |
38 | syscall sys_getegid nr 4101 nbargs 0 types: () args: () | |
39 | syscall sys_umount nr 4105 nbargs 2 types: (char *, int) args: (name, flags) | |
40 | syscall sys_ioctl nr 4109 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) | |
41 | syscall sys_fcntl nr 4111 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) | |
42 | syscall sys_setpgid nr 4115 nbargs 2 types: (pid_t, pid_t) args: (pid, pgid) | |
43 | syscall sys_olduname nr 4119 nbargs 1 types: (struct oldold_utsname *) args: (name) | |
44 | syscall sys_umask nr 4121 nbargs 1 types: (int) args: (mask) | |
45 | syscall sys_chroot nr 4123 nbargs 1 types: (const char *) args: (filename) | |
46 | syscall sys_ustat nr 4125 nbargs 2 types: (unsigned, struct ustat *) args: (dev, ubuf) | |
47 | syscall sys_dup2 nr 4127 nbargs 2 types: (unsigned int, unsigned int) args: (oldfd, newfd) | |
48 | syscall sys_getppid nr 4129 nbargs 0 types: () args: () | |
49 | syscall sys_getpgrp nr 4131 nbargs 0 types: () args: () | |
50 | syscall sys_setsid nr 4133 nbargs 0 types: () args: () | |
51 | syscall sys_sigaction nr 4135 nbargs 3 types: (int, const struct sigaction *, struct sigaction *) args: (sig, act, oact) | |
52 | syscall sys_sgetmask nr 4137 nbargs 0 types: () args: () | |
53 | syscall sys_ssetmask nr 4139 nbargs 1 types: (int) args: (newmask) | |
54 | syscall sys_setreuid nr 4141 nbargs 2 types: (uid_t, uid_t) args: (ruid, euid) | |
55 | syscall sys_setregid nr 4143 nbargs 2 types: (gid_t, gid_t) args: (rgid, egid) | |
56 | syscall sys_sigpending nr 4147 nbargs 1 types: (old_sigset_t *) args: (set) | |
57 | syscall sys_sethostname nr 4149 nbargs 2 types: (char *, int) args: (name, len) | |
58 | syscall sys_setrlimit nr 4151 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) | |
59 | syscall sys_getrlimit nr 4153 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) | |
60 | syscall sys_getrusage nr 4155 nbargs 2 types: (int, struct rusage *) args: (who, ru) | |
61 | syscall sys_gettimeofday nr 4157 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) | |
62 | syscall sys_settimeofday nr 4159 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) | |
63 | syscall sys_getgroups nr 4161 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) | |
64 | syscall sys_setgroups nr 4163 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) | |
65 | syscall sys_symlink nr 4167 nbargs 2 types: (const char *, const char *) args: (oldname, newname) | |
66 | syscall sys_readlink nr 4171 nbargs 3 types: (const char *, char *, int) args: (path, buf, bufsiz) | |
67 | syscall sys_uselib nr 4173 nbargs 1 types: (const char *) args: (library) | |
68 | syscall sys_swapon nr 4175 nbargs 2 types: (const char *, int) args: (specialfile, swap_flags) | |
69 | syscall sys_reboot nr 4177 nbargs 4 types: (int, int, unsigned int, void *) args: (magic1, magic2, cmd, arg) | |
70 | syscall sys_old_readdir nr 4179 nbargs 3 types: (unsigned int, struct old_linux_dirent *, unsigned int) args: (fd, dirent, count) | |
71 | syscall sys_mips_mmap nr 4181 nbargs 6 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, off_t) args: (addr, len, prot, flags, fd, offset) | |
72 | syscall sys_munmap nr 4183 nbargs 2 types: (unsigned long, size_t) args: (addr, len) | |
73 | syscall sys_truncate nr 4185 nbargs 2 types: (const char *, long) args: (path, length) | |
74 | syscall sys_ftruncate nr 4187 nbargs 2 types: (unsigned int, unsigned long) args: (fd, length) | |
75 | syscall sys_fchmod nr 4189 nbargs 2 types: (unsigned int, umode_t) args: (fd, mode) | |
76 | syscall sys_fchown nr 4191 nbargs 3 types: (unsigned int, uid_t, gid_t) args: (fd, user, group) | |
77 | syscall sys_getpriority nr 4193 nbargs 2 types: (int, int) args: (which, who) | |
78 | syscall sys_setpriority nr 4195 nbargs 3 types: (int, int, int) args: (which, who, niceval) | |
79 | syscall sys_statfs nr 4199 nbargs 2 types: (const char *, struct statfs *) args: (pathname, buf) | |
80 | syscall sys_fstatfs nr 4201 nbargs 2 types: (unsigned int, struct statfs *) args: (fd, buf) | |
81 | syscall sys_socketcall nr 4205 nbargs 2 types: (int, unsigned long *) args: (call, args) | |
82 | syscall sys_syslog nr 4207 nbargs 3 types: (int, char *, int) args: (type, buf, len) | |
83 | syscall sys_setitimer nr 4209 nbargs 3 types: (int, struct itimerval *, struct itimerval *) args: (which, value, ovalue) | |
84 | syscall sys_getitimer nr 4211 nbargs 2 types: (int, struct itimerval *) args: (which, value) | |
85 | syscall sys_newstat nr 4213 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) | |
86 | syscall sys_newlstat nr 4215 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) | |
87 | syscall sys_newfstat nr 4217 nbargs 2 types: (unsigned int, struct stat *) args: (fd, statbuf) | |
88 | syscall sys_uname nr 4219 nbargs 1 types: (struct old_utsname *) args: (name) | |
89 | syscall sys_vhangup nr 4223 nbargs 0 types: () args: () | |
90 | syscall sys_wait4 nr 4229 nbargs 4 types: (pid_t, int *, int, struct rusage *) args: (upid, stat_addr, options, ru) | |
91 | syscall sys_swapoff nr 4231 nbargs 1 types: (const char *) args: (specialfile) | |
92 | syscall sys_sysinfo nr 4233 nbargs 1 types: (struct sysinfo *) args: (info) | |
93 | syscall sys_ipc nr 4235 nbargs 6 types: (unsigned int, int, unsigned long, unsigned long, void *, long) args: (call, first, second, third, ptr, fifth) | |
94 | syscall sys_fsync nr 4237 nbargs 1 types: (unsigned int) args: (fd) | |
95 | syscall sys_setdomainname nr 4243 nbargs 2 types: (char *, int) args: (name, len) | |
96 | syscall sys_newuname nr 4245 nbargs 1 types: (struct new_utsname *) args: (name) | |
97 | syscall sys_adjtimex nr 4249 nbargs 1 types: (struct timex *) args: (txc_p) | |
98 | syscall sys_mprotect nr 4251 nbargs 3 types: (unsigned long, size_t, unsigned long) args: (start, len, prot) | |
99 | syscall sys_sigprocmask nr 4253 nbargs 3 types: (int, old_sigset_t *, old_sigset_t *) args: (how, nset, oset) | |
100 | syscall sys_init_module nr 4257 nbargs 3 types: (void *, unsigned long, const char *) args: (umod, len, uargs) | |
101 | syscall sys_delete_module nr 4259 nbargs 2 types: (const char *, unsigned int) args: (name_user, flags) | |
102 | syscall sys_quotactl nr 4263 nbargs 4 types: (unsigned int, const char *, qid_t, void *) args: (cmd, special, id, addr) | |
103 | syscall sys_getpgid nr 4265 nbargs 1 types: (pid_t) args: (pid) | |
104 | syscall sys_fchdir nr 4267 nbargs 1 types: (unsigned int) args: (fd) | |
105 | syscall sys_bdflush nr 4269 nbargs 2 types: (int, long) args: (func, data) | |
106 | syscall sys_sysfs nr 4271 nbargs 3 types: (int, unsigned long, unsigned long) args: (option, arg1, arg2) | |
107 | syscall sys_personality nr 4273 nbargs 1 types: (unsigned int) args: (personality) | |
108 | syscall sys_setfsuid nr 4277 nbargs 1 types: (uid_t) args: (uid) | |
109 | syscall sys_setfsgid nr 4279 nbargs 1 types: (gid_t) args: (gid) | |
110 | syscall sys_llseek nr 4281 nbargs 5 types: (unsigned int, unsigned long, unsigned long, loff_t *, unsigned int) args: (fd, offset_high, offset_low, result, origin) | |
111 | syscall sys_getdents nr 4283 nbargs 3 types: (unsigned int, struct linux_dirent *, unsigned int) args: (fd, dirent, count) | |
112 | syscall sys_select nr 4285 nbargs 5 types: (int, fd_set *, fd_set *, fd_set *, struct timeval *) args: (n, inp, outp, exp, tvp) | |
113 | syscall sys_flock nr 4287 nbargs 2 types: (unsigned int, unsigned int) args: (fd, cmd) | |
114 | syscall sys_msync nr 4289 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) | |
115 | syscall sys_readv nr 4291 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) | |
116 | syscall sys_writev nr 4293 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) | |
117 | syscall sys_cacheflush nr 4295 nbargs 3 types: (unsigned long, unsigned long, unsigned int) args: (addr, bytes, cache) | |
118 | syscall sys_cachectl nr 4297 nbargs 3 types: (char *, int, int) args: (addr, nbytes, op) | |
119 | syscall sys_getsid nr 4303 nbargs 1 types: (pid_t) args: (pid) | |
120 | syscall sys_fdatasync nr 4305 nbargs 1 types: (unsigned int) args: (fd) | |
121 | syscall sys_sysctl nr 4307 nbargs 1 types: (struct __sysctl_args *) args: (args) | |
122 | syscall sys_mlock nr 4309 nbargs 2 types: (unsigned long, size_t) args: (start, len) | |
123 | syscall sys_munlock nr 4311 nbargs 2 types: (unsigned long, size_t) args: (start, len) | |
124 | syscall sys_mlockall nr 4313 nbargs 1 types: (int) args: (flags) | |
125 | syscall sys_munlockall nr 4315 nbargs 0 types: () args: () | |
126 | syscall sys_sched_setparam nr 4317 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) | |
127 | syscall sys_sched_getparam nr 4319 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) | |
128 | syscall sys_sched_setscheduler nr 4321 nbargs 3 types: (pid_t, int, struct sched_param *) args: (pid, policy, param) | |
129 | syscall sys_sched_getscheduler nr 4323 nbargs 1 types: (pid_t) args: (pid) | |
130 | syscall sys_sched_yield nr 4325 nbargs 0 types: () args: () | |
131 | syscall sys_sched_get_priority_max nr 4327 nbargs 1 types: (int) args: (policy) | |
132 | syscall sys_sched_get_priority_min nr 4329 nbargs 1 types: (int) args: (policy) | |
133 | syscall sys_sched_rr_get_interval nr 4331 nbargs 2 types: (pid_t, struct timespec *) args: (pid, interval) | |
134 | syscall sys_nanosleep nr 4333 nbargs 2 types: (struct timespec *, struct timespec *) args: (rqtp, rmtp) | |
135 | syscall sys_mremap nr 4335 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, old_len, new_len, flags, new_addr) | |
136 | syscall sys_accept nr 4337 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, upeer_sockaddr, upeer_addrlen) | |
137 | syscall sys_bind nr 4339 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, umyaddr, addrlen) | |
138 | syscall sys_connect nr 4341 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, uservaddr, addrlen) | |
139 | syscall sys_getpeername nr 4343 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) | |
140 | syscall sys_getsockname nr 4345 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) |
0 | syscall sys_waitpid nr 4007 nbargs 3 types: (pid_t, int *, int) args: (pid, stat_addr, options) | |
1 | syscall sys_oldumount nr 4022 nbargs 1 types: (char *) args: (name) | |
2 | syscall sys_nice nr 4034 nbargs 1 types: (int) args: (increment) | |
3 | syscall sys_olduname nr 4059 nbargs 1 types: (struct oldold_utsname *) args: (name) | |
4 | syscall sys_32_sigaction nr 4067 nbargs 3 types: (long, const struct sigaction32 *, struct sigaction32 *) args: (sig, act, oact) | |
5 | syscall sys_sgetmask nr 4068 nbargs 0 types: () args: () | |
6 | syscall sys_ssetmask nr 4069 nbargs 1 types: (int) args: (newmask) | |
7 | syscall sys_uselib nr 4086 nbargs 1 types: (const char *) args: (library) | |
8 | syscall sys_uname nr 4109 nbargs 1 types: (struct old_utsname *) args: (name) | |
9 | syscall sys_32_ipc nr 4117 nbargs 6 types: (u32, long, long, long, unsigned long, unsigned long) args: (call, first, second, third, ptr, fifth) | |
10 | syscall sys_bdflush nr 4134 nbargs 2 types: (int, long) args: (func, data) | |
11 | syscall sys_32_llseek nr 4140 nbargs 5 types: (unsigned int, unsigned int, unsigned int, loff_t *, unsigned int) args: (fd, offset_high, offset_low, result, origin) | |
12 | syscall sys_send nr 4178 nbargs 4 types: (int, void *, size_t, unsigned int) args: (fd, buff, len, flags) | |
13 | syscall sys_32_pread nr 4200 nbargs 6 types: (unsigned long, char *, size_t, unsigned long, unsigned long, unsigned long) args: (fd, buf, count, unused, a4, a5) | |
14 | syscall sys_32_pwrite nr 4201 nbargs 6 types: (unsigned int, const char *, size_t, u32, u64, u64) args: (fd, buf, count, unused, a4, a5) | |
15 | syscall sys_mips_mmap2 nr 4210 nbargs 6 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, len, prot, flags, fd, pgoff) | |
16 | syscall sys_32_truncate64 nr 4211 nbargs 4 types: (const char *, unsigned long, unsigned long, unsigned long) args: (path, __dummy, a2, a3) | |
17 | syscall sys_32_ftruncate64 nr 4212 nbargs 4 types: (unsigned long, unsigned long, unsigned long, unsigned long) args: (fd, __dummy, a2, a3) | |
18 | syscall sys_32_waitid nr 4278 nbargs 5 types: (int, compat_pid_t, compat_siginfo_t *, int, struct compat_rusage *) args: (which, pid, uinfo, options, uru) | |
19 | syscall sys_32_fanotify_mark nr 4337 nbargs 6 types: (int, unsigned int, u64, u64, int, const char *) args: (fanotify_fd, flags, a3, a4, dfd, pathname) | |
20 | syscall sys_rt_sigaction nr 5013 nbargs 4 types: (int, const struct sigaction *, struct sigaction *, size_t) args: (sig, act, oact, sigsetsize) | |
21 | syscall sys_rt_sigprocmask nr 5014 nbargs 4 types: (int, sigset_t *, sigset_t *, size_t) args: (how, nset, oset, sigsetsize) | |
22 | syscall sys_ioctl nr 5015 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) | |
23 | syscall sys_readv nr 5018 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) | |
24 | syscall sys_writev nr 5019 nbargs 3 types: (unsigned long, const struct iovec *, unsigned long) args: (fd, vec, vlen) | |
25 | syscall sys_select nr 5022 nbargs 5 types: (int, fd_set *, fd_set *, fd_set *, struct timeval *) args: (n, inp, outp, exp, tvp) | |
26 | syscall sys_shmctl nr 5030 nbargs 3 types: (int, int, struct shmid_ds *) args: (shmid, cmd, buf) | |
27 | syscall sys_nanosleep nr 5034 nbargs 2 types: (struct timespec *, struct timespec *) args: (rqtp, rmtp) | |
28 | syscall sys_getitimer nr 5035 nbargs 2 types: (int, struct itimerval *) args: (which, value) | |
29 | syscall sys_setitimer nr 5036 nbargs 3 types: (int, struct itimerval *, struct itimerval *) args: (which, value, ovalue) | |
30 | syscall sys_recvfrom nr 5044 nbargs 6 types: (int, void *, size_t, unsigned int, struct sockaddr *, int *) args: (fd, ubuf, size, flags, addr, addr_len) | |
31 | syscall sys_sendmsg nr 5045 nbargs 3 types: (int, struct msghdr *, unsigned int) args: (fd, msg, flags) | |
32 | syscall sys_recvmsg nr 5046 nbargs 3 types: (int, struct msghdr *, unsigned int) args: (fd, msg, flags) | |
33 | syscall sys_setsockopt nr 5053 nbargs 5 types: (int, int, int, char *, int) args: (fd, level, optname, optval, optlen) | |
34 | syscall sys_wait4 nr 5059 nbargs 4 types: (pid_t, int *, int, struct rusage *) args: (upid, stat_addr, options, ru) | |
35 | syscall sys_msgsnd nr 5067 nbargs 4 types: (int, struct msgbuf *, size_t, int) args: (msqid, msgp, msgsz, msgflg) | |
36 | syscall sys_msgrcv nr 5068 nbargs 5 types: (int, struct msgbuf *, size_t, long, int) args: (msqid, msgp, msgsz, msgtyp, msgflg) | |
37 | syscall sys_msgctl nr 5069 nbargs 3 types: (int, int, struct msqid_ds *) args: (msqid, cmd, buf) | |
38 | syscall sys_fcntl nr 5070 nbargs 3 types: (unsigned int, unsigned int, unsigned long) args: (fd, cmd, arg) | |
39 | syscall sys_getdents nr 5076 nbargs 3 types: (unsigned int, struct linux_dirent *, unsigned int) args: (fd, dirent, count) | |
40 | syscall sys_gettimeofday nr 5094 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) | |
41 | syscall sys_getrlimit nr 5095 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) | |
42 | syscall sys_getrusage nr 5096 nbargs 2 types: (int, struct rusage *) args: (who, ru) | |
43 | syscall sys_sysinfo nr 5097 nbargs 1 types: (struct sysinfo *) args: (info) | |
44 | syscall sys_times nr 5098 nbargs 1 types: (struct tms *) args: (tbuf) | |
45 | syscall sys_ptrace nr 5099 nbargs 4 types: (long, long, unsigned long, unsigned long) args: (request, pid, addr, data) | |
46 | syscall sys_rt_sigpending nr 5125 nbargs 2 types: (sigset_t *, size_t) args: (set, sigsetsize) | |
47 | syscall sys_rt_sigtimedwait nr 5126 nbargs 4 types: (const sigset_t *, siginfo_t *, const struct timespec *, size_t) args: (uthese, uinfo, uts, sigsetsize) | |
48 | syscall sys_rt_sigqueueinfo nr 5127 nbargs 3 types: (pid_t, int, siginfo_t *) args: (pid, sig, uinfo) | |
49 | syscall sys_utime nr 5130 nbargs 2 types: (char *, struct utimbuf *) args: (filename, times) | |
50 | syscall sys_personality nr 5132 nbargs 1 types: (unsigned int) args: (personality) | |
51 | syscall sys_ustat nr 5133 nbargs 2 types: (unsigned, struct ustat *) args: (dev, ubuf) | |
52 | syscall sys_statfs nr 5134 nbargs 2 types: (const char *, struct statfs *) args: (pathname, buf) | |
53 | syscall sys_fstatfs nr 5135 nbargs 2 types: (unsigned int, struct statfs *) args: (fd, buf) | |
54 | syscall sys_sched_rr_get_interval nr 5145 nbargs 2 types: (pid_t, struct timespec *) args: (pid, interval) | |
55 | syscall sys_sysctl nr 5152 nbargs 1 types: (struct __sysctl_args *) args: (args) | |
56 | syscall sys_adjtimex nr 5154 nbargs 1 types: (struct timex *) args: (txc_p) | |
57 | syscall sys_setrlimit nr 5155 nbargs 2 types: (unsigned int, struct rlimit *) args: (resource, rlim) | |
58 | syscall sys_settimeofday nr 5159 nbargs 2 types: (struct timeval *, struct timezone *) args: (tv, tz) | |
59 | syscall sys_mount nr 5160 nbargs 5 types: (char *, char *, char *, unsigned long, void *) args: (dev_name, dir_name, type, flags, data) | |
60 | syscall sys_futex nr 5194 nbargs 6 types: (u32 *, int, u32, struct timespec *, u32 *, u32) args: (uaddr, op, val, utime, uaddr2, val3) | |
61 | syscall sys_sched_setaffinity nr 5195 nbargs 3 types: (pid_t, unsigned int, unsigned long *) args: (pid, len, user_mask_ptr) | |
62 | syscall sys_sched_getaffinity nr 5196 nbargs 3 types: (pid_t, unsigned int, unsigned long *) args: (pid, len, user_mask_ptr) | |
63 | syscall sys_io_setup nr 5200 nbargs 2 types: (unsigned, aio_context_t *) args: (nr_events, ctxp) | |
64 | syscall sys_io_getevents nr 5202 nbargs 5 types: (aio_context_t, long, long, struct io_event *, struct timespec *) args: (ctx_id, min_nr, nr, events, timeout) | |
65 | syscall sys_io_submit nr 5203 nbargs 3 types: (aio_context_t, long, struct iocb * *) args: (ctx_id, nr, iocbpp) | |
66 | syscall sys_semtimedop nr 5214 nbargs 4 types: (int, struct sembuf *, unsigned, const struct timespec *) args: (semid, tsops, nsops, timeout) | |
67 | syscall sys_timer_create nr 5216 nbargs 3 types: (const clockid_t, struct sigevent *, timer_t *) args: (which_clock, timer_event_spec, created_timer_id) | |
68 | syscall sys_timer_settime nr 5217 nbargs 4 types: (timer_t, int, const struct itimerspec *, struct itimerspec *) args: (timer_id, flags, new_setting, old_setting) | |
69 | syscall sys_timer_gettime nr 5218 nbargs 2 types: (timer_t, struct itimerspec *) args: (timer_id, setting) | |
70 | syscall sys_clock_settime nr 5221 nbargs 2 types: (const clockid_t, const struct timespec *) args: (which_clock, tp) | |
71 | syscall sys_clock_gettime nr 5222 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) | |
72 | syscall sys_clock_getres nr 5223 nbargs 2 types: (const clockid_t, struct timespec *) args: (which_clock, tp) | |
73 | syscall sys_clock_nanosleep nr 5224 nbargs 4 types: (const clockid_t, int, const struct timespec *, struct timespec *) args: (which_clock, flags, rqtp, rmtp) | |
74 | syscall sys_utimes nr 5226 nbargs 2 types: (char *, struct timeval *) args: (filename, utimes) | |
75 | syscall sys_waitid nr 5237 nbargs 5 types: (int, pid_t, struct siginfo *, int, struct rusage *) args: (which, upid, infop, options, ru) | |
76 | syscall sys_futimesat nr 5251 nbargs 3 types: (int, const char *, struct timeval *) args: (dfd, filename, utimes) | |
77 | syscall sys_pselect6 nr 5260 nbargs 6 types: (int, fd_set *, fd_set *, fd_set *, struct timespec *, void *) args: (n, inp, outp, exp, tsp, sig) | |
78 | syscall sys_ppoll nr 5261 nbargs 5 types: (struct pollfd *, unsigned int, struct timespec *, const sigset_t *, size_t) args: (ufds, nfds, tsp, sigmask, sigsetsize) | |
79 | syscall sys_vmsplice nr 5266 nbargs 4 types: (int, const struct iovec *, unsigned long, unsigned int) args: (fd, iov, nr_segs, flags) | |
80 | syscall sys_set_robust_list nr 5268 nbargs 2 types: (struct robust_list_head *, size_t) args: (head, len) | |
81 | syscall sys_get_robust_list nr 5269 nbargs 3 types: (int, struct robust_list_head * *, size_t *) args: (pid, head_ptr, len_ptr) | |
82 | syscall sys_epoll_pwait nr 5272 nbargs 6 types: (int, struct epoll_event *, int, int, const sigset_t *, size_t) args: (epfd, events, maxevents, timeout, sigmask, sigsetsize) | |
83 | syscall sys_utimensat nr 5275 nbargs 4 types: (int, const char *, struct timespec *, int) args: (dfd, filename, utimes, flags) | |
84 | syscall sys_signalfd nr 5276 nbargs 3 types: (int, sigset_t *, size_t) args: (ufd, user_mask, sizemask) | |
85 | syscall sys_timerfd_gettime nr 5281 nbargs 2 types: (int, struct itimerspec *) args: (ufd, otmr) | |
86 | syscall sys_timerfd_settime nr 5282 nbargs 4 types: (int, int, const struct itimerspec *, struct itimerspec *) args: (ufd, flags, utmr, otmr) | |
87 | syscall sys_rt_tgsigqueueinfo nr 5291 nbargs 4 types: (pid_t, pid_t, int, siginfo_t *) args: (tgid, pid, sig, uinfo) | |
88 | syscall sys_recvmmsg nr 5294 nbargs 5 types: (int, struct mmsghdr *, unsigned int, unsigned int, struct timespec *) args: (fd, mmsg, vlen, flags, timeout) | |
89 | syscall sys_clock_adjtime nr 5300 nbargs 2 types: (const clockid_t, struct timex *) args: (which_clock, utx) | |
90 | syscall sys_sendmmsg nr 5302 nbargs 4 types: (int, struct mmsghdr *, unsigned int, unsigned int) args: (fd, mmsg, vlen, flags) | |
91 | syscall sys_process_vm_readv nr 5304 nbargs 6 types: (pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigned long, unsigned long) args: (pid, lvec, liovcnt, rvec, riovcnt, flags) | |
92 | syscall sys_process_vm_writev nr 5305 nbargs 6 types: (pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigned long, unsigned long) args: (pid, lvec, liovcnt, rvec, riovcnt, flags) | |
93 | syscall sys_read nr 6000 nbargs 3 types: (unsigned int, char *, size_t) args: (fd, buf, count) | |
94 | syscall sys_write nr 6001 nbargs 3 types: (unsigned int, const char *, size_t) args: (fd, buf, count) | |
95 | syscall sys_open nr 6002 nbargs 3 types: (const char *, int, umode_t) args: (filename, flags, mode) | |
96 | syscall sys_close nr 6003 nbargs 1 types: (unsigned int) args: (fd) | |
97 | syscall sys_newstat nr 6004 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) | |
98 | syscall sys_newfstat nr 6005 nbargs 2 types: (unsigned int, struct stat *) args: (fd, statbuf) | |
99 | syscall sys_newlstat nr 6006 nbargs 2 types: (const char *, struct stat *) args: (filename, statbuf) | |
100 | syscall sys_poll nr 6007 nbargs 3 types: (struct pollfd *, unsigned int, int) args: (ufds, nfds, timeout_msecs) | |
101 | syscall sys_lseek nr 6008 nbargs 3 types: (unsigned int, off_t, unsigned int) args: (fd, offset, origin) | |
102 | syscall sys_mips_mmap nr 6009 nbargs 6 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, off_t) args: (addr, len, prot, flags, fd, offset) | |
103 | syscall sys_mprotect nr 6010 nbargs 3 types: (unsigned long, size_t, unsigned long) args: (start, len, prot) | |
104 | syscall sys_munmap nr 6011 nbargs 2 types: (unsigned long, size_t) args: (addr, len) | |
105 | syscall sys_brk nr 6012 nbargs 1 types: (unsigned long) args: (brk) | |
106 | syscall sys_32_rt_sigaction nr 6013 nbargs 4 types: (int, const struct sigaction32 *, struct sigaction32 *, unsigned int) args: (sig, act, oact, sigsetsize) | |
107 | syscall sys_32_rt_sigprocmask nr 6014 nbargs 4 types: (int, compat_sigset_t *, compat_sigset_t *, unsigned int) args: (how, set, oset, sigsetsize) | |
108 | syscall sys_access nr 6020 nbargs 2 types: (const char *, int) args: (filename, mode) | |
109 | syscall sys_sched_yield nr 6023 nbargs 0 types: () args: () | |
110 | syscall sys_mremap nr 6024 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (addr, old_len, new_len, flags, new_addr) | |
111 | syscall sys_msync nr 6025 nbargs 3 types: (unsigned long, size_t, int) args: (start, len, flags) | |
112 | syscall sys_mincore nr 6026 nbargs 3 types: (unsigned long, size_t, unsigned char *) args: (start, len, vec) | |
113 | syscall sys_madvise nr 6027 nbargs 3 types: (unsigned long, size_t, int) args: (start, len_in, behavior) | |
114 | syscall sys_shmget nr 6028 nbargs 3 types: (key_t, size_t, int) args: (key, size, shmflg) | |
115 | syscall sys_shmat nr 6029 nbargs 3 types: (int, char *, int) args: (shmid, shmaddr, shmflg) | |
116 | syscall sys_dup nr 6031 nbargs 1 types: (unsigned int) args: (fildes) | |
117 | syscall sys_dup2 nr 6032 nbargs 2 types: (unsigned int, unsigned int) args: (oldfd, newfd) | |
118 | syscall sys_pause nr 6033 nbargs 0 types: () args: () | |
119 | syscall sys_alarm nr 6037 nbargs 1 types: (unsigned int) args: (seconds) | |
120 | syscall sys_getpid nr 6038 nbargs 0 types: () args: () | |
121 | syscall sys_32_sendfile nr 6039 nbargs 4 types: (long, long, compat_off_t *, s32) args: (out_fd, in_fd, offset, count) | |
122 | syscall sys_socket nr 6040 nbargs 3 types: (int, int, int) args: (family, type, protocol) | |
123 | syscall sys_connect nr 6041 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, uservaddr, addrlen) | |
124 | syscall sys_accept nr 6042 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, upeer_sockaddr, upeer_addrlen) | |
125 | syscall sys_sendto nr 6043 nbargs 6 types: (int, void *, size_t, unsigned int, struct sockaddr *, int) args: (fd, buff, len, flags, addr, addr_len) | |
126 | syscall sys_shutdown nr 6047 nbargs 2 types: (int, int) args: (fd, how) | |
127 | syscall sys_bind nr 6048 nbargs 3 types: (int, struct sockaddr *, int) args: (fd, umyaddr, addrlen) | |
128 | syscall sys_listen nr 6049 nbargs 2 types: (int, int) args: (fd, backlog) | |
129 | syscall sys_getsockname nr 6050 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) | |
130 | syscall sys_getpeername nr 6051 nbargs 3 types: (int, struct sockaddr *, int *) args: (fd, usockaddr, usockaddr_len) | |
131 | syscall sys_socketpair nr 6052 nbargs 4 types: (int, int, int, int *) args: (family, type, protocol, usockvec) | |
132 | syscall sys_getsockopt nr 6054 nbargs 5 types: (int, int, int, char *, int *) args: (fd, level, optname, optval, optlen) | |
133 | syscall sys_exit nr 6058 nbargs 1 types: (int) args: (error_code) | |
134 | syscall sys_kill nr 6060 nbargs 2 types: (pid_t, int) args: (pid, sig) | |
135 | syscall sys_newuname nr 6061 nbargs 1 types: (struct new_utsname *) args: (name) | |
136 | syscall sys_semget nr 6062 nbargs 3 types: (key_t, int, int) args: (key, nsems, semflg) | |
137 | syscall sys_semop nr 6063 nbargs 3 types: (int, struct sembuf *, unsigned) args: (semid, tsops, nsops) | |
138 | syscall sys_n32_semctl nr 6064 nbargs 4 types: (int, int, int, u32) args: (semid, semnum, cmd, arg) | |
139 | syscall sys_shmdt nr 6065 nbargs 1 types: (char *) args: (shmaddr) | |
140 | syscall sys_msgget nr 6066 nbargs 2 types: (key_t, int) args: (key, msgflg) | |
141 | syscall sys_n32_msgsnd nr 6067 nbargs 4 types: (int, u32, unsigned int, int) args: (msqid, msgp, msgsz, msgflg) | |
142 | syscall sys_n32_msgrcv nr 6068 nbargs 5 types: (int, u32, size_t, int, int) args: (msqid, msgp, msgsz, msgtyp, msgflg) | |
143 | syscall sys_flock nr 6071 nbargs 2 types: (unsigned int, unsigned int) args: (fd, cmd) | |
144 | syscall sys_fsync nr 6072 nbargs 1 types: (unsigned int) args: (fd) | |
145 | syscall sys_fdatasync nr 6073 nbargs 1 types: (unsigned int) args: (fd) | |
146 | syscall sys_truncate nr 6074 nbargs 2 types: (const char *, long) args: (path, length) | |
147 | syscall sys_ftruncate nr 6075 nbargs 2 types: (unsigned int, unsigned long) args: (fd, length) | |
148 | syscall sys_getcwd nr 6077 nbargs 2 types: (char *, unsigned long) args: (buf, size) | |
149 | syscall sys_chdir nr 6078 nbargs 1 types: (const char *) args: (filename) | |
150 | syscall sys_fchdir nr 6079 nbargs 1 types: (unsigned int) args: (fd) | |
151 | syscall sys_rename nr 6080 nbargs 2 types: (const char *, const char *) args: (oldname, newname) | |
152 | syscall sys_mkdir nr 6081 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) | |
153 | syscall sys_rmdir nr 6082 nbargs 1 types: (const char *) args: (pathname) | |
154 | syscall sys_creat nr 6083 nbargs 2 types: (const char *, umode_t) args: (pathname, mode) | |
155 | syscall sys_link nr 6084 nbargs 2 types: (const char *, const char *) args: (oldname, newname) | |
156 | syscall sys_unlink nr 6085 nbargs 1 types: (const char *) args: (pathname) | |
157 | syscall sys_symlink nr 6086 nbargs 2 types: (const char *, const char *) args: (oldname, newname) | |
158 | syscall sys_readlink nr 6087 nbargs 3 types: (const char *, char *, int) args: (path, buf, bufsiz) | |
159 | syscall sys_chmod nr 6088 nbargs 2 types: (const char *, umode_t) args: (filename, mode) | |
160 | syscall sys_fchmod nr 6089 nbargs 2 types: (unsigned int, umode_t) args: (fd, mode) | |
161 | syscall sys_chown nr 6090 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) | |
162 | syscall sys_fchown nr 6091 nbargs 3 types: (unsigned int, uid_t, gid_t) args: (fd, user, group) | |
163 | syscall sys_lchown nr 6092 nbargs 3 types: (const char *, uid_t, gid_t) args: (filename, user, group) | |
164 | syscall sys_umask nr 6093 nbargs 1 types: (int) args: (mask) | |
165 | syscall sys_getuid nr 6100 nbargs 0 types: () args: () | |
166 | syscall sys_syslog nr 6101 nbargs 3 types: (int, char *, int) args: (type, buf, len) | |
167 | syscall sys_getgid nr 6102 nbargs 0 types: () args: () | |
168 | syscall sys_setuid nr 6103 nbargs 1 types: (uid_t) args: (uid) | |
169 | syscall sys_setgid nr 6104 nbargs 1 types: (gid_t) args: (gid) | |
170 | syscall sys_geteuid nr 6105 nbargs 0 types: () args: () | |
171 | syscall sys_getegid nr 6106 nbargs 0 types: () args: () | |
172 | syscall sys_setpgid nr 6107 nbargs 2 types: (pid_t, pid_t) args: (pid, pgid) | |
173 | syscall sys_getppid nr 6108 nbargs 0 types: () args: () | |
174 | syscall sys_getpgrp nr 6109 nbargs 0 types: () args: () | |
175 | syscall sys_setsid nr 6110 nbargs 0 types: () args: () | |
176 | syscall sys_setreuid nr 6111 nbargs 2 types: (uid_t, uid_t) args: (ruid, euid) | |
177 | syscall sys_setregid nr 6112 nbargs 2 types: (gid_t, gid_t) args: (rgid, egid) | |
178 | syscall sys_getgroups nr 6113 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) | |
179 | syscall sys_setgroups nr 6114 nbargs 2 types: (int, gid_t *) args: (gidsetsize, grouplist) | |
180 | syscall sys_setresuid nr 6115 nbargs 3 types: (uid_t, uid_t, uid_t) args: (ruid, euid, suid) | |
181 | syscall sys_getresuid nr 6116 nbargs 3 types: (uid_t *, uid_t *, uid_t *) args: (ruidp, euidp, suidp) | |
182 | syscall sys_setresgid nr 6117 nbargs 3 types: (gid_t, gid_t, gid_t) args: (rgid, egid, sgid) | |
183 | syscall sys_getresgid nr 6118 nbargs 3 types: (gid_t *, gid_t *, gid_t *) args: (rgidp, egidp, sgidp) | |
184 | syscall sys_getpgid nr 6119 nbargs 1 types: (pid_t) args: (pid) | |
185 | syscall sys_setfsuid nr 6120 nbargs 1 types: (uid_t) args: (uid) | |
186 | syscall sys_setfsgid nr 6121 nbargs 1 types: (gid_t) args: (gid) | |
187 | syscall sys_getsid nr 6122 nbargs 1 types: (pid_t) args: (pid) | |
188 | syscall sys_capget nr 6123 nbargs 2 types: (cap_user_header_t, cap_user_data_t) args: (header, dataptr) | |
189 | syscall sys_capset nr 6124 nbargs 2 types: (cap_user_header_t, const cap_user_data_t) args: (header, data) | |
190 | syscall sys_32_rt_sigpending nr 6125 nbargs 2 types: (compat_sigset_t *, unsigned int) args: (uset, sigsetsize) | |
191 | syscall sys_32_rt_sigqueueinfo nr 6127 nbargs 3 types: (int, int, compat_siginfo_t *) args: (pid, sig, uinfo) | |
192 | syscall sys_mknod nr 6131 nbargs 3 types: (const char *, umode_t, unsigned) args: (filename, mode, dev) | |
193 | syscall sys_32_personality nr 6132 nbargs 1 types: (unsigned long) args: (personality) | |
194 | syscall sys_sysfs nr 6136 nbargs 3 types: (int, unsigned long, unsigned long) args: (option, arg1, arg2) | |
195 | syscall sys_getpriority nr 6137 nbargs 2 types: (int, int) args: (which, who) | |
196 | syscall sys_setpriority nr 6138 nbargs 3 types: (int, int, int) args: (which, who, niceval) | |
197 | syscall sys_sched_setparam nr 6139 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) | |
198 | syscall sys_sched_getparam nr 6140 nbargs 2 types: (pid_t, struct sched_param *) args: (pid, param) | |
199 | syscall sys_sched_setscheduler nr 6141 nbargs 3 types: (pid_t, int, struct sched_param *) args: (pid, policy, param) | |
200 | syscall sys_sched_getscheduler nr 6142 nbargs 1 types: (pid_t) args: (pid) | |
201 | syscall sys_sched_get_priority_max nr 6143 nbargs 1 types: (int) args: (policy) | |
202 | syscall sys_sched_get_priority_min nr 6144 nbargs 1 types: (int) args: (policy) | |
203 | syscall sys_32_sched_rr_get_interval nr 6145 nbargs 2 types: (compat_pid_t, struct compat_timespec *) args: (pid, interval) | |
204 | syscall sys_mlock nr 6146 nbargs 2 types: (unsigned long, size_t) args: (start, len) | |
205 | syscall sys_munlock nr 6147 nbargs 2 types: (unsigned long, size_t) args: (start, len) | |
206 | syscall sys_mlockall nr 6148 nbargs 1 types: (int) args: (flags) | |
207 | syscall sys_munlockall nr 6149 nbargs 0 types: () args: () | |
208 | syscall sys_vhangup nr 6150 nbargs 0 types: () args: () | |
209 | syscall sys_pivot_root nr 6151 nbargs 2 types: (const char *, const char *) args: (new_root, put_old) | |
210 | syscall sys_prctl nr 6153 nbargs 5 types: (int, unsigned long, unsigned long, unsigned long, unsigned long) args: (option, arg2, arg3, arg4, arg5) | |
211 | syscall sys_chroot nr 6156 nbargs 1 types: (const char *) args: (filename) | |
212 | syscall sys_sync nr 6157 nbargs 0 types: () args: () | |
213 | syscall sys_umount nr 6161 nbargs 2 types: (char *, int) args: (name, flags) | |
214 | syscall sys_swapon nr 6162 nbargs 2 types: (const char *, int) args: (specialfile, swap_flags) | |
215 | syscall sys_swapoff nr 6163 nbargs 1 types: (const char *) args: (specialfile) | |
216 | syscall sys_reboot nr 6164 nbargs 4 types: (int, int, unsigned int, void *) args: (magic1, magic2, cmd, arg) | |
217 | syscall sys_sethostname nr 6165 nbargs 2 types: (char *, int) args: (name, len) | |
218 | syscall sys_setdomainname nr 6166 nbargs 2 types: (char *, int) args: (name, len) | |
219 | syscall sys_init_module nr 6168 nbargs 3 types: (void *, unsigned long, const char *) args: (umod, len, uargs) | |
220 | syscall sys_delete_module nr 6169 nbargs 2 types: (const char *, unsigned int) args: (name_user, flags) | |
221 | syscall sys_quotactl nr 6172 nbargs 4 types: (unsigned int, const char *, qid_t, void *) args: (cmd, special, id, addr) | |
222 | syscall sys_gettid nr 6178 nbargs 0 types: () args: () | |
223 | syscall sys_setxattr nr 6180 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) | |
224 | syscall sys_lsetxattr nr 6181 nbargs 5 types: (const char *, const char *, const void *, size_t, int) args: (pathname, name, value, size, flags) | |
225 | syscall sys_fsetxattr nr 6182 nbargs 5 types: (int, const char *, const void *, size_t, int) args: (fd, name, value, size, flags) | |
226 | syscall sys_getxattr nr 6183 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) | |
227 | syscall sys_lgetxattr nr 6184 nbargs 4 types: (const char *, const char *, void *, size_t) args: (pathname, name, value, size) | |
228 | syscall sys_fgetxattr nr 6185 nbargs 4 types: (int, const char *, void *, size_t) args: (fd, name, value, size) | |
229 | syscall sys_listxattr nr 6186 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) | |
230 | syscall sys_llistxattr nr 6187 nbargs 3 types: (const char *, char *, size_t) args: (pathname, list, size) | |
231 | syscall sys_flistxattr nr 6188 nbargs 3 types: (int, char *, size_t) args: (fd, list, size) | |
232 | syscall sys_removexattr nr 6189 nbargs 2 types: (const char *, const char *) args: (pathname, name) | |
233 | syscall sys_lremovexattr nr 6190 nbargs 2 types: (const char *, const char *) args: (pathname, name) | |
234 | syscall sys_fremovexattr nr 6191 nbargs 2 types: (int, const char *) args: (fd, name) | |
235 | syscall sys_tkill nr 6192 nbargs 2 types: (pid_t, int) args: (pid, sig) | |
236 | syscall sys_32_futex nr 6194 nbargs 6 types: (u32 *, int, u32, struct compat_timespec *, u32 *, u32) args: (uaddr, op, val, utime, uaddr2, val3) | |
237 | syscall sys_cacheflush nr 6197 nbargs 3 types: (unsigned long, unsigned long, unsigned int) args: (addr, bytes, cache) | |
238 | syscall sys_cachectl nr 6198 nbargs 3 types: (char *, int, int) args: (addr, nbytes, op) | |
239 | syscall sys_io_destroy nr 6201 nbargs 1 types: (aio_context_t) args: (ctx) | |
240 | syscall sys_io_cancel nr 6204 nbargs 3 types: (aio_context_t, struct iocb *, struct io_event *) args: (ctx_id, iocb, result) | |
241 | syscall sys_exit_group nr 6205 nbargs 1 types: (int) args: (error_code) | |
242 | syscall sys_epoll_create nr 6207 nbargs 1 types: (int) args: (size) | |
243 | syscall sys_epoll_ctl nr 6208 nbargs 4 types: (int, int, int, struct epoll_event *) args: (epfd, op, fd, event) | |
244 | syscall sys_epoll_wait nr 6209 nbargs 4 types: (int, struct epoll_event *, int, int) args: (epfd, events, maxevents, timeout) | |
245 | syscall sys_remap_file_pages nr 6210 nbargs 5 types: (unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) args: (start, size, prot, pgoff, flags) | |
246 | syscall sys_set_tid_address nr 6213 nbargs 1 types: (int *) args: (tidptr) | |
247 | syscall sys_restart_syscall nr 6214 nbargs 0 types: () args: () | |
248 | syscall sys_sendfile64 nr 6219 nbargs 4 types: (int, int, loff_t *, size_t) args: (out_fd, in_fd, offset, count) | |
249 | syscall sys_timer_getoverrun nr 6223 nbargs 1 types: (timer_t) args: (timer_id) | |
250 | syscall sys_timer_delete nr 6224 nbargs 1 types: (timer_t) args: (timer_id) | |
251 | syscall sys_tgkill nr 6229 nbargs 3 types: (pid_t, pid_t, int) args: (tgid, pid, sig) | |
252 | syscall sys_set_thread_area nr 6246 nbargs 1 types: (unsigned long) args: (addr) | |
253 | syscall sys_inotify_init nr 6247 nbargs 0 types: () args: () | |
254 | syscall sys_inotify_add_watch nr 6248 nbargs 3 types: (int, const char *, u32) args: (fd, pathname, mask) | |
255 | syscall sys_inotify_rm_watch nr 6249 nbargs 2 types: (int, __s32) args: (fd, wd) | |
256 | syscall sys_openat nr 6251 nbargs 4 types: (int, const char *, int, umode_t) args: (dfd, filename, flags, mode) | |
257 | syscall sys_mkdirat nr 6252 nbargs 3 types: (int, const char *, umode_t) args: (dfd, pathname, mode) | |
258 | syscall sys_mknodat nr 6253 nbargs 4 types: (int, const char *, umode_t, unsigned) args: (dfd, filename, mode, dev) | |
259 | syscall sys_fchownat nr 6254 nbargs 5 types: (int, const char *, uid_t, gid_t, int) args: (dfd, filename, user, group, flag) | |
260 | syscall sys_newfstatat nr 6256 nbargs 4 types: (int, const char *, struct stat *, int) args: (dfd, filename, statbuf, flag) | |
261 | syscall sys_unlinkat nr 6257 nbargs 3 types: (int, const char *, int) args: (dfd, pathname, flag) | |
262 | syscall sys_renameat nr 6258 nbargs 4 types: (int, const char *, int, const char *) args: (olddfd, oldname, newdfd, newname) | |
263 | syscall sys_linkat nr 6259 nbargs 5 types: (int, const char *, int, const char *, int) args: (olddfd, oldname, newdfd, newname, flags) | |
264 | syscall sys_symlinkat nr 6260 nbargs 3 types: (const char *, int, const char *) args: (oldname, newdfd, newname) | |
265 | syscall sys_readlinkat nr 6261 nbargs 4 types: (int, const char *, char *, int) args: (dfd, pathname, buf, bufsiz) | |
266 | syscall sys_fchmodat nr 6262 nbargs 3 types: (int, const char *, umode_t) args: (dfd, filename, mode) | |
267 | syscall sys_faccessat nr 6263 nbargs 3 types: (int, const char *, int) args: (dfd, filename, mode) | |
268 | syscall sys_unshare nr 6266 nbargs 1 types: (unsigned long) args: (unshare_flags) | |
269 | syscall sys_splice nr 6267 nbargs 6 types: (int, loff_t *, int, loff_t *, size_t, unsigned int) args: (fd_in, off_in, fd_out, off_out, len, flags) | |
270 | syscall sys_tee nr 6269 nbargs 4 types: (int, int, size_t, unsigned int) args: (fdin, fdout, len, flags) | |
271 | syscall sys_getcpu nr 6275 nbargs 3 types: (unsigned *, unsigned *, struct getcpu_cache *) args: (cpup, nodep, unused) | |
272 | syscall sys_ioprio_set nr 6277 nbargs 3 types: (int, int, int) args: (which, who, ioprio) | |
273 | syscall sys_ioprio_get nr 6278 nbargs 2 types: (int, int) args: (which, who) | |
274 | syscall sys_eventfd nr 6282 nbargs 1 types: (unsigned int) args: (count) | |
275 | syscall sys_timerfd_create nr 6284 nbargs 2 types: (int, int) args: (clockid, flags) | |
276 | syscall sys_signalfd4 nr 6287 nbargs 4 types: (int, sigset_t *, size_t, int) args: (ufd, user_mask, sizemask, flags) | |
277 | syscall sys_eventfd2 nr 6288 nbargs 2 types: (unsigned int, int) args: (count, flags) | |
278 | syscall sys_epoll_create1 nr 6289 nbargs 1 types: (int) args: (flags) | |
279 | syscall sys_dup3 nr 6290 nbargs 3 types: (unsigned int, unsigned int, int) args: (oldfd, newfd, flags) | |
280 | syscall sys_pipe2 nr 6291 nbargs 2 types: (int *, int) args: (fildes, flags) | |
281 | syscall sys_inotify_init1 nr 6292 nbargs 1 types: (int) args: (flags) | |
282 | syscall sys_preadv nr 6293 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) | |
283 | syscall sys_pwritev nr 6294 nbargs 5 types: (unsigned long, const struct iovec *, unsigned long, unsigned long, unsigned long) args: (fd, vec, vlen, pos_l, pos_h) | |
284 | syscall sys_accept4 nr 6297 nbargs 4 types: (int, struct sockaddr *, int *, int) args: (fd, upeer_sockaddr, upeer_addrlen, flags) | |
285 | syscall sys_getdents64 nr 6299 nbargs 3 types: (unsigned int, struct linux_dirent64 *, unsigned int) args: (fd, dirent, count) | |
286 | syscall sys_prlimit64 nr 6302 nbargs 4 types: (pid_t, unsigned int, const struct rlimit64 *, struct rlimit64 *) args: (pid, resource, new_rlim, old_rlim) | |
287 | syscall sys_syncfs nr 6306 nbargs 1 types: (int) args: (fd) | |
288 | syscall sys_setns nr 6308 nbargs 2 types: (int, int) args: (fd, nstype) |
0 | /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ | |
1 | #ifndef CREATE_SYSCALL_TABLE | |
2 | ||
3 | #if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) | |
4 | #define _TRACE_SYSCALLS_INTEGERS_H | |
5 | ||
6 | #include <linux/tracepoint.h> | |
7 | #include <linux/syscalls.h> | |
8 | #include "arm-32-syscalls-2.6.38_integers_override.h" | |
9 | #include "syscalls_integers_override.h" | |
10 | ||
11 | SC_DECLARE_EVENT_CLASS_NOARGS(syscalls_noargs, | |
12 | TP_STRUCT__entry(), | |
13 | TP_fast_assign(), | |
14 | TP_printk() | |
15 | ) | |
16 | #ifndef OVERRIDE_32_sys_restart_syscall | |
17 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_restart_syscall) | |
18 | #endif | |
19 | #ifndef OVERRIDE_32_sys_getpid | |
20 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getpid) | |
21 | #endif | |
22 | #ifndef OVERRIDE_32_sys_getuid16 | |
23 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getuid16) | |
24 | #endif | |
25 | #ifndef OVERRIDE_32_sys_pause | |
26 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_pause) | |
27 | #endif | |
28 | #ifndef OVERRIDE_32_sys_sync | |
29 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_sync) | |
30 | #endif | |
31 | #ifndef OVERRIDE_32_sys_getgid16 | |
32 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getgid16) | |
33 | #endif | |
34 | #ifndef OVERRIDE_32_sys_geteuid16 | |
35 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_geteuid16) | |
36 | #endif | |
37 | #ifndef OVERRIDE_32_sys_getegid16 | |
38 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getegid16) | |
39 | #endif | |
40 | #ifndef OVERRIDE_32_sys_getppid | |
41 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getppid) | |
42 | #endif | |
43 | #ifndef OVERRIDE_32_sys_getpgrp | |
44 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getpgrp) | |
45 | #endif | |
46 | #ifndef OVERRIDE_32_sys_setsid | |
47 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_setsid) | |
48 | #endif | |
49 | #ifndef OVERRIDE_32_sys_vhangup | |
50 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_vhangup) | |
51 | #endif | |
52 | #ifndef OVERRIDE_32_sys_munlockall | |
53 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_munlockall) | |
54 | #endif | |
55 | #ifndef OVERRIDE_32_sys_sched_yield | |
56 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_sched_yield) | |
57 | #endif | |
58 | #ifndef OVERRIDE_32_sys_getuid | |
59 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getuid) | |
60 | #endif | |
61 | #ifndef OVERRIDE_32_sys_getgid | |
62 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getgid) | |
63 | #endif | |
64 | #ifndef OVERRIDE_32_sys_geteuid | |
65 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_geteuid) | |
66 | #endif | |
67 | #ifndef OVERRIDE_32_sys_getegid | |
68 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getegid) | |
69 | #endif | |
70 | #ifndef OVERRIDE_32_sys_gettid | |
71 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_gettid) | |
72 | #endif | |
73 | #ifndef OVERRIDE_32_sys_inotify_init | |
74 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_inotify_init) | |
75 | #endif | |
76 | #ifndef OVERRIDE_32_sys_exit | |
77 | SC_TRACE_EVENT(sys_exit, | |
78 | TP_PROTO(int error_code), | |
79 | TP_ARGS(error_code), | |
80 | TP_STRUCT__entry(__field(int, error_code)), | |
81 | TP_fast_assign(tp_assign(error_code, error_code)), | |
82 | TP_printk() | |
83 | ) | |
84 | #endif | |
85 | #ifndef OVERRIDE_32_sys_close | |
86 | SC_TRACE_EVENT(sys_close, | |
87 | TP_PROTO(unsigned int fd), | |
88 | TP_ARGS(fd), | |
89 | TP_STRUCT__entry(__field(unsigned int, fd)), | |
90 | TP_fast_assign(tp_assign(fd, fd)), | |
91 | TP_printk() | |
92 | ) | |
93 | #endif | |
94 | #ifndef OVERRIDE_32_sys_setuid16 | |
95 | SC_TRACE_EVENT(sys_setuid16, | |
96 | TP_PROTO(old_uid_t uid), | |
97 | TP_ARGS(uid), | |
98 | TP_STRUCT__entry(__field(old_uid_t, uid)), | |
99 | TP_fast_assign(tp_assign(uid, uid)), | |
100 | TP_printk() | |
101 | ) | |
102 | #endif | |
103 | #ifndef OVERRIDE_32_sys_nice | |
104 | SC_TRACE_EVENT(sys_nice, | |
105 | TP_PROTO(int increment), | |
106 | TP_ARGS(increment), | |
107 | TP_STRUCT__entry(__field(int, increment)), | |
108 | TP_fast_assign(tp_assign(increment, increment)), | |
109 | TP_printk() | |
110 | ) | |
111 | #endif | |
112 | #ifndef OVERRIDE_32_sys_dup | |
113 | SC_TRACE_EVENT(sys_dup, | |
114 | TP_PROTO(unsigned int fildes), | |
115 | TP_ARGS(fildes), | |
116 | TP_STRUCT__entry(__field(unsigned int, fildes)), | |
117 | TP_fast_assign(tp_assign(fildes, fildes)), | |
118 | TP_printk() | |
119 | ) | |
120 | #endif | |
121 | #ifndef OVERRIDE_32_sys_brk | |
122 | SC_TRACE_EVENT(sys_brk, | |
123 | TP_PROTO(unsigned long brk), | |
124 | TP_ARGS(brk), | |
125 | TP_STRUCT__entry(__field(unsigned long, brk)), | |
126 | TP_fast_assign(tp_assign(brk, brk)), | |
127 | TP_printk() | |
128 | ) | |
129 | #endif | |
130 | #ifndef OVERRIDE_32_sys_setgid16 | |
131 | SC_TRACE_EVENT(sys_setgid16, | |
132 | TP_PROTO(old_gid_t gid), | |
133 | TP_ARGS(gid), | |
134 | TP_STRUCT__entry(__field(old_gid_t, gid)), | |
135 | TP_fast_assign(tp_assign(gid, gid)), | |
136 | TP_printk() | |
137 | ) | |
138 | #endif | |
139 | #ifndef OVERRIDE_32_sys_umask | |
140 | SC_TRACE_EVENT(sys_umask, | |
141 | TP_PROTO(int mask), | |
142 | TP_ARGS(mask), | |
143 | TP_STRUCT__entry(__field(int, mask)), | |
144 | TP_fast_assign(tp_assign(mask, mask)), | |
145 | TP_printk() | |
146 | ) | |
147 | #endif | |
148 | #ifndef OVERRIDE_32_sys_fsync | |
149 | SC_TRACE_EVENT(sys_fsync, | |
150 | TP_PROTO(unsigned int fd), | |
151 | TP_ARGS(fd), | |
152 | TP_STRUCT__entry(__field(unsigned int, fd)), | |
153 | TP_fast_assign(tp_assign(fd, fd)), | |
154 | TP_printk() | |
155 | ) | |
156 | #endif | |
157 | #ifndef OVERRIDE_32_sys_getpgid | |
158 | SC_TRACE_EVENT(sys_getpgid, | |
159 | TP_PROTO(pid_t pid), | |
160 | TP_ARGS(pid), | |
161 | TP_STRUCT__entry(__field(pid_t, pid)), | |
162 | TP_fast_assign(tp_assign(pid, pid)), | |
163 | TP_printk() | |
164 | ) | |
165 | #endif | |
166 | #ifndef OVERRIDE_32_sys_fchdir | |
167 | SC_TRACE_EVENT(sys_fchdir, | |
168 | TP_PROTO(unsigned int fd), | |
169 | TP_ARGS(fd), | |
170 | TP_STRUCT__entry(__field(unsigned int, fd)), | |
171 | TP_fast_assign(tp_assign(fd, fd)), | |
172 | TP_printk() | |
173 | ) | |
174 | #endif | |
175 | #ifndef OVERRIDE_32_sys_personality | |
176 | SC_TRACE_EVENT(sys_personality, | |
177 | TP_PROTO(unsigned int personality), | |
178 | TP_ARGS(personality), | |
179 | TP_STRUCT__entry(__field(unsigned int, personality)), | |
180 | TP_fast_assign(tp_assign(personality, personality)), | |
181 | TP_printk() | |
182 | ) | |
183 | #endif | |
184 | #ifndef OVERRIDE_32_sys_setfsuid16 | |
185 | SC_TRACE_EVENT(sys_setfsuid16, | |
186 | TP_PROTO(old_uid_t uid), | |
187 | TP_ARGS(uid), | |
188 | TP_STRUCT__entry(__field(old_uid_t, uid)), | |
189 | TP_fast_assign(tp_assign(uid, uid)), | |
190 | TP_printk() | |
191 | ) | |
192 | #endif | |
193 | #ifndef OVERRIDE_32_sys_setfsgid16 | |
194 | SC_TRACE_EVENT(sys_setfsgid16, | |
195 | TP_PROTO(old_gid_t gid), | |
196 | TP_ARGS(gid), | |
197 | TP_STRUCT__entry(__field(old_gid_t, gid)), | |
198 | TP_fast_assign(tp_assign(gid, gid)), | |
199 | TP_printk() | |
200 | ) | |
201 | #endif | |
202 | #ifndef OVERRIDE_32_sys_getsid | |
203 | SC_TRACE_EVENT(sys_getsid, | |
204 | TP_PROTO(pid_t pid), | |
205 | TP_ARGS(pid), | |
206 | TP_STRUCT__entry(__field(pid_t, pid)), | |
207 | TP_fast_assign(tp_assign(pid, pid)), | |
208 | TP_printk() | |
209 | ) | |
210 | #endif | |
211 | #ifndef OVERRIDE_32_sys_fdatasync | |
212 | SC_TRACE_EVENT(sys_fdatasync, | |
213 | TP_PROTO(unsigned int fd), | |
214 | TP_ARGS(fd), | |
215 | TP_STRUCT__entry(__field(unsigned int, fd)), | |
216 | TP_fast_assign(tp_assign(fd, fd)), | |
217 | TP_printk() | |
218 | ) | |
219 | #endif | |
220 | #ifndef OVERRIDE_32_sys_mlockall | |
221 | SC_TRACE_EVENT(sys_mlockall, | |
222 | TP_PROTO(int flags), | |
223 | TP_ARGS(flags), | |
224 | TP_STRUCT__entry(__field(int, flags)), | |
225 | TP_fast_assign(tp_assign(flags, flags)), | |
226 | TP_printk() | |
227 | ) | |
228 | #endif | |
229 | #ifndef OVERRIDE_32_sys_sched_getscheduler | |
230 | SC_TRACE_EVENT(sys_sched_getscheduler, | |
231 | TP_PROTO(pid_t pid), | |
232 | TP_ARGS(pid), | |
233 | TP_STRUCT__entry(__field(pid_t, pid)), | |
234 | TP_fast_assign(tp_assign(pid, pid)), | |
235 | TP_printk() | |
236 | ) | |
237 | #endif | |
238 | #ifndef OVERRIDE_32_sys_sched_get_priority_max | |
239 | SC_TRACE_EVENT(sys_sched_get_priority_max, | |
240 | TP_PROTO(int policy), | |
241 | TP_ARGS(policy), | |
242 | TP_STRUCT__entry(__field(int, policy)), | |
243 | TP_fast_assign(tp_assign(policy, policy)), | |
244 | TP_printk() | |
245 | ) | |
246 | #endif | |
247 | #ifndef OVERRIDE_32_sys_sched_get_priority_min | |
248 | SC_TRACE_EVENT(sys_sched_get_priority_min, | |
249 | TP_PROTO(int policy), | |
250 | TP_ARGS(policy), | |
251 | TP_STRUCT__entry(__field(int, policy)), | |
252 | TP_fast_assign(tp_assign(policy, policy)), | |
253 | TP_printk() | |
254 | ) | |
255 | #endif | |
256 | #ifndef OVERRIDE_32_sys_setuid | |
257 | SC_TRACE_EVENT(sys_setuid, | |
258 | TP_PROTO(uid_t uid), | |
259 | TP_ARGS(uid), | |
260 | TP_STRUCT__entry(__field(uid_t, uid)), | |
261 | TP_fast_assign(tp_assign(uid, uid)), | |
262 | TP_printk() | |
263 | ) | |
264 | #endif | |
265 | #ifndef OVERRIDE_32_sys_setgid | |
266 | SC_TRACE_EVENT(sys_setgid, | |
267 | TP_PROTO(gid_t gid), | |
268 | TP_ARGS(gid), | |
269 | TP_STRUCT__entry(__field(gid_t, gid)), | |
270 | TP_fast_assign(tp_assign(gid, gid)), | |
271 | TP_printk() | |
272 | ) | |
273 | #endif | |
274 | #ifndef OVERRIDE_32_sys_setfsuid | |
275 | SC_TRACE_EVENT(sys_setfsuid, | |
276 | TP_PROTO(uid_t uid), | |
277 | TP_ARGS(uid), | |
278 | TP_STRUCT__entry(__field(uid_t, uid)), | |
279 | TP_fast_assign(tp_assign(uid, uid)), | |
280 | TP_printk() | |
281 | ) | |
282 | #endif | |
283 | #ifndef OVERRIDE_32_sys_setfsgid | |
284 | SC_TRACE_EVENT(sys_setfsgid, | |
285 | TP_PROTO(gid_t gid), | |
286 | TP_ARGS(gid), | |
287 | TP_STRUCT__entry(__field(gid_t, gid)), | |
288 | TP_fast_assign(tp_assign(gid, gid)), | |
289 | TP_printk() | |
290 | ) | |
291 | #endif | |
292 | #ifndef OVERRIDE_32_sys_io_destroy | |
293 | SC_TRACE_EVENT(sys_io_destroy, | |
294 | TP_PROTO(aio_context_t ctx), | |
295 | TP_ARGS(ctx), | |
296 | TP_STRUCT__entry(__field(aio_context_t, ctx)), | |
297 | TP_fast_assign(tp_assign(ctx, ctx)), | |
298 | TP_printk() | |
299 | ) | |
300 | #endif | |
301 | #ifndef OVERRIDE_32_sys_exit_group | |
302 | SC_TRACE_EVENT(sys_exit_group, | |
303 | TP_PROTO(int error_code), | |
304 | TP_ARGS(error_code), | |
305 | TP_STRUCT__entry(__field(int, error_code)), | |
306 | TP_fast_assign(tp_assign(error_code, error_code)), | |
307 | TP_printk() | |
308 | ) | |
309 | #endif | |
310 | #ifndef OVERRIDE_32_sys_epoll_create | |
311 | SC_TRACE_EVENT(sys_epoll_create, | |
312 | TP_PROTO(int size), | |
313 | TP_ARGS(size), | |
314 | TP_STRUCT__entry(__field(int, size)), | |
315 | TP_fast_assign(tp_assign(size, size)), | |
316 | TP_printk() | |
317 | ) | |
318 | #endif | |
319 | #ifndef OVERRIDE_32_sys_timer_getoverrun | |
320 | SC_TRACE_EVENT(sys_timer_getoverrun, | |
321 | TP_PROTO(timer_t timer_id), | |
322 | TP_ARGS(timer_id), | |
323 | TP_STRUCT__entry(__field(timer_t, timer_id)), | |
324 | TP_fast_assign(tp_assign(timer_id, timer_id)), | |
325 | TP_printk() | |
326 | ) | |
327 | #endif | |
328 | #ifndef OVERRIDE_32_sys_timer_delete | |
329 | SC_TRACE_EVENT(sys_timer_delete, | |
330 | TP_PROTO(timer_t timer_id), | |
331 | TP_ARGS(timer_id), | |
332 | TP_STRUCT__entry(__field(timer_t, timer_id)), | |
333 | TP_fast_assign(tp_assign(timer_id, timer_id)), | |
334 | TP_printk() | |
335 | ) | |
336 | #endif | |
337 | #ifndef OVERRIDE_32_sys_unshare | |
338 | SC_TRACE_EVENT(sys_unshare, | |
339 | TP_PROTO(unsigned long unshare_flags), | |
340 | TP_ARGS(unshare_flags), | |
341 | TP_STRUCT__entry(__field(unsigned long, unshare_flags)), | |
342 | TP_fast_assign(tp_assign(unshare_flags, unshare_flags)), | |
343 | TP_printk() | |
344 | ) | |
345 | #endif | |
346 | #ifndef OVERRIDE_32_sys_eventfd | |
347 | SC_TRACE_EVENT(sys_eventfd, | |
348 | TP_PROTO(unsigned int count), | |
349 | TP_ARGS(count), | |
350 | TP_STRUCT__entry(__field(unsigned int, count)), | |
351 | TP_fast_assign(tp_assign(count, count)), | |
352 | TP_printk() | |
353 | ) | |
354 | #endif | |
355 | #ifndef OVERRIDE_32_sys_epoll_create1 | |
356 | SC_TRACE_EVENT(sys_epoll_create1, | |
357 | TP_PROTO(int flags), | |
358 | TP_ARGS(flags), | |
359 | TP_STRUCT__entry(__field(int, flags)), | |
360 | TP_fast_assign(tp_assign(flags, flags)), | |
361 | TP_printk() | |
362 | ) | |
363 | #endif | |
364 | #ifndef OVERRIDE_32_sys_inotify_init1 | |
365 | SC_TRACE_EVENT(sys_inotify_init1, | |
366 | TP_PROTO(int flags), | |
367 | TP_ARGS(flags), | |
368 | TP_STRUCT__entry(__field(int, flags)), | |
369 | TP_fast_assign(tp_assign(flags, flags)), | |
370 | TP_printk() | |
371 | ) | |
372 | #endif | |
373 | #ifndef OVERRIDE_32_sys_kill | |
374 | SC_TRACE_EVENT(sys_kill, | |
375 | TP_PROTO(pid_t pid, int sig), | |
376 | TP_ARGS(pid, sig), | |
377 | TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig)), | |
378 | TP_fast_assign(tp_assign(pid, pid) tp_assign(sig, sig)), | |
379 | TP_printk() | |
380 | ) | |
381 | #endif | |
382 | #ifndef OVERRIDE_32_sys_setpgid | |
383 | SC_TRACE_EVENT(sys_setpgid, | |
384 | TP_PROTO(pid_t pid, pid_t pgid), | |
385 | TP_ARGS(pid, pgid), | |
386 | TP_STRUCT__entry(__field(pid_t, pid) __field(pid_t, pgid)), | |
387 | TP_fast_assign(tp_assign(pid, pid) tp_assign(pgid, pgid)), | |
388 | TP_printk() | |
389 | ) | |
390 | #endif | |
391 | #ifndef OVERRIDE_32_sys_dup2 | |
392 | SC_TRACE_EVENT(sys_dup2, | |
393 | TP_PROTO(unsigned int oldfd, unsigned int newfd), | |
394 | TP_ARGS(oldfd, newfd), | |
395 | TP_STRUCT__entry(__field(unsigned int, oldfd) __field(unsigned int, newfd)), | |
396 | TP_fast_assign(tp_assign(oldfd, oldfd) tp_assign(newfd, newfd)), | |
397 | TP_printk() | |
398 | ) | |
399 | #endif | |
400 | #ifndef OVERRIDE_32_sys_setreuid16 | |
401 | SC_TRACE_EVENT(sys_setreuid16, | |
402 | TP_PROTO(old_uid_t ruid, old_uid_t euid), | |
403 | TP_ARGS(ruid, euid), | |
404 | TP_STRUCT__entry(__field(old_uid_t, ruid) __field(old_uid_t, euid)), | |
405 | TP_fast_assign(tp_assign(ruid, ruid) tp_assign(euid, euid)), | |
406 | TP_printk() | |
407 | ) | |
408 | #endif | |
409 | #ifndef OVERRIDE_32_sys_setregid16 | |
410 | SC_TRACE_EVENT(sys_setregid16, | |
411 | TP_PROTO(old_gid_t rgid, old_gid_t egid), | |
412 | TP_ARGS(rgid, egid), | |
413 | TP_STRUCT__entry(__field(old_gid_t, rgid) __field(old_gid_t, egid)), | |
414 | TP_fast_assign(tp_assign(rgid, rgid) tp_assign(egid, egid)), | |
415 | TP_printk() | |
416 | ) | |
417 | #endif | |
418 | #ifndef OVERRIDE_32_sys_munmap | |
419 | SC_TRACE_EVENT(sys_munmap, | |
420 | TP_PROTO(unsigned long addr, size_t len), | |
421 | TP_ARGS(addr, len), | |
422 | TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(size_t, len)), | |
423 | TP_fast_assign(tp_assign(addr, addr) tp_assign(len, len)), | |
424 | TP_printk() | |
425 | ) | |
426 | #endif | |
427 | #ifndef OVERRIDE_32_sys_ftruncate | |
428 | SC_TRACE_EVENT(sys_ftruncate, | |
429 | TP_PROTO(unsigned int fd, unsigned long length), | |
430 | TP_ARGS(fd, length), | |
431 | TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned long, length)), | |
432 | TP_fast_assign(tp_assign(fd, fd) tp_assign(length, length)), | |
433 | TP_printk() | |
434 | ) | |
435 | #endif | |
436 | #ifndef OVERRIDE_32_sys_fchmod | |
437 | SC_TRACE_EVENT(sys_fchmod, | |
438 | TP_PROTO(unsigned int fd, mode_t mode), | |
439 | TP_ARGS(fd, mode), | |
440 | TP_STRUCT__entry(__field(unsigned int, fd) __field(mode_t, mode)), | |
441 | TP_fast_assign(tp_assign(fd, fd) tp_assign(mode, mode)), | |
442 | TP_printk() | |
443 | ) | |
444 | #endif | |
445 | #ifndef OVERRIDE_32_sys_getpriority | |
446 | SC_TRACE_EVENT(sys_getpriority, | |
447 | TP_PROTO(int which, int who), | |
448 | TP_ARGS(which, who), | |
449 | TP_STRUCT__entry(__field(int, which) __field(int, who)), | |
450 | TP_fast_assign(tp_assign(which, which) tp_assign(who, who)), | |
451 | TP_printk() | |
452 | ) | |
453 | #endif | |
454 | #ifndef OVERRIDE_32_sys_bdflush | |
455 | SC_TRACE_EVENT(sys_bdflush, | |
456 | TP_PROTO(int func, long data), | |
457 | TP_ARGS(func, data), | |
458 | TP_STRUCT__entry(__field(int, func) __field(long, data)), | |
459 | TP_fast_assign(tp_assign(func, func) tp_assign(data, data)), | |
460 | TP_printk() | |
461 | ) | |
462 | #endif | |
463 | #ifndef OVERRIDE_32_sys_flock | |
464 | SC_TRACE_EVENT(sys_flock, | |
465 | TP_PROTO(unsigned int fd, unsigned int cmd), | |
466 | TP_ARGS(fd, cmd), | |
467 | TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd)), | |
468 | TP_fast_assign(tp_assign(fd, fd) tp_assign(cmd, cmd)), | |
469 | TP_printk() | |
470 | ) | |
471 | #endif | |
472 | #ifndef OVERRIDE_32_sys_mlock | |
473 | SC_TRACE_EVENT(sys_mlock, | |
474 | TP_PROTO(unsigned long start, size_t len), | |
475 | TP_ARGS(start, len), | |
476 | TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len)), | |
477 | TP_fast_assign(tp_assign(start, start) tp_assign(len, len)), | |
478 | TP_printk() | |
479 | ) | |
480 | #endif | |
481 | #ifndef OVERRIDE_32_sys_munlock | |
482 | SC_TRACE_EVENT(sys_munlock, | |
483 | TP_PROTO(unsigned long start, size_t len), | |
484 | TP_ARGS(start, len), | |
485 | TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len)), | |
486 | TP_fast_assign(tp_assign(start, start) tp_assign(len, len)), | |
487 | TP_printk() | |
488 | ) | |
489 | #endif | |
490 | #ifndef OVERRIDE_32_sys_setreuid | |
491 | SC_TRACE_EVENT(sys_setreuid, | |
492 | TP_PROTO(uid_t ruid, uid_t euid), | |
493 | TP_ARGS(ruid, euid), | |
494 | TP_STRUCT__entry(__field(uid_t, ruid) __field(uid_t, euid)), | |
495 | TP_fast_assign(tp_assign(ruid, ruid) tp_assign(euid, euid)), | |
496 | TP_printk() | |
497 | ) | |
498 | #endif | |
499 | #ifndef OVERRIDE_32_sys_setregid | |
500 | SC_TRACE_EVENT(sys_setregid, | |
501 | TP_PROTO(gid_t rgid, gid_t egid), | |
502 | TP_ARGS(rgid, egid), | |
503 | TP_STRUCT__entry(__field(gid_t, rgid) __field(gid_t, egid)), | |
504 | TP_fast_assign(tp_assign(rgid, rgid) tp_assign(egid, egid)), | |
505 | TP_printk() | |
506 | ) | |
507 | #endif | |
508 | #ifndef OVERRIDE_32_sys_tkill | |
509 | SC_TRACE_EVENT(sys_tkill, | |
510 | TP_PROTO(pid_t pid, int sig), | |
511 | TP_ARGS(pid, sig), | |
512 | TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig)), | |
513 | TP_fast_assign(tp_assign(pid, pid) tp_assign(sig, sig)), | |
514 | TP_printk() | |
515 | ) | |
516 | #endif | |
517 | #ifndef OVERRIDE_32_sys_listen | |
518 | SC_TRACE_EVENT(sys_listen, | |
519 | TP_PROTO(int fd, int backlog), | |
520 | TP_ARGS(fd, backlog), | |
521 | TP_STRUCT__entry(__field(int, fd) __field(int, backlog)), | |
522 | TP_fast_assign(tp_assign(fd, fd) tp_assign(backlog, backlog)), | |
523 | TP_printk() | |
524 | ) | |
525 | #endif | |
526 | #ifndef OVERRIDE_32_sys_shutdown | |
527 | SC_TRACE_EVENT(sys_shutdown, | |
528 | TP_PROTO(int fd, int how), | |
529 | TP_ARGS(fd, how), | |
530 | TP_STRUCT__entry(__field(int, fd) __field(int, how)), | |
531 | TP_fast_assign(tp_assign(fd, fd) tp_assign(how, how)), | |
532 | TP_printk() | |
533 | ) | |
534 | #endif | |
535 | #ifndef OVERRIDE_32_sys_msgget | |
536 | SC_TRACE_EVENT(sys_msgget, | |
537 | TP_PROTO(key_t key, int msgflg), | |
538 | TP_ARGS(key, msgflg), | |
539 | TP_STRUCT__entry(__field(key_t, key) __field(int, msgflg)), | |
540 | TP_fast_assign(tp_assign(key, key) tp_assign(msgflg, msgflg)), | |
541 | TP_printk() | |
542 | ) | |
543 | #endif | |
544 | #ifndef OVERRIDE_32_sys_ioprio_get | |
545 | SC_TRACE_EVENT(sys_ioprio_get, | |
546 | TP_PROTO(int which, int who), | |
547 | TP_ARGS(which, who), | |
548 | TP_STRUCT__entry(__field(int, which) __field(int, who)), | |
549 | TP_fast_assign(tp_assign(which, which) tp_assign(who, who)), | |
550 | TP_printk() | |
551 | ) | |
552 | #endif | |
553 | #ifndef OVERRIDE_32_sys_inotify_rm_watch | |
554 | SC_TRACE_EVENT(sys_inotify_rm_watch, | |
555 | TP_PROTO(int fd, __s32 wd), | |
556 | TP_ARGS(fd, wd), | |
557 | TP_STRUCT__entry(__field(int, fd) __field(__s32, wd)), | |
558 | TP_fast_assign(tp_assign(fd, fd) tp_assign(wd, wd)), | |
559 | TP_printk() | |
560 | ) | |
561 | #endif | |
562 | #ifndef OVERRIDE_32_sys_timerfd_create | |
563 | SC_TRACE_EVENT(sys_timerfd_create, | |
564 | TP_PROTO(int clockid, int flags), | |
565 | TP_ARGS(clockid, flags), | |
566 | TP_STRUCT__entry(__field(int, clockid) __field(int, flags)), | |
567 | TP_fast_assign(tp_assign(clockid, clockid) tp_assign(flags, flags)), | |
568 | TP_printk() | |
569 | ) | |
570 | #endif | |
571 | #ifndef OVERRIDE_32_sys_eventfd2 | |
572 | SC_TRACE_EVENT(sys_eventfd2, | |
573 | TP_PROTO(unsigned int count, int flags), | |
574 | TP_ARGS(count, flags), | |
575 | TP_STRUCT__entry(__field(unsigned int, count) __field(int, flags)), | |
576 | TP_fast_assign(tp_assign(count, count) tp_assign(flags, flags)), | |
577 | TP_printk() | |
578 | ) | |
579 | #endif | |
580 | #ifndef OVERRIDE_32_sys_lseek | |
581 | SC_TRACE_EVENT(sys_lseek, | |
582 | TP_PROTO(unsigned int fd, off_t offset, unsigned int origin), | |
583 | TP_ARGS(fd, offset, origin), | |
584 | TP_STRUCT__entry(__field(unsigned int, fd) __field(off_t, offset) __field(unsigned int, origin)), | |
585 | TP_fast_assign(tp_assign(fd, fd) tp_assign(offset, offset) tp_assign(origin, origin)), | |
586 | TP_printk() | |
587 | ) | |
588 | #endif | |
589 | #ifndef OVERRIDE_32_sys_ioctl | |
590 | SC_TRACE_EVENT(sys_ioctl, | |
591 | TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), | |
592 | TP_ARGS(fd, cmd, arg), | |
593 | TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), | |
594 | TP_fast_assign(tp_assign(fd, fd) tp_assign(cmd, cmd) tp_assign(arg, arg)), | |
595 | TP_printk() | |
596 | ) | |
597 | #endif | |
598 | #ifndef OVERRIDE_32_sys_fcntl | |
599 | SC_TRACE_EVENT(sys_fcntl, | |
600 | TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), | |
601 | TP_ARGS(fd, cmd, arg), | |
602 | TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), | |
603 | TP_fast_assign(tp_assign(fd, fd) tp_assign(cmd, cmd) tp_assign(arg, arg)), | |
604 | TP_printk() | |
605 | ) | |
606 | #endif | |
607 | #ifndef OVERRIDE_32_sys_fchown16 | |
608 | SC_TRACE_EVENT(sys_fchown16, | |
609 | TP_PROTO(unsigned int fd, old_uid_t user, old_gid_t group), | |
610 | TP_ARGS(fd, user, group), | |
611 | TP_STRUCT__entry(__field(unsigned int, fd) __field(old_uid_t, user) __field(old_gid_t, group)), | |
612 | TP_fast_assign(tp_assign(fd, fd) tp_assign(user, user) tp_assign(group, group)), | |
613 | TP_printk() | |
614 | ) | |
615 | #endif | |
616 | #ifndef OVERRIDE_32_sys_setpriority | |
617 | SC_TRACE_EVENT(sys_setpriority, | |
618 | TP_PROTO(int which, int who, int niceval), | |
619 | TP_ARGS(which, who, niceval), | |
620 | TP_STRUCT__entry(__field(int, which) __field(int, who) __field(int, niceval)), | |
621 | TP_fast_assign(tp_assign(which, which) tp_assign(who, who) tp_assign(niceval, niceval)), | |
622 | TP_printk() | |
623 | ) | |
624 | #endif | |
625 | #ifndef OVERRIDE_32_sys_mprotect | |
626 | SC_TRACE_EVENT(sys_mprotect, | |
627 | TP_PROTO(unsigned long start, size_t len, unsigned long prot), | |
628 | TP_ARGS(start, len, prot), | |
629 | TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field(unsigned long, prot)), | |
630 | TP_fast_assign(tp_assign(start, start) tp_assign(len, len) tp_assign(prot, prot)), | |
631 | TP_printk() | |
632 | ) | |
633 | #endif | |
634 | #ifndef OVERRIDE_32_sys_sysfs | |
635 | SC_TRACE_EVENT(sys_sysfs, | |
636 | TP_PROTO(int option, unsigned long arg1, unsigned long arg2), | |
637 | TP_ARGS(option, arg1, arg2), | |
638 | TP_STRUCT__entry(__field(int, option) __field(unsigned long, arg1) __field(unsigned long, arg2)), | |
639 | TP_fast_assign(tp_assign(option, option) tp_assign(arg1, arg1) tp_assign(arg2, arg2)), | |
640 | TP_printk() | |
641 | ) | |
642 | #endif | |
643 | #ifndef OVERRIDE_32_sys_msync | |
644 | SC_TRACE_EVENT(sys_msync, | |
645 | TP_PROTO(unsigned long start, size_t len, int flags), | |
646 | TP_ARGS(start, len, flags), | |
647 | TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field(int, flags)), | |
648 | TP_fast_assign(tp_assign(start, start) tp_assign(len, len) tp_assign(flags, flags)), | |
649 | TP_printk() | |
650 | ) | |
651 | #endif | |
652 | #ifndef OVERRIDE_32_sys_setresuid16 | |
653 | SC_TRACE_EVENT(sys_setresuid16, | |
654 | TP_PROTO(old_uid_t ruid, old_uid_t euid, old_uid_t suid), | |
655 | TP_ARGS(ruid, euid, suid), | |
656 | TP_STRUCT__entry(__field(old_uid_t, ruid) __field(old_uid_t, euid) __field(old_uid_t, suid)), | |
657 | TP_fast_assign(tp_assign(ruid, ruid) tp_assign(euid, euid) tp_assign(suid, suid)), | |
658 | TP_printk() | |
659 | ) | |
660 | #endif | |
661 | #ifndef OVERRIDE_32_sys_setresgid16 | |
662 | SC_TRACE_EVENT(sys_setresgid16, | |
663 | TP_PROTO(old_gid_t rgid, old_gid_t egid, old_gid_t sgid), | |
664 | TP_ARGS(rgid, egid, sgid), | |
665 | TP_STRUCT__entry(__field(old_gid_t, rgid) __field(old_gid_t, egid) __field(old_gid_t, sgid)), | |
666 | TP_fast_assign(tp_assign(rgid, rgid) tp_assign(egid, egid) tp_assign(sgid, sgid)), | |
667 | TP_printk() | |
668 | ) | |
669 | #endif | |
670 | #ifndef OVERRIDE_32_sys_fchown | |
671 | SC_TRACE_EVENT(sys_fchown, | |
672 | TP_PROTO(unsigned int fd, uid_t user, gid_t group), | |
673 | TP_ARGS(fd, user, group), | |
674 | TP_STRUCT__entry(__field(unsigned int, fd) __field(uid_t, user) __field(gid_t, group)), | |
675 | TP_fast_assign(tp_assign(fd, fd) tp_assign(user, user) tp_assign(group, group)), | |
676 | TP_printk() | |
677 | ) | |
678 | #endif | |
679 | #ifndef OVERRIDE_32_sys_setresuid | |
680 | SC_TRACE_EVENT(sys_setresuid, | |
681 | TP_PROTO(uid_t ruid, uid_t euid, uid_t suid), | |
682 | TP_ARGS(ruid, euid, suid), | |
683 | TP_STRUCT__entry(__field(uid_t, ruid) __field(uid_t, euid) __field(uid_t, suid)), | |
684 | TP_fast_assign(tp_assign(ruid, ruid) tp_assign(euid, euid) tp_assign(suid, suid)), | |
685 | TP_printk() | |
686 | ) | |
687 | #endif | |
688 | #ifndef OVERRIDE_32_sys_setresgid | |
689 | SC_TRACE_EVENT(sys_setresgid, | |
690 | TP_PROTO(gid_t rgid, gid_t egid, gid_t sgid), | |
691 | TP_ARGS(rgid, egid, sgid), | |
692 | TP_STRUCT__entry(__field(gid_t, rgid) __field(gid_t, egid) __field(gid_t, sgid)), | |
693 | TP_fast_assign(tp_assign(rgid, rgid) tp_assign(egid, egid) tp_assign(sgid, sgid)), | |
694 | TP_printk() | |
695 | ) | |
696 | #endif | |
697 | #ifndef OVERRIDE_32_sys_madvise | |
698 | SC_TRACE_EVENT(sys_madvise, | |
699 | TP_PROTO(unsigned long start, size_t len_in, int behavior), | |
700 | TP_ARGS(start, len_in, behavior), | |
701 | TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len_in) __field(int, behavior)), | |
702 | TP_fast_assign(tp_assign(start, start) tp_assign(len_in, len_in) tp_assign(behavior, behavior)), | |
703 | TP_printk() | |
704 | ) | |
705 | #endif | |
706 | #ifndef OVERRIDE_32_sys_fcntl64 | |
707 | SC_TRACE_EVENT(sys_fcntl64, | |
708 | TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), | |
709 | TP_ARGS(fd, cmd, arg), | |
710 | TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), | |
711 | TP_fast_assign(tp_assign(fd, fd) tp_assign(cmd, cmd) tp_assign(arg, arg)), | |
712 | TP_printk() | |
713 | ) | |
714 | #endif | |
715 | #ifndef OVERRIDE_32_sys_tgkill | |
716 | SC_TRACE_EVENT(sys_tgkill, | |
717 | TP_PROTO(pid_t tgid, pid_t pid, int sig), | |
718 | TP_ARGS(tgid, pid, sig), | |
719 | TP_STRUCT__entry(__field(pid_t, tgid) __field(pid_t, pid) __field(int, sig)), | |
720 | TP_fast_assign(tp_assign(tgid, tgid) tp_assign(pid, pid) tp_assign(sig, sig)), | |
721 | TP_printk() | |
722 | ) | |
723 | #endif | |
724 | #ifndef OVERRIDE_32_sys_socket | |
725 | SC_TRACE_EVENT(sys_socket, | |
726 | TP_PROTO(int family, int type, int protocol), | |
727 | TP_ARGS(family, type, protocol), | |
728 | TP_STRUCT__entry(__field(int, family) __field(int, type) __field(int, protocol)), | |
729 | TP_fast_assign(tp_assign(family, family) tp_assign(type, type) tp_assign(protocol, protocol)), | |
730 | TP_printk() | |
731 | ) | |
732 | #endif | |
733 | #ifndef OVERRIDE_32_sys_semget | |
734 | SC_TRACE_EVENT(sys_semget, | |
735 | TP_PROTO(key_t key, int nsems, int semflg), | |
736 | TP_ARGS(key, nsems, semflg), | |
737 | TP_STRUCT__entry(__field(key_t, key) __field(int, nsems) __field(int, semflg)), | |
738 | TP_fast_assign(tp_assign(key, key) tp_assign(nsems, nsems) tp_assign(semflg, semflg)), | |
739 | TP_printk() | |
740 | ) | |
741 | #endif | |
742 | #ifndef OVERRIDE_32_sys_shmget | |
743 | SC_TRACE_EVENT(sys_shmget, | |
744 | TP_PROTO(key_t key, size_t size, int shmflg), | |
745 | TP_ARGS(key, size, shmflg), | |
746 | TP_STRUCT__entry(__field(key_t, key) __field(size_t, size) __field(int, shmflg)), | |
747 | TP_fast_assign(tp_assign(key, key) tp_assign(size, size) tp_assign(shmflg, shmflg)), | |
748 | TP_printk() | |
749 | ) | |
750 | #endif | |
751 | #ifndef OVERRIDE_32_sys_ioprio_set | |
752 | SC_TRACE_EVENT(sys_ioprio_set, | |
753 | TP_PROTO(int which, int who, int ioprio), | |
754 | TP_ARGS(which, who, ioprio), | |
755 | TP_STRUCT__entry(__field(int, which) __field(int, who) __field(int, ioprio)), | |
756 | TP_fast_assign(tp_assign(which, which) tp_assign(who, who) tp_assign(ioprio, ioprio)), | |
757 | TP_printk() | |
758 | ) | |
759 | #endif | |
760 | #ifndef OVERRIDE_32_sys_dup3 | |
761 | SC_TRACE_EVENT(sys_dup3, | |
762 | TP_PROTO(unsigned int oldfd, unsigned int newfd, int flags), | |
763 | TP_ARGS(oldfd, newfd, flags), | |
764 | TP_STRUCT__entry(__field(unsigned int, oldfd) __field(unsigned int, newfd) __field(int, flags)), | |
765 | TP_fast_assign(tp_assign(oldfd, oldfd) tp_assign(newfd, newfd) tp_assign(flags, flags)), | |
766 | TP_printk() | |
767 | ) | |
768 | #endif | |
769 | #ifndef OVERRIDE_32_sys_ptrace | |
770 | SC_TRACE_EVENT(sys_ptrace, | |
771 | TP_PROTO(long request, long pid, unsigned long addr, unsigned long data), | |
772 | TP_ARGS(request, pid, addr, data), | |
773 | TP_STRUCT__entry(__field(long, request) __field(long, pid) __field_hex(unsigned long, addr) __field(unsigned long, data)), | |
774 | TP_fast_assign(tp_assign(request, request) tp_assign(pid, pid) tp_assign(addr, addr) tp_assign(data, data)), | |
775 | TP_printk() | |
776 | ) | |
777 | #endif | |
778 | #ifndef OVERRIDE_32_sys_tee | |
779 | SC_TRACE_EVENT(sys_tee, | |
780 | TP_PROTO(int fdin, int fdout, size_t len, unsigned int flags), | |
781 | TP_ARGS(fdin, fdout, len, flags), | |
782 | TP_STRUCT__entry(__field(int, fdin) __field(int, fdout) __field(size_t, len) __field(unsigned int, flags)), | |
783 | TP_fast_assign(tp_assign(fdin, fdin) tp_assign(fdout, fdout) tp_assign(len, len) tp_assign(flags, flags)), | |
784 | TP_printk() | |
785 | ) | |
786 | #endif | |
787 | #ifndef OVERRIDE_32_sys_mremap | |
788 | SC_TRACE_EVENT(sys_mremap, | |
789 | TP_PROTO(unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), | |
790 | TP_ARGS(addr, old_len, new_len, flags, new_addr), | |
791 | TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, old_len) __field(unsigned long, new_len) __field(unsigned long, flags) __field_hex(unsigned long, new_addr)), | |
792 | TP_fast_assign(tp_assign(addr, addr) tp_assign(old_len, old_len) tp_assign(new_len, new_len) tp_assign(flags, flags) tp_assign(new_addr, new_addr)), | |
793 | TP_printk() | |
794 | ) | |
795 | #endif | |
796 | #ifndef OVERRIDE_32_sys_prctl | |
797 | SC_TRACE_EVENT(sys_prctl, | |
798 | TP_PROTO(int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), | |
799 | TP_ARGS(option, arg2, arg3, arg4, arg5), | |
800 | TP_STRUCT__entry(__field(int, option) __field(unsigned long, arg2) __field(unsigned long, arg3) __field(unsigned long, arg4) __field(unsigned long, arg5)), | |
801 | TP_fast_assign(tp_assign(option, option) tp_assign(arg2, arg2) tp_assign(arg3, arg3) tp_assign(arg4, arg4) tp_assign(arg5, arg5)), | |
802 | TP_printk() | |
803 | ) | |
804 | #endif | |
805 | #ifndef OVERRIDE_32_sys_remap_file_pages | |
806 | SC_TRACE_EVENT(sys_remap_file_pages, | |
807 | TP_PROTO(unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), | |
808 | TP_ARGS(start, size, prot, pgoff, flags), | |
809 | TP_STRUCT__entry(__field(unsigned long, start) __field(unsigned long, size) __field(unsigned long, prot) __field(unsigned long, pgoff) __field(unsigned long, flags)), | |
810 | TP_fast_assign(tp_assign(start, start) tp_assign(size, size) tp_assign(prot, prot) tp_assign(pgoff, pgoff) tp_assign(flags, flags)), | |
811 | TP_printk() | |
812 | ) | |
813 | #endif | |
814 | #ifndef OVERRIDE_32_sys_keyctl | |
815 | SC_TRACE_EVENT(sys_keyctl, | |
816 | TP_PROTO(int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), | |
817 | TP_ARGS(option, arg2, arg3, arg4, arg5), | |
818 | TP_STRUCT__entry(__field(int, option) __field(unsigned long, arg2) __field(unsigned long, arg3) __field(unsigned long, arg4) __field(unsigned long, arg5)), | |
819 | TP_fast_assign(tp_assign(option, option) tp_assign(arg2, arg2) tp_assign(arg3, arg3) tp_assign(arg4, arg4) tp_assign(arg5, arg5)), | |
820 | TP_printk() | |
821 | ) | |
822 | #endif | |
823 | ||
824 | #endif /* _TRACE_SYSCALLS_INTEGERS_H */ | |
825 | ||
826 | /* This part must be outside protection */ | |
827 | #include "../../../probes/define_trace.h" | |
828 | ||
829 | #else /* CREATE_SYSCALL_TABLE */ | |
830 | ||
831 | #include "arm-32-syscalls-2.6.38_integers_override.h" | |
832 | #include "syscalls_integers_override.h" | |
833 | ||
834 | #ifndef OVERRIDE_TABLE_32_sys_restart_syscall | |
835 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_restart_syscall, 0, 0) | |
836 | #endif | |
837 | #ifndef OVERRIDE_TABLE_32_sys_getpid | |
838 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getpid, 20, 0) | |
839 | #endif | |
840 | #ifndef OVERRIDE_TABLE_32_sys_getuid16 | |
841 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getuid16, 24, 0) | |
842 | #endif | |
843 | #ifndef OVERRIDE_TABLE_32_sys_pause | |
844 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_pause, 29, 0) | |
845 | #endif | |
846 | #ifndef OVERRIDE_TABLE_32_sys_sync | |
847 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sync, 36, 0) | |
848 | #endif | |
849 | #ifndef OVERRIDE_TABLE_32_sys_getgid16 | |
850 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getgid16, 47, 0) | |
851 | #endif | |
852 | #ifndef OVERRIDE_TABLE_32_sys_geteuid16 | |
853 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_geteuid16, 49, 0) | |
854 | #endif | |
855 | #ifndef OVERRIDE_TABLE_32_sys_getegid16 | |
856 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getegid16, 50, 0) | |
857 | #endif | |
858 | #ifndef OVERRIDE_TABLE_32_sys_getppid | |
859 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getppid, 64, 0) | |
860 | #endif | |
861 | #ifndef OVERRIDE_TABLE_32_sys_getpgrp | |
862 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getpgrp, 65, 0) | |
863 | #endif | |
864 | #ifndef OVERRIDE_TABLE_32_sys_setsid | |
865 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_setsid, 66, 0) | |
866 | #endif | |
867 | #ifndef OVERRIDE_TABLE_32_sys_vhangup | |
868 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_vhangup, 111, 0) | |
869 | #endif | |
870 | #ifndef OVERRIDE_TABLE_32_sys_munlockall | |
871 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_munlockall, 153, 0) | |
872 | #endif | |
873 | #ifndef OVERRIDE_TABLE_32_sys_sched_yield | |
874 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sched_yield, 158, 0) | |
875 | #endif | |
876 | #ifndef OVERRIDE_TABLE_32_sys_getuid | |
877 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getuid, 199, 0) | |
878 | #endif | |
879 | #ifndef OVERRIDE_TABLE_32_sys_getgid | |
880 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getgid, 200, 0) | |
881 | #endif | |
882 | #ifndef OVERRIDE_TABLE_32_sys_geteuid | |
883 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_geteuid, 201, 0) | |
884 | #endif | |
885 | #ifndef OVERRIDE_TABLE_32_sys_getegid | |
886 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getegid, 202, 0) | |
887 | #endif | |
888 | #ifndef OVERRIDE_TABLE_32_sys_gettid | |
889 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_gettid, 224, 0) | |
890 | #endif | |
891 | #ifndef OVERRIDE_TABLE_32_sys_inotify_init | |
892 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_inotify_init, 316, 0) | |
893 | #endif | |
894 | #ifndef OVERRIDE_TABLE_32_sys_exit | |
895 | TRACE_SYSCALL_TABLE(sys_exit, sys_exit, 1, 1) | |
896 | #endif | |
897 | #ifndef OVERRIDE_TABLE_32_sys_close | |
898 | TRACE_SYSCALL_TABLE(sys_close, sys_close, 6, 1) | |
899 | #endif | |
900 | #ifndef OVERRIDE_TABLE_32_sys_lseek | |
901 | TRACE_SYSCALL_TABLE(sys_lseek, sys_lseek, 19, 3) | |
902 | #endif | |
903 | #ifndef OVERRIDE_TABLE_32_sys_setuid16 | |
904 | TRACE_SYSCALL_TABLE(sys_setuid16, sys_setuid16, 23, 1) | |
905 | #endif | |
906 | #ifndef OVERRIDE_TABLE_32_sys_ptrace | |
907 | TRACE_SYSCALL_TABLE(sys_ptrace, sys_ptrace, 26, 4) | |
908 | #endif | |
909 | #ifndef OVERRIDE_TABLE_32_sys_nice | |
910 | TRACE_SYSCALL_TABLE(sys_nice, sys_nice, 34, 1) | |
911 | #endif | |
912 | #ifndef OVERRIDE_TABLE_32_sys_kill | |
913 | TRACE_SYSCALL_TABLE(sys_kill, sys_kill, 37, 2) | |
914 | #endif | |
915 | #ifndef OVERRIDE_TABLE_32_sys_dup | |
916 | TRACE_SYSCALL_TABLE(sys_dup, sys_dup, 41, 1) | |
917 | #endif | |
918 | #ifndef OVERRIDE_TABLE_32_sys_brk | |
919 | TRACE_SYSCALL_TABLE(sys_brk, sys_brk, 45, 1) | |
920 | #endif | |
921 | #ifndef OVERRIDE_TABLE_32_sys_setgid16 | |
922 | TRACE_SYSCALL_TABLE(sys_setgid16, sys_setgid16, 46, 1) | |
923 | #endif | |
924 | #ifndef OVERRIDE_TABLE_32_sys_ioctl | |
925 | TRACE_SYSCALL_TABLE(sys_ioctl, sys_ioctl, 54, 3) | |
926 | #endif | |
927 | #ifndef OVERRIDE_TABLE_32_sys_fcntl | |
928 | TRACE_SYSCALL_TABLE(sys_fcntl, sys_fcntl, 55, 3) | |
929 | #endif | |
930 | #ifndef OVERRIDE_TABLE_32_sys_setpgid | |
931 | TRACE_SYSCALL_TABLE(sys_setpgid, sys_setpgid, 57, 2) | |
932 | #endif | |
933 | #ifndef OVERRIDE_TABLE_32_sys_umask | |
934 | TRACE_SYSCALL_TABLE(sys_umask, sys_umask, 60, 1) | |
935 | #endif | |
936 | #ifndef OVERRIDE_TABLE_32_sys_dup2 | |
937 | TRACE_SYSCALL_TABLE(sys_dup2, sys_dup2, 63, 2) | |
938 | #endif | |
939 | #ifndef OVERRIDE_TABLE_32_sys_setreuid16 | |
940 | TRACE_SYSCALL_TABLE(sys_setreuid16, sys_setreuid16, 70, 2) | |
941 | #endif | |
942 | #ifndef OVERRIDE_TABLE_32_sys_setregid16 | |
943 | TRACE_SYSCALL_TABLE(sys_setregid16, sys_setregid16, 71, 2) | |
944 | #endif | |
945 | #ifndef OVERRIDE_TABLE_32_sys_munmap | |
946 | TRACE_SYSCALL_TABLE(sys_munmap, sys_munmap, 91, 2) | |
947 | #endif | |
948 | #ifndef OVERRIDE_TABLE_32_sys_ftruncate | |
949 | TRACE_SYSCALL_TABLE(sys_ftruncate, sys_ftruncate, 93, 2) | |
950 | #endif | |
951 | #ifndef OVERRIDE_TABLE_32_sys_fchmod | |
952 | TRACE_SYSCALL_TABLE(sys_fchmod, sys_fchmod, 94, 2) | |
953 | #endif | |
954 | #ifndef OVERRIDE_TABLE_32_sys_fchown16 | |
955 | TRACE_SYSCALL_TABLE(sys_fchown16, sys_fchown16, 95, 3) | |
956 | #endif | |
957 | #ifndef OVERRIDE_TABLE_32_sys_getpriority | |
958 | TRACE_SYSCALL_TABLE(sys_getpriority, sys_getpriority, 96, 2) | |
959 | #endif | |
960 | #ifndef OVERRIDE_TABLE_32_sys_setpriority | |
961 | TRACE_SYSCALL_TABLE(sys_setpriority, sys_setpriority, 97, 3) | |
962 | #endif | |
963 | #ifndef OVERRIDE_TABLE_32_sys_fsync | |
964 | TRACE_SYSCALL_TABLE(sys_fsync, sys_fsync, 118, 1) | |
965 | #endif | |
966 | #ifndef OVERRIDE_TABLE_32_sys_mprotect | |
967 | TRACE_SYSCALL_TABLE(sys_mprotect, sys_mprotect, 125, 3) | |
968 | #endif | |
969 | #ifndef OVERRIDE_TABLE_32_sys_getpgid | |
970 | TRACE_SYSCALL_TABLE(sys_getpgid, sys_getpgid, 132, 1) | |
971 | #endif | |
972 | #ifndef OVERRIDE_TABLE_32_sys_fchdir | |
973 | TRACE_SYSCALL_TABLE(sys_fchdir, sys_fchdir, 133, 1) | |
974 | #endif | |
975 | #ifndef OVERRIDE_TABLE_32_sys_bdflush | |
976 | TRACE_SYSCALL_TABLE(sys_bdflush, sys_bdflush, 134, 2) | |
977 | #endif | |
978 | #ifndef OVERRIDE_TABLE_32_sys_sysfs | |
979 | TRACE_SYSCALL_TABLE(sys_sysfs, sys_sysfs, 135, 3) | |
980 | #endif | |
981 | #ifndef OVERRIDE_TABLE_32_sys_personality | |
982 | TRACE_SYSCALL_TABLE(sys_personality, sys_personality, 136, 1) | |
983 | #endif | |
984 | #ifndef OVERRIDE_TABLE_32_sys_setfsuid16 | |
985 | TRACE_SYSCALL_TABLE(sys_setfsuid16, sys_setfsuid16, 138, 1) | |
986 | #endif | |
987 | #ifndef OVERRIDE_TABLE_32_sys_setfsgid16 | |
988 | TRACE_SYSCALL_TABLE(sys_setfsgid16, sys_setfsgid16, 139, 1) | |
989 | #endif | |
990 | #ifndef OVERRIDE_TABLE_32_sys_flock | |
991 | TRACE_SYSCALL_TABLE(sys_flock, sys_flock, 143, 2) | |
992 | #endif | |
993 | #ifndef OVERRIDE_TABLE_32_sys_msync | |
994 | TRACE_SYSCALL_TABLE(sys_msync, sys_msync, 144, 3) | |
995 | #endif | |
996 | #ifndef OVERRIDE_TABLE_32_sys_getsid | |
997 | TRACE_SYSCALL_TABLE(sys_getsid, sys_getsid, 147, 1) | |
998 | #endif | |
999 | #ifndef OVERRIDE_TABLE_32_sys_fdatasync | |
1000 | TRACE_SYSCALL_TABLE(sys_fdatasync, sys_fdatasync, 148, 1) | |
1001 | #endif | |
1002 | #ifndef OVERRIDE_TABLE_32_sys_mlock | |
1003 | TRACE_SYSCALL_TABLE(sys_mlock, sys_mlock, 150, 2) | |
1004 | #endif | |
1005 | #ifndef OVERRIDE_TABLE_32_sys_munlock | |
1006 | TRACE_SYSCALL_TABLE(sys_munlock, sys_munlock, 151, 2) | |
1007 | #endif | |
1008 | #ifndef OVERRIDE_TABLE_32_sys_mlockall | |
1009 | TRACE_SYSCALL_TABLE(sys_mlockall, sys_mlockall, 152, 1) | |
1010 | #endif | |
1011 | #ifndef OVERRIDE_TABLE_32_sys_sched_getscheduler | |
1012 | TRACE_SYSCALL_TABLE(sys_sched_getscheduler, sys_sched_getscheduler, 157, 1) | |
1013 | #endif | |
1014 | #ifndef OVERRIDE_TABLE_32_sys_sched_get_priority_max | |
1015 | TRACE_SYSCALL_TABLE(sys_sched_get_priority_max, sys_sched_get_priority_max, 159, 1) | |
1016 | #endif | |
1017 | #ifndef OVERRIDE_TABLE_32_sys_sched_get_priority_min | |
1018 | TRACE_SYSCALL_TABLE(sys_sched_get_priority_min, sys_sched_get_priority_min, 160, 1) | |
1019 | #endif | |
1020 | #ifndef OVERRIDE_TABLE_32_sys_mremap | |
1021 | TRACE_SYSCALL_TABLE(sys_mremap, sys_mremap, 163, 5) | |
1022 | #endif | |
1023 | #ifndef OVERRIDE_TABLE_32_sys_setresuid16 | |
1024 | TRACE_SYSCALL_TABLE(sys_setresuid16, sys_setresuid16, 164, 3) | |
1025 | #endif | |
1026 | #ifndef OVERRIDE_TABLE_32_sys_setresgid16 | |
1027 | TRACE_SYSCALL_TABLE(sys_setresgid16, sys_setresgid16, 170, 3) | |
1028 | #endif | |
1029 | #ifndef OVERRIDE_TABLE_32_sys_prctl | |
1030 | TRACE_SYSCALL_TABLE(sys_prctl, sys_prctl, 172, 5) | |
1031 | #endif | |
1032 | #ifndef OVERRIDE_TABLE_32_sys_setreuid | |
1033 | TRACE_SYSCALL_TABLE(sys_setreuid, sys_setreuid, 203, 2) | |
1034 | #endif | |
1035 | #ifndef OVERRIDE_TABLE_32_sys_setregid | |
1036 | TRACE_SYSCALL_TABLE(sys_setregid, sys_setregid, 204, 2) | |
1037 | #endif | |
1038 | #ifndef OVERRIDE_TABLE_32_sys_fchown | |
1039 | TRACE_SYSCALL_TABLE(sys_fchown, sys_fchown, 207, 3) | |
1040 | #endif | |
1041 | #ifndef OVERRIDE_TABLE_32_sys_setresuid | |
1042 | TRACE_SYSCALL_TABLE(sys_setresuid, sys_setresuid, 208, 3) | |
1043 | #endif | |
1044 | #ifndef OVERRIDE_TABLE_32_sys_setresgid | |
1045 | TRACE_SYSCALL_TABLE(sys_setresgid, sys_setresgid, 210, 3) | |
1046 | #endif | |
1047 | #ifndef OVERRIDE_TABLE_32_sys_setuid | |
1048 | TRACE_SYSCALL_TABLE(sys_setuid, sys_setuid, 213, 1) | |
1049 | #endif | |
1050 | #ifndef OVERRIDE_TABLE_32_sys_setgid | |
1051 | TRACE_SYSCALL_TABLE(sys_setgid, sys_setgid, 214, 1) | |
1052 | #endif | |
1053 | #ifndef OVERRIDE_TABLE_32_sys_setfsuid | |
1054 | TRACE_SYSCALL_TABLE(sys_setfsuid, sys_setfsuid, 215, 1) | |
1055 | #endif | |
1056 | #ifndef OVERRIDE_TABLE_32_sys_setfsgid | |
1057 | TRACE_SYSCALL_TABLE(sys_setfsgid, sys_setfsgid, 216, 1) | |
1058 | #endif | |
1059 | #ifndef OVERRIDE_TABLE_32_sys_madvise | |
1060 | TRACE_SYSCALL_TABLE(sys_madvise, sys_madvise, 220, 3) | |
1061 | #endif | |
1062 | #ifndef OVERRIDE_TABLE_32_sys_fcntl64 | |
1063 | TRACE_SYSCALL_TABLE(sys_fcntl64, sys_fcntl64, 221, 3) | |
1064 | #endif | |
1065 | #ifndef OVERRIDE_TABLE_32_sys_tkill | |
1066 | TRACE_SYSCALL_TABLE(sys_tkill, sys_tkill, 238, 2) | |
1067 | #endif | |
1068 | #ifndef OVERRIDE_TABLE_32_sys_io_destroy | |
1069 | TRACE_SYSCALL_TABLE(sys_io_destroy, sys_io_destroy, 244, 1) | |
1070 | #endif | |
1071 | #ifndef OVERRIDE_TABLE_32_sys_exit_group | |
1072 | TRACE_SYSCALL_TABLE(sys_exit_group, sys_exit_group, 248, 1) | |
1073 | #endif | |
1074 | #ifndef OVERRIDE_TABLE_32_sys_epoll_create | |
1075 | TRACE_SYSCALL_TABLE(sys_epoll_create, sys_epoll_create, 250, 1) | |
1076 | #endif | |
1077 | #ifndef OVERRIDE_TABLE_32_sys_remap_file_pages | |
1078 | TRACE_SYSCALL_TABLE(sys_remap_file_pages, sys_remap_file_pages, 253, 5) | |
1079 | #endif | |
1080 | #ifndef OVERRIDE_TABLE_32_sys_timer_getoverrun | |
1081 | TRACE_SYSCALL_TABLE(sys_timer_getoverrun, sys_timer_getoverrun, 260, 1) | |
1082 | #endif | |
1083 | #ifndef OVERRIDE_TABLE_32_sys_timer_delete | |
1084 | TRACE_SYSCALL_TABLE(sys_timer_delete, sys_timer_delete, 261, 1) | |
1085 | #endif | |
1086 | #ifndef OVERRIDE_TABLE_32_sys_tgkill | |
1087 | TRACE_SYSCALL_TABLE(sys_tgkill, sys_tgkill, 268, 3) | |
1088 | #endif | |
1089 | #ifndef OVERRIDE_TABLE_32_sys_socket | |
1090 | TRACE_SYSCALL_TABLE(sys_socket, sys_socket, 281, 3) | |
1091 | #endif | |
1092 | #ifndef OVERRIDE_TABLE_32_sys_listen | |
1093 | TRACE_SYSCALL_TABLE(sys_listen, sys_listen, 284, 2) | |
1094 | #endif | |
1095 | #ifndef OVERRIDE_TABLE_32_sys_shutdown | |
1096 | TRACE_SYSCALL_TABLE(sys_shutdown, sys_shutdown, 293, 2) | |
1097 | #endif | |
1098 | #ifndef OVERRIDE_TABLE_32_sys_semget | |
1099 | TRACE_SYSCALL_TABLE(sys_semget, sys_semget, 299, 3) | |
1100 | #endif | |
1101 | #ifndef OVERRIDE_TABLE_32_sys_msgget | |
1102 | TRACE_SYSCALL_TABLE(sys_msgget, sys_msgget, 303, 2) | |
1103 | #endif | |
1104 | #ifndef OVERRIDE_TABLE_32_sys_shmget | |
1105 | TRACE_SYSCALL_TABLE(sys_shmget, sys_shmget, 307, 3) | |
1106 | #endif | |
1107 | #ifndef OVERRIDE_TABLE_32_sys_keyctl | |
1108 | TRACE_SYSCALL_TABLE(sys_keyctl, sys_keyctl, 311, 5) | |
1109 | #endif | |
1110 | #ifndef OVERRIDE_TABLE_32_sys_ioprio_set | |
1111 | TRACE_SYSCALL_TABLE(sys_ioprio_set, sys_ioprio_set, 314, 3) | |
1112 | #endif | |
1113 | #ifndef OVERRIDE_TABLE_32_sys_ioprio_get | |
1114 | TRACE_SYSCALL_TABLE(sys_ioprio_get, sys_ioprio_get, 315, 2) | |
1115 | #endif | |
1116 | #ifndef OVERRIDE_TABLE_32_sys_inotify_rm_watch | |
1117 | TRACE_SYSCALL_TABLE(sys_inotify_rm_watch, sys_inotify_rm_watch, 318, 2) | |
1118 | #endif | |
1119 | #ifndef OVERRIDE_TABLE_32_sys_unshare | |
1120 | TRACE_SYSCALL_TABLE(sys_unshare, sys_unshare, 337, 1) | |
1121 | #endif | |
1122 | #ifndef OVERRIDE_TABLE_32_sys_tee | |
1123 | TRACE_SYSCALL_TABLE(sys_tee, sys_tee, 342, 4) | |
1124 | #endif | |
1125 | #ifndef OVERRIDE_TABLE_32_sys_timerfd_create | |
1126 | TRACE_SYSCALL_TABLE(sys_timerfd_create, sys_timerfd_create, 350, 2) | |
1127 | #endif | |
1128 | #ifndef OVERRIDE_TABLE_32_sys_eventfd | |
1129 | TRACE_SYSCALL_TABLE(sys_eventfd, sys_eventfd, 351, 1) | |
1130 | #endif | |
1131 | #ifndef OVERRIDE_TABLE_32_sys_eventfd2 | |
1132 | TRACE_SYSCALL_TABLE(sys_eventfd2, sys_eventfd2, 356, 2) | |
1133 | #endif | |
1134 | #ifndef OVERRIDE_TABLE_32_sys_epoll_create1 | |
1135 | TRACE_SYSCALL_TABLE(sys_epoll_create1, sys_epoll_create1, 357, 1) | |
1136 | #endif | |
1137 | #ifndef OVERRIDE_TABLE_32_sys_dup3 | |
1138 | TRACE_SYSCALL_TABLE(sys_dup3, sys_dup3, 358, 3) | |
1139 | #endif | |
1140 | #ifndef OVERRIDE_TABLE_32_sys_inotify_init1 | |
1141 | TRACE_SYSCALL_TABLE(sys_inotify_init1, sys_inotify_init1, 360, 1) | |
1142 | #endif | |
1143 | ||
1144 | #endif /* CREATE_SYSCALL_TABLE */ |
0 | ||
1 | ||
2 | #define OVERRIDE_TABLE_32_sys_arm_fadvise64_64 | |
3 | #define OVERRIDE_TABLE_32_sys_sync_file_range2 | |
4 | #define OVERRIDE_TABLE_32_sys_set_tls | |
5 | ||
6 | #ifndef CREATE_SYSCALL_TABLE | |
7 | ||
8 | SC_TRACE_EVENT(sys_arm_fadvise64_64, | |
9 | TP_PROTO(int fd, int advice, loff_t offset, loff_t len), | |
10 | TP_ARGS(fd, advice, offset, len), | |
11 | TP_STRUCT__entry( | |
12 | __field_hex(int, fd) | |
13 | __field_hex(int, advice) | |
14 | __field_hex(loff_t, offset) | |
15 | __field_hex(loff_t, len)), | |
16 | TP_fast_assign( | |
17 | tp_assign(fd, fd) | |
18 | tp_assign(advice, advice) | |
19 | tp_assign(offset, offset) | |
20 | tp_assign(len, len)), | |
21 | TP_printk() | |
22 | ) | |
23 | ||
24 | SC_TRACE_EVENT(sys_sync_file_range2, | |
25 | TP_PROTO(int fd, loff_t offset, loff_t nbytes, unsigned int flags), | |
26 | TP_ARGS(fd, offset, nbytes, flags), | |
27 | TP_STRUCT__entry( | |
28 | __field_hex(int, fd) | |
29 | __field_hex(loff_t, offset) | |
30 | __field_hex(loff_t, nbytes) | |
31 | __field_hex(unsigned int, flags)), | |
32 | TP_fast_assign( | |
33 | tp_assign(fd, fd) | |
34 | tp_assign(offset, offset) | |
35 | tp_assign(nbytes, nbytes) | |
36 | tp_assign(flags, flags)), | |
37 | TP_printk() | |
38 | ) | |
39 | ||
40 | SC_TRACE_EVENT(sys_set_tls, | |
41 | TP_PROTO(unsigned int tid, unsigned long tls), | |
42 | TP_ARGS(tid, tls), | |
43 | TP_STRUCT__entry( | |
44 | __field(unsigned int, tid) | |
45 | __field_hex(unsigned int, tls)), | |
46 | TP_fast_assign( | |
47 | tp_assign(tid, tid) | |
48 | tp_assign(tls, tls)), | |
49 | TP_printk() | |
50 | ) | |
51 | ||
52 | #else /* CREATE_SYSCALL_TABLE */ | |
53 | ||
54 | #define OVVERRIDE_TABLE_32_sys_mmap | |
55 | TRACE_SYSCALL_TABLE(sys_mmap, sys_mmap, 90, 6) | |
56 | ||
57 | #define OVERRIDE_TABLE_32_sys_arm_fadvise64_64 | |
58 | TRACE_SYSCALL_TABLE(sys_arm_fadvise64_64, sys_arm_fadvise64_64, 270, 4) | |
59 | #define OVERRIDE_TABLE_32_sys_sync_file_range2 | |
60 | TRACE_SYSCALL_TABLE(sys_sync_file_range2, sys_sync_file_range2, 341, 4) | |
61 | #define OVERRIDE_TABLE_32_sys_set_tls | |
62 | TRACE_SYSCALL_TABLE(sys_set_tls, sys_set_tls, 0xf0005, 2) | |
63 | ||
64 | ||
65 | #endif /* CREATE_SYSCALL_TABLE */ | |
66 | ||
67 |
0 | /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ | |
1 | #ifndef CREATE_SYSCALL_TABLE | |
2 | ||
3 | #if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) | |
4 | #define _TRACE_SYSCALLS_POINTERS_H | |
5 | ||
6 | #include <linux/tracepoint.h> | |
7 | #include <linux/syscalls.h> | |
8 | #include "arm-32-syscalls-2.6.38_pointers_override.h" | |
9 | #include "syscalls_pointers_override.h" | |
10 | ||
11 | #ifndef OVERRIDE_32_sys_unlink | |
12 | SC_TRACE_EVENT(sys_unlink, | |
13 | TP_PROTO(const char * pathname), | |
14 | TP_ARGS(pathname), | |
15 | TP_STRUCT__entry(__string_from_user(pathname, pathname)), | |
16 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname)), | |
17 | TP_printk() | |
18 | ) | |
19 | #endif | |
20 | #ifndef OVERRIDE_32_sys_chdir | |
21 | SC_TRACE_EVENT(sys_chdir, | |
22 | TP_PROTO(const char * filename), | |
23 | TP_ARGS(filename), | |
24 | TP_STRUCT__entry(__string_from_user(filename, filename)), | |
25 | TP_fast_assign(tp_copy_string_from_user(filename, filename)), | |
26 | TP_printk() | |
27 | ) | |
28 | #endif | |
29 | #ifndef OVERRIDE_32_sys_rmdir | |
30 | SC_TRACE_EVENT(sys_rmdir, | |
31 | TP_PROTO(const char * pathname), | |
32 | TP_ARGS(pathname), | |
33 | TP_STRUCT__entry(__string_from_user(pathname, pathname)), | |
34 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname)), | |
35 | TP_printk() | |
36 | ) | |
37 | #endif | |
38 | #ifndef OVERRIDE_32_sys_pipe | |
39 | SC_TRACE_EVENT(sys_pipe, | |
40 | TP_PROTO(int * fildes), | |
41 | TP_ARGS(fildes), | |
42 | TP_STRUCT__entry(__field_hex(int *, fildes)), | |
43 | TP_fast_assign(tp_assign(fildes, fildes)), | |
44 | TP_printk() | |
45 | ) | |
46 | #endif | |
47 | #ifndef OVERRIDE_32_sys_times | |
48 | SC_TRACE_EVENT(sys_times, | |
49 | TP_PROTO(struct tms * tbuf), | |
50 | TP_ARGS(tbuf), | |
51 | TP_STRUCT__entry(__field_hex(struct tms *, tbuf)), | |
52 | TP_fast_assign(tp_assign(tbuf, tbuf)), | |
53 | TP_printk() | |
54 | ) | |
55 | #endif | |
56 | #ifndef OVERRIDE_32_sys_chroot | |
57 | SC_TRACE_EVENT(sys_chroot, | |
58 | TP_PROTO(const char * filename), | |
59 | TP_ARGS(filename), | |
60 | TP_STRUCT__entry(__string_from_user(filename, filename)), | |
61 | TP_fast_assign(tp_copy_string_from_user(filename, filename)), | |
62 | TP_printk() | |
63 | ) | |
64 | #endif | |
65 | #ifndef OVERRIDE_32_sys_sigpending | |
66 | SC_TRACE_EVENT(sys_sigpending, | |
67 | TP_PROTO(old_sigset_t * set), | |
68 | TP_ARGS(set), | |
69 | TP_STRUCT__entry(__field_hex(old_sigset_t *, set)), | |
70 | TP_fast_assign(tp_assign(set, set)), | |
71 | TP_printk() | |
72 | ) | |
73 | #endif | |
74 | #ifndef OVERRIDE_32_sys_uselib | |
75 | SC_TRACE_EVENT(sys_uselib, | |
76 | TP_PROTO(const char * library), | |
77 | TP_ARGS(library), | |
78 | TP_STRUCT__entry(__field_hex(const char *, library)), | |
79 | TP_fast_assign(tp_assign(library, library)), | |
80 | TP_printk() | |
81 | ) | |
82 | #endif | |
83 | #ifndef OVERRIDE_32_sys_sysinfo | |
84 | SC_TRACE_EVENT(sys_sysinfo, | |
85 | TP_PROTO(struct sysinfo * info), | |
86 | TP_ARGS(info), | |
87 | TP_STRUCT__entry(__field_hex(struct sysinfo *, info)), | |
88 | TP_fast_assign(tp_assign(info, info)), | |
89 | TP_printk() | |
90 | ) | |
91 | #endif | |
92 | #ifndef OVERRIDE_32_sys_newuname | |
93 | SC_TRACE_EVENT(sys_newuname, | |
94 | TP_PROTO(struct new_utsname * name), | |
95 | TP_ARGS(name), | |
96 | TP_STRUCT__entry(__field_hex(struct new_utsname *, name)), | |
97 | TP_fast_assign(tp_assign(name, name)), | |
98 | TP_printk() | |
99 | ) | |
100 | #endif | |
101 | #ifndef OVERRIDE_32_sys_adjtimex | |
102 | SC_TRACE_EVENT(sys_adjtimex, | |
103 | TP_PROTO(struct timex * txc_p), | |
104 | TP_ARGS(txc_p), | |
105 | TP_STRUCT__entry(__field_hex(struct timex *, txc_p)), | |
106 | TP_fast_assign(tp_assign(txc_p, txc_p)), | |
107 | TP_printk() | |
108 | ) | |
109 | #endif | |
110 | #ifndef OVERRIDE_32_sys_sysctl | |
111 | SC_TRACE_EVENT(sys_sysctl, | |
112 | TP_PROTO(struct __sysctl_args * args), | |
113 | TP_ARGS(args), | |
114 | TP_STRUCT__entry(__field_hex(struct __sysctl_args *, args)), | |
115 | TP_fast_assign(tp_assign(args, args)), | |
116 | TP_printk() | |
117 | ) | |
118 | #endif | |
119 | #ifndef OVERRIDE_32_sys_set_tid_address | |
120 | SC_TRACE_EVENT(sys_set_tid_address, | |
121 | TP_PROTO(int * tidptr), | |
122 | TP_ARGS(tidptr), | |
123 | TP_STRUCT__entry(__field_hex(int *, tidptr)), | |
124 | TP_fast_assign(tp_assign(tidptr, tidptr)), | |
125 | TP_printk() | |
126 | ) | |
127 | #endif | |
128 | #ifndef OVERRIDE_32_sys_mq_unlink | |
129 | SC_TRACE_EVENT(sys_mq_unlink, | |
130 | TP_PROTO(const char * u_name), | |
131 | TP_ARGS(u_name), | |
132 | TP_STRUCT__entry(__string_from_user(u_name, u_name)), | |
133 | TP_fast_assign(tp_copy_string_from_user(u_name, u_name)), | |
134 | TP_printk() | |
135 | ) | |
136 | #endif | |
137 | #ifndef OVERRIDE_32_sys_shmdt | |
138 | SC_TRACE_EVENT(sys_shmdt, | |
139 | TP_PROTO(char * shmaddr), | |
140 | TP_ARGS(shmaddr), | |
141 | TP_STRUCT__entry(__field_hex(char *, shmaddr)), | |
142 | TP_fast_assign(tp_assign(shmaddr, shmaddr)), | |
143 | TP_printk() | |
144 | ) | |
145 | #endif | |
146 | #ifndef OVERRIDE_32_sys_creat | |
147 | SC_TRACE_EVENT(sys_creat, | |
148 | TP_PROTO(const char * pathname, int mode), | |
149 | TP_ARGS(pathname, mode), | |
150 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(int, mode)), | |
151 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(mode, mode)), | |
152 | TP_printk() | |
153 | ) | |
154 | #endif | |
155 | #ifndef OVERRIDE_32_sys_link | |
156 | SC_TRACE_EVENT(sys_link, | |
157 | TP_PROTO(const char * oldname, const char * newname), | |
158 | TP_ARGS(oldname, newname), | |
159 | TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), | |
160 | TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_copy_string_from_user(newname, newname)), | |
161 | TP_printk() | |
162 | ) | |
163 | #endif | |
164 | #ifndef OVERRIDE_32_sys_chmod | |
165 | SC_TRACE_EVENT(sys_chmod, | |
166 | TP_PROTO(const char * filename, mode_t mode), | |
167 | TP_ARGS(filename, mode), | |
168 | TP_STRUCT__entry(__string_from_user(filename, filename) __field(mode_t, mode)), | |
169 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), | |
170 | TP_printk() | |
171 | ) | |
172 | #endif | |
173 | #ifndef OVERRIDE_32_sys_access | |
174 | SC_TRACE_EVENT(sys_access, | |
175 | TP_PROTO(const char * filename, int mode), | |
176 | TP_ARGS(filename, mode), | |
177 | TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, mode)), | |
178 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), | |
179 | TP_printk() | |
180 | ) | |
181 | #endif | |
182 | #ifndef OVERRIDE_32_sys_rename | |
183 | SC_TRACE_EVENT(sys_rename, | |
184 | TP_PROTO(const char * oldname, const char * newname), | |
185 | TP_ARGS(oldname, newname), | |
186 | TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), | |
187 | TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_copy_string_from_user(newname, newname)), | |
188 | TP_printk() | |
189 | ) | |
190 | #endif | |
191 | #ifndef OVERRIDE_32_sys_mkdir | |
192 | SC_TRACE_EVENT(sys_mkdir, | |
193 | TP_PROTO(const char * pathname, int mode), | |
194 | TP_ARGS(pathname, mode), | |
195 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(int, mode)), | |
196 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(mode, mode)), | |
197 | TP_printk() | |
198 | ) | |
199 | #endif | |
200 | #ifndef OVERRIDE_32_sys_umount | |
201 | SC_TRACE_EVENT(sys_umount, | |
202 | TP_PROTO(char * name, int flags), | |
203 | TP_ARGS(name, flags), | |
204 | TP_STRUCT__entry(__string_from_user(name, name) __field(int, flags)), | |
205 | TP_fast_assign(tp_copy_string_from_user(name, name) tp_assign(flags, flags)), | |
206 | TP_printk() | |
207 | ) | |
208 | #endif | |
209 | #ifndef OVERRIDE_32_sys_ustat | |
210 | SC_TRACE_EVENT(sys_ustat, | |
211 | TP_PROTO(unsigned dev, struct ustat * ubuf), | |
212 | TP_ARGS(dev, ubuf), | |
213 | TP_STRUCT__entry(__field(unsigned, dev) __field_hex(struct ustat *, ubuf)), | |
214 | TP_fast_assign(tp_assign(dev, dev) tp_assign(ubuf, ubuf)), | |
215 | TP_printk() | |
216 | ) | |
217 | #endif | |
218 | #ifndef OVERRIDE_32_sys_sethostname | |
219 | SC_TRACE_EVENT(sys_sethostname, | |
220 | TP_PROTO(char * name, int len), | |
221 | TP_ARGS(name, len), | |
222 | TP_STRUCT__entry(__string_from_user(name, name) __field(int, len)), | |
223 | TP_fast_assign(tp_copy_string_from_user(name, name) tp_assign(len, len)), | |
224 | TP_printk() | |
225 | ) | |
226 | #endif | |
227 | #ifndef OVERRIDE_32_sys_setrlimit | |
228 | SC_TRACE_EVENT(sys_setrlimit, | |
229 | TP_PROTO(unsigned int resource, struct rlimit * rlim), | |
230 | TP_ARGS(resource, rlim), | |
231 | TP_STRUCT__entry(__field(unsigned int, resource) __field_hex(struct rlimit *, rlim)), | |
232 | TP_fast_assign(tp_assign(resource, resource) tp_assign(rlim, rlim)), | |
233 | TP_printk() | |
234 | ) | |
235 | #endif | |
236 | #ifndef OVERRIDE_32_sys_getrusage | |
237 | SC_TRACE_EVENT(sys_getrusage, | |
238 | TP_PROTO(int who, struct rusage * ru), | |
239 | TP_ARGS(who, ru), | |
240 | TP_STRUCT__entry(__field(int, who) __field_hex(struct rusage *, ru)), | |
241 | TP_fast_assign(tp_assign(who, who) tp_assign(ru, ru)), | |
242 | TP_printk() | |
243 | ) | |
244 | #endif | |
245 | #ifndef OVERRIDE_32_sys_gettimeofday | |
246 | SC_TRACE_EVENT(sys_gettimeofday, | |
247 | TP_PROTO(struct timeval * tv, struct timezone * tz), | |
248 | TP_ARGS(tv, tz), | |
249 | TP_STRUCT__entry(__field_hex(struct timeval *, tv) __field_hex(struct timezone *, tz)), | |
250 | TP_fast_assign(tp_assign(tv, tv) tp_assign(tz, tz)), | |
251 | TP_printk() | |
252 | ) | |
253 | #endif | |
254 | #ifndef OVERRIDE_32_sys_settimeofday | |
255 | SC_TRACE_EVENT(sys_settimeofday, | |
256 | TP_PROTO(struct timeval * tv, struct timezone * tz), | |
257 | TP_ARGS(tv, tz), | |
258 | TP_STRUCT__entry(__field_hex(struct timeval *, tv) __field_hex(struct timezone *, tz)), | |
259 | TP_fast_assign(tp_assign(tv, tv) tp_assign(tz, tz)), | |
260 | TP_printk() | |
261 | ) | |
262 | #endif | |
263 | #ifndef OVERRIDE_32_sys_getgroups16 | |
264 | SC_TRACE_EVENT(sys_getgroups16, | |
265 | TP_PROTO(int gidsetsize, old_gid_t * grouplist), | |
266 | TP_ARGS(gidsetsize, grouplist), | |
267 | TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(old_gid_t *, grouplist)), | |
268 | TP_fast_assign(tp_assign(gidsetsize, gidsetsize) tp_assign(grouplist, grouplist)), | |
269 | TP_printk() | |
270 | ) | |
271 | #endif | |
272 | #ifndef OVERRIDE_32_sys_setgroups16 | |
273 | SC_TRACE_EVENT(sys_setgroups16, | |
274 | TP_PROTO(int gidsetsize, old_gid_t * grouplist), | |
275 | TP_ARGS(gidsetsize, grouplist), | |
276 | TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(old_gid_t *, grouplist)), | |
277 | TP_fast_assign(tp_assign(gidsetsize, gidsetsize) tp_assign(grouplist, grouplist)), | |
278 | TP_printk() | |
279 | ) | |
280 | #endif | |
281 | #ifndef OVERRIDE_32_sys_symlink | |
282 | SC_TRACE_EVENT(sys_symlink, | |
283 | TP_PROTO(const char * oldname, const char * newname), | |
284 | TP_ARGS(oldname, newname), | |
285 | TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), | |
286 | TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_copy_string_from_user(newname, newname)), | |
287 | TP_printk() | |
288 | ) | |
289 | #endif | |
290 | #ifndef OVERRIDE_32_sys_truncate | |
291 | SC_TRACE_EVENT(sys_truncate, | |
292 | TP_PROTO(const char * path, long length), | |
293 | TP_ARGS(path, length), | |
294 | TP_STRUCT__entry(__string_from_user(path, path) __field(long, length)), | |
295 | TP_fast_assign(tp_copy_string_from_user(path, path) tp_assign(length, length)), | |
296 | TP_printk() | |
297 | ) | |
298 | #endif | |
299 | #ifndef OVERRIDE_32_sys_statfs | |
300 | SC_TRACE_EVENT(sys_statfs, | |
301 | TP_PROTO(const char * pathname, struct statfs * buf), | |
302 | TP_ARGS(pathname, buf), | |
303 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(struct statfs *, buf)), | |
304 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(buf, buf)), | |
305 | TP_printk() | |
306 | ) | |
307 | #endif | |
308 | #ifndef OVERRIDE_32_sys_fstatfs | |
309 | SC_TRACE_EVENT(sys_fstatfs, | |
310 | TP_PROTO(unsigned int fd, struct statfs * buf), | |
311 | TP_ARGS(fd, buf), | |
312 | TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct statfs *, buf)), | |
313 | TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf)), | |
314 | TP_printk() | |
315 | ) | |
316 | #endif | |
317 | #ifndef OVERRIDE_32_sys_getitimer | |
318 | SC_TRACE_EVENT(sys_getitimer, | |
319 | TP_PROTO(int which, struct itimerval * value), | |
320 | TP_ARGS(which, value), | |
321 | TP_STRUCT__entry(__field(int, which) __field_hex(struct itimerval *, value)), | |
322 | TP_fast_assign(tp_assign(which, which) tp_assign(value, value)), | |
323 | TP_printk() | |
324 | ) | |
325 | #endif | |
326 | #ifndef OVERRIDE_32_sys_newstat | |
327 | SC_TRACE_EVENT(sys_newstat, | |
328 | TP_PROTO(const char * filename, struct stat * statbuf), | |
329 | TP_ARGS(filename, statbuf), | |
330 | TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat *, statbuf)), | |
331 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf)), | |
332 | TP_printk() | |
333 | ) | |
334 | #endif | |
335 | #ifndef OVERRIDE_32_sys_newlstat | |
336 | SC_TRACE_EVENT(sys_newlstat, | |
337 | TP_PROTO(const char * filename, struct stat * statbuf), | |
338 | TP_ARGS(filename, statbuf), | |
339 | TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat *, statbuf)), | |
340 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf)), | |
341 | TP_printk() | |
342 | ) | |
343 | #endif | |
344 | #ifndef OVERRIDE_32_sys_newfstat | |
345 | SC_TRACE_EVENT(sys_newfstat, | |
346 | TP_PROTO(unsigned int fd, struct stat * statbuf), | |
347 | TP_ARGS(fd, statbuf), | |
348 | TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct stat *, statbuf)), | |
349 | TP_fast_assign(tp_assign(fd, fd) tp_assign(statbuf, statbuf)), | |
350 | TP_printk() | |
351 | ) | |
352 | #endif | |
353 | #ifndef OVERRIDE_32_sys_setdomainname | |
354 | SC_TRACE_EVENT(sys_setdomainname, | |
355 | TP_PROTO(char * name, int len), | |
356 | TP_ARGS(name, len), | |
357 | TP_STRUCT__entry(__string_from_user(name, name) __field(int, len)), | |
358 | TP_fast_assign(tp_copy_string_from_user(name, name) tp_assign(len, len)), | |
359 | TP_printk() | |
360 | ) | |
361 | #endif | |
362 | #ifndef OVERRIDE_32_sys_delete_module | |
363 | SC_TRACE_EVENT(sys_delete_module, | |
364 | TP_PROTO(const char * name_user, unsigned int flags), | |
365 | TP_ARGS(name_user, flags), | |
366 | TP_STRUCT__entry(__string_from_user(name_user, name_user) __field(unsigned int, flags)), | |
367 | TP_fast_assign(tp_copy_string_from_user(name_user, name_user) tp_assign(flags, flags)), | |
368 | TP_printk() | |
369 | ) | |
370 | #endif | |
371 | #ifndef OVERRIDE_32_sys_sched_setparam | |
372 | SC_TRACE_EVENT(sys_sched_setparam, | |
373 | TP_PROTO(pid_t pid, struct sched_param * param), | |
374 | TP_ARGS(pid, param), | |
375 | TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct sched_param *, param)), | |
376 | TP_fast_assign(tp_assign(pid, pid) tp_assign(param, param)), | |
377 | TP_printk() | |
378 | ) | |
379 | #endif | |
380 | #ifndef OVERRIDE_32_sys_sched_getparam | |
381 | SC_TRACE_EVENT(sys_sched_getparam, | |
382 | TP_PROTO(pid_t pid, struct sched_param * param), | |
383 | TP_ARGS(pid, param), | |
384 | TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct sched_param *, param)), | |
385 | TP_fast_assign(tp_assign(pid, pid) tp_assign(param, param)), | |
386 | TP_printk() | |
387 | ) | |
388 | #endif | |
389 | #ifndef OVERRIDE_32_sys_sched_rr_get_interval | |
390 | SC_TRACE_EVENT(sys_sched_rr_get_interval, | |
391 | TP_PROTO(pid_t pid, struct timespec * interval), | |
392 | TP_ARGS(pid, interval), | |
393 | TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct timespec *, interval)), | |
394 | TP_fast_assign(tp_assign(pid, pid) tp_assign(interval, interval)), | |
395 | TP_printk() | |
396 | ) | |
397 | #endif | |
398 | #ifndef OVERRIDE_32_sys_nanosleep | |
399 | SC_TRACE_EVENT(sys_nanosleep, | |
400 | TP_PROTO(struct timespec * rqtp, struct timespec * rmtp), | |
401 | TP_ARGS(rqtp, rmtp), | |
402 | TP_STRUCT__entry(__field_hex(struct timespec *, rqtp) __field_hex(struct timespec *, rmtp)), | |
403 | TP_fast_assign(tp_assign(rqtp, rqtp) tp_assign(rmtp, rmtp)), | |
404 | TP_printk() | |
405 | ) | |
406 | #endif | |
407 | #ifndef OVERRIDE_32_sys_rt_sigpending | |
408 | SC_TRACE_EVENT(sys_rt_sigpending, | |
409 | TP_PROTO(sigset_t * set, size_t sigsetsize), | |
410 | TP_ARGS(set, sigsetsize), | |
411 | TP_STRUCT__entry(__field_hex(sigset_t *, set) __field(size_t, sigsetsize)), | |
412 | TP_fast_assign(tp_assign(set, set) tp_assign(sigsetsize, sigsetsize)), | |
413 | TP_printk() | |
414 | ) | |
415 | #endif | |
416 | #ifndef OVERRIDE_32_sys_rt_sigsuspend | |
417 | SC_TRACE_EVENT(sys_rt_sigsuspend, | |
418 | TP_PROTO(sigset_t * unewset, size_t sigsetsize), | |
419 | TP_ARGS(unewset, sigsetsize), | |
420 | TP_STRUCT__entry(__field_hex(sigset_t *, unewset) __field(size_t, sigsetsize)), | |
421 | TP_fast_assign(tp_assign(unewset, unewset) tp_assign(sigsetsize, sigsetsize)), | |
422 | TP_printk() | |
423 | ) | |
424 | #endif | |
425 | #ifndef OVERRIDE_32_sys_getcwd | |
426 | SC_TRACE_EVENT(sys_getcwd, | |
427 | TP_PROTO(char * buf, unsigned long size), | |
428 | TP_ARGS(buf, size), | |
429 | TP_STRUCT__entry(__field_hex(char *, buf) __field(unsigned long, size)), | |
430 | TP_fast_assign(tp_assign(buf, buf) tp_assign(size, size)), | |
431 | TP_printk() | |
432 | ) | |
433 | #endif | |
434 | #ifndef OVERRIDE_32_sys_getrlimit | |
435 | SC_TRACE_EVENT(sys_getrlimit, | |
436 | TP_PROTO(unsigned int resource, struct rlimit * rlim), | |
437 | TP_ARGS(resource, rlim), | |
438 | TP_STRUCT__entry(__field(unsigned int, resource) __field_hex(struct rlimit *, rlim)), | |
439 | TP_fast_assign(tp_assign(resource, resource) tp_assign(rlim, rlim)), | |
440 | TP_printk() | |
441 | ) | |
442 | #endif | |
443 | #ifndef OVERRIDE_32_sys_stat64 | |
444 | SC_TRACE_EVENT(sys_stat64, | |
445 | TP_PROTO(const char * filename, struct stat64 * statbuf), | |
446 | TP_ARGS(filename, statbuf), | |
447 | TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat64 *, statbuf)), | |
448 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf)), | |
449 | TP_printk() | |
450 | ) | |
451 | #endif | |
452 | #ifndef OVERRIDE_32_sys_lstat64 | |
453 | SC_TRACE_EVENT(sys_lstat64, | |
454 | TP_PROTO(const char * filename, struct stat64 * statbuf), | |
455 | TP_ARGS(filename, statbuf), | |
456 | TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat64 *, statbuf)), | |
457 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf)), | |
458 | TP_printk() | |
459 | ) | |
460 | #endif | |
461 | #ifndef OVERRIDE_32_sys_fstat64 | |
462 | SC_TRACE_EVENT(sys_fstat64, | |
463 | TP_PROTO(unsigned long fd, struct stat64 * statbuf), | |
464 | TP_ARGS(fd, statbuf), | |
465 | TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(struct stat64 *, statbuf)), | |
466 | TP_fast_assign(tp_assign(fd, fd) tp_assign(statbuf, statbuf)), | |
467 | TP_printk() | |
468 | ) | |
469 | #endif | |
470 | #ifndef OVERRIDE_32_sys_getgroups | |
471 | SC_TRACE_EVENT(sys_getgroups, | |
472 | TP_PROTO(int gidsetsize, gid_t * grouplist), | |
473 | TP_ARGS(gidsetsize, grouplist), | |
474 | TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(gid_t *, grouplist)), | |
475 | TP_fast_assign(tp_assign(gidsetsize, gidsetsize) tp_assign(grouplist, grouplist)), | |
476 | TP_printk() | |
477 | ) | |
478 | #endif | |
479 | #ifndef OVERRIDE_32_sys_setgroups | |
480 | SC_TRACE_EVENT(sys_setgroups, | |
481 | TP_PROTO(int gidsetsize, gid_t * grouplist), | |
482 | TP_ARGS(gidsetsize, grouplist), | |
483 | TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(gid_t *, grouplist)), | |
484 | TP_fast_assign(tp_assign(gidsetsize, gidsetsize) tp_assign(grouplist, grouplist)), | |
485 | TP_printk() | |
486 | ) | |
487 | #endif | |
488 | #ifndef OVERRIDE_32_sys_pivot_root | |
489 | SC_TRACE_EVENT(sys_pivot_root, | |
490 | TP_PROTO(const char * new_root, const char * put_old), | |
491 | TP_ARGS(new_root, put_old), | |
492 | TP_STRUCT__entry(__string_from_user(new_root, new_root) __string_from_user(put_old, put_old)), | |
493 | TP_fast_assign(tp_copy_string_from_user(new_root, new_root) tp_copy_string_from_user(put_old, put_old)), | |
494 | TP_printk() | |
495 | ) | |
496 | #endif | |
497 | #ifndef OVERRIDE_32_sys_removexattr | |
498 | SC_TRACE_EVENT(sys_removexattr, | |
499 | TP_PROTO(const char * pathname, const char * name), | |
500 | TP_ARGS(pathname, name), | |
501 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name)), | |
502 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name)), | |
503 | TP_printk() | |
504 | ) | |
505 | #endif | |
506 | #ifndef OVERRIDE_32_sys_lremovexattr | |
507 | SC_TRACE_EVENT(sys_lremovexattr, | |
508 | TP_PROTO(const char * pathname, const char * name), | |
509 | TP_ARGS(pathname, name), | |
510 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name)), | |
511 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name)), | |
512 | TP_printk() | |
513 | ) | |
514 | #endif | |
515 | #ifndef OVERRIDE_32_sys_fremovexattr | |
516 | SC_TRACE_EVENT(sys_fremovexattr, | |
517 | TP_PROTO(int fd, const char * name), | |
518 | TP_ARGS(fd, name), | |
519 | TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name)), | |
520 | TP_fast_assign(tp_assign(fd, fd) tp_copy_string_from_user(name, name)), | |
521 | TP_printk() | |
522 | ) | |
523 | #endif | |
524 | #ifndef OVERRIDE_32_sys_io_setup | |
525 | SC_TRACE_EVENT(sys_io_setup, | |
526 | TP_PROTO(unsigned nr_events, aio_context_t * ctxp), | |
527 | TP_ARGS(nr_events, ctxp), | |
528 | TP_STRUCT__entry(__field(unsigned, nr_events) __field_hex(aio_context_t *, ctxp)), | |
529 | TP_fast_assign(tp_assign(nr_events, nr_events) tp_assign(ctxp, ctxp)), | |
530 | TP_printk() | |
531 | ) | |
532 | #endif | |
533 | #ifndef OVERRIDE_32_sys_timer_gettime | |
534 | SC_TRACE_EVENT(sys_timer_gettime, | |
535 | TP_PROTO(timer_t timer_id, struct itimerspec * setting), | |
536 | TP_ARGS(timer_id, setting), | |
537 | TP_STRUCT__entry(__field(timer_t, timer_id) __field_hex(struct itimerspec *, setting)), | |
538 | TP_fast_assign(tp_assign(timer_id, timer_id) tp_assign(setting, setting)), | |
539 | TP_printk() | |
540 | ) | |
541 | #endif | |
542 | #ifndef OVERRIDE_32_sys_clock_settime | |
543 | SC_TRACE_EVENT(sys_clock_settime, | |
544 | TP_PROTO(const clockid_t which_clock, const struct timespec * tp), | |
545 | TP_ARGS(which_clock, tp), | |
546 | TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(const struct timespec *, tp)), | |
547 | TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(tp, tp)), | |
548 | TP_printk() | |
549 | ) | |
550 | #endif | |
551 | #ifndef OVERRIDE_32_sys_clock_gettime | |
552 | SC_TRACE_EVENT(sys_clock_gettime, | |
553 | TP_PROTO(const clockid_t which_clock, struct timespec * tp), | |
554 | TP_ARGS(which_clock, tp), | |
555 | TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timespec *, tp)), | |
556 | TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(tp, tp)), | |
557 | TP_printk() | |
558 | ) | |
559 | #endif | |
560 | #ifndef OVERRIDE_32_sys_clock_getres | |
561 | SC_TRACE_EVENT(sys_clock_getres, | |
562 | TP_PROTO(const clockid_t which_clock, struct timespec * tp), | |
563 | TP_ARGS(which_clock, tp), | |
564 | TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timespec *, tp)), | |
565 | TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(tp, tp)), | |
566 | TP_printk() | |
567 | ) | |
568 | #endif | |
569 | #ifndef OVERRIDE_32_sys_utimes | |
570 | SC_TRACE_EVENT(sys_utimes, | |
571 | TP_PROTO(char * filename, struct timeval * utimes), | |
572 | TP_ARGS(filename, utimes), | |
573 | TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct timeval *, utimes)), | |
574 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(utimes, utimes)), | |
575 | TP_printk() | |
576 | ) | |
577 | #endif | |
578 | #ifndef OVERRIDE_32_sys_mq_notify | |
579 | SC_TRACE_EVENT(sys_mq_notify, | |
580 | TP_PROTO(mqd_t mqdes, const struct sigevent * u_notification), | |
581 | TP_ARGS(mqdes, u_notification), | |
582 | TP_STRUCT__entry(__field(mqd_t, mqdes) __field_hex(const struct sigevent *, u_notification)), | |
583 | TP_fast_assign(tp_assign(mqdes, mqdes) tp_assign(u_notification, u_notification)), | |
584 | TP_printk() | |
585 | ) | |
586 | #endif | |
587 | #ifndef OVERRIDE_32_sys_set_robust_list | |
588 | SC_TRACE_EVENT(sys_set_robust_list, | |
589 | TP_PROTO(struct robust_list_head * head, size_t len), | |
590 | TP_ARGS(head, len), | |
591 | TP_STRUCT__entry(__field_hex(struct robust_list_head *, head) __field(size_t, len)), | |
592 | TP_fast_assign(tp_assign(head, head) tp_assign(len, len)), | |
593 | TP_printk() | |
594 | ) | |
595 | #endif | |
596 | #ifndef OVERRIDE_32_sys_timerfd_gettime | |
597 | SC_TRACE_EVENT(sys_timerfd_gettime, | |
598 | TP_PROTO(int ufd, struct itimerspec * otmr), | |
599 | TP_ARGS(ufd, otmr), | |
600 | TP_STRUCT__entry(__field(int, ufd) __field_hex(struct itimerspec *, otmr)), | |
601 | TP_fast_assign(tp_assign(ufd, ufd) tp_assign(otmr, otmr)), | |
602 | TP_printk() | |
603 | ) | |
604 | #endif | |
605 | #ifndef OVERRIDE_32_sys_pipe2 | |
606 | SC_TRACE_EVENT(sys_pipe2, | |
607 | TP_PROTO(int * fildes, int flags), | |
608 | TP_ARGS(fildes, flags), | |
609 | TP_STRUCT__entry(__field_hex(int *, fildes) __field(int, flags)), | |
610 | TP_fast_assign(tp_assign(fildes, fildes) tp_assign(flags, flags)), | |
611 | TP_printk() | |
612 | ) | |
613 | #endif | |
614 | #ifndef OVERRIDE_32_sys_read | |
615 | SC_TRACE_EVENT(sys_read, | |
616 | TP_PROTO(unsigned int fd, char * buf, size_t count), | |
617 | TP_ARGS(fd, buf, count), | |
618 | TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(char *, buf) __field(size_t, count)), | |
619 | TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf) tp_assign(count, count)), | |
620 | TP_printk() | |
621 | ) | |
622 | #endif | |
623 | #ifndef OVERRIDE_32_sys_write | |
624 | SC_TRACE_EVENT(sys_write, | |
625 | TP_PROTO(unsigned int fd, const char * buf, size_t count), | |
626 | TP_ARGS(fd, buf, count), | |
627 | TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(const char *, buf) __field(size_t, count)), | |
628 | TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf) tp_assign(count, count)), | |
629 | TP_printk() | |
630 | ) | |
631 | #endif | |
632 | #ifndef OVERRIDE_32_sys_open | |
633 | SC_TRACE_EVENT(sys_open, | |
634 | TP_PROTO(const char * filename, int flags, int mode), | |
635 | TP_ARGS(filename, flags, mode), | |
636 | TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, flags) __field(int, mode)), | |
637 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(flags, flags) tp_assign(mode, mode)), | |
638 | TP_printk() | |
639 | ) | |
640 | #endif | |
641 | #ifndef OVERRIDE_32_sys_mknod | |
642 | SC_TRACE_EVENT(sys_mknod, | |
643 | TP_PROTO(const char * filename, int mode, unsigned dev), | |
644 | TP_ARGS(filename, mode, dev), | |
645 | TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, mode) __field(unsigned, dev)), | |
646 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(mode, mode) tp_assign(dev, dev)), | |
647 | TP_printk() | |
648 | ) | |
649 | #endif | |
650 | #ifndef OVERRIDE_32_sys_lchown16 | |
651 | SC_TRACE_EVENT(sys_lchown16, | |
652 | TP_PROTO(const char * filename, old_uid_t user, old_gid_t group), | |
653 | TP_ARGS(filename, user, group), | |
654 | TP_STRUCT__entry(__string_from_user(filename, filename) __field(old_uid_t, user) __field(old_gid_t, group)), | |
655 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(user, user) tp_assign(group, group)), | |
656 | TP_printk() | |
657 | ) | |
658 | #endif | |
659 | #ifndef OVERRIDE_32_sys_readlink | |
660 | SC_TRACE_EVENT(sys_readlink, | |
661 | TP_PROTO(const char * path, char * buf, int bufsiz), | |
662 | TP_ARGS(path, buf, bufsiz), | |
663 | TP_STRUCT__entry(__string_from_user(path, path) __field_hex(char *, buf) __field(int, bufsiz)), | |
664 | TP_fast_assign(tp_copy_string_from_user(path, path) tp_assign(buf, buf) tp_assign(bufsiz, bufsiz)), | |
665 | TP_printk() | |
666 | ) | |
667 | #endif | |
668 | #ifndef OVERRIDE_32_sys_syslog | |
669 | SC_TRACE_EVENT(sys_syslog, | |
670 | TP_PROTO(int type, char * buf, int len), | |
671 | TP_ARGS(type, buf, len), | |
672 | TP_STRUCT__entry(__field(int, type) __field_hex(char *, buf) __field(int, len)), | |
673 | TP_fast_assign(tp_assign(type, type) tp_assign(buf, buf) tp_assign(len, len)), | |
674 | TP_printk() | |
675 | ) | |
676 | #endif | |
677 | #ifndef OVERRIDE_32_sys_setitimer | |
678 | SC_TRACE_EVENT(sys_setitimer, | |
679 | TP_PROTO(int which, struct itimerval * value, struct itimerval * ovalue), | |
680 | TP_ARGS(which, value, ovalue), | |
681 | TP_STRUCT__entry(__field(int, which) __field_hex(struct itimerval *, value) __field_hex(struct itimerval *, ovalue)), | |
682 | TP_fast_assign(tp_assign(which, which) tp_assign(value, value) tp_assign(ovalue, ovalue)), | |
683 | TP_printk() | |
684 | ) | |
685 | #endif | |
686 | #ifndef OVERRIDE_32_sys_sigprocmask | |
687 | SC_TRACE_EVENT(sys_sigprocmask, | |
688 | TP_PROTO(int how, old_sigset_t * set, old_sigset_t * oset), | |
689 | TP_ARGS(how, set, oset), | |
690 | TP_STRUCT__entry(__field(int, how) __field_hex(old_sigset_t *, set) __field_hex(old_sigset_t *, oset)), | |
691 | TP_fast_assign(tp_assign(how, how) tp_assign(set, set) tp_assign(oset, oset)), | |
692 | TP_printk() | |
693 | ) | |
694 | #endif | |
695 | #ifndef OVERRIDE_32_sys_init_module | |
696 | SC_TRACE_EVENT(sys_init_module, | |
697 | TP_PROTO(void * umod, unsigned long len, const char * uargs), | |
698 | TP_ARGS(umod, len, uargs), | |
699 | TP_STRUCT__entry(__field_hex(void *, umod) __field(unsigned long, len) __field_hex(const char *, uargs)), | |
700 | TP_fast_assign(tp_assign(umod, umod) tp_assign(len, len) tp_assign(uargs, uargs)), | |
701 | TP_printk() | |
702 | ) | |
703 | #endif | |
704 | #ifndef OVERRIDE_32_sys_getdents | |
705 | SC_TRACE_EVENT(sys_getdents, | |
706 | TP_PROTO(unsigned int fd, struct linux_dirent * dirent, unsigned int count), | |
707 | TP_ARGS(fd, dirent, count), | |
708 | TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct linux_dirent *, dirent) __field(unsigned int, count)), | |
709 | TP_fast_assign(tp_assign(fd, fd) tp_assign(dirent, dirent) tp_assign(count, count)), | |
710 | TP_printk() | |
711 | ) | |
712 | #endif | |
713 | #ifndef OVERRIDE_32_sys_readv | |
714 | SC_TRACE_EVENT(sys_readv, | |
715 | TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), | |
716 | TP_ARGS(fd, vec, vlen), | |
717 | TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen)), | |
718 | TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen)), | |
719 | TP_printk() | |
720 | ) | |
721 | #endif | |
722 | #ifndef OVERRIDE_32_sys_writev | |
723 | SC_TRACE_EVENT(sys_writev, | |
724 | TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), | |
725 | TP_ARGS(fd, vec, vlen), | |
726 | TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen)), | |
727 | TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen)), | |
728 | TP_printk() | |
729 | ) | |
730 | #endif | |
731 | #ifndef OVERRIDE_32_sys_sched_setscheduler | |
732 | SC_TRACE_EVENT(sys_sched_setscheduler, | |
733 | TP_PROTO(pid_t pid, int policy, struct sched_param * param), | |
734 | TP_ARGS(pid, policy, param), | |
735 | TP_STRUCT__entry(__field(pid_t, pid) __field(int, policy) __field_hex(struct sched_param *, param)), | |
736 | TP_fast_assign(tp_assign(pid, pid) tp_assign(policy, policy) tp_assign(param, param)), | |
737 | TP_printk() | |
738 | ) | |
739 | #endif | |
740 | #ifndef OVERRIDE_32_sys_getresuid16 | |
741 | SC_TRACE_EVENT(sys_getresuid16, | |
742 | TP_PROTO(old_uid_t * ruid, old_uid_t * euid, old_uid_t * suid), | |
743 | TP_ARGS(ruid, euid, suid), | |
744 | TP_STRUCT__entry(__field_hex(old_uid_t *, ruid) __field_hex(old_uid_t *, euid) __field_hex(old_uid_t *, suid)), | |
745 | TP_fast_assign(tp_assign(ruid, ruid) tp_assign(euid, euid) tp_assign(suid, suid)), | |
746 | TP_printk() | |
747 | ) | |
748 | #endif | |
749 | #ifndef OVERRIDE_32_sys_poll | |
750 | SC_TRACE_EVENT(sys_poll, | |
751 | TP_PROTO(struct pollfd * ufds, unsigned int nfds, long timeout_msecs), | |
752 | TP_ARGS(ufds, nfds, timeout_msecs), | |
753 | TP_STRUCT__entry(__field_hex(struct pollfd *, ufds) __field(unsigned int, nfds) __field(long, timeout_msecs)), | |
754 | TP_fast_assign(tp_assign(ufds, ufds) tp_assign(nfds, nfds) tp_assign(timeout_msecs, timeout_msecs)), | |
755 | TP_printk() | |
756 | ) | |
757 | #endif | |
758 | #ifndef OVERRIDE_32_sys_getresgid16 | |
759 | SC_TRACE_EVENT(sys_getresgid16, | |
760 | TP_PROTO(old_gid_t * rgid, old_gid_t * egid, old_gid_t * sgid), | |
761 | TP_ARGS(rgid, egid, sgid), | |
762 | TP_STRUCT__entry(__field_hex(old_gid_t *, rgid) __field_hex(old_gid_t *, egid) __field_hex(old_gid_t *, sgid)), | |
763 | TP_fast_assign(tp_assign(rgid, rgid) tp_assign(egid, egid) tp_assign(sgid, sgid)), | |
764 | TP_printk() | |
765 | ) | |
766 | #endif | |
767 | #ifndef OVERRIDE_32_sys_rt_sigqueueinfo | |
768 | SC_TRACE_EVENT(sys_rt_sigqueueinfo, | |
769 | TP_PROTO(pid_t pid, int sig, siginfo_t * uinfo), | |
770 | TP_ARGS(pid, sig, uinfo), | |
771 | TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig) __field_hex(siginfo_t *, uinfo)), | |
772 | TP_fast_assign(tp_assign(pid, pid) tp_assign(sig, sig) tp_assign(uinfo, uinfo)), | |
773 | TP_printk() | |
774 | ) | |
775 | #endif | |
776 | #ifndef OVERRIDE_32_sys_chown16 | |
777 | SC_TRACE_EVENT(sys_chown16, | |
778 | TP_PROTO(const char * filename, old_uid_t user, old_gid_t group), | |
779 | TP_ARGS(filename, user, group), | |
780 | TP_STRUCT__entry(__string_from_user(filename, filename) __field(old_uid_t, user) __field(old_gid_t, group)), | |
781 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(user, user) tp_assign(group, group)), | |
782 | TP_printk() | |
783 | ) | |
784 | #endif | |
785 | #ifndef OVERRIDE_32_sys_lchown | |
786 | SC_TRACE_EVENT(sys_lchown, | |
787 | TP_PROTO(const char * filename, uid_t user, gid_t group), | |
788 | TP_ARGS(filename, user, group), | |
789 | TP_STRUCT__entry(__string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group)), | |
790 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(user, user) tp_assign(group, group)), | |
791 | TP_printk() | |
792 | ) | |
793 | #endif | |
794 | #ifndef OVERRIDE_32_sys_getresuid | |
795 | SC_TRACE_EVENT(sys_getresuid, | |
796 | TP_PROTO(uid_t * ruid, uid_t * euid, uid_t * suid), | |
797 | TP_ARGS(ruid, euid, suid), | |
798 | TP_STRUCT__entry(__field_hex(uid_t *, ruid) __field_hex(uid_t *, euid) __field_hex(uid_t *, suid)), | |
799 | TP_fast_assign(tp_assign(ruid, ruid) tp_assign(euid, euid) tp_assign(suid, suid)), | |
800 | TP_printk() | |
801 | ) | |
802 | #endif | |
803 | #ifndef OVERRIDE_32_sys_getresgid | |
804 | SC_TRACE_EVENT(sys_getresgid, | |
805 | TP_PROTO(gid_t * rgid, gid_t * egid, gid_t * sgid), | |
806 | TP_ARGS(rgid, egid, sgid), | |
807 | TP_STRUCT__entry(__field_hex(gid_t *, rgid) __field_hex(gid_t *, egid) __field_hex(gid_t *, sgid)), | |
808 | TP_fast_assign(tp_assign(rgid, rgid) tp_assign(egid, egid) tp_assign(sgid, sgid)), | |
809 | TP_printk() | |
810 | ) | |
811 | #endif | |
812 | #ifndef OVERRIDE_32_sys_chown | |
813 | SC_TRACE_EVENT(sys_chown, | |
814 | TP_PROTO(const char * filename, uid_t user, gid_t group), | |
815 | TP_ARGS(filename, user, group), | |
816 | TP_STRUCT__entry(__string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group)), | |
817 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(user, user) tp_assign(group, group)), | |
818 | TP_printk() | |
819 | ) | |
820 | #endif | |
821 | #ifndef OVERRIDE_32_sys_getdents64 | |
822 | SC_TRACE_EVENT(sys_getdents64, | |
823 | TP_PROTO(unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), | |
824 | TP_ARGS(fd, dirent, count), | |
825 | TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct linux_dirent64 *, dirent) __field(unsigned int, count)), | |
826 | TP_fast_assign(tp_assign(fd, fd) tp_assign(dirent, dirent) tp_assign(count, count)), | |
827 | TP_printk() | |
828 | ) | |
829 | #endif | |
830 | #ifndef OVERRIDE_32_sys_mincore | |
831 | SC_TRACE_EVENT(sys_mincore, | |
832 | TP_PROTO(unsigned long start, size_t len, unsigned char * vec), | |
833 | TP_ARGS(start, len, vec), | |
834 | TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field_hex(unsigned char *, vec)), | |
835 | TP_fast_assign(tp_assign(start, start) tp_assign(len, len) tp_assign(vec, vec)), | |
836 | TP_printk() | |
837 | ) | |
838 | #endif | |
839 | #ifndef OVERRIDE_32_sys_listxattr | |
840 | SC_TRACE_EVENT(sys_listxattr, | |
841 | TP_PROTO(const char * pathname, char * list, size_t size), | |
842 | TP_ARGS(pathname, list, size), | |
843 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(char *, list) __field(size_t, size)), | |
844 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(list, list) tp_assign(size, size)), | |
845 | TP_printk() | |
846 | ) | |
847 | #endif | |
848 | #ifndef OVERRIDE_32_sys_llistxattr | |
849 | SC_TRACE_EVENT(sys_llistxattr, | |
850 | TP_PROTO(const char * pathname, char * list, size_t size), | |
851 | TP_ARGS(pathname, list, size), | |
852 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(char *, list) __field(size_t, size)), | |
853 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(list, list) tp_assign(size, size)), | |
854 | TP_printk() | |
855 | ) | |
856 | #endif | |
857 | #ifndef OVERRIDE_32_sys_flistxattr | |
858 | SC_TRACE_EVENT(sys_flistxattr, | |
859 | TP_PROTO(int fd, char * list, size_t size), | |
860 | TP_ARGS(fd, list, size), | |
861 | TP_STRUCT__entry(__field(int, fd) __field_hex(char *, list) __field(size_t, size)), | |
862 | TP_fast_assign(tp_assign(fd, fd) tp_assign(list, list) tp_assign(size, size)), | |
863 | TP_printk() | |
864 | ) | |
865 | #endif | |
866 | #ifndef OVERRIDE_32_sys_sched_setaffinity | |
867 | SC_TRACE_EVENT(sys_sched_setaffinity, | |
868 | TP_PROTO(pid_t pid, unsigned int len, unsigned long * user_mask_ptr), | |
869 | TP_ARGS(pid, len, user_mask_ptr), | |
870 | TP_STRUCT__entry(__field(pid_t, pid) __field(unsigned int, len) __field_hex(unsigned long *, user_mask_ptr)), | |
871 | TP_fast_assign(tp_assign(pid, pid) tp_assign(len, len) tp_assign(user_mask_ptr, user_mask_ptr)), | |
872 | TP_printk() | |
873 | ) | |
874 | #endif | |
875 | #ifndef OVERRIDE_32_sys_sched_getaffinity | |
876 | SC_TRACE_EVENT(sys_sched_getaffinity, | |
877 | TP_PROTO(pid_t pid, unsigned int len, unsigned long * user_mask_ptr), | |
878 | TP_ARGS(pid, len, user_mask_ptr), | |
879 | TP_STRUCT__entry(__field(pid_t, pid) __field(unsigned int, len) __field_hex(unsigned long *, user_mask_ptr)), | |
880 | TP_fast_assign(tp_assign(pid, pid) tp_assign(len, len) tp_assign(user_mask_ptr, user_mask_ptr)), | |
881 | TP_printk() | |
882 | ) | |
883 | #endif | |
884 | #ifndef OVERRIDE_32_sys_io_submit | |
885 | SC_TRACE_EVENT(sys_io_submit, | |
886 | TP_PROTO(aio_context_t ctx_id, long nr, struct iocb * * iocbpp), | |
887 | TP_ARGS(ctx_id, nr, iocbpp), | |
888 | TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field(long, nr) __field_hex(struct iocb * *, iocbpp)), | |
889 | TP_fast_assign(tp_assign(ctx_id, ctx_id) tp_assign(nr, nr) tp_assign(iocbpp, iocbpp)), | |
890 | TP_printk() | |
891 | ) | |
892 | #endif | |
893 | #ifndef OVERRIDE_32_sys_io_cancel | |
894 | SC_TRACE_EVENT(sys_io_cancel, | |
895 | TP_PROTO(aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), | |
896 | TP_ARGS(ctx_id, iocb, result), | |
897 | TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field_hex(struct iocb *, iocb) __field_hex(struct io_event *, result)), | |
898 | TP_fast_assign(tp_assign(ctx_id, ctx_id) tp_assign(iocb, iocb) tp_assign(result, result)), | |
899 | TP_printk() | |
900 | ) | |
901 | #endif | |
902 | #ifndef OVERRIDE_32_sys_timer_create | |
903 | SC_TRACE_EVENT(sys_timer_create, | |
904 | TP_PROTO(const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), | |
905 | TP_ARGS(which_clock, timer_event_spec, created_timer_id), | |
906 | TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct sigevent *, timer_event_spec) __field_hex(timer_t *, created_timer_id)), | |
907 | TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(timer_event_spec, timer_event_spec) tp_assign(created_timer_id, created_timer_id)), | |
908 | TP_printk() | |
909 | ) | |
910 | #endif | |
911 | #ifndef OVERRIDE_32_sys_mq_getsetattr | |
912 | SC_TRACE_EVENT(sys_mq_getsetattr, | |
913 | TP_PROTO(mqd_t mqdes, const struct mq_attr * u_mqstat, struct mq_attr * u_omqstat), | |
914 | TP_ARGS(mqdes, u_mqstat, u_omqstat), | |
915 | TP_STRUCT__entry(__field(mqd_t, mqdes) __field_hex(const struct mq_attr *, u_mqstat) __field_hex(struct mq_attr *, u_omqstat)), | |
916 | TP_fast_assign(tp_assign(mqdes, mqdes) tp_assign(u_mqstat, u_mqstat) tp_assign(u_omqstat, u_omqstat)), | |
917 | TP_printk() | |
918 | ) | |
919 | #endif | |
920 | #ifndef OVERRIDE_32_sys_bind | |
921 | SC_TRACE_EVENT(sys_bind, | |
922 | TP_PROTO(int fd, struct sockaddr * umyaddr, int addrlen), | |
923 | TP_ARGS(fd, umyaddr, addrlen), | |
924 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, umyaddr) __field_hex(int, addrlen)), | |
925 | TP_fast_assign(tp_assign(fd, fd) tp_assign(umyaddr, umyaddr) tp_assign(addrlen, addrlen)), | |
926 | TP_printk() | |
927 | ) | |
928 | #endif | |
929 | #ifndef OVERRIDE_32_sys_connect | |
930 | SC_TRACE_EVENT(sys_connect, | |
931 | TP_PROTO(int fd, struct sockaddr * uservaddr, int addrlen), | |
932 | TP_ARGS(fd, uservaddr, addrlen), | |
933 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, uservaddr) __field_hex(int, addrlen)), | |
934 | TP_fast_assign(tp_assign(fd, fd) tp_assign(uservaddr, uservaddr) tp_assign(addrlen, addrlen)), | |
935 | TP_printk() | |
936 | ) | |
937 | #endif | |
938 | #ifndef OVERRIDE_32_sys_accept | |
939 | SC_TRACE_EVENT(sys_accept, | |
940 | TP_PROTO(int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), | |
941 | TP_ARGS(fd, upeer_sockaddr, upeer_addrlen), | |
942 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, upeer_sockaddr) __field_hex(int *, upeer_addrlen)), | |
943 | TP_fast_assign(tp_assign(fd, fd) tp_assign(upeer_sockaddr, upeer_sockaddr) tp_assign(upeer_addrlen, upeer_addrlen)), | |
944 | TP_printk() | |
945 | ) | |
946 | #endif | |
947 | #ifndef OVERRIDE_32_sys_getsockname | |
948 | SC_TRACE_EVENT(sys_getsockname, | |
949 | TP_PROTO(int fd, struct sockaddr * usockaddr, int * usockaddr_len), | |
950 | TP_ARGS(fd, usockaddr, usockaddr_len), | |
951 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, usockaddr) __field_hex(int *, usockaddr_len)), | |
952 | TP_fast_assign(tp_assign(fd, fd) tp_assign(usockaddr, usockaddr) tp_assign(usockaddr_len, usockaddr_len)), | |
953 | TP_printk() | |
954 | ) | |
955 | #endif | |
956 | #ifndef OVERRIDE_32_sys_getpeername | |
957 | SC_TRACE_EVENT(sys_getpeername, | |
958 | TP_PROTO(int fd, struct sockaddr * usockaddr, int * usockaddr_len), | |
959 | TP_ARGS(fd, usockaddr, usockaddr_len), | |
960 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, usockaddr) __field_hex(int *, usockaddr_len)), | |
961 | TP_fast_assign(tp_assign(fd, fd) tp_assign(usockaddr, usockaddr) tp_assign(usockaddr_len, usockaddr_len)), | |
962 | TP_printk() | |
963 | ) | |
964 | #endif | |
965 | #ifndef OVERRIDE_32_sys_sendmsg | |
966 | SC_TRACE_EVENT(sys_sendmsg, | |
967 | TP_PROTO(int fd, struct msghdr * msg, unsigned flags), | |
968 | TP_ARGS(fd, msg, flags), | |
969 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct msghdr *, msg) __field(unsigned, flags)), | |
970 | TP_fast_assign(tp_assign(fd, fd) tp_assign(msg, msg) tp_assign(flags, flags)), | |
971 | TP_printk() | |
972 | ) | |
973 | #endif | |
974 | #ifndef OVERRIDE_32_sys_recvmsg | |
975 | SC_TRACE_EVENT(sys_recvmsg, | |
976 | TP_PROTO(int fd, struct msghdr * msg, unsigned int flags), | |
977 | TP_ARGS(fd, msg, flags), | |
978 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct msghdr *, msg) __field(unsigned int, flags)), | |
979 | TP_fast_assign(tp_assign(fd, fd) tp_assign(msg, msg) tp_assign(flags, flags)), | |
980 | TP_printk() | |
981 | ) | |
982 | #endif | |
983 | #ifndef OVERRIDE_32_sys_semop | |
984 | SC_TRACE_EVENT(sys_semop, | |
985 | TP_PROTO(int semid, struct sembuf * tsops, unsigned nsops), | |
986 | TP_ARGS(semid, tsops, nsops), | |
987 | TP_STRUCT__entry(__field(int, semid) __field_hex(struct sembuf *, tsops) __field(unsigned, nsops)), | |
988 | TP_fast_assign(tp_assign(semid, semid) tp_assign(tsops, tsops) tp_assign(nsops, nsops)), | |
989 | TP_printk() | |
990 | ) | |
991 | #endif | |
992 | #ifndef OVERRIDE_32_sys_msgctl | |
993 | SC_TRACE_EVENT(sys_msgctl, | |
994 | TP_PROTO(int msqid, int cmd, struct msqid_ds * buf), | |
995 | TP_ARGS(msqid, cmd, buf), | |
996 | TP_STRUCT__entry(__field(int, msqid) __field(int, cmd) __field_hex(struct msqid_ds *, buf)), | |
997 | TP_fast_assign(tp_assign(msqid, msqid) tp_assign(cmd, cmd) tp_assign(buf, buf)), | |
998 | TP_printk() | |
999 | ) | |
1000 | #endif | |
1001 | #ifndef OVERRIDE_32_sys_shmat | |
1002 | SC_TRACE_EVENT(sys_shmat, | |
1003 | TP_PROTO(int shmid, char * shmaddr, int shmflg), | |
1004 | TP_ARGS(shmid, shmaddr, shmflg), | |
1005 | TP_STRUCT__entry(__field(int, shmid) __field_hex(char *, shmaddr) __field(int, shmflg)), | |
1006 | TP_fast_assign(tp_assign(shmid, shmid) tp_assign(shmaddr, shmaddr) tp_assign(shmflg, shmflg)), | |
1007 | TP_printk() | |
1008 | ) | |
1009 | #endif | |
1010 | #ifndef OVERRIDE_32_sys_shmctl | |
1011 | SC_TRACE_EVENT(sys_shmctl, | |
1012 | TP_PROTO(int shmid, int cmd, struct shmid_ds * buf), | |
1013 | TP_ARGS(shmid, cmd, buf), | |
1014 | TP_STRUCT__entry(__field(int, shmid) __field(int, cmd) __field_hex(struct shmid_ds *, buf)), | |
1015 | TP_fast_assign(tp_assign(shmid, shmid) tp_assign(cmd, cmd) tp_assign(buf, buf)), | |
1016 | TP_printk() | |
1017 | ) | |
1018 | #endif | |
1019 | #ifndef OVERRIDE_32_sys_inotify_add_watch | |
1020 | SC_TRACE_EVENT(sys_inotify_add_watch, | |
1021 | TP_PROTO(int fd, const char * pathname, u32 mask), | |
1022 | TP_ARGS(fd, pathname, mask), | |
1023 | TP_STRUCT__entry(__field(int, fd) __string_from_user(pathname, pathname) __field(u32, mask)), | |
1024 | TP_fast_assign(tp_assign(fd, fd) tp_copy_string_from_user(pathname, pathname) tp_assign(mask, mask)), | |
1025 | TP_printk() | |
1026 | ) | |
1027 | #endif | |
1028 | #ifndef OVERRIDE_32_sys_mkdirat | |
1029 | SC_TRACE_EVENT(sys_mkdirat, | |
1030 | TP_PROTO(int dfd, const char * pathname, int mode), | |
1031 | TP_ARGS(dfd, pathname, mode), | |
1032 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field(int, mode)), | |
1033 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(pathname, pathname) tp_assign(mode, mode)), | |
1034 | TP_printk() | |
1035 | ) | |
1036 | #endif | |
1037 | #ifndef OVERRIDE_32_sys_futimesat | |
1038 | SC_TRACE_EVENT(sys_futimesat, | |
1039 | TP_PROTO(int dfd, const char * filename, struct timeval * utimes), | |
1040 | TP_ARGS(dfd, filename, utimes), | |
1041 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct timeval *, utimes)), | |
1042 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(utimes, utimes)), | |
1043 | TP_printk() | |
1044 | ) | |
1045 | #endif | |
1046 | #ifndef OVERRIDE_32_sys_unlinkat | |
1047 | SC_TRACE_EVENT(sys_unlinkat, | |
1048 | TP_PROTO(int dfd, const char * pathname, int flag), | |
1049 | TP_ARGS(dfd, pathname, flag), | |
1050 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field(int, flag)), | |
1051 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(pathname, pathname) tp_assign(flag, flag)), | |
1052 | TP_printk() | |
1053 | ) | |
1054 | #endif | |
1055 | #ifndef OVERRIDE_32_sys_symlinkat | |
1056 | SC_TRACE_EVENT(sys_symlinkat, | |
1057 | TP_PROTO(const char * oldname, int newdfd, const char * newname), | |
1058 | TP_ARGS(oldname, newdfd, newname), | |
1059 | TP_STRUCT__entry(__string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname)), | |
1060 | TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_assign(newdfd, newdfd) tp_copy_string_from_user(newname, newname)), | |
1061 | TP_printk() | |
1062 | ) | |
1063 | #endif | |
1064 | #ifndef OVERRIDE_32_sys_fchmodat | |
1065 | SC_TRACE_EVENT(sys_fchmodat, | |
1066 | TP_PROTO(int dfd, const char * filename, mode_t mode), | |
1067 | TP_ARGS(dfd, filename, mode), | |
1068 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(mode_t, mode)), | |
1069 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), | |
1070 | TP_printk() | |
1071 | ) | |
1072 | #endif | |
1073 | #ifndef OVERRIDE_32_sys_faccessat | |
1074 | SC_TRACE_EVENT(sys_faccessat, | |
1075 | TP_PROTO(int dfd, const char * filename, int mode), | |
1076 | TP_ARGS(dfd, filename, mode), | |
1077 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(int, mode)), | |
1078 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), | |
1079 | TP_printk() | |
1080 | ) | |
1081 | #endif | |
1082 | #ifndef OVERRIDE_32_sys_get_robust_list | |
1083 | SC_TRACE_EVENT(sys_get_robust_list, | |
1084 | TP_PROTO(int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), | |
1085 | TP_ARGS(pid, head_ptr, len_ptr), | |
1086 | TP_STRUCT__entry(__field(int, pid) __field_hex(struct robust_list_head * *, head_ptr) __field_hex(size_t *, len_ptr)), | |
1087 | TP_fast_assign(tp_assign(pid, pid) tp_assign(head_ptr, head_ptr) tp_assign(len_ptr, len_ptr)), | |
1088 | TP_printk() | |
1089 | ) | |
1090 | #endif | |
1091 | #ifndef OVERRIDE_32_sys_getcpu | |
1092 | SC_TRACE_EVENT(sys_getcpu, | |
1093 | TP_PROTO(unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), | |
1094 | TP_ARGS(cpup, nodep, unused), | |
1095 | TP_STRUCT__entry(__field_hex(unsigned *, cpup) __field_hex(unsigned *, nodep) __field_hex(struct getcpu_cache *, unused)), | |
1096 | TP_fast_assign(tp_assign(cpup, cpup) tp_assign(nodep, nodep) tp_assign(unused, unused)), | |
1097 | TP_printk() | |
1098 | ) | |
1099 | #endif | |
1100 | #ifndef OVERRIDE_32_sys_signalfd | |
1101 | SC_TRACE_EVENT(sys_signalfd, | |
1102 | TP_PROTO(int ufd, sigset_t * user_mask, size_t sizemask), | |
1103 | TP_ARGS(ufd, user_mask, sizemask), | |
1104 | TP_STRUCT__entry(__field(int, ufd) __field_hex(sigset_t *, user_mask) __field(size_t, sizemask)), | |
1105 | TP_fast_assign(tp_assign(ufd, ufd) tp_assign(user_mask, user_mask) tp_assign(sizemask, sizemask)), | |
1106 | TP_printk() | |
1107 | ) | |
1108 | #endif | |
1109 | #ifndef OVERRIDE_32_sys_reboot | |
1110 | SC_TRACE_EVENT(sys_reboot, | |
1111 | TP_PROTO(int magic1, int magic2, unsigned int cmd, void * arg), | |
1112 | TP_ARGS(magic1, magic2, cmd, arg), | |
1113 | TP_STRUCT__entry(__field(int, magic1) __field(int, magic2) __field(unsigned int, cmd) __field_hex(void *, arg)), | |
1114 | TP_fast_assign(tp_assign(magic1, magic1) tp_assign(magic2, magic2) tp_assign(cmd, cmd) tp_assign(arg, arg)), | |
1115 | TP_printk() | |
1116 | ) | |
1117 | #endif | |
1118 | #ifndef OVERRIDE_32_sys_wait4 | |
1119 | SC_TRACE_EVENT(sys_wait4, | |
1120 | TP_PROTO(pid_t upid, int * stat_addr, int options, struct rusage * ru), | |
1121 | TP_ARGS(upid, stat_addr, options, ru), | |
1122 | TP_STRUCT__entry(__field(pid_t, upid) __field_hex(int *, stat_addr) __field(int, options) __field_hex(struct rusage *, ru)), | |
1123 | TP_fast_assign(tp_assign(upid, upid) tp_assign(stat_addr, stat_addr) tp_assign(options, options) tp_assign(ru, ru)), | |
1124 | TP_printk() | |
1125 | ) | |
1126 | #endif | |
1127 | #ifndef OVERRIDE_32_sys_rt_sigaction | |
1128 | SC_TRACE_EVENT(sys_rt_sigaction, | |
1129 | TP_PROTO(int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), | |
1130 | TP_ARGS(sig, act, oact, sigsetsize), | |
1131 | TP_STRUCT__entry(__field(int, sig) __field_hex(const struct sigaction *, act) __field_hex(struct sigaction *, oact) __field(size_t, sigsetsize)), | |
1132 | TP_fast_assign(tp_assign(sig, sig) tp_assign(act, act) tp_assign(oact, oact) tp_assign(sigsetsize, sigsetsize)), | |
1133 | TP_printk() | |
1134 | ) | |
1135 | #endif | |
1136 | #ifndef OVERRIDE_32_sys_rt_sigprocmask | |
1137 | SC_TRACE_EVENT(sys_rt_sigprocmask, | |
1138 | TP_PROTO(int how, sigset_t * set, sigset_t * oset, size_t sigsetsize), | |
1139 | TP_ARGS(how, set, oset, sigsetsize), | |
1140 | TP_STRUCT__entry(__field(int, how) __field_hex(sigset_t *, set) __field_hex(sigset_t *, oset) __field(size_t, sigsetsize)), | |
1141 | TP_fast_assign(tp_assign(how, how) tp_assign(set, set) tp_assign(oset, oset) tp_assign(sigsetsize, sigsetsize)), | |
1142 | TP_printk() | |
1143 | ) | |
1144 | #endif | |
1145 | #ifndef OVERRIDE_32_sys_rt_sigtimedwait | |
1146 | SC_TRACE_EVENT(sys_rt_sigtimedwait, | |
1147 | TP_PROTO(const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), | |
1148 | TP_ARGS(uthese, uinfo, uts, sigsetsize), | |
1149 | TP_STRUCT__entry(__field_hex(const sigset_t *, uthese) __field_hex(siginfo_t *, uinfo) __field_hex(const struct timespec *, uts) __field(size_t, sigsetsize)), | |
1150 | TP_fast_assign(tp_assign(uthese, uthese) tp_assign(uinfo, uinfo) tp_assign(uts, uts) tp_assign(sigsetsize, sigsetsize)), | |
1151 | TP_printk() | |
1152 | ) | |
1153 | #endif | |
1154 | #ifndef OVERRIDE_32_sys_sendfile | |
1155 | SC_TRACE_EVENT(sys_sendfile, | |
1156 | TP_PROTO(int out_fd, int in_fd, off_t * offset, size_t count), | |
1157 | TP_ARGS(out_fd, in_fd, offset, count), | |
1158 | TP_STRUCT__entry(__field(int, out_fd) __field(int, in_fd) __field_hex(off_t *, offset) __field(size_t, count)), | |
1159 | TP_fast_assign(tp_assign(out_fd, out_fd) tp_assign(in_fd, in_fd) tp_assign(offset, offset) tp_assign(count, count)), | |
1160 | TP_printk() | |
1161 | ) | |
1162 | #endif | |
1163 | #ifndef OVERRIDE_32_sys_getxattr | |
1164 | SC_TRACE_EVENT(sys_getxattr, | |
1165 | TP_PROTO(const char * pathname, const char * name, void * value, size_t size), | |
1166 | TP_ARGS(pathname, name, value, size), | |
1167 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), | |
1168 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size)), | |
1169 | TP_printk() | |
1170 | ) | |
1171 | #endif | |
1172 | #ifndef OVERRIDE_32_sys_lgetxattr | |
1173 | SC_TRACE_EVENT(sys_lgetxattr, | |
1174 | TP_PROTO(const char * pathname, const char * name, void * value, size_t size), | |
1175 | TP_ARGS(pathname, name, value, size), | |
1176 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), | |
1177 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size)), | |
1178 | TP_printk() | |
1179 | ) | |
1180 | #endif | |
1181 | #ifndef OVERRIDE_32_sys_fgetxattr | |
1182 | SC_TRACE_EVENT(sys_fgetxattr, | |
1183 | TP_PROTO(int fd, const char * name, void * value, size_t size), | |
1184 | TP_ARGS(fd, name, value, size), | |
1185 | TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), | |
1186 | TP_fast_assign(tp_assign(fd, fd) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size)), | |
1187 | TP_printk() | |
1188 | ) | |
1189 | #endif | |
1190 | #ifndef OVERRIDE_32_sys_sendfile64 | |
1191 | SC_TRACE_EVENT(sys_sendfile64, | |
1192 | TP_PROTO(int out_fd, int in_fd, loff_t * offset, size_t count), | |
1193 | TP_ARGS(out_fd, in_fd, offset, count), | |
1194 | TP_STRUCT__entry(__field(int, out_fd) __field(int, in_fd) __field_hex(loff_t *, offset) __field(size_t, count)), | |
1195 | TP_fast_assign(tp_assign(out_fd, out_fd) tp_assign(in_fd, in_fd) tp_assign(offset, offset) tp_assign(count, count)), | |
1196 | TP_printk() | |
1197 | ) | |
1198 | #endif | |
1199 | #ifndef OVERRIDE_32_sys_epoll_ctl | |
1200 | SC_TRACE_EVENT(sys_epoll_ctl, | |
1201 | TP_PROTO(int epfd, int op, int fd, struct epoll_event * event), | |
1202 | TP_ARGS(epfd, op, fd, event), | |
1203 | TP_STRUCT__entry(__field(int, epfd) __field(int, op) __field(int, fd) __field_hex(struct epoll_event *, event)), | |
1204 | TP_fast_assign(tp_assign(epfd, epfd) tp_assign(op, op) tp_assign(fd, fd) tp_assign(event, event)), | |
1205 | TP_printk() | |
1206 | ) | |
1207 | #endif | |
1208 | #ifndef OVERRIDE_32_sys_epoll_wait | |
1209 | SC_TRACE_EVENT(sys_epoll_wait, | |
1210 | TP_PROTO(int epfd, struct epoll_event * events, int maxevents, int timeout), | |
1211 | TP_ARGS(epfd, events, maxevents, timeout), | |
1212 | TP_STRUCT__entry(__field(int, epfd) __field_hex(struct epoll_event *, events) __field(int, maxevents) __field(int, timeout)), | |
1213 | TP_fast_assign(tp_assign(epfd, epfd) tp_assign(events, events) tp_assign(maxevents, maxevents) tp_assign(timeout, timeout)), | |
1214 | TP_printk() | |
1215 | ) | |
1216 | #endif | |
1217 | #ifndef OVERRIDE_32_sys_timer_settime | |
1218 | SC_TRACE_EVENT(sys_timer_settime, | |
1219 | TP_PROTO(timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), | |
1220 | TP_ARGS(timer_id, flags, new_setting, old_setting), | |
1221 | TP_STRUCT__entry(__field(timer_t, timer_id) __field(int, flags) __field_hex(const struct itimerspec *, new_setting) __field_hex(struct itimerspec *, old_setting)), | |
1222 | TP_fast_assign(tp_assign(timer_id, timer_id) tp_assign(flags, flags) tp_assign(new_setting, new_setting) tp_assign(old_setting, old_setting)), | |
1223 | TP_printk() | |
1224 | ) | |
1225 | #endif | |
1226 | #ifndef OVERRIDE_32_sys_clock_nanosleep | |
1227 | SC_TRACE_EVENT(sys_clock_nanosleep, | |
1228 | TP_PROTO(const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), | |
1229 | TP_ARGS(which_clock, flags, rqtp, rmtp), | |
1230 | TP_STRUCT__entry(__field(const clockid_t, which_clock) __field(int, flags) __field_hex(const struct timespec *, rqtp) __field_hex(struct timespec *, rmtp)), | |
1231 | TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(flags, flags) tp_assign(rqtp, rqtp) tp_assign(rmtp, rmtp)), | |
1232 | TP_printk() | |
1233 | ) | |
1234 | #endif | |
1235 | #ifndef OVERRIDE_32_sys_mq_open | |
1236 | SC_TRACE_EVENT(sys_mq_open, | |
1237 | TP_PROTO(const char * u_name, int oflag, mode_t mode, struct mq_attr * u_attr), | |
1238 | TP_ARGS(u_name, oflag, mode, u_attr), | |
1239 | TP_STRUCT__entry(__string_from_user(u_name, u_name) __field(int, oflag) __field(mode_t, mode) __field_hex(struct mq_attr *, u_attr)), | |
1240 | TP_fast_assign(tp_copy_string_from_user(u_name, u_name) tp_assign(oflag, oflag) tp_assign(mode, mode) tp_assign(u_attr, u_attr)), | |
1241 | TP_printk() | |
1242 | ) | |
1243 | #endif | |
1244 | #ifndef OVERRIDE_32_sys_socketpair | |
1245 | SC_TRACE_EVENT(sys_socketpair, | |
1246 | TP_PROTO(int family, int type, int protocol, int * usockvec), | |
1247 | TP_ARGS(family, type, protocol, usockvec), | |
1248 | TP_STRUCT__entry(__field(int, family) __field(int, type) __field(int, protocol) __field_hex(int *, usockvec)), | |
1249 | TP_fast_assign(tp_assign(family, family) tp_assign(type, type) tp_assign(protocol, protocol) tp_assign(usockvec, usockvec)), | |
1250 | TP_printk() | |
1251 | ) | |
1252 | #endif | |
1253 | #ifndef OVERRIDE_32_sys_send | |
1254 | SC_TRACE_EVENT(sys_send, | |
1255 | TP_PROTO(int fd, void * buff, size_t len, unsigned flags), | |
1256 | TP_ARGS(fd, buff, len, flags), | |
1257 | TP_STRUCT__entry(__field(int, fd) __field_hex(void *, buff) __field(size_t, len) __field(unsigned, flags)), | |
1258 | TP_fast_assign(tp_assign(fd, fd) tp_assign(buff, buff) tp_assign(len, len) tp_assign(flags, flags)), | |
1259 | TP_printk() | |
1260 | ) | |
1261 | #endif | |
1262 | #ifndef OVERRIDE_32_sys_msgsnd | |
1263 | SC_TRACE_EVENT(sys_msgsnd, | |
1264 | TP_PROTO(int msqid, struct msgbuf * msgp, size_t msgsz, int msgflg), | |
1265 | TP_ARGS(msqid, msgp, msgsz, msgflg), | |
1266 | TP_STRUCT__entry(__field(int, msqid) __field_hex(struct msgbuf *, msgp) __field(size_t, msgsz) __field(int, msgflg)), | |
1267 | TP_fast_assign(tp_assign(msqid, msqid) tp_assign(msgp, msgp) tp_assign(msgsz, msgsz) tp_assign(msgflg, msgflg)), | |
1268 | TP_printk() | |
1269 | ) | |
1270 | #endif | |
1271 | #ifndef OVERRIDE_32_sys_request_key | |
1272 | SC_TRACE_EVENT(sys_request_key, | |
1273 | TP_PROTO(const char * _type, const char * _description, const char * _callout_info, key_serial_t destringid), | |
1274 | TP_ARGS(_type, _description, _callout_info, destringid), | |
1275 | TP_STRUCT__entry(__string_from_user(_type, _type) __field_hex(const char *, _description) __field_hex(const char *, _callout_info) __field(key_serial_t, destringid)), | |
1276 | TP_fast_assign(tp_copy_string_from_user(_type, _type) tp_assign(_description, _description) tp_assign(_callout_info, _callout_info) tp_assign(destringid, destringid)), | |
1277 | TP_printk() | |
1278 | ) | |
1279 | #endif | |
1280 | #ifndef OVERRIDE_32_sys_semtimedop | |
1281 | SC_TRACE_EVENT(sys_semtimedop, | |
1282 | TP_PROTO(int semid, struct sembuf * tsops, unsigned nsops, const struct timespec * timeout), | |
1283 | TP_ARGS(semid, tsops, nsops, timeout), | |
1284 | TP_STRUCT__entry(__field(int, semid) __field_hex(struct sembuf *, tsops) __field(unsigned, nsops) __field_hex(const struct timespec *, timeout)), | |
1285 | TP_fast_assign(tp_assign(semid, semid) tp_assign(tsops, tsops) tp_assign(nsops, nsops) tp_assign(timeout, timeout)), | |
1286 | TP_printk() | |
1287 | ) | |
1288 | #endif | |
1289 | #ifndef OVERRIDE_32_sys_openat | |
1290 | SC_TRACE_EVENT(sys_openat, | |
1291 | TP_PROTO(int dfd, const char * filename, int flags, int mode), | |
1292 | TP_ARGS(dfd, filename, flags, mode), | |
1293 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(int, flags) __field(int, mode)), | |
1294 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(flags, flags) tp_assign(mode, mode)), | |
1295 | TP_printk() | |
1296 | ) | |
1297 | #endif | |
1298 | #ifndef OVERRIDE_32_sys_mknodat | |
1299 | SC_TRACE_EVENT(sys_mknodat, | |
1300 | TP_PROTO(int dfd, const char * filename, int mode, unsigned dev), | |
1301 | TP_ARGS(dfd, filename, mode, dev), | |
1302 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(int, mode) __field(unsigned, dev)), | |
1303 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(mode, mode) tp_assign(dev, dev)), | |
1304 | TP_printk() | |
1305 | ) | |
1306 | #endif | |
1307 | #ifndef OVERRIDE_32_sys_fstatat64 | |
1308 | SC_TRACE_EVENT(sys_fstatat64, | |
1309 | TP_PROTO(int dfd, const char * filename, struct stat64 * statbuf, int flag), | |
1310 | TP_ARGS(dfd, filename, statbuf, flag), | |
1311 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct stat64 *, statbuf) __field(int, flag)), | |
1312 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf) tp_assign(flag, flag)), | |
1313 | TP_printk() | |
1314 | ) | |
1315 | #endif | |
1316 | #ifndef OVERRIDE_32_sys_renameat | |
1317 | SC_TRACE_EVENT(sys_renameat, | |
1318 | TP_PROTO(int olddfd, const char * oldname, int newdfd, const char * newname), | |
1319 | TP_ARGS(olddfd, oldname, newdfd, newname), | |
1320 | TP_STRUCT__entry(__field(int, olddfd) __string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname)), | |
1321 | TP_fast_assign(tp_assign(olddfd, olddfd) tp_copy_string_from_user(oldname, oldname) tp_assign(newdfd, newdfd) tp_copy_string_from_user(newname, newname)), | |
1322 | TP_printk() | |
1323 | ) | |
1324 | #endif | |
1325 | #ifndef OVERRIDE_32_sys_readlinkat | |
1326 | SC_TRACE_EVENT(sys_readlinkat, | |
1327 | TP_PROTO(int dfd, const char * pathname, char * buf, int bufsiz), | |
1328 | TP_ARGS(dfd, pathname, buf, bufsiz), | |
1329 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field_hex(char *, buf) __field(int, bufsiz)), | |
1330 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(pathname, pathname) tp_assign(buf, buf) tp_assign(bufsiz, bufsiz)), | |
1331 | TP_printk() | |
1332 | ) | |
1333 | #endif | |
1334 | #ifndef OVERRIDE_32_sys_vmsplice | |
1335 | SC_TRACE_EVENT(sys_vmsplice, | |
1336 | TP_PROTO(int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), | |
1337 | TP_ARGS(fd, iov, nr_segs, flags), | |
1338 | TP_STRUCT__entry(__field(int, fd) __field_hex(const struct iovec *, iov) __field(unsigned long, nr_segs) __field(unsigned int, flags)), | |
1339 | TP_fast_assign(tp_assign(fd, fd) tp_assign(iov, iov) tp_assign(nr_segs, nr_segs) tp_assign(flags, flags)), | |
1340 | TP_printk() | |
1341 | ) | |
1342 | #endif | |
1343 | #ifndef OVERRIDE_32_sys_utimensat | |
1344 | SC_TRACE_EVENT(sys_utimensat, | |
1345 | TP_PROTO(int dfd, const char * filename, struct timespec * utimes, int flags), | |
1346 | TP_ARGS(dfd, filename, utimes, flags), | |
1347 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct timespec *, utimes) __field(int, flags)), | |
1348 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(utimes, utimes) tp_assign(flags, flags)), | |
1349 | TP_printk() | |
1350 | ) | |
1351 | #endif | |
1352 | #ifndef OVERRIDE_32_sys_timerfd_settime | |
1353 | SC_TRACE_EVENT(sys_timerfd_settime, | |
1354 | TP_PROTO(int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), | |
1355 | TP_ARGS(ufd, flags, utmr, otmr), | |
1356 | TP_STRUCT__entry(__field(int, ufd) __field(int, flags) __field_hex(const struct itimerspec *, utmr) __field_hex(struct itimerspec *, otmr)), | |
1357 | TP_fast_assign(tp_assign(ufd, ufd) tp_assign(flags, flags) tp_assign(utmr, utmr) tp_assign(otmr, otmr)), | |
1358 | TP_printk() | |
1359 | ) | |
1360 | #endif | |
1361 | #ifndef OVERRIDE_32_sys_signalfd4 | |
1362 | SC_TRACE_EVENT(sys_signalfd4, | |
1363 | TP_PROTO(int ufd, sigset_t * user_mask, size_t sizemask, int flags), | |
1364 | TP_ARGS(ufd, user_mask, sizemask, flags), | |
1365 | TP_STRUCT__entry(__field(int, ufd) __field_hex(sigset_t *, user_mask) __field(size_t, sizemask) __field(int, flags)), | |
1366 | TP_fast_assign(tp_assign(ufd, ufd) tp_assign(user_mask, user_mask) tp_assign(sizemask, sizemask) tp_assign(flags, flags)), | |
1367 | TP_printk() | |
1368 | ) | |
1369 | #endif | |
1370 | #ifndef OVERRIDE_32_sys_rt_tgsigqueueinfo | |
1371 | SC_TRACE_EVENT(sys_rt_tgsigqueueinfo, | |
1372 | TP_PROTO(pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), | |
1373 | TP_ARGS(tgid, pid, sig, uinfo), | |
1374 | TP_STRUCT__entry(__field(pid_t, tgid) __field(pid_t, pid) __field(int, sig) __field_hex(siginfo_t *, uinfo)), | |
1375 | TP_fast_assign(tp_assign(tgid, tgid) tp_assign(pid, pid) tp_assign(sig, sig) tp_assign(uinfo, uinfo)), | |
1376 | TP_printk() | |
1377 | ) | |
1378 | #endif | |
1379 | #ifndef OVERRIDE_32_sys_accept4 | |
1380 | SC_TRACE_EVENT(sys_accept4, | |
1381 | TP_PROTO(int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), | |
1382 | TP_ARGS(fd, upeer_sockaddr, upeer_addrlen, flags), | |
1383 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, upeer_sockaddr) __field_hex(int *, upeer_addrlen) __field(int, flags)), | |
1384 | TP_fast_assign(tp_assign(fd, fd) tp_assign(upeer_sockaddr, upeer_sockaddr) tp_assign(upeer_addrlen, upeer_addrlen) tp_assign(flags, flags)), | |
1385 | TP_printk() | |
1386 | ) | |
1387 | #endif | |
1388 | #ifndef OVERRIDE_32_sys_prlimit64 | |
1389 | SC_TRACE_EVENT(sys_prlimit64, | |
1390 | TP_PROTO(pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), | |
1391 | TP_ARGS(pid, resource, new_rlim, old_rlim), | |
1392 | TP_STRUCT__entry(__field(pid_t, pid) __field(unsigned int, resource) __field_hex(const struct rlimit64 *, new_rlim) __field_hex(struct rlimit64 *, old_rlim)), | |
1393 | TP_fast_assign(tp_assign(pid, pid) tp_assign(resource, resource) tp_assign(new_rlim, new_rlim) tp_assign(old_rlim, old_rlim)), | |
1394 | TP_printk() | |
1395 | ) | |
1396 | #endif | |
1397 | #ifndef OVERRIDE_32_sys_mount | |
1398 | SC_TRACE_EVENT(sys_mount, | |
1399 | TP_PROTO(char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), | |
1400 | TP_ARGS(dev_name, dir_name, type, flags, data), | |
1401 | TP_STRUCT__entry(__string_from_user(dev_name, dev_name) __string_from_user(dir_name, dir_name) __string_from_user(type, type) __field(unsigned long, flags) __field_hex(void *, data)), | |
1402 | TP_fast_assign(tp_copy_string_from_user(dev_name, dev_name) tp_copy_string_from_user(dir_name, dir_name) tp_copy_string_from_user(type, type) tp_assign(flags, flags) tp_assign(data, data)), | |
1403 | TP_printk() | |
1404 | ) | |
1405 | #endif | |
1406 | #ifndef OVERRIDE_32_sys_llseek | |
1407 | SC_TRACE_EVENT(sys_llseek, | |
1408 | TP_PROTO(unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int origin), | |
1409 | TP_ARGS(fd, offset_high, offset_low, result, origin), | |
1410 | TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned long, offset_high) __field(unsigned long, offset_low) __field_hex(loff_t *, result) __field(unsigned int, origin)), | |
1411 | TP_fast_assign(tp_assign(fd, fd) tp_assign(offset_high, offset_high) tp_assign(offset_low, offset_low) tp_assign(result, result) tp_assign(origin, origin)), | |
1412 | TP_printk() | |
1413 | ) | |
1414 | #endif | |
1415 | #ifndef OVERRIDE_32_sys_select | |
1416 | SC_TRACE_EVENT(sys_select, | |
1417 | TP_PROTO(int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), | |
1418 | TP_ARGS(n, inp, outp, exp, tvp), | |
1419 | TP_STRUCT__entry(__field(int, n) __field_hex(fd_set *, inp) __field_hex(fd_set *, outp) __field_hex(fd_set *, exp) __field_hex(struct timeval *, tvp)), | |
1420 | TP_fast_assign(tp_assign(n, n) tp_assign(inp, inp) tp_assign(outp, outp) tp_assign(exp, exp) tp_assign(tvp, tvp)), | |
1421 | TP_printk() | |
1422 | ) | |
1423 | #endif | |
1424 | #ifndef OVERRIDE_32_sys_setxattr | |
1425 | SC_TRACE_EVENT(sys_setxattr, | |
1426 | TP_PROTO(const char * pathname, const char * name, const void * value, size_t size, int flags), | |
1427 | TP_ARGS(pathname, name, value, size, flags), | |
1428 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), | |
1429 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size) tp_assign(flags, flags)), | |
1430 | TP_printk() | |
1431 | ) | |
1432 | #endif | |
1433 | #ifndef OVERRIDE_32_sys_lsetxattr | |
1434 | SC_TRACE_EVENT(sys_lsetxattr, | |
1435 | TP_PROTO(const char * pathname, const char * name, const void * value, size_t size, int flags), | |
1436 | TP_ARGS(pathname, name, value, size, flags), | |
1437 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), | |
1438 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size) tp_assign(flags, flags)), | |
1439 | TP_printk() | |
1440 | ) | |
1441 | #endif | |
1442 | #ifndef OVERRIDE_32_sys_fsetxattr | |
1443 | SC_TRACE_EVENT(sys_fsetxattr, | |
1444 | TP_PROTO(int fd, const char * name, const void * value, size_t size, int flags), | |
1445 | TP_ARGS(fd, name, value, size, flags), | |
1446 | TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), | |
1447 | TP_fast_assign(tp_assign(fd, fd) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size) tp_assign(flags, flags)), | |
1448 | TP_printk() | |
1449 | ) | |
1450 | #endif | |
1451 | #ifndef OVERRIDE_32_sys_io_getevents | |
1452 | SC_TRACE_EVENT(sys_io_getevents, | |
1453 | TP_PROTO(aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), | |
1454 | TP_ARGS(ctx_id, min_nr, nr, events, timeout), | |
1455 | TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field(long, min_nr) __field(long, nr) __field_hex(struct io_event *, events) __field_hex(struct timespec *, timeout)), | |
1456 | TP_fast_assign(tp_assign(ctx_id, ctx_id) tp_assign(min_nr, min_nr) tp_assign(nr, nr) tp_assign(events, events) tp_assign(timeout, timeout)), | |
1457 | TP_printk() | |
1458 | ) | |
1459 | #endif | |
1460 | #ifndef OVERRIDE_32_sys_mq_timedsend | |
1461 | SC_TRACE_EVENT(sys_mq_timedsend, | |
1462 | TP_PROTO(mqd_t mqdes, const char * u_msg_ptr, size_t msg_len, unsigned int msg_prio, const struct timespec * u_abs_timeout), | |
1463 | TP_ARGS(mqdes, u_msg_ptr, msg_len, msg_prio, u_abs_timeout), | |
1464 | TP_STRUCT__entry(__field(mqd_t, mqdes) __field_hex(const char *, u_msg_ptr) __field(size_t, msg_len) __field(unsigned int, msg_prio) __field_hex(const struct timespec *, u_abs_timeout)), | |
1465 | TP_fast_assign(tp_assign(mqdes, mqdes) tp_assign(u_msg_ptr, u_msg_ptr) tp_assign(msg_len, msg_len) tp_assign(msg_prio, msg_prio) tp_assign(u_abs_timeout, u_abs_timeout)), | |
1466 | TP_printk() | |
1467 | ) | |
1468 | #endif | |
1469 | #ifndef OVERRIDE_32_sys_mq_timedreceive | |
1470 | SC_TRACE_EVENT(sys_mq_timedreceive, | |
1471 | TP_PROTO(mqd_t mqdes, char * u_msg_ptr, size_t msg_len, unsigned int * u_msg_prio, const struct timespec * u_abs_timeout), | |
1472 | TP_ARGS(mqdes, u_msg_ptr, msg_len, u_msg_prio, u_abs_timeout), | |
1473 | TP_STRUCT__entry(__field(mqd_t, mqdes) __field_hex(char *, u_msg_ptr) __field(size_t, msg_len) __field_hex(unsigned int *, u_msg_prio) __field_hex(const struct timespec *, u_abs_timeout)), | |
1474 | TP_fast_assign(tp_assign(mqdes, mqdes) tp_assign(u_msg_ptr, u_msg_ptr) tp_assign(msg_len, msg_len) tp_assign(u_msg_prio, u_msg_prio) tp_assign(u_abs_timeout, u_abs_timeout)), | |
1475 | TP_printk() | |
1476 | ) | |
1477 | #endif | |
1478 | #ifndef OVERRIDE_32_sys_waitid | |
1479 | SC_TRACE_EVENT(sys_waitid, | |
1480 | TP_PROTO(int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), | |
1481 | TP_ARGS(which, upid, infop, options, ru), | |
1482 | TP_STRUCT__entry(__field(int, which) __field(pid_t, upid) __field_hex(struct siginfo *, infop) __field(int, options) __field_hex(struct rusage *, ru)), | |
1483 | TP_fast_assign(tp_assign(which, which) tp_assign(upid, upid) tp_assign(infop, infop) tp_assign(options, options) tp_assign(ru, ru)), | |
1484 | TP_printk() | |
1485 | ) | |
1486 | #endif | |
1487 | #ifndef OVERRIDE_32_sys_setsockopt | |
1488 | SC_TRACE_EVENT(sys_setsockopt, | |
1489 | TP_PROTO(int fd, int level, int optname, char * optval, int optlen), | |
1490 | TP_ARGS(fd, level, optname, optval, optlen), | |
1491 | TP_STRUCT__entry(__field(int, fd) __field(int, level) __field(int, optname) __field_hex(char *, optval) __field(int, optlen)), | |
1492 | TP_fast_assign(tp_assign(fd, fd) tp_assign(level, level) tp_assign(optname, optname) tp_assign(optval, optval) tp_assign(optlen, optlen)), | |
1493 | TP_printk() | |
1494 | ) | |
1495 | #endif | |
1496 | #ifndef OVERRIDE_32_sys_getsockopt | |
1497 | SC_TRACE_EVENT(sys_getsockopt, | |
1498 | TP_PROTO(int fd, int level, int optname, char * optval, int * optlen), | |
1499 | TP_ARGS(fd, level, optname, optval, optlen), | |
1500 | TP_STRUCT__entry(__field(int, fd) __field(int, level) __field(int, optname) __field_hex(char *, optval) __field_hex(int *, optlen)), | |
1501 | TP_fast_assign(tp_assign(fd, fd) tp_assign(level, level) tp_assign(optname, optname) tp_assign(optval, optval) tp_assign(optlen, optlen)), | |
1502 | TP_printk() | |
1503 | ) | |
1504 | #endif | |
1505 | #ifndef OVERRIDE_32_sys_msgrcv | |
1506 | SC_TRACE_EVENT(sys_msgrcv, | |
1507 | TP_PROTO(int msqid, struct msgbuf * msgp, size_t msgsz, long msgtyp, int msgflg), | |
1508 | TP_ARGS(msqid, msgp, msgsz, msgtyp, msgflg), | |
1509 | TP_STRUCT__entry(__field(int, msqid) __field_hex(struct msgbuf *, msgp) __field(size_t, msgsz) __field(long, msgtyp) __field(int, msgflg)), | |
1510 | TP_fast_assign(tp_assign(msqid, msqid) tp_assign(msgp, msgp) tp_assign(msgsz, msgsz) tp_assign(msgtyp, msgtyp) tp_assign(msgflg, msgflg)), | |
1511 | TP_printk() | |
1512 | ) | |
1513 | #endif | |
1514 | #ifndef OVERRIDE_32_sys_add_key | |
1515 | SC_TRACE_EVENT(sys_add_key, | |
1516 | TP_PROTO(const char * _type, const char * _description, const void * _payload, size_t plen, key_serial_t ringid), | |
1517 | TP_ARGS(_type, _description, _payload, plen, ringid), | |
1518 | TP_STRUCT__entry(__string_from_user(_type, _type) __field_hex(const char *, _description) __field_hex(const void *, _payload) __field(size_t, plen) __field(key_serial_t, ringid)), | |
1519 | TP_fast_assign(tp_copy_string_from_user(_type, _type) tp_assign(_description, _description) tp_assign(_payload, _payload) tp_assign(plen, plen) tp_assign(ringid, ringid)), | |
1520 | TP_printk() | |
1521 | ) | |
1522 | #endif | |
1523 | #ifndef OVERRIDE_32_sys_fchownat | |
1524 | SC_TRACE_EVENT(sys_fchownat, | |
1525 | TP_PROTO(int dfd, const char * filename, uid_t user, gid_t group, int flag), | |
1526 | TP_ARGS(dfd, filename, user, group, flag), | |
1527 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group) __field(int, flag)), | |
1528 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(user, user) tp_assign(group, group) tp_assign(flag, flag)), | |
1529 | TP_printk() | |
1530 | ) | |
1531 | #endif | |
1532 | #ifndef OVERRIDE_32_sys_linkat | |
1533 | SC_TRACE_EVENT(sys_linkat, | |
1534 | TP_PROTO(int olddfd, const char * oldname, int newdfd, const char * newname, int flags), | |
1535 | TP_ARGS(olddfd, oldname, newdfd, newname, flags), | |
1536 | TP_STRUCT__entry(__field(int, olddfd) __string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname) __field(int, flags)), | |
1537 | TP_fast_assign(tp_assign(olddfd, olddfd) tp_copy_string_from_user(oldname, oldname) tp_assign(newdfd, newdfd) tp_copy_string_from_user(newname, newname) tp_assign(flags, flags)), | |
1538 | TP_printk() | |
1539 | ) | |
1540 | #endif | |
1541 | #ifndef OVERRIDE_32_sys_ppoll | |
1542 | SC_TRACE_EVENT(sys_ppoll, | |
1543 | TP_PROTO(struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), | |
1544 | TP_ARGS(ufds, nfds, tsp, sigmask, sigsetsize), | |
1545 | TP_STRUCT__entry(__field_hex(struct pollfd *, ufds) __field(unsigned int, nfds) __field_hex(struct timespec *, tsp) __field_hex(const sigset_t *, sigmask) __field(size_t, sigsetsize)), | |
1546 | TP_fast_assign(tp_assign(ufds, ufds) tp_assign(nfds, nfds) tp_assign(tsp, tsp) tp_assign(sigmask, sigmask) tp_assign(sigsetsize, sigsetsize)), | |
1547 | TP_printk() | |
1548 | ) | |
1549 | #endif | |
1550 | #ifndef OVERRIDE_32_sys_preadv | |
1551 | SC_TRACE_EVENT(sys_preadv, | |
1552 | TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), | |
1553 | TP_ARGS(fd, vec, vlen, pos_l, pos_h), | |
1554 | TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen) __field(unsigned long, pos_l) __field(unsigned long, pos_h)), | |
1555 | TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen) tp_assign(pos_l, pos_l) tp_assign(pos_h, pos_h)), | |
1556 | TP_printk() | |
1557 | ) | |
1558 | #endif | |
1559 | #ifndef OVERRIDE_32_sys_pwritev | |
1560 | SC_TRACE_EVENT(sys_pwritev, | |
1561 | TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), | |
1562 | TP_ARGS(fd, vec, vlen, pos_l, pos_h), | |
1563 | TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen) __field(unsigned long, pos_l) __field(unsigned long, pos_h)), | |
1564 | TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen) tp_assign(pos_l, pos_l) tp_assign(pos_h, pos_h)), | |
1565 | TP_printk() | |
1566 | ) | |
1567 | #endif | |
1568 | #ifndef OVERRIDE_32_sys_recvmmsg | |
1569 | SC_TRACE_EVENT(sys_recvmmsg, | |
1570 | TP_PROTO(int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), | |
1571 | TP_ARGS(fd, mmsg, vlen, flags, timeout), | |
1572 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct mmsghdr *, mmsg) __field(unsigned int, vlen) __field(unsigned int, flags) __field_hex(struct timespec *, timeout)), | |
1573 | TP_fast_assign(tp_assign(fd, fd) tp_assign(mmsg, mmsg) tp_assign(vlen, vlen) tp_assign(flags, flags) tp_assign(timeout, timeout)), | |
1574 | TP_printk() | |
1575 | ) | |
1576 | #endif | |
1577 | #ifndef OVERRIDE_32_sys_futex | |
1578 | SC_TRACE_EVENT(sys_futex, | |
1579 | TP_PROTO(u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), | |
1580 | TP_ARGS(uaddr, op, val, utime, uaddr2, val3), | |
1581 | TP_STRUCT__entry(__field_hex(u32 *, uaddr) __field(int, op) __field(u32, val) __field_hex(struct timespec *, utime) __field_hex(u32 *, uaddr2) __field(u32, val3)), | |
1582 | TP_fast_assign(tp_assign(uaddr, uaddr) tp_assign(op, op) tp_assign(val, val) tp_assign(utime, utime) tp_assign(uaddr2, uaddr2) tp_assign(val3, val3)), | |
1583 | TP_printk() | |
1584 | ) | |
1585 | #endif | |
1586 | #ifndef OVERRIDE_32_sys_sendto | |
1587 | SC_TRACE_EVENT(sys_sendto, | |
1588 | TP_PROTO(int fd, void * buff, size_t len, unsigned flags, struct sockaddr * addr, int addr_len), | |
1589 | TP_ARGS(fd, buff, len, flags, addr, addr_len), | |
1590 | TP_STRUCT__entry(__field(int, fd) __field_hex(void *, buff) __field(size_t, len) __field(unsigned, flags) __field_hex(struct sockaddr *, addr) __field_hex(int, addr_len)), | |
1591 | TP_fast_assign(tp_assign(fd, fd) tp_assign(buff, buff) tp_assign(len, len) tp_assign(flags, flags) tp_assign(addr, addr) tp_assign(addr_len, addr_len)), | |
1592 | TP_printk() | |
1593 | ) | |
1594 | #endif | |
1595 | #ifndef OVERRIDE_32_sys_recvfrom | |
1596 | SC_TRACE_EVENT(sys_recvfrom, | |
1597 | TP_PROTO(int fd, void * ubuf, size_t size, unsigned flags, struct sockaddr * addr, int * addr_len), | |
1598 | TP_ARGS(fd, ubuf, size, flags, addr, addr_len), | |
1599 | TP_STRUCT__entry(__field(int, fd) __field_hex(void *, ubuf) __field(size_t, size) __field(unsigned, flags) __field_hex(struct sockaddr *, addr) __field_hex(int *, addr_len)), | |
1600 | TP_fast_assign(tp_assign(fd, fd) tp_assign(ubuf, ubuf) tp_assign(size, size) tp_assign(flags, flags) tp_assign(addr, addr) tp_assign(addr_len, addr_len)), | |
1601 | TP_printk() | |
1602 | ) | |
1603 | #endif | |
1604 | #ifndef OVERRIDE_32_sys_pselect6 | |
1605 | SC_TRACE_EVENT(sys_pselect6, | |
1606 | TP_PROTO(int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), | |
1607 | TP_ARGS(n, inp, outp, exp, tsp, sig), | |
1608 | TP_STRUCT__entry(__field(int, n) __field_hex(fd_set *, inp) __field_hex(fd_set *, outp) __field_hex(fd_set *, exp) __field_hex(struct timespec *, tsp) __field_hex(void *, sig)), | |
1609 | TP_fast_assign(tp_assign(n, n) tp_assign(inp, inp) tp_assign(outp, outp) tp_assign(exp, exp) tp_assign(tsp, tsp) tp_assign(sig, sig)), | |
1610 | TP_printk() | |
1611 | ) | |
1612 | #endif | |
1613 | #ifndef OVERRIDE_32_sys_splice | |
1614 | SC_TRACE_EVENT(sys_splice, | |
1615 | TP_PROTO(int fd_in, loff_t * off_in, int fd_out, loff_t * off_out, size_t len, unsigned int flags), | |
1616 | TP_ARGS(fd_in, off_in, fd_out, off_out, len, flags), | |
1617 | TP_STRUCT__entry(__field(int, fd_in) __field_hex(loff_t *, off_in) __field(int, fd_out) __field_hex(loff_t *, off_out) __field(size_t, len) __field(unsigned int, flags)), | |
1618 | TP_fast_assign(tp_assign(fd_in, fd_in) tp_assign(off_in, off_in) tp_assign(fd_out, fd_out) tp_assign(off_out, off_out) tp_assign(len, len) tp_assign(flags, flags)), | |
1619 | TP_printk() | |
1620 | ) | |
1621 | #endif | |
1622 | #ifndef OVERRIDE_32_sys_epoll_pwait | |
1623 | SC_TRACE_EVENT(sys_epoll_pwait, | |
1624 | TP_PROTO(int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), | |
1625 | TP_ARGS(epfd, events, maxevents, timeout, sigmask, sigsetsize), | |
1626 | TP_STRUCT__entry(__field(int, epfd) __field_hex(struct epoll_event *, events) __field(int, maxevents) __field(int, timeout) __field_hex(const sigset_t *, sigmask) __field(size_t, sigsetsize)), | |
1627 | TP_fast_assign(tp_assign(epfd, epfd) tp_assign(events, events) tp_assign(maxevents, maxevents) tp_assign(timeout, timeout) tp_assign(sigmask, sigmask) tp_assign(sigsetsize, sigsetsize)), | |
1628 | TP_printk() | |
1629 | ) | |
1630 | #endif | |
1631 | ||
1632 | #endif /* _TRACE_SYSCALLS_POINTERS_H */ | |
1633 | ||
1634 | /* This part must be outside protection */ | |
1635 | #include "../../../probes/define_trace.h" | |
1636 | ||
1637 | #else /* CREATE_SYSCALL_TABLE */ | |
1638 | ||
1639 | #include "arm-32-syscalls-2.6.38_pointers_override.h" | |
1640 | #include "syscalls_pointers_override.h" | |
1641 | ||
1642 | #ifndef OVERRIDE_TABLE_32_sys_read | |
1643 | TRACE_SYSCALL_TABLE(sys_read, sys_read, 3, 3) | |
1644 | #endif | |
1645 | #ifndef OVERRIDE_TABLE_32_sys_write | |
1646 | TRACE_SYSCALL_TABLE(sys_write, sys_write, 4, 3) | |
1647 | #endif | |
1648 | #ifndef OVERRIDE_TABLE_32_sys_open | |
1649 | TRACE_SYSCALL_TABLE(sys_open, sys_open, 5, 3) | |
1650 | #endif | |
1651 | #ifndef OVERRIDE_TABLE_32_sys_creat | |
1652 | TRACE_SYSCALL_TABLE(sys_creat, sys_creat, 8, 2) | |
1653 | #endif | |
1654 | #ifndef OVERRIDE_TABLE_32_sys_link | |
1655 | TRACE_SYSCALL_TABLE(sys_link, sys_link, 9, 2) | |
1656 | #endif | |
1657 | #ifndef OVERRIDE_TABLE_32_sys_unlink | |
1658 | TRACE_SYSCALL_TABLE(sys_unlink, sys_unlink, 10, 1) | |
1659 | #endif | |
1660 | #ifndef OVERRIDE_TABLE_32_sys_chdir | |
1661 | TRACE_SYSCALL_TABLE(sys_chdir, sys_chdir, 12, 1) | |
1662 | #endif | |
1663 | #ifndef OVERRIDE_TABLE_32_sys_mknod | |
1664 | TRACE_SYSCALL_TABLE(sys_mknod, sys_mknod, 14, 3) | |
1665 | #endif | |
1666 | #ifndef OVERRIDE_TABLE_32_sys_chmod | |
1667 | TRACE_SYSCALL_TABLE(sys_chmod, sys_chmod, 15, 2) | |
1668 | #endif | |
1669 | #ifndef OVERRIDE_TABLE_32_sys_lchown16 | |
1670 | TRACE_SYSCALL_TABLE(sys_lchown16, sys_lchown16, 16, 3) | |
1671 | #endif | |
1672 | #ifndef OVERRIDE_TABLE_32_sys_mount | |
1673 | TRACE_SYSCALL_TABLE(sys_mount, sys_mount, 21, 5) | |
1674 | #endif | |
1675 | #ifndef OVERRIDE_TABLE_32_sys_access | |
1676 | TRACE_SYSCALL_TABLE(sys_access, sys_access, 33, 2) | |
1677 | #endif | |
1678 | #ifndef OVERRIDE_TABLE_32_sys_rename | |
1679 | TRACE_SYSCALL_TABLE(sys_rename, sys_rename, 38, 2) | |
1680 | #endif | |
1681 | #ifndef OVERRIDE_TABLE_32_sys_mkdir | |
1682 | TRACE_SYSCALL_TABLE(sys_mkdir, sys_mkdir, 39, 2) | |
1683 | #endif | |
1684 | #ifndef OVERRIDE_TABLE_32_sys_rmdir | |
1685 | TRACE_SYSCALL_TABLE(sys_rmdir, sys_rmdir, 40, 1) | |
1686 | #endif | |
1687 | #ifndef OVERRIDE_TABLE_32_sys_pipe | |
1688 | TRACE_SYSCALL_TABLE(sys_pipe, sys_pipe, 42, 1) | |
1689 | #endif | |
1690 | #ifndef OVERRIDE_TABLE_32_sys_times | |
1691 | TRACE_SYSCALL_TABLE(sys_times, sys_times, 43, 1) | |
1692 | #endif | |
1693 | #ifndef OVERRIDE_TABLE_32_sys_umount | |
1694 | TRACE_SYSCALL_TABLE(sys_umount, sys_umount, 52, 2) | |
1695 | #endif | |
1696 | #ifndef OVERRIDE_TABLE_32_sys_chroot | |
1697 | TRACE_SYSCALL_TABLE(sys_chroot, sys_chroot, 61, 1) | |
1698 | #endif | |
1699 | #ifndef OVERRIDE_TABLE_32_sys_ustat | |
1700 | TRACE_SYSCALL_TABLE(sys_ustat, sys_ustat, 62, 2) | |
1701 | #endif | |
1702 | #ifndef OVERRIDE_TABLE_32_sys_sigpending | |
1703 | TRACE_SYSCALL_TABLE(sys_sigpending, sys_sigpending, 73, 1) | |
1704 | #endif | |
1705 | #ifndef OVERRIDE_TABLE_32_sys_sethostname | |
1706 | TRACE_SYSCALL_TABLE(sys_sethostname, sys_sethostname, 74, 2) | |
1707 | #endif | |
1708 | #ifndef OVERRIDE_TABLE_32_sys_setrlimit | |
1709 | TRACE_SYSCALL_TABLE(sys_setrlimit, sys_setrlimit, 75, 2) | |
1710 | #endif | |
1711 | #ifndef OVERRIDE_TABLE_32_sys_getrusage | |
1712 | TRACE_SYSCALL_TABLE(sys_getrusage, sys_getrusage, 77, 2) | |
1713 | #endif | |
1714 | #ifndef OVERRIDE_TABLE_32_sys_gettimeofday | |
1715 | TRACE_SYSCALL_TABLE(sys_gettimeofday, sys_gettimeofday, 78, 2) | |
1716 | #endif | |
1717 | #ifndef OVERRIDE_TABLE_32_sys_settimeofday | |
1718 | TRACE_SYSCALL_TABLE(sys_settimeofday, sys_settimeofday, 79, 2) | |
1719 | #endif | |
1720 | #ifndef OVERRIDE_TABLE_32_sys_getgroups16 | |
1721 | TRACE_SYSCALL_TABLE(sys_getgroups16, sys_getgroups16, 80, 2) | |
1722 | #endif | |
1723 | #ifndef OVERRIDE_TABLE_32_sys_setgroups16 | |
1724 | TRACE_SYSCALL_TABLE(sys_setgroups16, sys_setgroups16, 81, 2) | |
1725 | #endif | |
1726 | #ifndef OVERRIDE_TABLE_32_sys_symlink | |
1727 | TRACE_SYSCALL_TABLE(sys_symlink, sys_symlink, 83, 2) | |
1728 | #endif | |
1729 | #ifndef OVERRIDE_TABLE_32_sys_readlink | |
1730 | TRACE_SYSCALL_TABLE(sys_readlink, sys_readlink, 85, 3) | |
1731 | #endif | |
1732 | #ifndef OVERRIDE_TABLE_32_sys_uselib | |
1733 | TRACE_SYSCALL_TABLE(sys_uselib, sys_uselib, 86, 1) | |
1734 | #endif | |
1735 | #ifndef OVERRIDE_TABLE_32_sys_reboot | |
1736 | TRACE_SYSCALL_TABLE(sys_reboot, sys_reboot, 88, 4) | |
1737 | #endif | |
1738 | #ifndef OVERRIDE_TABLE_32_sys_truncate | |
1739 | TRACE_SYSCALL_TABLE(sys_truncate, sys_truncate, 92, 2) | |
1740 | #endif | |
1741 | #ifndef OVERRIDE_TABLE_32_sys_statfs | |
1742 | TRACE_SYSCALL_TABLE(sys_statfs, sys_statfs, 99, 2) | |
1743 | #endif | |
1744 | #ifndef OVERRIDE_TABLE_32_sys_fstatfs | |
1745 | TRACE_SYSCALL_TABLE(sys_fstatfs, sys_fstatfs, 100, 2) | |
1746 | #endif | |
1747 | #ifndef OVERRIDE_TABLE_32_sys_syslog | |
1748 | TRACE_SYSCALL_TABLE(sys_syslog, sys_syslog, 103, 3) | |
1749 | #endif | |
1750 | #ifndef OVERRIDE_TABLE_32_sys_setitimer | |
1751 | TRACE_SYSCALL_TABLE(sys_setitimer, sys_setitimer, 104, 3) | |
1752 | #endif | |
1753 | #ifndef OVERRIDE_TABLE_32_sys_getitimer | |
1754 | TRACE_SYSCALL_TABLE(sys_getitimer, sys_getitimer, 105, 2) | |
1755 | #endif | |
1756 | #ifndef OVERRIDE_TABLE_32_sys_newstat | |
1757 | TRACE_SYSCALL_TABLE(sys_newstat, sys_newstat, 106, 2) | |
1758 | #endif | |
1759 | #ifndef OVERRIDE_TABLE_32_sys_newlstat | |
1760 | TRACE_SYSCALL_TABLE(sys_newlstat, sys_newlstat, 107, 2) | |
1761 | #endif | |
1762 | #ifndef OVERRIDE_TABLE_32_sys_newfstat | |
1763 | TRACE_SYSCALL_TABLE(sys_newfstat, sys_newfstat, 108, 2) | |
1764 | #endif | |
1765 | #ifndef OVERRIDE_TABLE_32_sys_wait4 | |
1766 | TRACE_SYSCALL_TABLE(sys_wait4, sys_wait4, 114, 4) | |
1767 | #endif | |
1768 | #ifndef OVERRIDE_TABLE_32_sys_sysinfo | |
1769 | TRACE_SYSCALL_TABLE(sys_sysinfo, sys_sysinfo, 116, 1) | |
1770 | #endif | |
1771 | #ifndef OVERRIDE_TABLE_32_sys_setdomainname | |
1772 | TRACE_SYSCALL_TABLE(sys_setdomainname, sys_setdomainname, 121, 2) | |
1773 | #endif | |
1774 | #ifndef OVERRIDE_TABLE_32_sys_newuname | |
1775 | TRACE_SYSCALL_TABLE(sys_newuname, sys_newuname, 122, 1) | |
1776 | #endif | |
1777 | #ifndef OVERRIDE_TABLE_32_sys_adjtimex | |
1778 | TRACE_SYSCALL_TABLE(sys_adjtimex, sys_adjtimex, 124, 1) | |
1779 | #endif | |
1780 | #ifndef OVERRIDE_TABLE_32_sys_sigprocmask | |
1781 | TRACE_SYSCALL_TABLE(sys_sigprocmask, sys_sigprocmask, 126, 3) | |
1782 | #endif | |
1783 | #ifndef OVERRIDE_TABLE_32_sys_init_module | |
1784 | TRACE_SYSCALL_TABLE(sys_init_module, sys_init_module, 128, 3) | |
1785 | #endif | |
1786 | #ifndef OVERRIDE_TABLE_32_sys_delete_module | |
1787 | TRACE_SYSCALL_TABLE(sys_delete_module, sys_delete_module, 129, 2) | |
1788 | #endif | |
1789 | #ifndef OVERRIDE_TABLE_32_sys_llseek | |
1790 | TRACE_SYSCALL_TABLE(sys_llseek, sys_llseek, 140, 5) | |
1791 | #endif | |
1792 | #ifndef OVERRIDE_TABLE_32_sys_getdents | |
1793 | TRACE_SYSCALL_TABLE(sys_getdents, sys_getdents, 141, 3) | |
1794 | #endif | |
1795 | #ifndef OVERRIDE_TABLE_32_sys_select | |
1796 | TRACE_SYSCALL_TABLE(sys_select, sys_select, 142, 5) | |
1797 | #endif | |
1798 | #ifndef OVERRIDE_TABLE_32_sys_readv | |
1799 | TRACE_SYSCALL_TABLE(sys_readv, sys_readv, 145, 3) | |
1800 | #endif | |
1801 | #ifndef OVERRIDE_TABLE_32_sys_writev | |
1802 | TRACE_SYSCALL_TABLE(sys_writev, sys_writev, 146, 3) | |
1803 | #endif | |
1804 | #ifndef OVERRIDE_TABLE_32_sys_sysctl | |
1805 | TRACE_SYSCALL_TABLE(sys_sysctl, sys_sysctl, 149, 1) | |
1806 | #endif | |
1807 | #ifndef OVERRIDE_TABLE_32_sys_sched_setparam | |
1808 | TRACE_SYSCALL_TABLE(sys_sched_setparam, sys_sched_setparam, 154, 2) | |
1809 | #endif | |
1810 | #ifndef OVERRIDE_TABLE_32_sys_sched_getparam | |
1811 | TRACE_SYSCALL_TABLE(sys_sched_getparam, sys_sched_getparam, 155, 2) | |
1812 | #endif | |
1813 | #ifndef OVERRIDE_TABLE_32_sys_sched_setscheduler | |
1814 | TRACE_SYSCALL_TABLE(sys_sched_setscheduler, sys_sched_setscheduler, 156, 3) | |
1815 | #endif | |
1816 | #ifndef OVERRIDE_TABLE_32_sys_sched_rr_get_interval | |
1817 | TRACE_SYSCALL_TABLE(sys_sched_rr_get_interval, sys_sched_rr_get_interval, 161, 2) | |
1818 | #endif | |
1819 | #ifndef OVERRIDE_TABLE_32_sys_nanosleep | |
1820 | TRACE_SYSCALL_TABLE(sys_nanosleep, sys_nanosleep, 162, 2) | |
1821 | #endif | |
1822 | #ifndef OVERRIDE_TABLE_32_sys_getresuid16 | |
1823 | TRACE_SYSCALL_TABLE(sys_getresuid16, sys_getresuid16, 165, 3) | |
1824 | #endif | |
1825 | #ifndef OVERRIDE_TABLE_32_sys_poll | |
1826 | TRACE_SYSCALL_TABLE(sys_poll, sys_poll, 168, 3) | |
1827 | #endif | |
1828 | #ifndef OVERRIDE_TABLE_32_sys_getresgid16 | |
1829 | TRACE_SYSCALL_TABLE(sys_getresgid16, sys_getresgid16, 171, 3) | |
1830 | #endif | |
1831 | #ifndef OVERRIDE_TABLE_32_sys_rt_sigaction | |
1832 | TRACE_SYSCALL_TABLE(sys_rt_sigaction, sys_rt_sigaction, 174, 4) | |
1833 | #endif | |
1834 | #ifndef OVERRIDE_TABLE_32_sys_rt_sigprocmask | |
1835 | TRACE_SYSCALL_TABLE(sys_rt_sigprocmask, sys_rt_sigprocmask, 175, 4) | |
1836 | #endif | |
1837 | #ifndef OVERRIDE_TABLE_32_sys_rt_sigpending | |
1838 | TRACE_SYSCALL_TABLE(sys_rt_sigpending, sys_rt_sigpending, 176, 2) | |
1839 | #endif | |
1840 | #ifndef OVERRIDE_TABLE_32_sys_rt_sigtimedwait | |
1841 | TRACE_SYSCALL_TABLE(sys_rt_sigtimedwait, sys_rt_sigtimedwait, 177, 4) | |
1842 | #endif | |
1843 | #ifndef OVERRIDE_TABLE_32_sys_rt_sigqueueinfo | |
1844 | TRACE_SYSCALL_TABLE(sys_rt_sigqueueinfo, sys_rt_sigqueueinfo, 178, 3) | |
1845 | #endif | |
1846 | #ifndef OVERRIDE_TABLE_32_sys_rt_sigsuspend | |
1847 | TRACE_SYSCALL_TABLE(sys_rt_sigsuspend, sys_rt_sigsuspend, 179, 2) | |
1848 | #endif | |
1849 | #ifndef OVERRIDE_TABLE_32_sys_chown16 | |
1850 | TRACE_SYSCALL_TABLE(sys_chown16, sys_chown16, 182, 3) | |
1851 | #endif | |
1852 | #ifndef OVERRIDE_TABLE_32_sys_getcwd | |
1853 | TRACE_SYSCALL_TABLE(sys_getcwd, sys_getcwd, 183, 2) | |
1854 | #endif | |
1855 | #ifndef OVERRIDE_TABLE_32_sys_sendfile | |
1856 | TRACE_SYSCALL_TABLE(sys_sendfile, sys_sendfile, 187, 4) | |
1857 | #endif | |
1858 | #ifndef OVERRIDE_TABLE_32_sys_getrlimit | |
1859 | TRACE_SYSCALL_TABLE(sys_getrlimit, sys_getrlimit, 191, 2) | |
1860 | #endif | |
1861 | #ifndef OVERRIDE_TABLE_32_sys_stat64 | |
1862 | TRACE_SYSCALL_TABLE(sys_stat64, sys_stat64, 195, 2) | |
1863 | #endif | |
1864 | #ifndef OVERRIDE_TABLE_32_sys_lstat64 | |
1865 | TRACE_SYSCALL_TABLE(sys_lstat64, sys_lstat64, 196, 2) | |
1866 | #endif | |
1867 | #ifndef OVERRIDE_TABLE_32_sys_fstat64 | |
1868 | TRACE_SYSCALL_TABLE(sys_fstat64, sys_fstat64, 197, 2) | |
1869 | #endif | |
1870 | #ifndef OVERRIDE_TABLE_32_sys_lchown | |
1871 | TRACE_SYSCALL_TABLE(sys_lchown, sys_lchown, 198, 3) | |
1872 | #endif | |
1873 | #ifndef OVERRIDE_TABLE_32_sys_getgroups | |
1874 | TRACE_SYSCALL_TABLE(sys_getgroups, sys_getgroups, 205, 2) | |
1875 | #endif | |
1876 | #ifndef OVERRIDE_TABLE_32_sys_setgroups | |
1877 | TRACE_SYSCALL_TABLE(sys_setgroups, sys_setgroups, 206, 2) | |
1878 | #endif | |
1879 | #ifndef OVERRIDE_TABLE_32_sys_getresuid | |
1880 | TRACE_SYSCALL_TABLE(sys_getresuid, sys_getresuid, 209, 3) | |
1881 | #endif | |
1882 | #ifndef OVERRIDE_TABLE_32_sys_getresgid | |
1883 | TRACE_SYSCALL_TABLE(sys_getresgid, sys_getresgid, 211, 3) | |
1884 | #endif | |
1885 | #ifndef OVERRIDE_TABLE_32_sys_chown | |
1886 | TRACE_SYSCALL_TABLE(sys_chown, sys_chown, 212, 3) | |
1887 | #endif | |
1888 | #ifndef OVERRIDE_TABLE_32_sys_getdents64 | |
1889 | TRACE_SYSCALL_TABLE(sys_getdents64, sys_getdents64, 217, 3) | |
1890 | #endif | |
1891 | #ifndef OVERRIDE_TABLE_32_sys_pivot_root | |
1892 | TRACE_SYSCALL_TABLE(sys_pivot_root, sys_pivot_root, 218, 2) | |
1893 | #endif | |
1894 | #ifndef OVERRIDE_TABLE_32_sys_mincore | |
1895 | TRACE_SYSCALL_TABLE(sys_mincore, sys_mincore, 219, 3) | |
1896 | #endif | |
1897 | #ifndef OVERRIDE_TABLE_32_sys_setxattr | |
1898 | TRACE_SYSCALL_TABLE(sys_setxattr, sys_setxattr, 226, 5) | |
1899 | #endif | |
1900 | #ifndef OVERRIDE_TABLE_32_sys_lsetxattr | |
1901 | TRACE_SYSCALL_TABLE(sys_lsetxattr, sys_lsetxattr, 227, 5) | |
1902 | #endif | |
1903 | #ifndef OVERRIDE_TABLE_32_sys_fsetxattr | |
1904 | TRACE_SYSCALL_TABLE(sys_fsetxattr, sys_fsetxattr, 228, 5) | |
1905 | #endif | |
1906 | #ifndef OVERRIDE_TABLE_32_sys_getxattr | |
1907 | TRACE_SYSCALL_TABLE(sys_getxattr, sys_getxattr, 229, 4) | |
1908 | #endif | |
1909 | #ifndef OVERRIDE_TABLE_32_sys_lgetxattr | |
1910 | TRACE_SYSCALL_TABLE(sys_lgetxattr, sys_lgetxattr, 230, 4) | |
1911 | #endif | |
1912 | #ifndef OVERRIDE_TABLE_32_sys_fgetxattr | |
1913 | TRACE_SYSCALL_TABLE(sys_fgetxattr, sys_fgetxattr, 231, 4) | |
1914 | #endif | |
1915 | #ifndef OVERRIDE_TABLE_32_sys_listxattr | |
1916 | TRACE_SYSCALL_TABLE(sys_listxattr, sys_listxattr, 232, 3) | |
1917 | #endif | |
1918 | #ifndef OVERRIDE_TABLE_32_sys_llistxattr | |
1919 | TRACE_SYSCALL_TABLE(sys_llistxattr, sys_llistxattr, 233, 3) | |
1920 | #endif | |
1921 | #ifndef OVERRIDE_TABLE_32_sys_flistxattr | |
1922 | TRACE_SYSCALL_TABLE(sys_flistxattr, sys_flistxattr, 234, 3) | |
1923 | #endif | |
1924 | #ifndef OVERRIDE_TABLE_32_sys_removexattr | |
1925 | TRACE_SYSCALL_TABLE(sys_removexattr, sys_removexattr, 235, 2) | |
1926 | #endif | |
1927 | #ifndef OVERRIDE_TABLE_32_sys_lremovexattr | |
1928 | TRACE_SYSCALL_TABLE(sys_lremovexattr, sys_lremovexattr, 236, 2) | |
1929 | #endif | |
1930 | #ifndef OVERRIDE_TABLE_32_sys_fremovexattr | |
1931 | TRACE_SYSCALL_TABLE(sys_fremovexattr, sys_fremovexattr, 237, 2) | |
1932 | #endif | |
1933 | #ifndef OVERRIDE_TABLE_32_sys_sendfile64 | |
1934 | TRACE_SYSCALL_TABLE(sys_sendfile64, sys_sendfile64, 239, 4) | |
1935 | #endif | |
1936 | #ifndef OVERRIDE_TABLE_32_sys_futex | |
1937 | TRACE_SYSCALL_TABLE(sys_futex, sys_futex, 240, 6) | |
1938 | #endif | |
1939 | #ifndef OVERRIDE_TABLE_32_sys_sched_setaffinity | |
1940 | TRACE_SYSCALL_TABLE(sys_sched_setaffinity, sys_sched_setaffinity, 241, 3) | |
1941 | #endif | |
1942 | #ifndef OVERRIDE_TABLE_32_sys_sched_getaffinity | |
1943 | TRACE_SYSCALL_TABLE(sys_sched_getaffinity, sys_sched_getaffinity, 242, 3) | |
1944 | #endif | |
1945 | #ifndef OVERRIDE_TABLE_32_sys_io_setup | |
1946 | TRACE_SYSCALL_TABLE(sys_io_setup, sys_io_setup, 243, 2) | |
1947 | #endif | |
1948 | #ifndef OVERRIDE_TABLE_32_sys_io_getevents | |
1949 | TRACE_SYSCALL_TABLE(sys_io_getevents, sys_io_getevents, 245, 5) | |
1950 | #endif | |
1951 | #ifndef OVERRIDE_TABLE_32_sys_io_submit | |
1952 | TRACE_SYSCALL_TABLE(sys_io_submit, sys_io_submit, 246, 3) | |
1953 | #endif | |
1954 | #ifndef OVERRIDE_TABLE_32_sys_io_cancel | |
1955 | TRACE_SYSCALL_TABLE(sys_io_cancel, sys_io_cancel, 247, 3) | |
1956 | #endif | |
1957 | #ifndef OVERRIDE_TABLE_32_sys_epoll_ctl | |
1958 | TRACE_SYSCALL_TABLE(sys_epoll_ctl, sys_epoll_ctl, 251, 4) | |
1959 | #endif | |
1960 | #ifndef OVERRIDE_TABLE_32_sys_epoll_wait | |
1961 | TRACE_SYSCALL_TABLE(sys_epoll_wait, sys_epoll_wait, 252, 4) | |
1962 | #endif | |
1963 | #ifndef OVERRIDE_TABLE_32_sys_set_tid_address | |
1964 | TRACE_SYSCALL_TABLE(sys_set_tid_address, sys_set_tid_address, 256, 1) | |
1965 | #endif | |
1966 | #ifndef OVERRIDE_TABLE_32_sys_timer_create | |
1967 | TRACE_SYSCALL_TABLE(sys_timer_create, sys_timer_create, 257, 3) | |
1968 | #endif | |
1969 | #ifndef OVERRIDE_TABLE_32_sys_timer_settime | |
1970 | TRACE_SYSCALL_TABLE(sys_timer_settime, sys_timer_settime, 258, 4) | |
1971 | #endif | |
1972 | #ifndef OVERRIDE_TABLE_32_sys_timer_gettime | |
1973 | TRACE_SYSCALL_TABLE(sys_timer_gettime, sys_timer_gettime, 259, 2) | |
1974 | #endif | |
1975 | #ifndef OVERRIDE_TABLE_32_sys_clock_settime | |
1976 | TRACE_SYSCALL_TABLE(sys_clock_settime, sys_clock_settime, 262, 2) | |
1977 | #endif | |
1978 | #ifndef OVERRIDE_TABLE_32_sys_clock_gettime | |
1979 | TRACE_SYSCALL_TABLE(sys_clock_gettime, sys_clock_gettime, 263, 2) | |
1980 | #endif | |
1981 | #ifndef OVERRIDE_TABLE_32_sys_clock_getres | |
1982 | TRACE_SYSCALL_TABLE(sys_clock_getres, sys_clock_getres, 264, 2) | |
1983 | #endif | |
1984 | #ifndef OVERRIDE_TABLE_32_sys_clock_nanosleep | |
1985 | TRACE_SYSCALL_TABLE(sys_clock_nanosleep, sys_clock_nanosleep, 265, 4) | |
1986 | #endif | |
1987 | #ifndef OVERRIDE_TABLE_32_sys_utimes | |
1988 | TRACE_SYSCALL_TABLE(sys_utimes, sys_utimes, 269, 2) | |
1989 | #endif | |
1990 | #ifndef OVERRIDE_TABLE_32_sys_mq_open | |
1991 | TRACE_SYSCALL_TABLE(sys_mq_open, sys_mq_open, 274, 4) | |
1992 | #endif | |
1993 | #ifndef OVERRIDE_TABLE_32_sys_mq_unlink | |
1994 | TRACE_SYSCALL_TABLE(sys_mq_unlink, sys_mq_unlink, 275, 1) | |
1995 | #endif | |
1996 | #ifndef OVERRIDE_TABLE_32_sys_mq_timedsend | |
1997 | TRACE_SYSCALL_TABLE(sys_mq_timedsend, sys_mq_timedsend, 276, 5) | |
1998 | #endif | |
1999 | #ifndef OVERRIDE_TABLE_32_sys_mq_timedreceive | |
2000 | TRACE_SYSCALL_TABLE(sys_mq_timedreceive, sys_mq_timedreceive, 277, 5) | |
2001 | #endif | |
2002 | #ifndef OVERRIDE_TABLE_32_sys_mq_notify | |
2003 | TRACE_SYSCALL_TABLE(sys_mq_notify, sys_mq_notify, 278, 2) | |
2004 | #endif | |
2005 | #ifndef OVERRIDE_TABLE_32_sys_mq_getsetattr | |
2006 | TRACE_SYSCALL_TABLE(sys_mq_getsetattr, sys_mq_getsetattr, 279, 3) | |
2007 | #endif | |
2008 | #ifndef OVERRIDE_TABLE_32_sys_waitid | |
2009 | TRACE_SYSCALL_TABLE(sys_waitid, sys_waitid, 280, 5) | |
2010 | #endif | |
2011 | #ifndef OVERRIDE_TABLE_32_sys_bind | |
2012 | TRACE_SYSCALL_TABLE(sys_bind, sys_bind, 282, 3) | |
2013 | #endif | |
2014 | #ifndef OVERRIDE_TABLE_32_sys_connect | |
2015 | TRACE_SYSCALL_TABLE(sys_connect, sys_connect, 283, 3) | |
2016 | #endif | |
2017 | #ifndef OVERRIDE_TABLE_32_sys_accept | |
2018 | TRACE_SYSCALL_TABLE(sys_accept, sys_accept, 285, 3) | |
2019 | #endif | |
2020 | #ifndef OVERRIDE_TABLE_32_sys_getsockname | |
2021 | TRACE_SYSCALL_TABLE(sys_getsockname, sys_getsockname, 286, 3) | |
2022 | #endif | |
2023 | #ifndef OVERRIDE_TABLE_32_sys_getpeername | |
2024 | TRACE_SYSCALL_TABLE(sys_getpeername, sys_getpeername, 287, 3) | |
2025 | #endif | |
2026 | #ifndef OVERRIDE_TABLE_32_sys_socketpair | |
2027 | TRACE_SYSCALL_TABLE(sys_socketpair, sys_socketpair, 288, 4) | |
2028 | #endif | |
2029 | #ifndef OVERRIDE_TABLE_32_sys_send | |
2030 | TRACE_SYSCALL_TABLE(sys_send, sys_send, 289, 4) | |
2031 | #endif | |
2032 | #ifndef OVERRIDE_TABLE_32_sys_sendto | |
2033 | TRACE_SYSCALL_TABLE(sys_sendto, sys_sendto, 290, 6) | |
2034 | #endif | |
2035 | #ifndef OVERRIDE_TABLE_32_sys_recvfrom | |
2036 | TRACE_SYSCALL_TABLE(sys_recvfrom, sys_recvfrom, 292, 6) | |
2037 | #endif | |
2038 | #ifndef OVERRIDE_TABLE_32_sys_setsockopt | |
2039 | TRACE_SYSCALL_TABLE(sys_setsockopt, sys_setsockopt, 294, 5) | |
2040 | #endif | |
2041 | #ifndef OVERRIDE_TABLE_32_sys_getsockopt | |
2042 | TRACE_SYSCALL_TABLE(sys_getsockopt, sys_getsockopt, 295, 5) | |
2043 | #endif | |
2044 | #ifndef OVERRIDE_TABLE_32_sys_sendmsg | |
2045 | TRACE_SYSCALL_TABLE(sys_sendmsg, sys_sendmsg, 296, 3) | |
2046 | #endif | |
2047 | #ifndef OVERRIDE_TABLE_32_sys_recvmsg | |
2048 | TRACE_SYSCALL_TABLE(sys_recvmsg, sys_recvmsg, 297, 3) | |
2049 | #endif | |
2050 | #ifndef OVERRIDE_TABLE_32_sys_semop | |
2051 | TRACE_SYSCALL_TABLE(sys_semop, sys_semop, 298, 3) | |
2052 | #endif | |
2053 | #ifndef OVERRIDE_TABLE_32_sys_msgsnd | |
2054 | TRACE_SYSCALL_TABLE(sys_msgsnd, sys_msgsnd, 301, 4) | |
2055 | #endif | |
2056 | #ifndef OVERRIDE_TABLE_32_sys_msgrcv | |
2057 | TRACE_SYSCALL_TABLE(sys_msgrcv, sys_msgrcv, 302, 5) | |
2058 | #endif | |
2059 | #ifndef OVERRIDE_TABLE_32_sys_msgctl | |
2060 | TRACE_SYSCALL_TABLE(sys_msgctl, sys_msgctl, 304, 3) | |
2061 | #endif | |
2062 | #ifndef OVERRIDE_TABLE_32_sys_shmat | |
2063 | TRACE_SYSCALL_TABLE(sys_shmat, sys_shmat, 305, 3) | |
2064 | #endif | |
2065 | #ifndef OVERRIDE_TABLE_32_sys_shmdt | |
2066 | TRACE_SYSCALL_TABLE(sys_shmdt, sys_shmdt, 306, 1) | |
2067 | #endif | |
2068 | #ifndef OVERRIDE_TABLE_32_sys_shmctl | |
2069 | TRACE_SYSCALL_TABLE(sys_shmctl, sys_shmctl, 308, 3) | |
2070 | #endif | |
2071 | #ifndef OVERRIDE_TABLE_32_sys_add_key | |
2072 | TRACE_SYSCALL_TABLE(sys_add_key, sys_add_key, 309, 5) | |
2073 | #endif | |
2074 | #ifndef OVERRIDE_TABLE_32_sys_request_key | |
2075 | TRACE_SYSCALL_TABLE(sys_request_key, sys_request_key, 310, 4) | |
2076 | #endif | |
2077 | #ifndef OVERRIDE_TABLE_32_sys_semtimedop | |
2078 | TRACE_SYSCALL_TABLE(sys_semtimedop, sys_semtimedop, 312, 4) | |
2079 | #endif | |
2080 | #ifndef OVERRIDE_TABLE_32_sys_inotify_add_watch | |
2081 | TRACE_SYSCALL_TABLE(sys_inotify_add_watch, sys_inotify_add_watch, 317, 3) | |
2082 | #endif | |
2083 | #ifndef OVERRIDE_TABLE_32_sys_openat | |
2084 | TRACE_SYSCALL_TABLE(sys_openat, sys_openat, 322, 4) | |
2085 | #endif | |
2086 | #ifndef OVERRIDE_TABLE_32_sys_mkdirat | |
2087 | TRACE_SYSCALL_TABLE(sys_mkdirat, sys_mkdirat, 323, 3) | |
2088 | #endif | |
2089 | #ifndef OVERRIDE_TABLE_32_sys_mknodat | |
2090 | TRACE_SYSCALL_TABLE(sys_mknodat, sys_mknodat, 324, 4) | |
2091 | #endif | |
2092 | #ifndef OVERRIDE_TABLE_32_sys_fchownat | |
2093 | TRACE_SYSCALL_TABLE(sys_fchownat, sys_fchownat, 325, 5) | |
2094 | #endif | |
2095 | #ifndef OVERRIDE_TABLE_32_sys_futimesat | |
2096 | TRACE_SYSCALL_TABLE(sys_futimesat, sys_futimesat, 326, 3) | |
2097 | #endif | |
2098 | #ifndef OVERRIDE_TABLE_32_sys_fstatat64 | |
2099 | TRACE_SYSCALL_TABLE(sys_fstatat64, sys_fstatat64, 327, 4) | |
2100 | #endif | |
2101 | #ifndef OVERRIDE_TABLE_32_sys_unlinkat | |
2102 | TRACE_SYSCALL_TABLE(sys_unlinkat, sys_unlinkat, 328, 3) | |
2103 | #endif | |
2104 | #ifndef OVERRIDE_TABLE_32_sys_renameat | |
2105 | TRACE_SYSCALL_TABLE(sys_renameat, sys_renameat, 329, 4) | |
2106 | #endif | |
2107 | #ifndef OVERRIDE_TABLE_32_sys_linkat | |
2108 | TRACE_SYSCALL_TABLE(sys_linkat, sys_linkat, 330, 5) | |
2109 | #endif | |
2110 | #ifndef OVERRIDE_TABLE_32_sys_symlinkat | |
2111 | TRACE_SYSCALL_TABLE(sys_symlinkat, sys_symlinkat, 331, 3) | |
2112 | #endif | |
2113 | #ifndef OVERRIDE_TABLE_32_sys_readlinkat | |
2114 | TRACE_SYSCALL_TABLE(sys_readlinkat, sys_readlinkat, 332, 4) | |
2115 | #endif | |
2116 | #ifndef OVERRIDE_TABLE_32_sys_fchmodat | |
2117 | TRACE_SYSCALL_TABLE(sys_fchmodat, sys_fchmodat, 333, 3) | |
2118 | #endif | |
2119 | #ifndef OVERRIDE_TABLE_32_sys_faccessat | |
2120 | TRACE_SYSCALL_TABLE(sys_faccessat, sys_faccessat, 334, 3) | |
2121 | #endif | |
2122 | #ifndef OVERRIDE_TABLE_32_sys_pselect6 | |
2123 | TRACE_SYSCALL_TABLE(sys_pselect6, sys_pselect6, 335, 6) | |
2124 | #endif | |
2125 | #ifndef OVERRIDE_TABLE_32_sys_ppoll | |
2126 | TRACE_SYSCALL_TABLE(sys_ppoll, sys_ppoll, 336, 5) | |
2127 | #endif | |
2128 | #ifndef OVERRIDE_TABLE_32_sys_set_robust_list | |
2129 | TRACE_SYSCALL_TABLE(sys_set_robust_list, sys_set_robust_list, 338, 2) | |
2130 | #endif | |
2131 | #ifndef OVERRIDE_TABLE_32_sys_get_robust_list | |
2132 | TRACE_SYSCALL_TABLE(sys_get_robust_list, sys_get_robust_list, 339, 3) | |
2133 | #endif | |
2134 | #ifndef OVERRIDE_TABLE_32_sys_splice | |
2135 | TRACE_SYSCALL_TABLE(sys_splice, sys_splice, 340, 6) | |
2136 | #endif | |
2137 | #ifndef OVERRIDE_TABLE_32_sys_vmsplice | |
2138 | TRACE_SYSCALL_TABLE(sys_vmsplice, sys_vmsplice, 343, 4) | |
2139 | #endif | |
2140 | #ifndef OVERRIDE_TABLE_32_sys_getcpu | |
2141 | TRACE_SYSCALL_TABLE(sys_getcpu, sys_getcpu, 345, 3) | |
2142 | #endif | |
2143 | #ifndef OVERRIDE_TABLE_32_sys_epoll_pwait | |
2144 | TRACE_SYSCALL_TABLE(sys_epoll_pwait, sys_epoll_pwait, 346, 6) | |
2145 | #endif | |
2146 | #ifndef OVERRIDE_TABLE_32_sys_utimensat | |
2147 | TRACE_SYSCALL_TABLE(sys_utimensat, sys_utimensat, 348, 4) | |
2148 | #endif | |
2149 | #ifndef OVERRIDE_TABLE_32_sys_signalfd | |
2150 | TRACE_SYSCALL_TABLE(sys_signalfd, sys_signalfd, 349, 3) | |
2151 | #endif | |
2152 | #ifndef OVERRIDE_TABLE_32_sys_timerfd_settime | |
2153 | TRACE_SYSCALL_TABLE(sys_timerfd_settime, sys_timerfd_settime, 353, 4) | |
2154 | #endif | |
2155 | #ifndef OVERRIDE_TABLE_32_sys_timerfd_gettime | |
2156 | TRACE_SYSCALL_TABLE(sys_timerfd_gettime, sys_timerfd_gettime, 354, 2) | |
2157 | #endif | |
2158 | #ifndef OVERRIDE_TABLE_32_sys_signalfd4 | |
2159 | TRACE_SYSCALL_TABLE(sys_signalfd4, sys_signalfd4, 355, 4) | |
2160 | #endif | |
2161 | #ifndef OVERRIDE_TABLE_32_sys_pipe2 | |
2162 | TRACE_SYSCALL_TABLE(sys_pipe2, sys_pipe2, 359, 2) | |
2163 | #endif | |
2164 | #ifndef OVERRIDE_TABLE_32_sys_preadv | |
2165 | TRACE_SYSCALL_TABLE(sys_preadv, sys_preadv, 361, 5) | |
2166 | #endif | |
2167 | #ifndef OVERRIDE_TABLE_32_sys_pwritev | |
2168 | TRACE_SYSCALL_TABLE(sys_pwritev, sys_pwritev, 362, 5) | |
2169 | #endif | |
2170 | #ifndef OVERRIDE_TABLE_32_sys_rt_tgsigqueueinfo | |
2171 | TRACE_SYSCALL_TABLE(sys_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo, 363, 4) | |
2172 | #endif | |
2173 | #ifndef OVERRIDE_TABLE_32_sys_recvmmsg | |
2174 | TRACE_SYSCALL_TABLE(sys_recvmmsg, sys_recvmmsg, 365, 5) | |
2175 | #endif | |
2176 | #ifndef OVERRIDE_TABLE_32_sys_accept4 | |
2177 | TRACE_SYSCALL_TABLE(sys_accept4, sys_accept4, 366, 4) | |
2178 | #endif | |
2179 | #ifndef OVERRIDE_TABLE_32_sys_prlimit64 | |
2180 | TRACE_SYSCALL_TABLE(sys_prlimit64, sys_prlimit64, 369, 4) | |
2181 | #endif | |
2182 | ||
2183 | #endif /* CREATE_SYSCALL_TABLE */ |
0 | ||
1 | #define OVERRIDE_TABLE_32_sys_mmap2 | |
2 | ||
3 | ||
4 | #ifndef CREATE_SYSCALL_TABLE | |
5 | ||
6 | SC_TRACE_EVENT(sys_mmap2, | |
7 | TP_PROTO(void *addr, size_t len, int prot, | |
8 | int flags, int fd, off_t pgoff), | |
9 | TP_ARGS(addr, len, prot, flags, fd, pgoff), | |
10 | TP_STRUCT__entry( | |
11 | __field_hex(void *, addr) | |
12 | __field(size_t, len) | |
13 | __field(int, prot) | |
14 | __field(int, flags) | |
15 | __field(int, fd) | |
16 | __field(off_t, pgoff)), | |
17 | TP_fast_assign( | |
18 | tp_assign(addr, addr) | |
19 | tp_assign(len, len) | |
20 | tp_assign(prot, prot) | |
21 | tp_assign(flags, flags) | |
22 | tp_assign(fd, fd) | |
23 | tp_assign(pgoff, pgoff)), | |
24 | TP_printk() | |
25 | ) | |
26 | ||
27 | #else /* CREATE_SYSCALL_TABLE */ | |
28 | ||
29 | #define OVERRIDE_TABLE_32_sys_execve | |
30 | TRACE_SYSCALL_TABLE(sys_execve, sys_execve, 11, 3) | |
31 | #define OVERRIDE_TABLE_32_sys_clone | |
32 | TRACE_SYSCALL_TABLE(sys_clone, sys_clone, 120, 5) | |
33 | #define OVERRIDE_TABLE_32_sys_mmap2 | |
34 | TRACE_SYSCALL_TABLE(sys_mmap2, sys_mmap2, 192, 6) | |
35 | ||
36 | #endif /* CREATE_SYSCALL_TABLE */ | |
37 | ||
38 |
0 | /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ | |
1 | #ifndef CREATE_SYSCALL_TABLE | |
2 | ||
3 | #if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) | |
4 | #define _TRACE_SYSCALLS_INTEGERS_H | |
5 | ||
6 | #include <linux/tracepoint.h> | |
7 | #include <linux/syscalls.h> | |
8 | #include "mips-32-syscalls-3.5.0_integers_override.h" | |
9 | #include "syscalls_integers_override.h" | |
10 | ||
11 | SC_DECLARE_EVENT_CLASS_NOARGS(syscalls_noargs, | |
12 | TP_STRUCT__entry(), | |
13 | TP_fast_assign(), | |
14 | TP_printk() | |
15 | ) | |
16 | #ifndef OVERRIDE_32_sys_getpid | |
17 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getpid) | |
18 | #endif | |
19 | #ifndef OVERRIDE_32_sys_getuid | |
20 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getuid) | |
21 | #endif | |
22 | #ifndef OVERRIDE_32_sys_pause | |
23 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_pause) | |
24 | #endif | |
25 | #ifndef OVERRIDE_32_sys_sync | |
26 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_sync) | |
27 | #endif | |
28 | #ifndef OVERRIDE_32_sys_getgid | |
29 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getgid) | |
30 | #endif | |
31 | #ifndef OVERRIDE_32_sys_geteuid | |
32 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_geteuid) | |
33 | #endif | |
34 | #ifndef OVERRIDE_32_sys_getegid | |
35 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getegid) | |
36 | #endif | |
37 | #ifndef OVERRIDE_32_sys_getppid | |
38 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getppid) | |
39 | #endif | |
40 | #ifndef OVERRIDE_32_sys_getpgrp | |
41 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getpgrp) | |
42 | #endif | |
43 | #ifndef OVERRIDE_32_sys_setsid | |
44 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_setsid) | |
45 | #endif | |
46 | #ifndef OVERRIDE_32_sys_sgetmask | |
47 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_sgetmask) | |
48 | #endif | |
49 | #ifndef OVERRIDE_32_sys_vhangup | |
50 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_vhangup) | |
51 | #endif | |
52 | #ifndef OVERRIDE_32_sys_munlockall | |
53 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_munlockall) | |
54 | #endif | |
55 | #ifndef OVERRIDE_32_sys_sched_yield | |
56 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_sched_yield) | |
57 | #endif | |
58 | #ifndef OVERRIDE_32_sys_exit | |
59 | SC_TRACE_EVENT(sys_exit, | |
60 | TP_PROTO(int error_code), | |
61 | TP_ARGS(error_code), | |
62 | TP_STRUCT__entry(__field(int, error_code)), | |
63 | TP_fast_assign(tp_assign(error_code, error_code)), | |
64 | TP_printk() | |
65 | ) | |
66 | #endif | |
67 | #ifndef OVERRIDE_32_sys_close | |
68 | SC_TRACE_EVENT(sys_close, | |
69 | TP_PROTO(unsigned int fd), | |
70 | TP_ARGS(fd), | |
71 | TP_STRUCT__entry(__field(unsigned int, fd)), | |
72 | TP_fast_assign(tp_assign(fd, fd)), | |
73 | TP_printk() | |
74 | ) | |
75 | #endif | |
76 | #ifndef OVERRIDE_32_sys_setuid | |
77 | SC_TRACE_EVENT(sys_setuid, | |
78 | TP_PROTO(uid_t uid), | |
79 | TP_ARGS(uid), | |
80 | TP_STRUCT__entry(__field(uid_t, uid)), | |
81 | TP_fast_assign(tp_assign(uid, uid)), | |
82 | TP_printk() | |
83 | ) | |
84 | #endif | |
85 | #ifndef OVERRIDE_32_sys_alarm | |
86 | SC_TRACE_EVENT(sys_alarm, | |
87 | TP_PROTO(unsigned int seconds), | |
88 | TP_ARGS(seconds), | |
89 | TP_STRUCT__entry(__field(unsigned int, seconds)), | |
90 | TP_fast_assign(tp_assign(seconds, seconds)), | |
91 | TP_printk() | |
92 | ) | |
93 | #endif | |
94 | #ifndef OVERRIDE_32_sys_nice | |
95 | SC_TRACE_EVENT(sys_nice, | |
96 | TP_PROTO(int increment), | |
97 | TP_ARGS(increment), | |
98 | TP_STRUCT__entry(__field(int, increment)), | |
99 | TP_fast_assign(tp_assign(increment, increment)), | |
100 | TP_printk() | |
101 | ) | |
102 | #endif | |
103 | #ifndef OVERRIDE_32_sys_dup | |
104 | SC_TRACE_EVENT(sys_dup, | |
105 | TP_PROTO(unsigned int fildes), | |
106 | TP_ARGS(fildes), | |
107 | TP_STRUCT__entry(__field(unsigned int, fildes)), | |
108 | TP_fast_assign(tp_assign(fildes, fildes)), | |
109 | TP_printk() | |
110 | ) | |
111 | #endif | |
112 | #ifndef OVERRIDE_32_sys_brk | |
113 | SC_TRACE_EVENT(sys_brk, | |
114 | TP_PROTO(unsigned long brk), | |
115 | TP_ARGS(brk), | |
116 | TP_STRUCT__entry(__field(unsigned long, brk)), | |
117 | TP_fast_assign(tp_assign(brk, brk)), | |
118 | TP_printk() | |
119 | ) | |
120 | #endif | |
121 | #ifndef OVERRIDE_32_sys_setgid | |
122 | SC_TRACE_EVENT(sys_setgid, | |
123 | TP_PROTO(gid_t gid), | |
124 | TP_ARGS(gid), | |
125 | TP_STRUCT__entry(__field(gid_t, gid)), | |
126 | TP_fast_assign(tp_assign(gid, gid)), | |
127 | TP_printk() | |
128 | ) | |
129 | #endif | |
130 | #ifndef OVERRIDE_32_sys_umask | |
131 | SC_TRACE_EVENT(sys_umask, | |
132 | TP_PROTO(int mask), | |
133 | TP_ARGS(mask), | |
134 | TP_STRUCT__entry(__field(int, mask)), | |
135 | TP_fast_assign(tp_assign(mask, mask)), | |
136 | TP_printk() | |
137 | ) | |
138 | #endif | |
139 | #ifndef OVERRIDE_32_sys_ssetmask | |
140 | SC_TRACE_EVENT(sys_ssetmask, | |
141 | TP_PROTO(int newmask), | |
142 | TP_ARGS(newmask), | |
143 | TP_STRUCT__entry(__field(int, newmask)), | |
144 | TP_fast_assign(tp_assign(newmask, newmask)), | |
145 | TP_printk() | |
146 | ) | |
147 | #endif | |
148 | #ifndef OVERRIDE_32_sys_fsync | |
149 | SC_TRACE_EVENT(sys_fsync, | |
150 | TP_PROTO(unsigned int fd), | |
151 | TP_ARGS(fd), | |
152 | TP_STRUCT__entry(__field(unsigned int, fd)), | |
153 | TP_fast_assign(tp_assign(fd, fd)), | |
154 | TP_printk() | |
155 | ) | |
156 | #endif | |
157 | #ifndef OVERRIDE_32_sys_getpgid | |
158 | SC_TRACE_EVENT(sys_getpgid, | |
159 | TP_PROTO(pid_t pid), | |
160 | TP_ARGS(pid), | |
161 | TP_STRUCT__entry(__field(pid_t, pid)), | |
162 | TP_fast_assign(tp_assign(pid, pid)), | |
163 | TP_printk() | |
164 | ) | |
165 | #endif | |
166 | #ifndef OVERRIDE_32_sys_fchdir | |
167 | SC_TRACE_EVENT(sys_fchdir, | |
168 | TP_PROTO(unsigned int fd), | |
169 | TP_ARGS(fd), | |
170 | TP_STRUCT__entry(__field(unsigned int, fd)), | |
171 | TP_fast_assign(tp_assign(fd, fd)), | |
172 | TP_printk() | |
173 | ) | |
174 | #endif | |
175 | #ifndef OVERRIDE_32_sys_personality | |
176 | SC_TRACE_EVENT(sys_personality, | |
177 | TP_PROTO(unsigned int personality), | |
178 | TP_ARGS(personality), | |
179 | TP_STRUCT__entry(__field(unsigned int, personality)), | |
180 | TP_fast_assign(tp_assign(personality, personality)), | |
181 | TP_printk() | |
182 | ) | |
183 | #endif | |
184 | #ifndef OVERRIDE_32_sys_setfsuid | |
185 | SC_TRACE_EVENT(sys_setfsuid, | |
186 | TP_PROTO(uid_t uid), | |
187 | TP_ARGS(uid), | |
188 | TP_STRUCT__entry(__field(uid_t, uid)), | |
189 | TP_fast_assign(tp_assign(uid, uid)), | |
190 | TP_printk() | |
191 | ) | |
192 | #endif | |
193 | #ifndef OVERRIDE_32_sys_setfsgid | |
194 | SC_TRACE_EVENT(sys_setfsgid, | |
195 | TP_PROTO(gid_t gid), | |
196 | TP_ARGS(gid), | |
197 | TP_STRUCT__entry(__field(gid_t, gid)), | |
198 | TP_fast_assign(tp_assign(gid, gid)), | |
199 | TP_printk() | |
200 | ) | |
201 | #endif | |
202 | #ifndef OVERRIDE_32_sys_getsid | |
203 | SC_TRACE_EVENT(sys_getsid, | |
204 | TP_PROTO(pid_t pid), | |
205 | TP_ARGS(pid), | |
206 | TP_STRUCT__entry(__field(pid_t, pid)), | |
207 | TP_fast_assign(tp_assign(pid, pid)), | |
208 | TP_printk() | |
209 | ) | |
210 | #endif | |
211 | #ifndef OVERRIDE_32_sys_fdatasync | |
212 | SC_TRACE_EVENT(sys_fdatasync, | |
213 | TP_PROTO(unsigned int fd), | |
214 | TP_ARGS(fd), | |
215 | TP_STRUCT__entry(__field(unsigned int, fd)), | |
216 | TP_fast_assign(tp_assign(fd, fd)), | |
217 | TP_printk() | |
218 | ) | |
219 | #endif | |
220 | #ifndef OVERRIDE_32_sys_mlockall | |
221 | SC_TRACE_EVENT(sys_mlockall, | |
222 | TP_PROTO(int flags), | |
223 | TP_ARGS(flags), | |
224 | TP_STRUCT__entry(__field(int, flags)), | |
225 | TP_fast_assign(tp_assign(flags, flags)), | |
226 | TP_printk() | |
227 | ) | |
228 | #endif | |
229 | #ifndef OVERRIDE_32_sys_sched_getscheduler | |
230 | SC_TRACE_EVENT(sys_sched_getscheduler, | |
231 | TP_PROTO(pid_t pid), | |
232 | TP_ARGS(pid), | |
233 | TP_STRUCT__entry(__field(pid_t, pid)), | |
234 | TP_fast_assign(tp_assign(pid, pid)), | |
235 | TP_printk() | |
236 | ) | |
237 | #endif | |
238 | #ifndef OVERRIDE_32_sys_sched_get_priority_max | |
239 | SC_TRACE_EVENT(sys_sched_get_priority_max, | |
240 | TP_PROTO(int policy), | |
241 | TP_ARGS(policy), | |
242 | TP_STRUCT__entry(__field(int, policy)), | |
243 | TP_fast_assign(tp_assign(policy, policy)), | |
244 | TP_printk() | |
245 | ) | |
246 | #endif | |
247 | #ifndef OVERRIDE_32_sys_sched_get_priority_min | |
248 | SC_TRACE_EVENT(sys_sched_get_priority_min, | |
249 | TP_PROTO(int policy), | |
250 | TP_ARGS(policy), | |
251 | TP_STRUCT__entry(__field(int, policy)), | |
252 | TP_fast_assign(tp_assign(policy, policy)), | |
253 | TP_printk() | |
254 | ) | |
255 | #endif | |
256 | #ifndef OVERRIDE_32_sys_kill | |
257 | SC_TRACE_EVENT(sys_kill, | |
258 | TP_PROTO(pid_t pid, int sig), | |
259 | TP_ARGS(pid, sig), | |
260 | TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig)), | |
261 | TP_fast_assign(tp_assign(pid, pid) tp_assign(sig, sig)), | |
262 | TP_printk() | |
263 | ) | |
264 | #endif | |
265 | #ifndef OVERRIDE_32_sys_setpgid | |
266 | SC_TRACE_EVENT(sys_setpgid, | |
267 | TP_PROTO(pid_t pid, pid_t pgid), | |
268 | TP_ARGS(pid, pgid), | |
269 | TP_STRUCT__entry(__field(pid_t, pid) __field(pid_t, pgid)), | |
270 | TP_fast_assign(tp_assign(pid, pid) tp_assign(pgid, pgid)), | |
271 | TP_printk() | |
272 | ) | |
273 | #endif | |
274 | #ifndef OVERRIDE_32_sys_dup2 | |
275 | SC_TRACE_EVENT(sys_dup2, | |
276 | TP_PROTO(unsigned int oldfd, unsigned int newfd), | |
277 | TP_ARGS(oldfd, newfd), | |
278 | TP_STRUCT__entry(__field(unsigned int, oldfd) __field(unsigned int, newfd)), | |
279 | TP_fast_assign(tp_assign(oldfd, oldfd) tp_assign(newfd, newfd)), | |
280 | TP_printk() | |
281 | ) | |
282 | #endif | |
283 | #ifndef OVERRIDE_32_sys_setreuid | |
284 | SC_TRACE_EVENT(sys_setreuid, | |
285 | TP_PROTO(uid_t ruid, uid_t euid), | |
286 | TP_ARGS(ruid, euid), | |
287 | TP_STRUCT__entry(__field(uid_t, ruid) __field(uid_t, euid)), | |
288 | TP_fast_assign(tp_assign(ruid, ruid) tp_assign(euid, euid)), | |
289 | TP_printk() | |
290 | ) | |
291 | #endif | |
292 | #ifndef OVERRIDE_32_sys_setregid | |
293 | SC_TRACE_EVENT(sys_setregid, | |
294 | TP_PROTO(gid_t rgid, gid_t egid), | |
295 | TP_ARGS(rgid, egid), | |
296 | TP_STRUCT__entry(__field(gid_t, rgid) __field(gid_t, egid)), | |
297 | TP_fast_assign(tp_assign(rgid, rgid) tp_assign(egid, egid)), | |
298 | TP_printk() | |
299 | ) | |
300 | #endif | |
301 | #ifndef OVERRIDE_32_sys_munmap | |
302 | SC_TRACE_EVENT(sys_munmap, | |
303 | TP_PROTO(unsigned long addr, size_t len), | |
304 | TP_ARGS(addr, len), | |
305 | TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(size_t, len)), | |
306 | TP_fast_assign(tp_assign(addr, addr) tp_assign(len, len)), | |
307 | TP_printk() | |
308 | ) | |
309 | #endif | |
310 | #ifndef OVERRIDE_32_sys_ftruncate | |
311 | SC_TRACE_EVENT(sys_ftruncate, | |
312 | TP_PROTO(unsigned int fd, unsigned long length), | |
313 | TP_ARGS(fd, length), | |
314 | TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned long, length)), | |
315 | TP_fast_assign(tp_assign(fd, fd) tp_assign(length, length)), | |
316 | TP_printk() | |
317 | ) | |
318 | #endif | |
319 | #ifndef OVERRIDE_32_sys_fchmod | |
320 | SC_TRACE_EVENT(sys_fchmod, | |
321 | TP_PROTO(unsigned int fd, umode_t mode), | |
322 | TP_ARGS(fd, mode), | |
323 | TP_STRUCT__entry(__field(unsigned int, fd) __field(umode_t, mode)), | |
324 | TP_fast_assign(tp_assign(fd, fd) tp_assign(mode, mode)), | |
325 | TP_printk() | |
326 | ) | |
327 | #endif | |
328 | #ifndef OVERRIDE_32_sys_getpriority | |
329 | SC_TRACE_EVENT(sys_getpriority, | |
330 | TP_PROTO(int which, int who), | |
331 | TP_ARGS(which, who), | |
332 | TP_STRUCT__entry(__field(int, which) __field(int, who)), | |
333 | TP_fast_assign(tp_assign(which, which) tp_assign(who, who)), | |
334 | TP_printk() | |
335 | ) | |
336 | #endif | |
337 | #ifndef OVERRIDE_32_sys_bdflush | |
338 | SC_TRACE_EVENT(sys_bdflush, | |
339 | TP_PROTO(int func, long data), | |
340 | TP_ARGS(func, data), | |
341 | TP_STRUCT__entry(__field(int, func) __field(long, data)), | |
342 | TP_fast_assign(tp_assign(func, func) tp_assign(data, data)), | |
343 | TP_printk() | |
344 | ) | |
345 | #endif | |
346 | #ifndef OVERRIDE_32_sys_flock | |
347 | SC_TRACE_EVENT(sys_flock, | |
348 | TP_PROTO(unsigned int fd, unsigned int cmd), | |
349 | TP_ARGS(fd, cmd), | |
350 | TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd)), | |
351 | TP_fast_assign(tp_assign(fd, fd) tp_assign(cmd, cmd)), | |
352 | TP_printk() | |
353 | ) | |
354 | #endif | |
355 | #ifndef OVERRIDE_32_sys_mlock | |
356 | SC_TRACE_EVENT(sys_mlock, | |
357 | TP_PROTO(unsigned long start, size_t len), | |
358 | TP_ARGS(start, len), | |
359 | TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len)), | |
360 | TP_fast_assign(tp_assign(start, start) tp_assign(len, len)), | |
361 | TP_printk() | |
362 | ) | |
363 | #endif | |
364 | #ifndef OVERRIDE_32_sys_munlock | |
365 | SC_TRACE_EVENT(sys_munlock, | |
366 | TP_PROTO(unsigned long start, size_t len), | |
367 | TP_ARGS(start, len), | |
368 | TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len)), | |
369 | TP_fast_assign(tp_assign(start, start) tp_assign(len, len)), | |
370 | TP_printk() | |
371 | ) | |
372 | #endif | |
373 | #ifndef OVERRIDE_32_sys_lseek | |
374 | SC_TRACE_EVENT(sys_lseek, | |
375 | TP_PROTO(unsigned int fd, off_t offset, unsigned int origin), | |
376 | TP_ARGS(fd, offset, origin), | |
377 | TP_STRUCT__entry(__field(unsigned int, fd) __field(off_t, offset) __field(unsigned int, origin)), | |
378 | TP_fast_assign(tp_assign(fd, fd) tp_assign(offset, offset) tp_assign(origin, origin)), | |
379 | TP_printk() | |
380 | ) | |
381 | #endif | |
382 | #ifndef OVERRIDE_32_sys_ioctl | |
383 | SC_TRACE_EVENT(sys_ioctl, | |
384 | TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), | |
385 | TP_ARGS(fd, cmd, arg), | |
386 | TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), | |
387 | TP_fast_assign(tp_assign(fd, fd) tp_assign(cmd, cmd) tp_assign(arg, arg)), | |
388 | TP_printk() | |
389 | ) | |
390 | #endif | |
391 | #ifndef OVERRIDE_32_sys_fcntl | |
392 | SC_TRACE_EVENT(sys_fcntl, | |
393 | TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), | |
394 | TP_ARGS(fd, cmd, arg), | |
395 | TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), | |
396 | TP_fast_assign(tp_assign(fd, fd) tp_assign(cmd, cmd) tp_assign(arg, arg)), | |
397 | TP_printk() | |
398 | ) | |
399 | #endif | |
400 | #ifndef OVERRIDE_32_sys_fchown | |
401 | SC_TRACE_EVENT(sys_fchown, | |
402 | TP_PROTO(unsigned int fd, uid_t user, gid_t group), | |
403 | TP_ARGS(fd, user, group), | |
404 | TP_STRUCT__entry(__field(unsigned int, fd) __field(uid_t, user) __field(gid_t, group)), | |
405 | TP_fast_assign(tp_assign(fd, fd) tp_assign(user, user) tp_assign(group, group)), | |
406 | TP_printk() | |
407 | ) | |
408 | #endif | |
409 | #ifndef OVERRIDE_32_sys_setpriority | |
410 | SC_TRACE_EVENT(sys_setpriority, | |
411 | TP_PROTO(int which, int who, int niceval), | |
412 | TP_ARGS(which, who, niceval), | |
413 | TP_STRUCT__entry(__field(int, which) __field(int, who) __field(int, niceval)), | |
414 | TP_fast_assign(tp_assign(which, which) tp_assign(who, who) tp_assign(niceval, niceval)), | |
415 | TP_printk() | |
416 | ) | |
417 | #endif | |
418 | #ifndef OVERRIDE_32_sys_mprotect | |
419 | SC_TRACE_EVENT(sys_mprotect, | |
420 | TP_PROTO(unsigned long start, size_t len, unsigned long prot), | |
421 | TP_ARGS(start, len, prot), | |
422 | TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field(unsigned long, prot)), | |
423 | TP_fast_assign(tp_assign(start, start) tp_assign(len, len) tp_assign(prot, prot)), | |
424 | TP_printk() | |
425 | ) | |
426 | #endif | |
427 | #ifndef OVERRIDE_32_sys_sysfs | |
428 | SC_TRACE_EVENT(sys_sysfs, | |
429 | TP_PROTO(int option, unsigned long arg1, unsigned long arg2), | |
430 | TP_ARGS(option, arg1, arg2), | |
431 | TP_STRUCT__entry(__field(int, option) __field(unsigned long, arg1) __field(unsigned long, arg2)), | |
432 | TP_fast_assign(tp_assign(option, option) tp_assign(arg1, arg1) tp_assign(arg2, arg2)), | |
433 | TP_printk() | |
434 | ) | |
435 | #endif | |
436 | #ifndef OVERRIDE_32_sys_msync | |
437 | SC_TRACE_EVENT(sys_msync, | |
438 | TP_PROTO(unsigned long start, size_t len, int flags), | |
439 | TP_ARGS(start, len, flags), | |
440 | TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field(int, flags)), | |
441 | TP_fast_assign(tp_assign(start, start) tp_assign(len, len) tp_assign(flags, flags)), | |
442 | TP_printk() | |
443 | ) | |
444 | #endif | |
445 | #ifndef OVERRIDE_32_sys_cacheflush | |
446 | SC_TRACE_EVENT(sys_cacheflush, | |
447 | TP_PROTO(unsigned long addr, unsigned long bytes, unsigned int cache), | |
448 | TP_ARGS(addr, bytes, cache), | |
449 | TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, bytes) __field(unsigned int, cache)), | |
450 | TP_fast_assign(tp_assign(addr, addr) tp_assign(bytes, bytes) tp_assign(cache, cache)), | |
451 | TP_printk() | |
452 | ) | |
453 | #endif | |
454 | #ifndef OVERRIDE_32_sys_ptrace | |
455 | SC_TRACE_EVENT(sys_ptrace, | |
456 | TP_PROTO(long request, long pid, unsigned long addr, unsigned long data), | |
457 | TP_ARGS(request, pid, addr, data), | |
458 | TP_STRUCT__entry(__field(long, request) __field(long, pid) __field_hex(unsigned long, addr) __field(unsigned long, data)), | |
459 | TP_fast_assign(tp_assign(request, request) tp_assign(pid, pid) tp_assign(addr, addr) tp_assign(data, data)), | |
460 | TP_printk() | |
461 | ) | |
462 | #endif | |
463 | #ifndef OVERRIDE_32_sys_mremap | |
464 | SC_TRACE_EVENT(sys_mremap, | |
465 | TP_PROTO(unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), | |
466 | TP_ARGS(addr, old_len, new_len, flags, new_addr), | |
467 | TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, old_len) __field(unsigned long, new_len) __field(unsigned long, flags) __field_hex(unsigned long, new_addr)), | |
468 | TP_fast_assign(tp_assign(addr, addr) tp_assign(old_len, old_len) tp_assign(new_len, new_len) tp_assign(flags, flags) tp_assign(new_addr, new_addr)), | |
469 | TP_printk() | |
470 | ) | |
471 | #endif | |
472 | #ifndef OVERRIDE_32_sys_mips_mmap | |
473 | SC_TRACE_EVENT(sys_mips_mmap, | |
474 | TP_PROTO(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, off_t offset), | |
475 | TP_ARGS(addr, len, prot, flags, fd, offset), | |
476 | TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, len) __field(unsigned long, prot) __field(unsigned long, flags) __field(unsigned long, fd) __field(off_t, offset)), | |
477 | TP_fast_assign(tp_assign(addr, addr) tp_assign(len, len) tp_assign(prot, prot) tp_assign(flags, flags) tp_assign(fd, fd) tp_assign(offset, offset)), | |
478 | TP_printk() | |
479 | ) | |
480 | #endif | |
481 | ||
482 | #endif /* _TRACE_SYSCALLS_INTEGERS_H */ | |
483 | ||
484 | /* This part must be outside protection */ | |
485 | #include "../../../probes/define_trace.h" | |
486 | ||
487 | #else /* CREATE_SYSCALL_TABLE */ | |
488 | ||
489 | #include "mips-32-syscalls-3.5.0_integers_override.h" | |
490 | #include "syscalls_integers_override.h" | |
491 | ||
492 | #ifndef OVERRIDE_TABLE_32_sys_getpid | |
493 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getpid, 4041, 0) | |
494 | #endif | |
495 | #ifndef OVERRIDE_TABLE_32_sys_getuid | |
496 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getuid, 4049, 0) | |
497 | #endif | |
498 | #ifndef OVERRIDE_TABLE_32_sys_pause | |
499 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_pause, 4059, 0) | |
500 | #endif | |
501 | #ifndef OVERRIDE_TABLE_32_sys_sync | |
502 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sync, 4073, 0) | |
503 | #endif | |
504 | #ifndef OVERRIDE_TABLE_32_sys_getgid | |
505 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getgid, 4095, 0) | |
506 | #endif | |
507 | #ifndef OVERRIDE_TABLE_32_sys_geteuid | |
508 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_geteuid, 4099, 0) | |
509 | #endif | |
510 | #ifndef OVERRIDE_TABLE_32_sys_getegid | |
511 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getegid, 4101, 0) | |
512 | #endif | |
513 | #ifndef OVERRIDE_TABLE_32_sys_getppid | |
514 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getppid, 4129, 0) | |
515 | #endif | |
516 | #ifndef OVERRIDE_TABLE_32_sys_getpgrp | |
517 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getpgrp, 4131, 0) | |
518 | #endif | |
519 | #ifndef OVERRIDE_TABLE_32_sys_setsid | |
520 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_setsid, 4133, 0) | |
521 | #endif | |
522 | #ifndef OVERRIDE_TABLE_32_sys_sgetmask | |
523 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sgetmask, 4137, 0) | |
524 | #endif | |
525 | #ifndef OVERRIDE_TABLE_32_sys_vhangup | |
526 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_vhangup, 4223, 0) | |
527 | #endif | |
528 | #ifndef OVERRIDE_TABLE_32_sys_munlockall | |
529 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_munlockall, 4315, 0) | |
530 | #endif | |
531 | #ifndef OVERRIDE_TABLE_32_sys_sched_yield | |
532 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sched_yield, 4325, 0) | |
533 | #endif | |
534 | #ifndef OVERRIDE_TABLE_32_sys_exit | |
535 | TRACE_SYSCALL_TABLE(sys_exit, sys_exit, 4003, 1) | |
536 | #endif | |
537 | #ifndef OVERRIDE_TABLE_32_sys_close | |
538 | TRACE_SYSCALL_TABLE(sys_close, sys_close, 4013, 1) | |
539 | #endif | |
540 | #ifndef OVERRIDE_TABLE_32_sys_lseek | |
541 | TRACE_SYSCALL_TABLE(sys_lseek, sys_lseek, 4039, 3) | |
542 | #endif | |
543 | #ifndef OVERRIDE_TABLE_32_sys_setuid | |
544 | TRACE_SYSCALL_TABLE(sys_setuid, sys_setuid, 4047, 1) | |
545 | #endif | |
546 | #ifndef OVERRIDE_TABLE_32_sys_ptrace | |
547 | TRACE_SYSCALL_TABLE(sys_ptrace, sys_ptrace, 4053, 4) | |
548 | #endif | |
549 | #ifndef OVERRIDE_TABLE_32_sys_alarm | |
550 | TRACE_SYSCALL_TABLE(sys_alarm, sys_alarm, 4055, 1) | |
551 | #endif | |
552 | #ifndef OVERRIDE_TABLE_32_sys_nice | |
553 | TRACE_SYSCALL_TABLE(sys_nice, sys_nice, 4069, 1) | |
554 | #endif | |
555 | #ifndef OVERRIDE_TABLE_32_sys_kill | |
556 | TRACE_SYSCALL_TABLE(sys_kill, sys_kill, 4075, 2) | |
557 | #endif | |
558 | #ifndef OVERRIDE_TABLE_32_sys_dup | |
559 | TRACE_SYSCALL_TABLE(sys_dup, sys_dup, 4083, 1) | |
560 | #endif | |
561 | #ifndef OVERRIDE_TABLE_32_sys_brk | |
562 | TRACE_SYSCALL_TABLE(sys_brk, sys_brk, 4091, 1) | |
563 | #endif | |
564 | #ifndef OVERRIDE_TABLE_32_sys_setgid | |
565 | TRACE_SYSCALL_TABLE(sys_setgid, sys_setgid, 4093, 1) | |
566 | #endif | |
567 | #ifndef OVERRIDE_TABLE_32_sys_ioctl | |
568 | TRACE_SYSCALL_TABLE(sys_ioctl, sys_ioctl, 4109, 3) | |
569 | #endif | |
570 | #ifndef OVERRIDE_TABLE_32_sys_fcntl | |
571 | TRACE_SYSCALL_TABLE(sys_fcntl, sys_fcntl, 4111, 3) | |
572 | #endif | |
573 | #ifndef OVERRIDE_TABLE_32_sys_setpgid | |
574 | TRACE_SYSCALL_TABLE(sys_setpgid, sys_setpgid, 4115, 2) | |
575 | #endif | |
576 | #ifndef OVERRIDE_TABLE_32_sys_umask | |
577 | TRACE_SYSCALL_TABLE(sys_umask, sys_umask, 4121, 1) | |
578 | #endif | |
579 | #ifndef OVERRIDE_TABLE_32_sys_dup2 | |
580 | TRACE_SYSCALL_TABLE(sys_dup2, sys_dup2, 4127, 2) | |
581 | #endif | |
582 | #ifndef OVERRIDE_TABLE_32_sys_ssetmask | |
583 | TRACE_SYSCALL_TABLE(sys_ssetmask, sys_ssetmask, 4139, 1) | |
584 | #endif | |
585 | #ifndef OVERRIDE_TABLE_32_sys_setreuid | |
586 | TRACE_SYSCALL_TABLE(sys_setreuid, sys_setreuid, 4141, 2) | |
587 | #endif | |
588 | #ifndef OVERRIDE_TABLE_32_sys_setregid | |
589 | TRACE_SYSCALL_TABLE(sys_setregid, sys_setregid, 4143, 2) | |
590 | #endif | |
591 | #ifndef OVERRIDE_TABLE_32_sys_mips_mmap | |
592 | TRACE_SYSCALL_TABLE(sys_mips_mmap, sys_mips_mmap, 4181, 6) | |
593 | #endif | |
594 | #ifndef OVERRIDE_TABLE_32_sys_munmap | |
595 | TRACE_SYSCALL_TABLE(sys_munmap, sys_munmap, 4183, 2) | |
596 | #endif | |
597 | #ifndef OVERRIDE_TABLE_32_sys_ftruncate | |
598 | TRACE_SYSCALL_TABLE(sys_ftruncate, sys_ftruncate, 4187, 2) | |
599 | #endif | |
600 | #ifndef OVERRIDE_TABLE_32_sys_fchmod | |
601 | TRACE_SYSCALL_TABLE(sys_fchmod, sys_fchmod, 4189, 2) | |
602 | #endif | |
603 | #ifndef OVERRIDE_TABLE_32_sys_fchown | |
604 | TRACE_SYSCALL_TABLE(sys_fchown, sys_fchown, 4191, 3) | |
605 | #endif | |
606 | #ifndef OVERRIDE_TABLE_32_sys_getpriority | |
607 | TRACE_SYSCALL_TABLE(sys_getpriority, sys_getpriority, 4193, 2) | |
608 | #endif | |
609 | #ifndef OVERRIDE_TABLE_32_sys_setpriority | |
610 | TRACE_SYSCALL_TABLE(sys_setpriority, sys_setpriority, 4195, 3) | |
611 | #endif | |
612 | #ifndef OVERRIDE_TABLE_32_sys_fsync | |
613 | TRACE_SYSCALL_TABLE(sys_fsync, sys_fsync, 4237, 1) | |
614 | #endif | |
615 | #ifndef OVERRIDE_TABLE_32_sys_mprotect | |
616 | TRACE_SYSCALL_TABLE(sys_mprotect, sys_mprotect, 4251, 3) | |
617 | #endif | |
618 | #ifndef OVERRIDE_TABLE_32_sys_getpgid | |
619 | TRACE_SYSCALL_TABLE(sys_getpgid, sys_getpgid, 4265, 1) | |
620 | #endif | |
621 | #ifndef OVERRIDE_TABLE_32_sys_fchdir | |
622 | TRACE_SYSCALL_TABLE(sys_fchdir, sys_fchdir, 4267, 1) | |
623 | #endif | |
624 | #ifndef OVERRIDE_TABLE_32_sys_bdflush | |
625 | TRACE_SYSCALL_TABLE(sys_bdflush, sys_bdflush, 4269, 2) | |
626 | #endif | |
627 | #ifndef OVERRIDE_TABLE_32_sys_sysfs | |
628 | TRACE_SYSCALL_TABLE(sys_sysfs, sys_sysfs, 4271, 3) | |
629 | #endif | |
630 | #ifndef OVERRIDE_TABLE_32_sys_personality | |
631 | TRACE_SYSCALL_TABLE(sys_personality, sys_personality, 4273, 1) | |
632 | #endif | |
633 | #ifndef OVERRIDE_TABLE_32_sys_setfsuid | |
634 | TRACE_SYSCALL_TABLE(sys_setfsuid, sys_setfsuid, 4277, 1) | |
635 | #endif | |
636 | #ifndef OVERRIDE_TABLE_32_sys_setfsgid | |
637 | TRACE_SYSCALL_TABLE(sys_setfsgid, sys_setfsgid, 4279, 1) | |
638 | #endif | |
639 | #ifndef OVERRIDE_TABLE_32_sys_flock | |
640 | TRACE_SYSCALL_TABLE(sys_flock, sys_flock, 4287, 2) | |
641 | #endif | |
642 | #ifndef OVERRIDE_TABLE_32_sys_msync | |
643 | TRACE_SYSCALL_TABLE(sys_msync, sys_msync, 4289, 3) | |
644 | #endif | |
645 | #ifndef OVERRIDE_TABLE_32_sys_cacheflush | |
646 | TRACE_SYSCALL_TABLE(sys_cacheflush, sys_cacheflush, 4295, 3) | |
647 | #endif | |
648 | #ifndef OVERRIDE_TABLE_32_sys_getsid | |
649 | TRACE_SYSCALL_TABLE(sys_getsid, sys_getsid, 4303, 1) | |
650 | #endif | |
651 | #ifndef OVERRIDE_TABLE_32_sys_fdatasync | |
652 | TRACE_SYSCALL_TABLE(sys_fdatasync, sys_fdatasync, 4305, 1) | |
653 | #endif | |
654 | #ifndef OVERRIDE_TABLE_32_sys_mlock | |
655 | TRACE_SYSCALL_TABLE(sys_mlock, sys_mlock, 4309, 2) | |
656 | #endif | |
657 | #ifndef OVERRIDE_TABLE_32_sys_munlock | |
658 | TRACE_SYSCALL_TABLE(sys_munlock, sys_munlock, 4311, 2) | |
659 | #endif | |
660 | #ifndef OVERRIDE_TABLE_32_sys_mlockall | |
661 | TRACE_SYSCALL_TABLE(sys_mlockall, sys_mlockall, 4313, 1) | |
662 | #endif | |
663 | #ifndef OVERRIDE_TABLE_32_sys_sched_getscheduler | |
664 | TRACE_SYSCALL_TABLE(sys_sched_getscheduler, sys_sched_getscheduler, 4323, 1) | |
665 | #endif | |
666 | #ifndef OVERRIDE_TABLE_32_sys_sched_get_priority_max | |
667 | TRACE_SYSCALL_TABLE(sys_sched_get_priority_max, sys_sched_get_priority_max, 4327, 1) | |
668 | #endif | |
669 | #ifndef OVERRIDE_TABLE_32_sys_sched_get_priority_min | |
670 | TRACE_SYSCALL_TABLE(sys_sched_get_priority_min, sys_sched_get_priority_min, 4329, 1) | |
671 | #endif | |
672 | #ifndef OVERRIDE_TABLE_32_sys_mremap | |
673 | TRACE_SYSCALL_TABLE(sys_mremap, sys_mremap, 4335, 5) | |
674 | #endif | |
675 | ||
676 | #endif /* CREATE_SYSCALL_TABLE */ |
0 | /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ | |
1 | #ifndef CREATE_SYSCALL_TABLE | |
2 | ||
3 | #if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) | |
4 | #define _TRACE_SYSCALLS_POINTERS_H | |
5 | ||
6 | #include <linux/tracepoint.h> | |
7 | #include <linux/syscalls.h> | |
8 | #include "mips-32-syscalls-3.5.0_pointers_override.h" | |
9 | #include "syscalls_pointers_override.h" | |
10 | ||
11 | #ifndef OVERRIDE_32_sys_unlink | |
12 | SC_TRACE_EVENT(sys_unlink, | |
13 | TP_PROTO(const char * pathname), | |
14 | TP_ARGS(pathname), | |
15 | TP_STRUCT__entry(__string_from_user(pathname, pathname)), | |
16 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname)), | |
17 | TP_printk() | |
18 | ) | |
19 | #endif | |
20 | #ifndef OVERRIDE_32_sys_chdir | |
21 | SC_TRACE_EVENT(sys_chdir, | |
22 | TP_PROTO(const char * filename), | |
23 | TP_ARGS(filename), | |
24 | TP_STRUCT__entry(__string_from_user(filename, filename)), | |
25 | TP_fast_assign(tp_copy_string_from_user(filename, filename)), | |
26 | TP_printk() | |
27 | ) | |
28 | #endif | |
29 | #ifndef OVERRIDE_32_sys_time | |
30 | SC_TRACE_EVENT(sys_time, | |
31 | TP_PROTO(time_t * tloc), | |
32 | TP_ARGS(tloc), | |
33 | TP_STRUCT__entry(__field_hex(time_t *, tloc)), | |
34 | TP_fast_assign(tp_assign(tloc, tloc)), | |
35 | TP_printk() | |
36 | ) | |
37 | #endif | |
38 | #ifndef OVERRIDE_32_sys_oldumount | |
39 | SC_TRACE_EVENT(sys_oldumount, | |
40 | TP_PROTO(char * name), | |
41 | TP_ARGS(name), | |
42 | TP_STRUCT__entry(__string_from_user(name, name)), | |
43 | TP_fast_assign(tp_copy_string_from_user(name, name)), | |
44 | TP_printk() | |
45 | ) | |
46 | #endif | |
47 | #ifndef OVERRIDE_32_sys_stime | |
48 | SC_TRACE_EVENT(sys_stime, | |
49 | TP_PROTO(time_t * tptr), | |
50 | TP_ARGS(tptr), | |
51 | TP_STRUCT__entry(__field_hex(time_t *, tptr)), | |
52 | TP_fast_assign(tp_assign(tptr, tptr)), | |
53 | TP_printk() | |
54 | ) | |
55 | #endif | |
56 | #ifndef OVERRIDE_32_sys_rmdir | |
57 | SC_TRACE_EVENT(sys_rmdir, | |
58 | TP_PROTO(const char * pathname), | |
59 | TP_ARGS(pathname), | |
60 | TP_STRUCT__entry(__string_from_user(pathname, pathname)), | |
61 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname)), | |
62 | TP_printk() | |
63 | ) | |
64 | #endif | |
65 | #ifndef OVERRIDE_32_sys_times | |
66 | SC_TRACE_EVENT(sys_times, | |
67 | TP_PROTO(struct tms * tbuf), | |
68 | TP_ARGS(tbuf), | |
69 | TP_STRUCT__entry(__field_hex(struct tms *, tbuf)), | |
70 | TP_fast_assign(tp_assign(tbuf, tbuf)), | |
71 | TP_printk() | |
72 | ) | |
73 | #endif | |
74 | #ifndef OVERRIDE_32_sys_olduname | |
75 | SC_TRACE_EVENT(sys_olduname, | |
76 | TP_PROTO(struct oldold_utsname * name), | |
77 | TP_ARGS(name), | |
78 | TP_STRUCT__entry(__field_hex(struct oldold_utsname *, name)), | |
79 | TP_fast_assign(tp_assign(name, name)), | |
80 | TP_printk() | |
81 | ) | |
82 | #endif | |
83 | #ifndef OVERRIDE_32_sys_chroot | |
84 | SC_TRACE_EVENT(sys_chroot, | |
85 | TP_PROTO(const char * filename), | |
86 | TP_ARGS(filename), | |
87 | TP_STRUCT__entry(__string_from_user(filename, filename)), | |
88 | TP_fast_assign(tp_copy_string_from_user(filename, filename)), | |
89 | TP_printk() | |
90 | ) | |
91 | #endif | |
92 | #ifndef OVERRIDE_32_sys_sigpending | |
93 | SC_TRACE_EVENT(sys_sigpending, | |
94 | TP_PROTO(old_sigset_t * set), | |
95 | TP_ARGS(set), | |
96 | TP_STRUCT__entry(__field_hex(old_sigset_t *, set)), | |
97 | TP_fast_assign(tp_assign(set, set)), | |
98 | TP_printk() | |
99 | ) | |
100 | #endif | |
101 | #ifndef OVERRIDE_32_sys_uselib | |
102 | SC_TRACE_EVENT(sys_uselib, | |
103 | TP_PROTO(const char * library), | |
104 | TP_ARGS(library), | |
105 | TP_STRUCT__entry(__field_hex(const char *, library)), | |
106 | TP_fast_assign(tp_assign(library, library)), | |
107 | TP_printk() | |
108 | ) | |
109 | #endif | |
110 | #ifndef OVERRIDE_32_sys_uname | |
111 | SC_TRACE_EVENT(sys_uname, | |
112 | TP_PROTO(struct old_utsname * name), | |
113 | TP_ARGS(name), | |
114 | TP_STRUCT__entry(__field_hex(struct old_utsname *, name)), | |
115 | TP_fast_assign(tp_assign(name, name)), | |
116 | TP_printk() | |
117 | ) | |
118 | #endif | |
119 | #ifndef OVERRIDE_32_sys_swapoff | |
120 | SC_TRACE_EVENT(sys_swapoff, | |
121 | TP_PROTO(const char * specialfile), | |
122 | TP_ARGS(specialfile), | |
123 | TP_STRUCT__entry(__string_from_user(specialfile, specialfile)), | |
124 | TP_fast_assign(tp_copy_string_from_user(specialfile, specialfile)), | |
125 | TP_printk() | |
126 | ) | |
127 | #endif | |
128 | #ifndef OVERRIDE_32_sys_sysinfo | |
129 | SC_TRACE_EVENT(sys_sysinfo, | |
130 | TP_PROTO(struct sysinfo * info), | |
131 | TP_ARGS(info), | |
132 | TP_STRUCT__entry(__field_hex(struct sysinfo *, info)), | |
133 | TP_fast_assign(tp_assign(info, info)), | |
134 | TP_printk() | |
135 | ) | |
136 | #endif | |
137 | #ifndef OVERRIDE_32_sys_newuname | |
138 | SC_TRACE_EVENT(sys_newuname, | |
139 | TP_PROTO(struct new_utsname * name), | |
140 | TP_ARGS(name), | |
141 | TP_STRUCT__entry(__field_hex(struct new_utsname *, name)), | |
142 | TP_fast_assign(tp_assign(name, name)), | |
143 | TP_printk() | |
144 | ) | |
145 | #endif | |
146 | #ifndef OVERRIDE_32_sys_adjtimex | |
147 | SC_TRACE_EVENT(sys_adjtimex, | |
148 | TP_PROTO(struct timex * txc_p), | |
149 | TP_ARGS(txc_p), | |
150 | TP_STRUCT__entry(__field_hex(struct timex *, txc_p)), | |
151 | TP_fast_assign(tp_assign(txc_p, txc_p)), | |
152 | TP_printk() | |
153 | ) | |
154 | #endif | |
155 | #ifndef OVERRIDE_32_sys_sysctl | |
156 | SC_TRACE_EVENT(sys_sysctl, | |
157 | TP_PROTO(struct __sysctl_args * args), | |
158 | TP_ARGS(args), | |
159 | TP_STRUCT__entry(__field_hex(struct __sysctl_args *, args)), | |
160 | TP_fast_assign(tp_assign(args, args)), | |
161 | TP_printk() | |
162 | ) | |
163 | #endif | |
164 | #ifndef OVERRIDE_32_sys_creat | |
165 | SC_TRACE_EVENT(sys_creat, | |
166 | TP_PROTO(const char * pathname, umode_t mode), | |
167 | TP_ARGS(pathname, mode), | |
168 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(umode_t, mode)), | |
169 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(mode, mode)), | |
170 | TP_printk() | |
171 | ) | |
172 | #endif | |
173 | #ifndef OVERRIDE_32_sys_link | |
174 | SC_TRACE_EVENT(sys_link, | |
175 | TP_PROTO(const char * oldname, const char * newname), | |
176 | TP_ARGS(oldname, newname), | |
177 | TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), | |
178 | TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_copy_string_from_user(newname, newname)), | |
179 | TP_printk() | |
180 | ) | |
181 | #endif | |
182 | #ifndef OVERRIDE_32_sys_chmod | |
183 | SC_TRACE_EVENT(sys_chmod, | |
184 | TP_PROTO(const char * filename, umode_t mode), | |
185 | TP_ARGS(filename, mode), | |
186 | TP_STRUCT__entry(__string_from_user(filename, filename) __field(umode_t, mode)), | |
187 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), | |
188 | TP_printk() | |
189 | ) | |
190 | #endif | |
191 | #ifndef OVERRIDE_32_sys_utime | |
192 | SC_TRACE_EVENT(sys_utime, | |
193 | TP_PROTO(char * filename, struct utimbuf * times), | |
194 | TP_ARGS(filename, times), | |
195 | TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct utimbuf *, times)), | |
196 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(times, times)), | |
197 | TP_printk() | |
198 | ) | |
199 | #endif | |
200 | #ifndef OVERRIDE_32_sys_access | |
201 | SC_TRACE_EVENT(sys_access, | |
202 | TP_PROTO(const char * filename, int mode), | |
203 | TP_ARGS(filename, mode), | |
204 | TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, mode)), | |
205 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), | |
206 | TP_printk() | |
207 | ) | |
208 | #endif | |
209 | #ifndef OVERRIDE_32_sys_rename | |
210 | SC_TRACE_EVENT(sys_rename, | |
211 | TP_PROTO(const char * oldname, const char * newname), | |
212 | TP_ARGS(oldname, newname), | |
213 | TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), | |
214 | TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_copy_string_from_user(newname, newname)), | |
215 | TP_printk() | |
216 | ) | |
217 | #endif | |
218 | #ifndef OVERRIDE_32_sys_mkdir | |
219 | SC_TRACE_EVENT(sys_mkdir, | |
220 | TP_PROTO(const char * pathname, umode_t mode), | |
221 | TP_ARGS(pathname, mode), | |
222 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(umode_t, mode)), | |
223 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(mode, mode)), | |
224 | TP_printk() | |
225 | ) | |
226 | #endif | |
227 | #ifndef OVERRIDE_32_sys_umount | |
228 | SC_TRACE_EVENT(sys_umount, | |
229 | TP_PROTO(char * name, int flags), | |
230 | TP_ARGS(name, flags), | |
231 | TP_STRUCT__entry(__string_from_user(name, name) __field(int, flags)), | |
232 | TP_fast_assign(tp_copy_string_from_user(name, name) tp_assign(flags, flags)), | |
233 | TP_printk() | |
234 | ) | |
235 | #endif | |
236 | #ifndef OVERRIDE_32_sys_ustat | |
237 | SC_TRACE_EVENT(sys_ustat, | |
238 | TP_PROTO(unsigned dev, struct ustat * ubuf), | |
239 | TP_ARGS(dev, ubuf), | |
240 | TP_STRUCT__entry(__field(unsigned, dev) __field_hex(struct ustat *, ubuf)), | |
241 | TP_fast_assign(tp_assign(dev, dev) tp_assign(ubuf, ubuf)), | |
242 | TP_printk() | |
243 | ) | |
244 | #endif | |
245 | #ifndef OVERRIDE_32_sys_sethostname | |
246 | SC_TRACE_EVENT(sys_sethostname, | |
247 | TP_PROTO(char * name, int len), | |
248 | TP_ARGS(name, len), | |
249 | TP_STRUCT__entry(__string_from_user(name, name) __field(int, len)), | |
250 | TP_fast_assign(tp_copy_string_from_user(name, name) tp_assign(len, len)), | |
251 | TP_printk() | |
252 | ) | |
253 | #endif | |
254 | #ifndef OVERRIDE_32_sys_setrlimit | |
255 | SC_TRACE_EVENT(sys_setrlimit, | |
256 | TP_PROTO(unsigned int resource, struct rlimit * rlim), | |
257 | TP_ARGS(resource, rlim), | |
258 | TP_STRUCT__entry(__field(unsigned int, resource) __field_hex(struct rlimit *, rlim)), | |
259 | TP_fast_assign(tp_assign(resource, resource) tp_assign(rlim, rlim)), | |
260 | TP_printk() | |
261 | ) | |
262 | #endif | |
263 | #ifndef OVERRIDE_32_sys_getrlimit | |
264 | SC_TRACE_EVENT(sys_getrlimit, | |
265 | TP_PROTO(unsigned int resource, struct rlimit * rlim), | |
266 | TP_ARGS(resource, rlim), | |
267 | TP_STRUCT__entry(__field(unsigned int, resource) __field_hex(struct rlimit *, rlim)), | |
268 | TP_fast_assign(tp_assign(resource, resource) tp_assign(rlim, rlim)), | |
269 | TP_printk() | |
270 | ) | |
271 | #endif | |
272 | #ifndef OVERRIDE_32_sys_getrusage | |
273 | SC_TRACE_EVENT(sys_getrusage, | |
274 | TP_PROTO(int who, struct rusage * ru), | |
275 | TP_ARGS(who, ru), | |
276 | TP_STRUCT__entry(__field(int, who) __field_hex(struct rusage *, ru)), | |
277 | TP_fast_assign(tp_assign(who, who) tp_assign(ru, ru)), | |
278 | TP_printk() | |
279 | ) | |
280 | #endif | |
281 | #ifndef OVERRIDE_32_sys_gettimeofday | |
282 | SC_TRACE_EVENT(sys_gettimeofday, | |
283 | TP_PROTO(struct timeval * tv, struct timezone * tz), | |
284 | TP_ARGS(tv, tz), | |
285 | TP_STRUCT__entry(__field_hex(struct timeval *, tv) __field_hex(struct timezone *, tz)), | |
286 | TP_fast_assign(tp_assign(tv, tv) tp_assign(tz, tz)), | |
287 | TP_printk() | |
288 | ) | |
289 | #endif | |
290 | #ifndef OVERRIDE_32_sys_settimeofday | |
291 | SC_TRACE_EVENT(sys_settimeofday, | |
292 | TP_PROTO(struct timeval * tv, struct timezone * tz), | |
293 | TP_ARGS(tv, tz), | |
294 | TP_STRUCT__entry(__field_hex(struct timeval *, tv) __field_hex(struct timezone *, tz)), | |
295 | TP_fast_assign(tp_assign(tv, tv) tp_assign(tz, tz)), | |
296 | TP_printk() | |
297 | ) | |
298 | #endif | |
299 | #ifndef OVERRIDE_32_sys_getgroups | |
300 | SC_TRACE_EVENT(sys_getgroups, | |
301 | TP_PROTO(int gidsetsize, gid_t * grouplist), | |
302 | TP_ARGS(gidsetsize, grouplist), | |
303 | TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(gid_t *, grouplist)), | |
304 | TP_fast_assign(tp_assign(gidsetsize, gidsetsize) tp_assign(grouplist, grouplist)), | |
305 | TP_printk() | |
306 | ) | |
307 | #endif | |
308 | #ifndef OVERRIDE_32_sys_setgroups | |
309 | SC_TRACE_EVENT(sys_setgroups, | |
310 | TP_PROTO(int gidsetsize, gid_t * grouplist), | |
311 | TP_ARGS(gidsetsize, grouplist), | |
312 | TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(gid_t *, grouplist)), | |
313 | TP_fast_assign(tp_assign(gidsetsize, gidsetsize) tp_assign(grouplist, grouplist)), | |
314 | TP_printk() | |
315 | ) | |
316 | #endif | |
317 | #ifndef OVERRIDE_32_sys_symlink | |
318 | SC_TRACE_EVENT(sys_symlink, | |
319 | TP_PROTO(const char * oldname, const char * newname), | |
320 | TP_ARGS(oldname, newname), | |
321 | TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), | |
322 | TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_copy_string_from_user(newname, newname)), | |
323 | TP_printk() | |
324 | ) | |
325 | #endif | |
326 | #ifndef OVERRIDE_32_sys_swapon | |
327 | SC_TRACE_EVENT(sys_swapon, | |
328 | TP_PROTO(const char * specialfile, int swap_flags), | |
329 | TP_ARGS(specialfile, swap_flags), | |
330 | TP_STRUCT__entry(__string_from_user(specialfile, specialfile) __field(int, swap_flags)), | |
331 | TP_fast_assign(tp_copy_string_from_user(specialfile, specialfile) tp_assign(swap_flags, swap_flags)), | |
332 | TP_printk() | |
333 | ) | |
334 | #endif | |
335 | #ifndef OVERRIDE_32_sys_truncate | |
336 | SC_TRACE_EVENT(sys_truncate, | |
337 | TP_PROTO(const char * path, long length), | |
338 | TP_ARGS(path, length), | |
339 | TP_STRUCT__entry(__string_from_user(path, path) __field(long, length)), | |
340 | TP_fast_assign(tp_copy_string_from_user(path, path) tp_assign(length, length)), | |
341 | TP_printk() | |
342 | ) | |
343 | #endif | |
344 | #ifndef OVERRIDE_32_sys_statfs | |
345 | SC_TRACE_EVENT(sys_statfs, | |
346 | TP_PROTO(const char * pathname, struct statfs * buf), | |
347 | TP_ARGS(pathname, buf), | |
348 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(struct statfs *, buf)), | |
349 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(buf, buf)), | |
350 | TP_printk() | |
351 | ) | |
352 | #endif | |
353 | #ifndef OVERRIDE_32_sys_fstatfs | |
354 | SC_TRACE_EVENT(sys_fstatfs, | |
355 | TP_PROTO(unsigned int fd, struct statfs * buf), | |
356 | TP_ARGS(fd, buf), | |
357 | TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct statfs *, buf)), | |
358 | TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf)), | |
359 | TP_printk() | |
360 | ) | |
361 | #endif | |
362 | #ifndef OVERRIDE_32_sys_socketcall | |
363 | SC_TRACE_EVENT(sys_socketcall, | |
364 | TP_PROTO(int call, unsigned long * args), | |
365 | TP_ARGS(call, args), | |
366 | TP_STRUCT__entry(__field(int, call) __field_hex(unsigned long *, args)), | |
367 | TP_fast_assign(tp_assign(call, call) tp_assign(args, args)), | |
368 | TP_printk() | |
369 | ) | |
370 | #endif | |
371 | #ifndef OVERRIDE_32_sys_getitimer | |
372 | SC_TRACE_EVENT(sys_getitimer, | |
373 | TP_PROTO(int which, struct itimerval * value), | |
374 | TP_ARGS(which, value), | |
375 | TP_STRUCT__entry(__field(int, which) __field_hex(struct itimerval *, value)), | |
376 | TP_fast_assign(tp_assign(which, which) tp_assign(value, value)), | |
377 | TP_printk() | |
378 | ) | |
379 | #endif | |
380 | #ifndef OVERRIDE_32_sys_newstat | |
381 | SC_TRACE_EVENT(sys_newstat, | |
382 | TP_PROTO(const char * filename, struct stat * statbuf), | |
383 | TP_ARGS(filename, statbuf), | |
384 | TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat *, statbuf)), | |
385 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf)), | |
386 | TP_printk() | |
387 | ) | |
388 | #endif | |
389 | #ifndef OVERRIDE_32_sys_newlstat | |
390 | SC_TRACE_EVENT(sys_newlstat, | |
391 | TP_PROTO(const char * filename, struct stat * statbuf), | |
392 | TP_ARGS(filename, statbuf), | |
393 | TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat *, statbuf)), | |
394 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf)), | |
395 | TP_printk() | |
396 | ) | |
397 | #endif | |
398 | #ifndef OVERRIDE_32_sys_newfstat | |
399 | SC_TRACE_EVENT(sys_newfstat, | |
400 | TP_PROTO(unsigned int fd, struct stat * statbuf), | |
401 | TP_ARGS(fd, statbuf), | |
402 | TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct stat *, statbuf)), | |
403 | TP_fast_assign(tp_assign(fd, fd) tp_assign(statbuf, statbuf)), | |
404 | TP_printk() | |
405 | ) | |
406 | #endif | |
407 | #ifndef OVERRIDE_32_sys_setdomainname | |
408 | SC_TRACE_EVENT(sys_setdomainname, | |
409 | TP_PROTO(char * name, int len), | |
410 | TP_ARGS(name, len), | |
411 | TP_STRUCT__entry(__string_from_user(name, name) __field(int, len)), | |
412 | TP_fast_assign(tp_copy_string_from_user(name, name) tp_assign(len, len)), | |
413 | TP_printk() | |
414 | ) | |
415 | #endif | |
416 | #ifndef OVERRIDE_32_sys_delete_module | |
417 | SC_TRACE_EVENT(sys_delete_module, | |
418 | TP_PROTO(const char * name_user, unsigned int flags), | |
419 | TP_ARGS(name_user, flags), | |
420 | TP_STRUCT__entry(__string_from_user(name_user, name_user) __field(unsigned int, flags)), | |
421 | TP_fast_assign(tp_copy_string_from_user(name_user, name_user) tp_assign(flags, flags)), | |
422 | TP_printk() | |
423 | ) | |
424 | #endif | |
425 | #ifndef OVERRIDE_32_sys_sched_setparam | |
426 | SC_TRACE_EVENT(sys_sched_setparam, | |
427 | TP_PROTO(pid_t pid, struct sched_param * param), | |
428 | TP_ARGS(pid, param), | |
429 | TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct sched_param *, param)), | |
430 | TP_fast_assign(tp_assign(pid, pid) tp_assign(param, param)), | |
431 | TP_printk() | |
432 | ) | |
433 | #endif | |
434 | #ifndef OVERRIDE_32_sys_sched_getparam | |
435 | SC_TRACE_EVENT(sys_sched_getparam, | |
436 | TP_PROTO(pid_t pid, struct sched_param * param), | |
437 | TP_ARGS(pid, param), | |
438 | TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct sched_param *, param)), | |
439 | TP_fast_assign(tp_assign(pid, pid) tp_assign(param, param)), | |
440 | TP_printk() | |
441 | ) | |
442 | #endif | |
443 | #ifndef OVERRIDE_32_sys_sched_rr_get_interval | |
444 | SC_TRACE_EVENT(sys_sched_rr_get_interval, | |
445 | TP_PROTO(pid_t pid, struct timespec * interval), | |
446 | TP_ARGS(pid, interval), | |
447 | TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct timespec *, interval)), | |
448 | TP_fast_assign(tp_assign(pid, pid) tp_assign(interval, interval)), | |
449 | TP_printk() | |
450 | ) | |
451 | #endif | |
452 | #ifndef OVERRIDE_32_sys_nanosleep | |
453 | SC_TRACE_EVENT(sys_nanosleep, | |
454 | TP_PROTO(struct timespec * rqtp, struct timespec * rmtp), | |
455 | TP_ARGS(rqtp, rmtp), | |
456 | TP_STRUCT__entry(__field_hex(struct timespec *, rqtp) __field_hex(struct timespec *, rmtp)), | |
457 | TP_fast_assign(tp_assign(rqtp, rqtp) tp_assign(rmtp, rmtp)), | |
458 | TP_printk() | |
459 | ) | |
460 | #endif | |
461 | #ifndef OVERRIDE_32_sys_read | |
462 | SC_TRACE_EVENT(sys_read, | |
463 | TP_PROTO(unsigned int fd, char * buf, size_t count), | |
464 | TP_ARGS(fd, buf, count), | |
465 | TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(char *, buf) __field(size_t, count)), | |
466 | TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf) tp_assign(count, count)), | |
467 | TP_printk() | |
468 | ) | |
469 | #endif | |
470 | #ifndef OVERRIDE_32_sys_write | |
471 | SC_TRACE_EVENT(sys_write, | |
472 | TP_PROTO(unsigned int fd, const char * buf, size_t count), | |
473 | TP_ARGS(fd, buf, count), | |
474 | TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(const char *, buf) __field(size_t, count)), | |
475 | TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf) tp_assign(count, count)), | |
476 | TP_printk() | |
477 | ) | |
478 | #endif | |
479 | #ifndef OVERRIDE_32_sys_open | |
480 | SC_TRACE_EVENT(sys_open, | |
481 | TP_PROTO(const char * filename, int flags, umode_t mode), | |
482 | TP_ARGS(filename, flags, mode), | |
483 | TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, flags) __field(umode_t, mode)), | |
484 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(flags, flags) tp_assign(mode, mode)), | |
485 | TP_printk() | |
486 | ) | |
487 | #endif | |
488 | #ifndef OVERRIDE_32_sys_waitpid | |
489 | SC_TRACE_EVENT(sys_waitpid, | |
490 | TP_PROTO(pid_t pid, int * stat_addr, int options), | |
491 | TP_ARGS(pid, stat_addr, options), | |
492 | TP_STRUCT__entry(__field(pid_t, pid) __field_hex(int *, stat_addr) __field(int, options)), | |
493 | TP_fast_assign(tp_assign(pid, pid) tp_assign(stat_addr, stat_addr) tp_assign(options, options)), | |
494 | TP_printk() | |
495 | ) | |
496 | #endif | |
497 | #ifndef OVERRIDE_32_sys_mknod | |
498 | SC_TRACE_EVENT(sys_mknod, | |
499 | TP_PROTO(const char * filename, umode_t mode, unsigned dev), | |
500 | TP_ARGS(filename, mode, dev), | |
501 | TP_STRUCT__entry(__string_from_user(filename, filename) __field(umode_t, mode) __field(unsigned, dev)), | |
502 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(mode, mode) tp_assign(dev, dev)), | |
503 | TP_printk() | |
504 | ) | |
505 | #endif | |
506 | #ifndef OVERRIDE_32_sys_lchown | |
507 | SC_TRACE_EVENT(sys_lchown, | |
508 | TP_PROTO(const char * filename, uid_t user, gid_t group), | |
509 | TP_ARGS(filename, user, group), | |
510 | TP_STRUCT__entry(__string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group)), | |
511 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(user, user) tp_assign(group, group)), | |
512 | TP_printk() | |
513 | ) | |
514 | #endif | |
515 | #ifndef OVERRIDE_32_sys_sigaction | |
516 | SC_TRACE_EVENT(sys_sigaction, | |
517 | TP_PROTO(int sig, const struct sigaction * act, struct sigaction * oact), | |
518 | TP_ARGS(sig, act, oact), | |
519 | TP_STRUCT__entry(__field(int, sig) __field_hex(const struct sigaction *, act) __field_hex(struct sigaction *, oact)), | |
520 | TP_fast_assign(tp_assign(sig, sig) tp_assign(act, act) tp_assign(oact, oact)), | |
521 | TP_printk() | |
522 | ) | |
523 | #endif | |
524 | #ifndef OVERRIDE_32_sys_readlink | |
525 | SC_TRACE_EVENT(sys_readlink, | |
526 | TP_PROTO(const char * path, char * buf, int bufsiz), | |
527 | TP_ARGS(path, buf, bufsiz), | |
528 | TP_STRUCT__entry(__string_from_user(path, path) __field_hex(char *, buf) __field(int, bufsiz)), | |
529 | TP_fast_assign(tp_copy_string_from_user(path, path) tp_assign(buf, buf) tp_assign(bufsiz, bufsiz)), | |
530 | TP_printk() | |
531 | ) | |
532 | #endif | |
533 | #ifndef OVERRIDE_32_sys_old_readdir | |
534 | SC_TRACE_EVENT(sys_old_readdir, | |
535 | TP_PROTO(unsigned int fd, struct old_linux_dirent * dirent, unsigned int count), | |
536 | TP_ARGS(fd, dirent, count), | |
537 | TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct old_linux_dirent *, dirent) __field(unsigned int, count)), | |
538 | TP_fast_assign(tp_assign(fd, fd) tp_assign(dirent, dirent) tp_assign(count, count)), | |
539 | TP_printk() | |
540 | ) | |
541 | #endif | |
542 | #ifndef OVERRIDE_32_sys_syslog | |
543 | SC_TRACE_EVENT(sys_syslog, | |
544 | TP_PROTO(int type, char * buf, int len), | |
545 | TP_ARGS(type, buf, len), | |
546 | TP_STRUCT__entry(__field(int, type) __field_hex(char *, buf) __field(int, len)), | |
547 | TP_fast_assign(tp_assign(type, type) tp_assign(buf, buf) tp_assign(len, len)), | |
548 | TP_printk() | |
549 | ) | |
550 | #endif | |
551 | #ifndef OVERRIDE_32_sys_setitimer | |
552 | SC_TRACE_EVENT(sys_setitimer, | |
553 | TP_PROTO(int which, struct itimerval * value, struct itimerval * ovalue), | |
554 | TP_ARGS(which, value, ovalue), | |
555 | TP_STRUCT__entry(__field(int, which) __field_hex(struct itimerval *, value) __field_hex(struct itimerval *, ovalue)), | |
556 | TP_fast_assign(tp_assign(which, which) tp_assign(value, value) tp_assign(ovalue, ovalue)), | |
557 | TP_printk() | |
558 | ) | |
559 | #endif | |
560 | #ifndef OVERRIDE_32_sys_sigprocmask | |
561 | SC_TRACE_EVENT(sys_sigprocmask, | |
562 | TP_PROTO(int how, old_sigset_t * nset, old_sigset_t * oset), | |
563 | TP_ARGS(how, nset, oset), | |
564 | TP_STRUCT__entry(__field(int, how) __field_hex(old_sigset_t *, nset) __field_hex(old_sigset_t *, oset)), | |
565 | TP_fast_assign(tp_assign(how, how) tp_assign(nset, nset) tp_assign(oset, oset)), | |
566 | TP_printk() | |
567 | ) | |
568 | #endif | |
569 | #ifndef OVERRIDE_32_sys_init_module | |
570 | SC_TRACE_EVENT(sys_init_module, | |
571 | TP_PROTO(void * umod, unsigned long len, const char * uargs), | |
572 | TP_ARGS(umod, len, uargs), | |
573 | TP_STRUCT__entry(__field_hex(void *, umod) __field(unsigned long, len) __field_hex(const char *, uargs)), | |
574 | TP_fast_assign(tp_assign(umod, umod) tp_assign(len, len) tp_assign(uargs, uargs)), | |
575 | TP_printk() | |
576 | ) | |
577 | #endif | |
578 | #ifndef OVERRIDE_32_sys_getdents | |
579 | SC_TRACE_EVENT(sys_getdents, | |
580 | TP_PROTO(unsigned int fd, struct linux_dirent * dirent, unsigned int count), | |
581 | TP_ARGS(fd, dirent, count), | |
582 | TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct linux_dirent *, dirent) __field(unsigned int, count)), | |
583 | TP_fast_assign(tp_assign(fd, fd) tp_assign(dirent, dirent) tp_assign(count, count)), | |
584 | TP_printk() | |
585 | ) | |
586 | #endif | |
587 | #ifndef OVERRIDE_32_sys_readv | |
588 | SC_TRACE_EVENT(sys_readv, | |
589 | TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), | |
590 | TP_ARGS(fd, vec, vlen), | |
591 | TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen)), | |
592 | TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen)), | |
593 | TP_printk() | |
594 | ) | |
595 | #endif | |
596 | #ifndef OVERRIDE_32_sys_writev | |
597 | SC_TRACE_EVENT(sys_writev, | |
598 | TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), | |
599 | TP_ARGS(fd, vec, vlen), | |
600 | TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen)), | |
601 | TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen)), | |
602 | TP_printk() | |
603 | ) | |
604 | #endif | |
605 | #ifndef OVERRIDE_32_sys_cachectl | |
606 | SC_TRACE_EVENT(sys_cachectl, | |
607 | TP_PROTO(char * addr, int nbytes, int op), | |
608 | TP_ARGS(addr, nbytes, op), | |
609 | TP_STRUCT__entry(__field_hex(char *, addr) __field(int, nbytes) __field(int, op)), | |
610 | TP_fast_assign(tp_assign(addr, addr) tp_assign(nbytes, nbytes) tp_assign(op, op)), | |
611 | TP_printk() | |
612 | ) | |
613 | #endif | |
614 | #ifndef OVERRIDE_32_sys_sched_setscheduler | |
615 | SC_TRACE_EVENT(sys_sched_setscheduler, | |
616 | TP_PROTO(pid_t pid, int policy, struct sched_param * param), | |
617 | TP_ARGS(pid, policy, param), | |
618 | TP_STRUCT__entry(__field(pid_t, pid) __field(int, policy) __field_hex(struct sched_param *, param)), | |
619 | TP_fast_assign(tp_assign(pid, pid) tp_assign(policy, policy) tp_assign(param, param)), | |
620 | TP_printk() | |
621 | ) | |
622 | #endif | |
623 | #ifndef OVERRIDE_32_sys_accept | |
624 | SC_TRACE_EVENT(sys_accept, | |
625 | TP_PROTO(int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), | |
626 | TP_ARGS(fd, upeer_sockaddr, upeer_addrlen), | |
627 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, upeer_sockaddr) __field_hex(int *, upeer_addrlen)), | |
628 | TP_fast_assign(tp_assign(fd, fd) tp_assign(upeer_sockaddr, upeer_sockaddr) tp_assign(upeer_addrlen, upeer_addrlen)), | |
629 | TP_printk() | |
630 | ) | |
631 | #endif | |
632 | #ifndef OVERRIDE_32_sys_bind | |
633 | SC_TRACE_EVENT(sys_bind, | |
634 | TP_PROTO(int fd, struct sockaddr * umyaddr, int addrlen), | |
635 | TP_ARGS(fd, umyaddr, addrlen), | |
636 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, umyaddr) __field_hex(int, addrlen)), | |
637 | TP_fast_assign(tp_assign(fd, fd) tp_assign(umyaddr, umyaddr) tp_assign(addrlen, addrlen)), | |
638 | TP_printk() | |
639 | ) | |
640 | #endif | |
641 | #ifndef OVERRIDE_32_sys_connect | |
642 | SC_TRACE_EVENT(sys_connect, | |
643 | TP_PROTO(int fd, struct sockaddr * uservaddr, int addrlen), | |
644 | TP_ARGS(fd, uservaddr, addrlen), | |
645 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, uservaddr) __field_hex(int, addrlen)), | |
646 | TP_fast_assign(tp_assign(fd, fd) tp_assign(uservaddr, uservaddr) tp_assign(addrlen, addrlen)), | |
647 | TP_printk() | |
648 | ) | |
649 | #endif | |
650 | #ifndef OVERRIDE_32_sys_getpeername | |
651 | SC_TRACE_EVENT(sys_getpeername, | |
652 | TP_PROTO(int fd, struct sockaddr * usockaddr, int * usockaddr_len), | |
653 | TP_ARGS(fd, usockaddr, usockaddr_len), | |
654 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, usockaddr) __field_hex(int *, usockaddr_len)), | |
655 | TP_fast_assign(tp_assign(fd, fd) tp_assign(usockaddr, usockaddr) tp_assign(usockaddr_len, usockaddr_len)), | |
656 | TP_printk() | |
657 | ) | |
658 | #endif | |
659 | #ifndef OVERRIDE_32_sys_getsockname | |
660 | SC_TRACE_EVENT(sys_getsockname, | |
661 | TP_PROTO(int fd, struct sockaddr * usockaddr, int * usockaddr_len), | |
662 | TP_ARGS(fd, usockaddr, usockaddr_len), | |
663 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, usockaddr) __field_hex(int *, usockaddr_len)), | |
664 | TP_fast_assign(tp_assign(fd, fd) tp_assign(usockaddr, usockaddr) tp_assign(usockaddr_len, usockaddr_len)), | |
665 | TP_printk() | |
666 | ) | |
667 | #endif | |
668 | #ifndef OVERRIDE_32_sys_reboot | |
669 | SC_TRACE_EVENT(sys_reboot, | |
670 | TP_PROTO(int magic1, int magic2, unsigned int cmd, void * arg), | |
671 | TP_ARGS(magic1, magic2, cmd, arg), | |
672 | TP_STRUCT__entry(__field(int, magic1) __field(int, magic2) __field(unsigned int, cmd) __field_hex(void *, arg)), | |
673 | TP_fast_assign(tp_assign(magic1, magic1) tp_assign(magic2, magic2) tp_assign(cmd, cmd) tp_assign(arg, arg)), | |
674 | TP_printk() | |
675 | ) | |
676 | #endif | |
677 | #ifndef OVERRIDE_32_sys_wait4 | |
678 | SC_TRACE_EVENT(sys_wait4, | |
679 | TP_PROTO(pid_t upid, int * stat_addr, int options, struct rusage * ru), | |
680 | TP_ARGS(upid, stat_addr, options, ru), | |
681 | TP_STRUCT__entry(__field(pid_t, upid) __field_hex(int *, stat_addr) __field(int, options) __field_hex(struct rusage *, ru)), | |
682 | TP_fast_assign(tp_assign(upid, upid) tp_assign(stat_addr, stat_addr) tp_assign(options, options) tp_assign(ru, ru)), | |
683 | TP_printk() | |
684 | ) | |
685 | #endif | |
686 | #ifndef OVERRIDE_32_sys_quotactl | |
687 | SC_TRACE_EVENT(sys_quotactl, | |
688 | TP_PROTO(unsigned int cmd, const char * special, qid_t id, void * addr), | |
689 | TP_ARGS(cmd, special, id, addr), | |
690 | TP_STRUCT__entry(__field(unsigned int, cmd) __field_hex(const char *, special) __field(qid_t, id) __field_hex(void *, addr)), | |
691 | TP_fast_assign(tp_assign(cmd, cmd) tp_assign(special, special) tp_assign(id, id) tp_assign(addr, addr)), | |
692 | TP_printk() | |
693 | ) | |
694 | #endif | |
695 | #ifndef OVERRIDE_32_sys_mount | |
696 | SC_TRACE_EVENT(sys_mount, | |
697 | TP_PROTO(char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), | |
698 | TP_ARGS(dev_name, dir_name, type, flags, data), | |
699 | TP_STRUCT__entry(__string_from_user(dev_name, dev_name) __string_from_user(dir_name, dir_name) __string_from_user(type, type) __field(unsigned long, flags) __field_hex(void *, data)), | |
700 | TP_fast_assign(tp_copy_string_from_user(dev_name, dev_name) tp_copy_string_from_user(dir_name, dir_name) tp_copy_string_from_user(type, type) tp_assign(flags, flags) tp_assign(data, data)), | |
701 | TP_printk() | |
702 | ) | |
703 | #endif | |
704 | #ifndef OVERRIDE_32_sys_llseek | |
705 | SC_TRACE_EVENT(sys_llseek, | |
706 | TP_PROTO(unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int origin), | |
707 | TP_ARGS(fd, offset_high, offset_low, result, origin), | |
708 | TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned long, offset_high) __field(unsigned long, offset_low) __field_hex(loff_t *, result) __field(unsigned int, origin)), | |
709 | TP_fast_assign(tp_assign(fd, fd) tp_assign(offset_high, offset_high) tp_assign(offset_low, offset_low) tp_assign(result, result) tp_assign(origin, origin)), | |
710 | TP_printk() | |
711 | ) | |
712 | #endif | |
713 | #ifndef OVERRIDE_32_sys_select | |
714 | SC_TRACE_EVENT(sys_select, | |
715 | TP_PROTO(int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), | |
716 | TP_ARGS(n, inp, outp, exp, tvp), | |
717 | TP_STRUCT__entry(__field(int, n) __field_hex(fd_set *, inp) __field_hex(fd_set *, outp) __field_hex(fd_set *, exp) __field_hex(struct timeval *, tvp)), | |
718 | TP_fast_assign(tp_assign(n, n) tp_assign(inp, inp) tp_assign(outp, outp) tp_assign(exp, exp) tp_assign(tvp, tvp)), | |
719 | TP_printk() | |
720 | ) | |
721 | #endif | |
722 | #ifndef OVERRIDE_32_sys_ipc | |
723 | SC_TRACE_EVENT(sys_ipc, | |
724 | TP_PROTO(unsigned int call, int first, unsigned long second, unsigned long third, void * ptr, long fifth), | |
725 | TP_ARGS(call, first, second, third, ptr, fifth), | |
726 | TP_STRUCT__entry(__field(unsigned int, call) __field(int, first) __field(unsigned long, second) __field(unsigned long, third) __field_hex(void *, ptr) __field(long, fifth)), | |
727 | TP_fast_assign(tp_assign(call, call) tp_assign(first, first) tp_assign(second, second) tp_assign(third, third) tp_assign(ptr, ptr) tp_assign(fifth, fifth)), | |
728 | TP_printk() | |
729 | ) | |
730 | #endif | |
731 | ||
732 | #endif /* _TRACE_SYSCALLS_POINTERS_H */ | |
733 | ||
734 | /* This part must be outside protection */ | |
735 | #include "../../../probes/define_trace.h" | |
736 | ||
737 | #else /* CREATE_SYSCALL_TABLE */ | |
738 | ||
739 | #include "mips-32-syscalls-3.5.0_pointers_override.h" | |
740 | #include "syscalls_pointers_override.h" | |
741 | ||
742 | #ifndef OVERRIDE_TABLE_32_sys_read | |
743 | TRACE_SYSCALL_TABLE(sys_read, sys_read, 4007, 3) | |
744 | #endif | |
745 | #ifndef OVERRIDE_TABLE_32_sys_write | |
746 | TRACE_SYSCALL_TABLE(sys_write, sys_write, 4009, 3) | |
747 | #endif | |
748 | #ifndef OVERRIDE_TABLE_32_sys_open | |
749 | TRACE_SYSCALL_TABLE(sys_open, sys_open, 4011, 3) | |
750 | #endif | |
751 | #ifndef OVERRIDE_TABLE_32_sys_waitpid | |
752 | TRACE_SYSCALL_TABLE(sys_waitpid, sys_waitpid, 4015, 3) | |
753 | #endif | |
754 | #ifndef OVERRIDE_TABLE_32_sys_creat | |
755 | TRACE_SYSCALL_TABLE(sys_creat, sys_creat, 4017, 2) | |
756 | #endif | |
757 | #ifndef OVERRIDE_TABLE_32_sys_link | |
758 | TRACE_SYSCALL_TABLE(sys_link, sys_link, 4019, 2) | |
759 | #endif | |
760 | #ifndef OVERRIDE_TABLE_32_sys_unlink | |
761 | TRACE_SYSCALL_TABLE(sys_unlink, sys_unlink, 4021, 1) | |
762 | #endif | |
763 | #ifndef OVERRIDE_TABLE_32_sys_chdir | |
764 | TRACE_SYSCALL_TABLE(sys_chdir, sys_chdir, 4025, 1) | |
765 | #endif | |
766 | #ifndef OVERRIDE_TABLE_32_sys_time | |
767 | TRACE_SYSCALL_TABLE(sys_time, sys_time, 4027, 1) | |
768 | #endif | |
769 | #ifndef OVERRIDE_TABLE_32_sys_mknod | |
770 | TRACE_SYSCALL_TABLE(sys_mknod, sys_mknod, 4029, 3) | |
771 | #endif | |
772 | #ifndef OVERRIDE_TABLE_32_sys_chmod | |
773 | TRACE_SYSCALL_TABLE(sys_chmod, sys_chmod, 4031, 2) | |
774 | #endif | |
775 | #ifndef OVERRIDE_TABLE_32_sys_lchown | |
776 | TRACE_SYSCALL_TABLE(sys_lchown, sys_lchown, 4033, 3) | |
777 | #endif | |
778 | #ifndef OVERRIDE_TABLE_32_sys_mount | |
779 | TRACE_SYSCALL_TABLE(sys_mount, sys_mount, 4043, 5) | |
780 | #endif | |
781 | #ifndef OVERRIDE_TABLE_32_sys_oldumount | |
782 | TRACE_SYSCALL_TABLE(sys_oldumount, sys_oldumount, 4045, 1) | |
783 | #endif | |
784 | #ifndef OVERRIDE_TABLE_32_sys_stime | |
785 | TRACE_SYSCALL_TABLE(sys_stime, sys_stime, 4051, 1) | |
786 | #endif | |
787 | #ifndef OVERRIDE_TABLE_32_sys_utime | |
788 | TRACE_SYSCALL_TABLE(sys_utime, sys_utime, 4061, 2) | |
789 | #endif | |
790 | #ifndef OVERRIDE_TABLE_32_sys_access | |
791 | TRACE_SYSCALL_TABLE(sys_access, sys_access, 4067, 2) | |
792 | #endif | |
793 | #ifndef OVERRIDE_TABLE_32_sys_rename | |
794 | TRACE_SYSCALL_TABLE(sys_rename, sys_rename, 4077, 2) | |
795 | #endif | |
796 | #ifndef OVERRIDE_TABLE_32_sys_mkdir | |
797 | TRACE_SYSCALL_TABLE(sys_mkdir, sys_mkdir, 4079, 2) | |
798 | #endif | |
799 | #ifndef OVERRIDE_TABLE_32_sys_rmdir | |
800 | TRACE_SYSCALL_TABLE(sys_rmdir, sys_rmdir, 4081, 1) | |
801 | #endif | |
802 | #ifndef OVERRIDE_TABLE_32_sys_times | |
803 | TRACE_SYSCALL_TABLE(sys_times, sys_times, 4087, 1) | |
804 | #endif | |
805 | #ifndef OVERRIDE_TABLE_32_sys_umount | |
806 | TRACE_SYSCALL_TABLE(sys_umount, sys_umount, 4105, 2) | |
807 | #endif | |
808 | #ifndef OVERRIDE_TABLE_32_sys_olduname | |
809 | TRACE_SYSCALL_TABLE(sys_olduname, sys_olduname, 4119, 1) | |
810 | #endif | |
811 | #ifndef OVERRIDE_TABLE_32_sys_chroot | |
812 | TRACE_SYSCALL_TABLE(sys_chroot, sys_chroot, 4123, 1) | |
813 | #endif | |
814 | #ifndef OVERRIDE_TABLE_32_sys_ustat | |
815 | TRACE_SYSCALL_TABLE(sys_ustat, sys_ustat, 4125, 2) | |
816 | #endif | |
817 | #ifndef OVERRIDE_TABLE_32_sys_sigaction | |
818 | TRACE_SYSCALL_TABLE(sys_sigaction, sys_sigaction, 4135, 3) | |
819 | #endif | |
820 | #ifndef OVERRIDE_TABLE_32_sys_sigpending | |
821 | TRACE_SYSCALL_TABLE(sys_sigpending, sys_sigpending, 4147, 1) | |
822 | #endif | |
823 | #ifndef OVERRIDE_TABLE_32_sys_sethostname | |
824 | TRACE_SYSCALL_TABLE(sys_sethostname, sys_sethostname, 4149, 2) | |
825 | #endif | |
826 | #ifndef OVERRIDE_TABLE_32_sys_setrlimit | |
827 | TRACE_SYSCALL_TABLE(sys_setrlimit, sys_setrlimit, 4151, 2) | |
828 | #endif | |
829 | #ifndef OVERRIDE_TABLE_32_sys_getrlimit | |
830 | TRACE_SYSCALL_TABLE(sys_getrlimit, sys_getrlimit, 4153, 2) | |
831 | #endif | |
832 | #ifndef OVERRIDE_TABLE_32_sys_getrusage | |
833 | TRACE_SYSCALL_TABLE(sys_getrusage, sys_getrusage, 4155, 2) | |
834 | #endif | |
835 | #ifndef OVERRIDE_TABLE_32_sys_gettimeofday | |
836 | TRACE_SYSCALL_TABLE(sys_gettimeofday, sys_gettimeofday, 4157, 2) | |
837 | #endif | |
838 | #ifndef OVERRIDE_TABLE_32_sys_settimeofday | |
839 | TRACE_SYSCALL_TABLE(sys_settimeofday, sys_settimeofday, 4159, 2) | |
840 | #endif | |
841 | #ifndef OVERRIDE_TABLE_32_sys_getgroups | |
842 | TRACE_SYSCALL_TABLE(sys_getgroups, sys_getgroups, 4161, 2) | |
843 | #endif | |
844 | #ifndef OVERRIDE_TABLE_32_sys_setgroups | |
845 | TRACE_SYSCALL_TABLE(sys_setgroups, sys_setgroups, 4163, 2) | |
846 | #endif | |
847 | #ifndef OVERRIDE_TABLE_32_sys_symlink | |
848 | TRACE_SYSCALL_TABLE(sys_symlink, sys_symlink, 4167, 2) | |
849 | #endif | |
850 | #ifndef OVERRIDE_TABLE_32_sys_readlink | |
851 | TRACE_SYSCALL_TABLE(sys_readlink, sys_readlink, 4171, 3) | |
852 | #endif | |
853 | #ifndef OVERRIDE_TABLE_32_sys_uselib | |
854 | TRACE_SYSCALL_TABLE(sys_uselib, sys_uselib, 4173, 1) | |
855 | #endif | |
856 | #ifndef OVERRIDE_TABLE_32_sys_swapon | |
857 | TRACE_SYSCALL_TABLE(sys_swapon, sys_swapon, 4175, 2) | |
858 | #endif | |
859 | #ifndef OVERRIDE_TABLE_32_sys_reboot | |
860 | TRACE_SYSCALL_TABLE(sys_reboot, sys_reboot, 4177, 4) | |
861 | #endif | |
862 | #ifndef OVERRIDE_TABLE_32_sys_old_readdir | |
863 | TRACE_SYSCALL_TABLE(sys_old_readdir, sys_old_readdir, 4179, 3) | |
864 | #endif | |
865 | #ifndef OVERRIDE_TABLE_32_sys_truncate | |
866 | TRACE_SYSCALL_TABLE(sys_truncate, sys_truncate, 4185, 2) | |
867 | #endif | |
868 | #ifndef OVERRIDE_TABLE_32_sys_statfs | |
869 | TRACE_SYSCALL_TABLE(sys_statfs, sys_statfs, 4199, 2) | |
870 | #endif | |
871 | #ifndef OVERRIDE_TABLE_32_sys_fstatfs | |
872 | TRACE_SYSCALL_TABLE(sys_fstatfs, sys_fstatfs, 4201, 2) | |
873 | #endif | |
874 | #ifndef OVERRIDE_TABLE_32_sys_socketcall | |
875 | TRACE_SYSCALL_TABLE(sys_socketcall, sys_socketcall, 4205, 2) | |
876 | #endif | |
877 | #ifndef OVERRIDE_TABLE_32_sys_syslog | |
878 | TRACE_SYSCALL_TABLE(sys_syslog, sys_syslog, 4207, 3) | |
879 | #endif | |
880 | #ifndef OVERRIDE_TABLE_32_sys_setitimer | |
881 | TRACE_SYSCALL_TABLE(sys_setitimer, sys_setitimer, 4209, 3) | |
882 | #endif | |
883 | #ifndef OVERRIDE_TABLE_32_sys_getitimer | |
884 | TRACE_SYSCALL_TABLE(sys_getitimer, sys_getitimer, 4211, 2) | |
885 | #endif | |
886 | #ifndef OVERRIDE_TABLE_32_sys_newstat | |
887 | TRACE_SYSCALL_TABLE(sys_newstat, sys_newstat, 4213, 2) | |
888 | #endif | |
889 | #ifndef OVERRIDE_TABLE_32_sys_newlstat | |
890 | TRACE_SYSCALL_TABLE(sys_newlstat, sys_newlstat, 4215, 2) | |
891 | #endif | |
892 | #ifndef OVERRIDE_TABLE_32_sys_newfstat | |
893 | TRACE_SYSCALL_TABLE(sys_newfstat, sys_newfstat, 4217, 2) | |
894 | #endif | |
895 | #ifndef OVERRIDE_TABLE_32_sys_uname | |
896 | TRACE_SYSCALL_TABLE(sys_uname, sys_uname, 4219, 1) | |
897 | #endif | |
898 | #ifndef OVERRIDE_TABLE_32_sys_wait4 | |
899 | TRACE_SYSCALL_TABLE(sys_wait4, sys_wait4, 4229, 4) | |
900 | #endif | |
901 | #ifndef OVERRIDE_TABLE_32_sys_swapoff | |
902 | TRACE_SYSCALL_TABLE(sys_swapoff, sys_swapoff, 4231, 1) | |
903 | #endif | |
904 | #ifndef OVERRIDE_TABLE_32_sys_sysinfo | |
905 | TRACE_SYSCALL_TABLE(sys_sysinfo, sys_sysinfo, 4233, 1) | |
906 | #endif | |
907 | #ifndef OVERRIDE_TABLE_32_sys_ipc | |
908 | TRACE_SYSCALL_TABLE(sys_ipc, sys_ipc, 4235, 6) | |
909 | #endif | |
910 | #ifndef OVERRIDE_TABLE_32_sys_setdomainname | |
911 | TRACE_SYSCALL_TABLE(sys_setdomainname, sys_setdomainname, 4243, 2) | |
912 | #endif | |
913 | #ifndef OVERRIDE_TABLE_32_sys_newuname | |
914 | TRACE_SYSCALL_TABLE(sys_newuname, sys_newuname, 4245, 1) | |
915 | #endif | |
916 | #ifndef OVERRIDE_TABLE_32_sys_adjtimex | |
917 | TRACE_SYSCALL_TABLE(sys_adjtimex, sys_adjtimex, 4249, 1) | |
918 | #endif | |
919 | #ifndef OVERRIDE_TABLE_32_sys_sigprocmask | |
920 | TRACE_SYSCALL_TABLE(sys_sigprocmask, sys_sigprocmask, 4253, 3) | |
921 | #endif | |
922 | #ifndef OVERRIDE_TABLE_32_sys_init_module | |
923 | TRACE_SYSCALL_TABLE(sys_init_module, sys_init_module, 4257, 3) | |
924 | #endif | |
925 | #ifndef OVERRIDE_TABLE_32_sys_delete_module | |
926 | TRACE_SYSCALL_TABLE(sys_delete_module, sys_delete_module, 4259, 2) | |
927 | #endif | |
928 | #ifndef OVERRIDE_TABLE_32_sys_quotactl | |
929 | TRACE_SYSCALL_TABLE(sys_quotactl, sys_quotactl, 4263, 4) | |
930 | #endif | |
931 | #ifndef OVERRIDE_TABLE_32_sys_llseek | |
932 | TRACE_SYSCALL_TABLE(sys_llseek, sys_llseek, 4281, 5) | |
933 | #endif | |
934 | #ifndef OVERRIDE_TABLE_32_sys_getdents | |
935 | TRACE_SYSCALL_TABLE(sys_getdents, sys_getdents, 4283, 3) | |
936 | #endif | |
937 | #ifndef OVERRIDE_TABLE_32_sys_select | |
938 | TRACE_SYSCALL_TABLE(sys_select, sys_select, 4285, 5) | |
939 | #endif | |
940 | #ifndef OVERRIDE_TABLE_32_sys_readv | |
941 | TRACE_SYSCALL_TABLE(sys_readv, sys_readv, 4291, 3) | |
942 | #endif | |
943 | #ifndef OVERRIDE_TABLE_32_sys_writev | |
944 | TRACE_SYSCALL_TABLE(sys_writev, sys_writev, 4293, 3) | |
945 | #endif | |
946 | #ifndef OVERRIDE_TABLE_32_sys_cachectl | |
947 | TRACE_SYSCALL_TABLE(sys_cachectl, sys_cachectl, 4297, 3) | |
948 | #endif | |
949 | #ifndef OVERRIDE_TABLE_32_sys_sysctl | |
950 | TRACE_SYSCALL_TABLE(sys_sysctl, sys_sysctl, 4307, 1) | |
951 | #endif | |
952 | #ifndef OVERRIDE_TABLE_32_sys_sched_setparam | |
953 | TRACE_SYSCALL_TABLE(sys_sched_setparam, sys_sched_setparam, 4317, 2) | |
954 | #endif | |
955 | #ifndef OVERRIDE_TABLE_32_sys_sched_getparam | |
956 | TRACE_SYSCALL_TABLE(sys_sched_getparam, sys_sched_getparam, 4319, 2) | |
957 | #endif | |
958 | #ifndef OVERRIDE_TABLE_32_sys_sched_setscheduler | |
959 | TRACE_SYSCALL_TABLE(sys_sched_setscheduler, sys_sched_setscheduler, 4321, 3) | |
960 | #endif | |
961 | #ifndef OVERRIDE_TABLE_32_sys_sched_rr_get_interval | |
962 | TRACE_SYSCALL_TABLE(sys_sched_rr_get_interval, sys_sched_rr_get_interval, 4331, 2) | |
963 | #endif | |
964 | #ifndef OVERRIDE_TABLE_32_sys_nanosleep | |
965 | TRACE_SYSCALL_TABLE(sys_nanosleep, sys_nanosleep, 4333, 2) | |
966 | #endif | |
967 | #ifndef OVERRIDE_TABLE_32_sys_accept | |
968 | TRACE_SYSCALL_TABLE(sys_accept, sys_accept, 4337, 3) | |
969 | #endif | |
970 | #ifndef OVERRIDE_TABLE_32_sys_bind | |
971 | TRACE_SYSCALL_TABLE(sys_bind, sys_bind, 4339, 3) | |
972 | #endif | |
973 | #ifndef OVERRIDE_TABLE_32_sys_connect | |
974 | TRACE_SYSCALL_TABLE(sys_connect, sys_connect, 4341, 3) | |
975 | #endif | |
976 | #ifndef OVERRIDE_TABLE_32_sys_getpeername | |
977 | TRACE_SYSCALL_TABLE(sys_getpeername, sys_getpeername, 4343, 3) | |
978 | #endif | |
979 | #ifndef OVERRIDE_TABLE_32_sys_getsockname | |
980 | TRACE_SYSCALL_TABLE(sys_getsockname, sys_getsockname, 4345, 3) | |
981 | #endif | |
982 | ||
983 | #endif /* CREATE_SYSCALL_TABLE */ |
0 | #ifndef CREATE_SYSCALL_TABLE | |
1 | ||
2 | #else /* CREATE_SYSCALL_TABLE */ | |
3 | ||
4 | #define OVERRIDE_TABLE_32_sys_clone | |
5 | TRACE_SYSCALL_TABLE(sys_clone, sys_clone, 4120, 0) | |
6 | ||
7 | #endif /* CREATE_SYSCALL_TABLE */ |
0 | /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ | |
1 | #ifndef CREATE_SYSCALL_TABLE | |
2 | ||
3 | #if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) | |
4 | #define _TRACE_SYSCALLS_INTEGERS_H | |
5 | ||
6 | #include <linux/tracepoint.h> | |
7 | #include <linux/syscalls.h> | |
8 | #include "mips-64-syscalls-3.5.0_integers_override.h" | |
9 | #include "syscalls_integers_override.h" | |
10 | ||
11 | SC_DECLARE_EVENT_CLASS_NOARGS(syscalls_noargs, | |
12 | TP_STRUCT__entry(), | |
13 | TP_fast_assign(), | |
14 | TP_printk() | |
15 | ) | |
16 | #ifndef OVERRIDE_64_sys_sgetmask | |
17 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_sgetmask) | |
18 | #endif | |
19 | #ifndef OVERRIDE_64_sys_sched_yield | |
20 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_sched_yield) | |
21 | #endif | |
22 | #ifndef OVERRIDE_64_sys_pause | |
23 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_pause) | |
24 | #endif | |
25 | #ifndef OVERRIDE_64_sys_getpid | |
26 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getpid) | |
27 | #endif | |
28 | #ifndef OVERRIDE_64_sys_getuid | |
29 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getuid) | |
30 | #endif | |
31 | #ifndef OVERRIDE_64_sys_getgid | |
32 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getgid) | |
33 | #endif | |
34 | #ifndef OVERRIDE_64_sys_geteuid | |
35 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_geteuid) | |
36 | #endif | |
37 | #ifndef OVERRIDE_64_sys_getegid | |
38 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getegid) | |
39 | #endif | |
40 | #ifndef OVERRIDE_64_sys_getppid | |
41 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getppid) | |
42 | #endif | |
43 | #ifndef OVERRIDE_64_sys_getpgrp | |
44 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_getpgrp) | |
45 | #endif | |
46 | #ifndef OVERRIDE_64_sys_setsid | |
47 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_setsid) | |
48 | #endif | |
49 | #ifndef OVERRIDE_64_sys_munlockall | |
50 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_munlockall) | |
51 | #endif | |
52 | #ifndef OVERRIDE_64_sys_vhangup | |
53 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_vhangup) | |
54 | #endif | |
55 | #ifndef OVERRIDE_64_sys_sync | |
56 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_sync) | |
57 | #endif | |
58 | #ifndef OVERRIDE_64_sys_gettid | |
59 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_gettid) | |
60 | #endif | |
61 | #ifndef OVERRIDE_64_sys_restart_syscall | |
62 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_restart_syscall) | |
63 | #endif | |
64 | #ifndef OVERRIDE_64_sys_inotify_init | |
65 | SC_DEFINE_EVENT_NOARGS(syscalls_noargs, sys_inotify_init) | |
66 | #endif | |
67 | #ifndef OVERRIDE_64_sys_nice | |
68 | SC_TRACE_EVENT(sys_nice, | |
69 | TP_PROTO(int increment), | |
70 | TP_ARGS(increment), | |
71 | TP_STRUCT__entry(__field(int, increment)), | |
72 | TP_fast_assign(tp_assign(increment, increment)), | |
73 | TP_printk() | |
74 | ) | |
75 | #endif | |
76 | #ifndef OVERRIDE_64_sys_ssetmask | |
77 | SC_TRACE_EVENT(sys_ssetmask, | |
78 | TP_PROTO(int newmask), | |
79 | TP_ARGS(newmask), | |
80 | TP_STRUCT__entry(__field(int, newmask)), | |
81 | TP_fast_assign(tp_assign(newmask, newmask)), | |
82 | TP_printk() | |
83 | ) | |
84 | #endif | |
85 | #ifndef OVERRIDE_64_sys_personality | |
86 | SC_TRACE_EVENT(sys_personality, | |
87 | TP_PROTO(unsigned int personality), | |
88 | TP_ARGS(personality), | |
89 | TP_STRUCT__entry(__field(unsigned int, personality)), | |
90 | TP_fast_assign(tp_assign(personality, personality)), | |
91 | TP_printk() | |
92 | ) | |
93 | #endif | |
94 | #ifndef OVERRIDE_64_sys_close | |
95 | SC_TRACE_EVENT(sys_close, | |
96 | TP_PROTO(unsigned int fd), | |
97 | TP_ARGS(fd), | |
98 | TP_STRUCT__entry(__field(unsigned int, fd)), | |
99 | TP_fast_assign(tp_assign(fd, fd)), | |
100 | TP_printk() | |
101 | ) | |
102 | #endif | |
103 | #ifndef OVERRIDE_64_sys_brk | |
104 | SC_TRACE_EVENT(sys_brk, | |
105 | TP_PROTO(unsigned long brk), | |
106 | TP_ARGS(brk), | |
107 | TP_STRUCT__entry(__field(unsigned long, brk)), | |
108 | TP_fast_assign(tp_assign(brk, brk)), | |
109 | TP_printk() | |
110 | ) | |
111 | #endif | |
112 | #ifndef OVERRIDE_64_sys_dup | |
113 | SC_TRACE_EVENT(sys_dup, | |
114 | TP_PROTO(unsigned int fildes), | |
115 | TP_ARGS(fildes), | |
116 | TP_STRUCT__entry(__field(unsigned int, fildes)), | |
117 | TP_fast_assign(tp_assign(fildes, fildes)), | |
118 | TP_printk() | |
119 | ) | |
120 | #endif | |
121 | #ifndef OVERRIDE_64_sys_alarm | |
122 | SC_TRACE_EVENT(sys_alarm, | |
123 | TP_PROTO(unsigned int seconds), | |
124 | TP_ARGS(seconds), | |
125 | TP_STRUCT__entry(__field(unsigned int, seconds)), | |
126 | TP_fast_assign(tp_assign(seconds, seconds)), | |
127 | TP_printk() | |
128 | ) | |
129 | #endif | |
130 | #ifndef OVERRIDE_64_sys_exit | |
131 | SC_TRACE_EVENT(sys_exit, | |
132 | TP_PROTO(int error_code), | |
133 | TP_ARGS(error_code), | |
134 | TP_STRUCT__entry(__field(int, error_code)), | |
135 | TP_fast_assign(tp_assign(error_code, error_code)), | |
136 | TP_printk() | |
137 | ) | |
138 | #endif | |
139 | #ifndef OVERRIDE_64_sys_fsync | |
140 | SC_TRACE_EVENT(sys_fsync, | |
141 | TP_PROTO(unsigned int fd), | |
142 | TP_ARGS(fd), | |
143 | TP_STRUCT__entry(__field(unsigned int, fd)), | |
144 | TP_fast_assign(tp_assign(fd, fd)), | |
145 | TP_printk() | |
146 | ) | |
147 | #endif | |
148 | #ifndef OVERRIDE_64_sys_fdatasync | |
149 | SC_TRACE_EVENT(sys_fdatasync, | |
150 | TP_PROTO(unsigned int fd), | |
151 | TP_ARGS(fd), | |
152 | TP_STRUCT__entry(__field(unsigned int, fd)), | |
153 | TP_fast_assign(tp_assign(fd, fd)), | |
154 | TP_printk() | |
155 | ) | |
156 | #endif | |
157 | #ifndef OVERRIDE_64_sys_fchdir | |
158 | SC_TRACE_EVENT(sys_fchdir, | |
159 | TP_PROTO(unsigned int fd), | |
160 | TP_ARGS(fd), | |
161 | TP_STRUCT__entry(__field(unsigned int, fd)), | |
162 | TP_fast_assign(tp_assign(fd, fd)), | |
163 | TP_printk() | |
164 | ) | |
165 | #endif | |
166 | #ifndef OVERRIDE_64_sys_umask | |
167 | SC_TRACE_EVENT(sys_umask, | |
168 | TP_PROTO(int mask), | |
169 | TP_ARGS(mask), | |
170 | TP_STRUCT__entry(__field(int, mask)), | |
171 | TP_fast_assign(tp_assign(mask, mask)), | |
172 | TP_printk() | |
173 | ) | |
174 | #endif | |
175 | #ifndef OVERRIDE_64_sys_setuid | |
176 | SC_TRACE_EVENT(sys_setuid, | |
177 | TP_PROTO(uid_t uid), | |
178 | TP_ARGS(uid), | |
179 | TP_STRUCT__entry(__field(uid_t, uid)), | |
180 | TP_fast_assign(tp_assign(uid, uid)), | |
181 | TP_printk() | |
182 | ) | |
183 | #endif | |
184 | #ifndef OVERRIDE_64_sys_setgid | |
185 | SC_TRACE_EVENT(sys_setgid, | |
186 | TP_PROTO(gid_t gid), | |
187 | TP_ARGS(gid), | |
188 | TP_STRUCT__entry(__field(gid_t, gid)), | |
189 | TP_fast_assign(tp_assign(gid, gid)), | |
190 | TP_printk() | |
191 | ) | |
192 | #endif | |
193 | #ifndef OVERRIDE_64_sys_getpgid | |
194 | SC_TRACE_EVENT(sys_getpgid, | |
195 | TP_PROTO(pid_t pid), | |
196 | TP_ARGS(pid), | |
197 | TP_STRUCT__entry(__field(pid_t, pid)), | |
198 | TP_fast_assign(tp_assign(pid, pid)), | |
199 | TP_printk() | |
200 | ) | |
201 | #endif | |
202 | #ifndef OVERRIDE_64_sys_setfsuid | |
203 | SC_TRACE_EVENT(sys_setfsuid, | |
204 | TP_PROTO(uid_t uid), | |
205 | TP_ARGS(uid), | |
206 | TP_STRUCT__entry(__field(uid_t, uid)), | |
207 | TP_fast_assign(tp_assign(uid, uid)), | |
208 | TP_printk() | |
209 | ) | |
210 | #endif | |
211 | #ifndef OVERRIDE_64_sys_setfsgid | |
212 | SC_TRACE_EVENT(sys_setfsgid, | |
213 | TP_PROTO(gid_t gid), | |
214 | TP_ARGS(gid), | |
215 | TP_STRUCT__entry(__field(gid_t, gid)), | |
216 | TP_fast_assign(tp_assign(gid, gid)), | |
217 | TP_printk() | |
218 | ) | |
219 | #endif | |
220 | #ifndef OVERRIDE_64_sys_getsid | |
221 | SC_TRACE_EVENT(sys_getsid, | |
222 | TP_PROTO(pid_t pid), | |
223 | TP_ARGS(pid), | |
224 | TP_STRUCT__entry(__field(pid_t, pid)), | |
225 | TP_fast_assign(tp_assign(pid, pid)), | |
226 | TP_printk() | |
227 | ) | |
228 | #endif | |
229 | #ifndef OVERRIDE_64_sys_32_personality | |
230 | SC_TRACE_EVENT(sys_32_personality, | |
231 | TP_PROTO(unsigned long personality), | |
232 | TP_ARGS(personality), | |
233 | TP_STRUCT__entry(__field(unsigned long, personality)), | |
234 | TP_fast_assign(tp_assign(personality, personality)), | |
235 | TP_printk() | |
236 | ) | |
237 | #endif | |
238 | #ifndef OVERRIDE_64_sys_sched_getscheduler | |
239 | SC_TRACE_EVENT(sys_sched_getscheduler, | |
240 | TP_PROTO(pid_t pid), | |
241 | TP_ARGS(pid), | |
242 | TP_STRUCT__entry(__field(pid_t, pid)), | |
243 | TP_fast_assign(tp_assign(pid, pid)), | |
244 | TP_printk() | |
245 | ) | |
246 | #endif | |
247 | #ifndef OVERRIDE_64_sys_sched_get_priority_max | |
248 | SC_TRACE_EVENT(sys_sched_get_priority_max, | |
249 | TP_PROTO(int policy), | |
250 | TP_ARGS(policy), | |
251 | TP_STRUCT__entry(__field(int, policy)), | |
252 | TP_fast_assign(tp_assign(policy, policy)), | |
253 | TP_printk() | |
254 | ) | |
255 | #endif | |
256 | #ifndef OVERRIDE_64_sys_sched_get_priority_min | |
257 | SC_TRACE_EVENT(sys_sched_get_priority_min, | |
258 | TP_PROTO(int policy), | |
259 | TP_ARGS(policy), | |
260 | TP_STRUCT__entry(__field(int, policy)), | |
261 | TP_fast_assign(tp_assign(policy, policy)), | |
262 | TP_printk() | |
263 | ) | |
264 | #endif | |
265 | #ifndef OVERRIDE_64_sys_mlockall | |
266 | SC_TRACE_EVENT(sys_mlockall, | |
267 | TP_PROTO(int flags), | |
268 | TP_ARGS(flags), | |
269 | TP_STRUCT__entry(__field(int, flags)), | |
270 | TP_fast_assign(tp_assign(flags, flags)), | |
271 | TP_printk() | |
272 | ) | |
273 | #endif | |
274 | #ifndef OVERRIDE_64_sys_io_destroy | |
275 | SC_TRACE_EVENT(sys_io_destroy, | |
276 | TP_PROTO(aio_context_t ctx), | |
277 | TP_ARGS(ctx), | |
278 | TP_STRUCT__entry(__field(aio_context_t, ctx)), | |
279 | TP_fast_assign(tp_assign(ctx, ctx)), | |
280 | TP_printk() | |
281 | ) | |
282 | #endif | |
283 | #ifndef OVERRIDE_64_sys_exit_group | |
284 | SC_TRACE_EVENT(sys_exit_group, | |
285 | TP_PROTO(int error_code), | |
286 | TP_ARGS(error_code), | |
287 | TP_STRUCT__entry(__field(int, error_code)), | |
288 | TP_fast_assign(tp_assign(error_code, error_code)), | |
289 | TP_printk() | |
290 | ) | |
291 | #endif | |
292 | #ifndef OVERRIDE_64_sys_epoll_create | |
293 | SC_TRACE_EVENT(sys_epoll_create, | |
294 | TP_PROTO(int size), | |
295 | TP_ARGS(size), | |
296 | TP_STRUCT__entry(__field(int, size)), | |
297 | TP_fast_assign(tp_assign(size, size)), | |
298 | TP_printk() | |
299 | ) | |
300 | #endif | |
301 | #ifndef OVERRIDE_64_sys_timer_getoverrun | |
302 | SC_TRACE_EVENT(sys_timer_getoverrun, | |
303 | TP_PROTO(timer_t timer_id), | |
304 | TP_ARGS(timer_id), | |
305 | TP_STRUCT__entry(__field(timer_t, timer_id)), | |
306 | TP_fast_assign(tp_assign(timer_id, timer_id)), | |
307 | TP_printk() | |
308 | ) | |
309 | #endif | |
310 | #ifndef OVERRIDE_64_sys_timer_delete | |
311 | SC_TRACE_EVENT(sys_timer_delete, | |
312 | TP_PROTO(timer_t timer_id), | |
313 | TP_ARGS(timer_id), | |
314 | TP_STRUCT__entry(__field(timer_t, timer_id)), | |
315 | TP_fast_assign(tp_assign(timer_id, timer_id)), | |
316 | TP_printk() | |
317 | ) | |
318 | #endif | |
319 | #ifndef OVERRIDE_64_sys_set_thread_area | |
320 | SC_TRACE_EVENT(sys_set_thread_area, | |
321 | TP_PROTO(unsigned long addr), | |
322 | TP_ARGS(addr), | |
323 | TP_STRUCT__entry(__field_hex(unsigned long, addr)), | |
324 | TP_fast_assign(tp_assign(addr, addr)), | |
325 | TP_printk() | |
326 | ) | |
327 | #endif | |
328 | #ifndef OVERRIDE_64_sys_unshare | |
329 | SC_TRACE_EVENT(sys_unshare, | |
330 | TP_PROTO(unsigned long unshare_flags), | |
331 | TP_ARGS(unshare_flags), | |
332 | TP_STRUCT__entry(__field(unsigned long, unshare_flags)), | |
333 | TP_fast_assign(tp_assign(unshare_flags, unshare_flags)), | |
334 | TP_printk() | |
335 | ) | |
336 | #endif | |
337 | #ifndef OVERRIDE_64_sys_eventfd | |
338 | SC_TRACE_EVENT(sys_eventfd, | |
339 | TP_PROTO(unsigned int count), | |
340 | TP_ARGS(count), | |
341 | TP_STRUCT__entry(__field(unsigned int, count)), | |
342 | TP_fast_assign(tp_assign(count, count)), | |
343 | TP_printk() | |
344 | ) | |
345 | #endif | |
346 | #ifndef OVERRIDE_64_sys_epoll_create1 | |
347 | SC_TRACE_EVENT(sys_epoll_create1, | |
348 | TP_PROTO(int flags), | |
349 | TP_ARGS(flags), | |
350 | TP_STRUCT__entry(__field(int, flags)), | |
351 | TP_fast_assign(tp_assign(flags, flags)), | |
352 | TP_printk() | |
353 | ) | |
354 | #endif | |
355 | #ifndef OVERRIDE_64_sys_inotify_init1 | |
356 | SC_TRACE_EVENT(sys_inotify_init1, | |
357 | TP_PROTO(int flags), | |
358 | TP_ARGS(flags), | |
359 | TP_STRUCT__entry(__field(int, flags)), | |
360 | TP_fast_assign(tp_assign(flags, flags)), | |
361 | TP_printk() | |
362 | ) | |
363 | #endif | |
364 | #ifndef OVERRIDE_64_sys_syncfs | |
365 | SC_TRACE_EVENT(sys_syncfs, | |
366 | TP_PROTO(int fd), | |
367 | TP_ARGS(fd), | |
368 | TP_STRUCT__entry(__field(int, fd)), | |
369 | TP_fast_assign(tp_assign(fd, fd)), | |
370 | TP_printk() | |
371 | ) | |
372 | #endif | |
373 | #ifndef OVERRIDE_64_sys_bdflush | |
374 | SC_TRACE_EVENT(sys_bdflush, | |
375 | TP_PROTO(int func, long data), | |
376 | TP_ARGS(func, data), | |
377 | TP_STRUCT__entry(__field(int, func) __field(long, data)), | |
378 | TP_fast_assign(tp_assign(func, func) tp_assign(data, data)), | |
379 | TP_printk() | |
380 | ) | |
381 | #endif | |
382 | #ifndef OVERRIDE_64_sys_munmap | |
383 | SC_TRACE_EVENT(sys_munmap, | |
384 | TP_PROTO(unsigned long addr, size_t len), | |
385 | TP_ARGS(addr, len), | |
386 | TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(size_t, len)), | |
387 | TP_fast_assign(tp_assign(addr, addr) tp_assign(len, len)), | |
388 | TP_printk() | |
389 | ) | |
390 | #endif | |
391 | #ifndef OVERRIDE_64_sys_dup2 | |
392 | SC_TRACE_EVENT(sys_dup2, | |
393 | TP_PROTO(unsigned int oldfd, unsigned int newfd), | |
394 | TP_ARGS(oldfd, newfd), | |
395 | TP_STRUCT__entry(__field(unsigned int, oldfd) __field(unsigned int, newfd)), | |
396 | TP_fast_assign(tp_assign(oldfd, oldfd) tp_assign(newfd, newfd)), | |
397 | TP_printk() | |
398 | ) | |
399 | #endif | |
400 | #ifndef OVERRIDE_64_sys_shutdown | |
401 | SC_TRACE_EVENT(sys_shutdown, | |
402 | TP_PROTO(int fd, int how), | |
403 | TP_ARGS(fd, how), | |
404 | TP_STRUCT__entry(__field(int, fd) __field(int, how)), | |
405 | TP_fast_assign(tp_assign(fd, fd) tp_assign(how, how)), | |
406 | TP_printk() | |
407 | ) | |
408 | #endif | |
409 | #ifndef OVERRIDE_64_sys_listen | |
410 | SC_TRACE_EVENT(sys_listen, | |
411 | TP_PROTO(int fd, int backlog), | |
412 | TP_ARGS(fd, backlog), | |
413 | TP_STRUCT__entry(__field(int, fd) __field(int, backlog)), | |
414 | TP_fast_assign(tp_assign(fd, fd) tp_assign(backlog, backlog)), | |
415 | TP_printk() | |
416 | ) | |
417 | #endif | |
418 | #ifndef OVERRIDE_64_sys_kill | |
419 | SC_TRACE_EVENT(sys_kill, | |
420 | TP_PROTO(pid_t pid, int sig), | |
421 | TP_ARGS(pid, sig), | |
422 | TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig)), | |
423 | TP_fast_assign(tp_assign(pid, pid) tp_assign(sig, sig)), | |
424 | TP_printk() | |
425 | ) | |
426 | #endif | |
427 | #ifndef OVERRIDE_64_sys_msgget | |
428 | SC_TRACE_EVENT(sys_msgget, | |
429 | TP_PROTO(key_t key, int msgflg), | |
430 | TP_ARGS(key, msgflg), | |
431 | TP_STRUCT__entry(__field(key_t, key) __field(int, msgflg)), | |
432 | TP_fast_assign(tp_assign(key, key) tp_assign(msgflg, msgflg)), | |
433 | TP_printk() | |
434 | ) | |
435 | #endif | |
436 | #ifndef OVERRIDE_64_sys_flock | |
437 | SC_TRACE_EVENT(sys_flock, | |
438 | TP_PROTO(unsigned int fd, unsigned int cmd), | |
439 | TP_ARGS(fd, cmd), | |
440 | TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd)), | |
441 | TP_fast_assign(tp_assign(fd, fd) tp_assign(cmd, cmd)), | |
442 | TP_printk() | |
443 | ) | |
444 | #endif | |
445 | #ifndef OVERRIDE_64_sys_ftruncate | |
446 | SC_TRACE_EVENT(sys_ftruncate, | |
447 | TP_PROTO(unsigned int fd, unsigned long length), | |
448 | TP_ARGS(fd, length), | |
449 | TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned long, length)), | |
450 | TP_fast_assign(tp_assign(fd, fd) tp_assign(length, length)), | |
451 | TP_printk() | |
452 | ) | |
453 | #endif | |
454 | #ifndef OVERRIDE_64_sys_fchmod | |
455 | SC_TRACE_EVENT(sys_fchmod, | |
456 | TP_PROTO(unsigned int fd, umode_t mode), | |
457 | TP_ARGS(fd, mode), | |
458 | TP_STRUCT__entry(__field(unsigned int, fd) __field(umode_t, mode)), | |
459 | TP_fast_assign(tp_assign(fd, fd) tp_assign(mode, mode)), | |
460 | TP_printk() | |
461 | ) | |
462 | #endif | |
463 | #ifndef OVERRIDE_64_sys_setpgid | |
464 | SC_TRACE_EVENT(sys_setpgid, | |
465 | TP_PROTO(pid_t pid, pid_t pgid), | |
466 | TP_ARGS(pid, pgid), | |
467 | TP_STRUCT__entry(__field(pid_t, pid) __field(pid_t, pgid)), | |
468 | TP_fast_assign(tp_assign(pid, pid) tp_assign(pgid, pgid)), | |
469 | TP_printk() | |
470 | ) | |
471 | #endif | |
472 | #ifndef OVERRIDE_64_sys_setreuid | |
473 | SC_TRACE_EVENT(sys_setreuid, | |
474 | TP_PROTO(uid_t ruid, uid_t euid), | |
475 | TP_ARGS(ruid, euid), | |
476 | TP_STRUCT__entry(__field(uid_t, ruid) __field(uid_t, euid)), | |
477 | TP_fast_assign(tp_assign(ruid, ruid) tp_assign(euid, euid)), | |
478 | TP_printk() | |
479 | ) | |
480 | #endif | |
481 | #ifndef OVERRIDE_64_sys_setregid | |
482 | SC_TRACE_EVENT(sys_setregid, | |
483 | TP_PROTO(gid_t rgid, gid_t egid), | |
484 | TP_ARGS(rgid, egid), | |
485 | TP_STRUCT__entry(__field(gid_t, rgid) __field(gid_t, egid)), | |
486 | TP_fast_assign(tp_assign(rgid, rgid) tp_assign(egid, egid)), | |
487 | TP_printk() | |
488 | ) | |
489 | #endif | |
490 | #ifndef OVERRIDE_64_sys_getpriority | |
491 | SC_TRACE_EVENT(sys_getpriority, | |
492 | TP_PROTO(int which, int who), | |
493 | TP_ARGS(which, who), | |
494 | TP_STRUCT__entry(__field(int, which) __field(int, who)), | |
495 | TP_fast_assign(tp_assign(which, which) tp_assign(who, who)), | |
496 | TP_printk() | |
497 | ) | |
498 | #endif | |
499 | #ifndef OVERRIDE_64_sys_mlock | |
500 | SC_TRACE_EVENT(sys_mlock, | |
501 | TP_PROTO(unsigned long start, size_t len), | |
502 | TP_ARGS(start, len), | |
503 | TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len)), | |
504 | TP_fast_assign(tp_assign(start, start) tp_assign(len, len)), | |
505 | TP_printk() | |
506 | ) | |
507 | #endif | |
508 | #ifndef OVERRIDE_64_sys_munlock | |
509 | SC_TRACE_EVENT(sys_munlock, | |
510 | TP_PROTO(unsigned long start, size_t len), | |
511 | TP_ARGS(start, len), | |
512 | TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len)), | |
513 | TP_fast_assign(tp_assign(start, start) tp_assign(len, len)), | |
514 | TP_printk() | |
515 | ) | |
516 | #endif | |
517 | #ifndef OVERRIDE_64_sys_tkill | |
518 | SC_TRACE_EVENT(sys_tkill, | |
519 | TP_PROTO(pid_t pid, int sig), | |
520 | TP_ARGS(pid, sig), | |
521 | TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig)), | |
522 | TP_fast_assign(tp_assign(pid, pid) tp_assign(sig, sig)), | |
523 | TP_printk() | |
524 | ) | |
525 | #endif | |
526 | #ifndef OVERRIDE_64_sys_inotify_rm_watch | |
527 | SC_TRACE_EVENT(sys_inotify_rm_watch, | |
528 | TP_PROTO(int fd, __s32 wd), | |
529 | TP_ARGS(fd, wd), | |
530 | TP_STRUCT__entry(__field(int, fd) __field(__s32, wd)), | |
531 | TP_fast_assign(tp_assign(fd, fd) tp_assign(wd, wd)), | |
532 | TP_printk() | |
533 | ) | |
534 | #endif | |
535 | #ifndef OVERRIDE_64_sys_ioprio_get | |
536 | SC_TRACE_EVENT(sys_ioprio_get, | |
537 | TP_PROTO(int which, int who), | |
538 | TP_ARGS(which, who), | |
539 | TP_STRUCT__entry(__field(int, which) __field(int, who)), | |
540 | TP_fast_assign(tp_assign(which, which) tp_assign(who, who)), | |
541 | TP_printk() | |
542 | ) | |
543 | #endif | |
544 | #ifndef OVERRIDE_64_sys_timerfd_create | |
545 | SC_TRACE_EVENT(sys_timerfd_create, | |
546 | TP_PROTO(int clockid, int flags), | |
547 | TP_ARGS(clockid, flags), | |
548 | TP_STRUCT__entry(__field(int, clockid) __field(int, flags)), | |
549 | TP_fast_assign(tp_assign(clockid, clockid) tp_assign(flags, flags)), | |
550 | TP_printk() | |
551 | ) | |
552 | #endif | |
553 | #ifndef OVERRIDE_64_sys_eventfd2 | |
554 | SC_TRACE_EVENT(sys_eventfd2, | |
555 | TP_PROTO(unsigned int count, int flags), | |
556 | TP_ARGS(count, flags), | |
557 | TP_STRUCT__entry(__field(unsigned int, count) __field(int, flags)), | |
558 | TP_fast_assign(tp_assign(count, count) tp_assign(flags, flags)), | |
559 | TP_printk() | |
560 | ) | |
561 | #endif | |
562 | #ifndef OVERRIDE_64_sys_setns | |
563 | SC_TRACE_EVENT(sys_setns, | |
564 | TP_PROTO(int fd, int nstype), | |
565 | TP_ARGS(fd, nstype), | |
566 | TP_STRUCT__entry(__field(int, fd) __field(int, nstype)), | |
567 | TP_fast_assign(tp_assign(fd, fd) tp_assign(nstype, nstype)), | |
568 | TP_printk() | |
569 | ) | |
570 | #endif | |
571 | #ifndef OVERRIDE_64_sys_ioctl | |
572 | SC_TRACE_EVENT(sys_ioctl, | |
573 | TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), | |
574 | TP_ARGS(fd, cmd, arg), | |
575 | TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), | |
576 | TP_fast_assign(tp_assign(fd, fd) tp_assign(cmd, cmd) tp_assign(arg, arg)), | |
577 | TP_printk() | |
578 | ) | |
579 | #endif | |
580 | #ifndef OVERRIDE_64_sys_fcntl | |
581 | SC_TRACE_EVENT(sys_fcntl, | |
582 | TP_PROTO(unsigned int fd, unsigned int cmd, unsigned long arg), | |
583 | TP_ARGS(fd, cmd, arg), | |
584 | TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, cmd) __field(unsigned long, arg)), | |
585 | TP_fast_assign(tp_assign(fd, fd) tp_assign(cmd, cmd) tp_assign(arg, arg)), | |
586 | TP_printk() | |
587 | ) | |
588 | #endif | |
589 | #ifndef OVERRIDE_64_sys_lseek | |
590 | SC_TRACE_EVENT(sys_lseek, | |
591 | TP_PROTO(unsigned int fd, off_t offset, unsigned int origin), | |
592 | TP_ARGS(fd, offset, origin), | |
593 | TP_STRUCT__entry(__field(unsigned int, fd) __field(off_t, offset) __field(unsigned int, origin)), | |
594 | TP_fast_assign(tp_assign(fd, fd) tp_assign(offset, offset) tp_assign(origin, origin)), | |
595 | TP_printk() | |
596 | ) | |
597 | #endif | |
598 | #ifndef OVERRIDE_64_sys_mprotect | |
599 | SC_TRACE_EVENT(sys_mprotect, | |
600 | TP_PROTO(unsigned long start, size_t len, unsigned long prot), | |
601 | TP_ARGS(start, len, prot), | |
602 | TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field(unsigned long, prot)), | |
603 | TP_fast_assign(tp_assign(start, start) tp_assign(len, len) tp_assign(prot, prot)), | |
604 | TP_printk() | |
605 | ) | |
606 | #endif | |
607 | #ifndef OVERRIDE_64_sys_msync | |
608 | SC_TRACE_EVENT(sys_msync, | |
609 | TP_PROTO(unsigned long start, size_t len, int flags), | |
610 | TP_ARGS(start, len, flags), | |
611 | TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field(int, flags)), | |
612 | TP_fast_assign(tp_assign(start, start) tp_assign(len, len) tp_assign(flags, flags)), | |
613 | TP_printk() | |
614 | ) | |
615 | #endif | |
616 | #ifndef OVERRIDE_64_sys_madvise | |
617 | SC_TRACE_EVENT(sys_madvise, | |
618 | TP_PROTO(unsigned long start, size_t len_in, int behavior), | |
619 | TP_ARGS(start, len_in, behavior), | |
620 | TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len_in) __field(int, behavior)), | |
621 | TP_fast_assign(tp_assign(start, start) tp_assign(len_in, len_in) tp_assign(behavior, behavior)), | |
622 | TP_printk() | |
623 | ) | |
624 | #endif | |
625 | #ifndef OVERRIDE_64_sys_shmget | |
626 | SC_TRACE_EVENT(sys_shmget, | |
627 | TP_PROTO(key_t key, size_t size, int shmflg), | |
628 | TP_ARGS(key, size, shmflg), | |
629 | TP_STRUCT__entry(__field(key_t, key) __field(size_t, size) __field(int, shmflg)), | |
630 | TP_fast_assign(tp_assign(key, key) tp_assign(size, size) tp_assign(shmflg, shmflg)), | |
631 | TP_printk() | |
632 | ) | |
633 | #endif | |
634 | #ifndef OVERRIDE_64_sys_socket | |
635 | SC_TRACE_EVENT(sys_socket, | |
636 | TP_PROTO(int family, int type, int protocol), | |
637 | TP_ARGS(family, type, protocol), | |
638 | TP_STRUCT__entry(__field(int, family) __field(int, type) __field(int, protocol)), | |
639 | TP_fast_assign(tp_assign(family, family) tp_assign(type, type) tp_assign(protocol, protocol)), | |
640 | TP_printk() | |
641 | ) | |
642 | #endif | |
643 | #ifndef OVERRIDE_64_sys_semget | |
644 | SC_TRACE_EVENT(sys_semget, | |
645 | TP_PROTO(key_t key, int nsems, int semflg), | |
646 | TP_ARGS(key, nsems, semflg), | |
647 | TP_STRUCT__entry(__field(key_t, key) __field(int, nsems) __field(int, semflg)), | |
648 | TP_fast_assign(tp_assign(key, key) tp_assign(nsems, nsems) tp_assign(semflg, semflg)), | |
649 | TP_printk() | |
650 | ) | |
651 | #endif | |
652 | #ifndef OVERRIDE_64_sys_fchown | |
653 | SC_TRACE_EVENT(sys_fchown, | |
654 | TP_PROTO(unsigned int fd, uid_t user, gid_t group), | |
655 | TP_ARGS(fd, user, group), | |
656 | TP_STRUCT__entry(__field(unsigned int, fd) __field(uid_t, user) __field(gid_t, group)), | |
657 | TP_fast_assign(tp_assign(fd, fd) tp_assign(user, user) tp_assign(group, group)), | |
658 | TP_printk() | |
659 | ) | |
660 | #endif | |
661 | #ifndef OVERRIDE_64_sys_setresuid | |
662 | SC_TRACE_EVENT(sys_setresuid, | |
663 | TP_PROTO(uid_t ruid, uid_t euid, uid_t suid), | |
664 | TP_ARGS(ruid, euid, suid), | |
665 | TP_STRUCT__entry(__field(uid_t, ruid) __field(uid_t, euid) __field(uid_t, suid)), | |
666 | TP_fast_assign(tp_assign(ruid, ruid) tp_assign(euid, euid) tp_assign(suid, suid)), | |
667 | TP_printk() | |
668 | ) | |
669 | #endif | |
670 | #ifndef OVERRIDE_64_sys_setresgid | |
671 | SC_TRACE_EVENT(sys_setresgid, | |
672 | TP_PROTO(gid_t rgid, gid_t egid, gid_t sgid), | |
673 | TP_ARGS(rgid, egid, sgid), | |
674 | TP_STRUCT__entry(__field(gid_t, rgid) __field(gid_t, egid) __field(gid_t, sgid)), | |
675 | TP_fast_assign(tp_assign(rgid, rgid) tp_assign(egid, egid) tp_assign(sgid, sgid)), | |
676 | TP_printk() | |
677 | ) | |
678 | #endif | |
679 | #ifndef OVERRIDE_64_sys_sysfs | |
680 | SC_TRACE_EVENT(sys_sysfs, | |
681 | TP_PROTO(int option, unsigned long arg1, unsigned long arg2), | |
682 | TP_ARGS(option, arg1, arg2), | |
683 | TP_STRUCT__entry(__field(int, option) __field(unsigned long, arg1) __field(unsigned long, arg2)), | |
684 | TP_fast_assign(tp_assign(option, option) tp_assign(arg1, arg1) tp_assign(arg2, arg2)), | |
685 | TP_printk() | |
686 | ) | |
687 | #endif | |
688 | #ifndef OVERRIDE_64_sys_setpriority | |
689 | SC_TRACE_EVENT(sys_setpriority, | |
690 | TP_PROTO(int which, int who, int niceval), | |
691 | TP_ARGS(which, who, niceval), | |
692 | TP_STRUCT__entry(__field(int, which) __field(int, who) __field(int, niceval)), | |
693 | TP_fast_assign(tp_assign(which, which) tp_assign(who, who) tp_assign(niceval, niceval)), | |
694 | TP_printk() | |
695 | ) | |
696 | #endif | |
697 | #ifndef OVERRIDE_64_sys_cacheflush | |
698 | SC_TRACE_EVENT(sys_cacheflush, | |
699 | TP_PROTO(unsigned long addr, unsigned long bytes, unsigned int cache), | |
700 | TP_ARGS(addr, bytes, cache), | |
701 | TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, bytes) __field(unsigned int, cache)), | |
702 | TP_fast_assign(tp_assign(addr, addr) tp_assign(bytes, bytes) tp_assign(cache, cache)), | |
703 | TP_printk() | |
704 | ) | |
705 | #endif | |
706 | #ifndef OVERRIDE_64_sys_tgkill | |
707 | SC_TRACE_EVENT(sys_tgkill, | |
708 | TP_PROTO(pid_t tgid, pid_t pid, int sig), | |
709 | TP_ARGS(tgid, pid, sig), | |
710 | TP_STRUCT__entry(__field(pid_t, tgid) __field(pid_t, pid) __field(int, sig)), | |
711 | TP_fast_assign(tp_assign(tgid, tgid) tp_assign(pid, pid) tp_assign(sig, sig)), | |
712 | TP_printk() | |
713 | ) | |
714 | #endif | |
715 | #ifndef OVERRIDE_64_sys_ioprio_set | |
716 | SC_TRACE_EVENT(sys_ioprio_set, | |
717 | TP_PROTO(int which, int who, int ioprio), | |
718 | TP_ARGS(which, who, ioprio), | |
719 | TP_STRUCT__entry(__field(int, which) __field(int, who) __field(int, ioprio)), | |
720 | TP_fast_assign(tp_assign(which, which) tp_assign(who, who) tp_assign(ioprio, ioprio)), | |
721 | TP_printk() | |
722 | ) | |
723 | #endif | |
724 | #ifndef OVERRIDE_64_sys_dup3 | |
725 | SC_TRACE_EVENT(sys_dup3, | |
726 | TP_PROTO(unsigned int oldfd, unsigned int newfd, int flags), | |
727 | TP_ARGS(oldfd, newfd, flags), | |
728 | TP_STRUCT__entry(__field(unsigned int, oldfd) __field(unsigned int, newfd) __field(int, flags)), | |
729 | TP_fast_assign(tp_assign(oldfd, oldfd) tp_assign(newfd, newfd) tp_assign(flags, flags)), | |
730 | TP_printk() | |
731 | ) | |
732 | #endif | |
733 | #ifndef OVERRIDE_64_sys_32_ftruncate64 | |
734 | SC_TRACE_EVENT(sys_32_ftruncate64, | |
735 | TP_PROTO(unsigned long fd, unsigned long __dummy, unsigned long a2, unsigned long a3), | |
736 | TP_ARGS(fd, __dummy, a2, a3), | |
737 | TP_STRUCT__entry(__field(unsigned long, fd) __field(unsigned long, __dummy) __field(unsigned long, a2) __field(unsigned long, a3)), | |
738 | TP_fast_assign(tp_assign(fd, fd) tp_assign(__dummy, __dummy) tp_assign(a2, a2) tp_assign(a3, a3)), | |
739 | TP_printk() | |
740 | ) | |
741 | #endif | |
742 | #ifndef OVERRIDE_64_sys_ptrace | |
743 | SC_TRACE_EVENT(sys_ptrace, | |
744 | TP_PROTO(long request, long pid, unsigned long addr, unsigned long data), | |
745 | TP_ARGS(request, pid, addr, data), | |
746 | TP_STRUCT__entry(__field(long, request) __field(long, pid) __field_hex(unsigned long, addr) __field(unsigned long, data)), | |
747 | TP_fast_assign(tp_assign(request, request) tp_assign(pid, pid) tp_assign(addr, addr) tp_assign(data, data)), | |
748 | TP_printk() | |
749 | ) | |
750 | #endif | |
751 | #ifndef OVERRIDE_64_sys_n32_semctl | |
752 | SC_TRACE_EVENT(sys_n32_semctl, | |
753 | TP_PROTO(int semid, int semnum, int cmd, u32 arg), | |
754 | TP_ARGS(semid, semnum, cmd, arg), | |
755 | TP_STRUCT__entry(__field(int, semid) __field(int, semnum) __field(int, cmd) __field(u32, arg)), | |
756 | TP_fast_assign(tp_assign(semid, semid) tp_assign(semnum, semnum) tp_assign(cmd, cmd) tp_assign(arg, arg)), | |
757 | TP_printk() | |
758 | ) | |
759 | #endif | |
760 | #ifndef OVERRIDE_64_sys_n32_msgsnd | |
761 | SC_TRACE_EVENT(sys_n32_msgsnd, | |
762 | TP_PROTO(int msqid, u32 msgp, unsigned int msgsz, int msgflg), | |
763 | TP_ARGS(msqid, msgp, msgsz, msgflg), | |
764 | TP_STRUCT__entry(__field(int, msqid) __field(u32, msgp) __field(unsigned int, msgsz) __field(int, msgflg)), | |
765 | TP_fast_assign(tp_assign(msqid, msqid) tp_assign(msgp, msgp) tp_assign(msgsz, msgsz) tp_assign(msgflg, msgflg)), | |
766 | TP_printk() | |
767 | ) | |
768 | #endif | |
769 | #ifndef OVERRIDE_64_sys_tee | |
770 | SC_TRACE_EVENT(sys_tee, | |
771 | TP_PROTO(int fdin, int fdout, size_t len, unsigned int flags), | |
772 | TP_ARGS(fdin, fdout, len, flags), | |
773 | TP_STRUCT__entry(__field(int, fdin) __field(int, fdout) __field(size_t, len) __field(unsigned int, flags)), | |
774 | TP_fast_assign(tp_assign(fdin, fdin) tp_assign(fdout, fdout) tp_assign(len, len) tp_assign(flags, flags)), | |
775 | TP_printk() | |
776 | ) | |
777 | #endif | |
778 | #ifndef OVERRIDE_64_sys_mremap | |
779 | SC_TRACE_EVENT(sys_mremap, | |
780 | TP_PROTO(unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), | |
781 | TP_ARGS(addr, old_len, new_len, flags, new_addr), | |
782 | TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, old_len) __field(unsigned long, new_len) __field(unsigned long, flags) __field_hex(unsigned long, new_addr)), | |
783 | TP_fast_assign(tp_assign(addr, addr) tp_assign(old_len, old_len) tp_assign(new_len, new_len) tp_assign(flags, flags) tp_assign(new_addr, new_addr)), | |
784 | TP_printk() | |
785 | ) | |
786 | #endif | |
787 | #ifndef OVERRIDE_64_sys_n32_msgrcv | |
788 | SC_TRACE_EVENT(sys_n32_msgrcv, | |
789 | TP_PROTO(int msqid, u32 msgp, size_t msgsz, int msgtyp, int msgflg), | |
790 | TP_ARGS(msqid, msgp, msgsz, msgtyp, msgflg), | |
791 | TP_STRUCT__entry(__field(int, msqid) __field(u32, msgp) __field(size_t, msgsz) __field(int, msgtyp) __field(int, msgflg)), | |
792 | TP_fast_assign(tp_assign(msqid, msqid) tp_assign(msgp, msgp) tp_assign(msgsz, msgsz) tp_assign(msgtyp, msgtyp) tp_assign(msgflg, msgflg)), | |
793 | TP_printk() | |
794 | ) | |
795 | #endif | |
796 | #ifndef OVERRIDE_64_sys_prctl | |
797 | SC_TRACE_EVENT(sys_prctl, | |
798 | TP_PROTO(int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), | |
799 | TP_ARGS(option, arg2, arg3, arg4, arg5), | |
800 | TP_STRUCT__entry(__field(int, option) __field(unsigned long, arg2) __field(unsigned long, arg3) __field(unsigned long, arg4) __field(unsigned long, arg5)), | |
801 | TP_fast_assign(tp_assign(option, option) tp_assign(arg2, arg2) tp_assign(arg3, arg3) tp_assign(arg4, arg4) tp_assign(arg5, arg5)), | |
802 | TP_printk() | |
803 | ) | |
804 | #endif | |
805 | #ifndef OVERRIDE_64_sys_remap_file_pages | |
806 | SC_TRACE_EVENT(sys_remap_file_pages, | |
807 | TP_PROTO(unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), | |
808 | TP_ARGS(start, size, prot, pgoff, flags), | |
809 | TP_STRUCT__entry(__field(unsigned long, start) __field(unsigned long, size) __field(unsigned long, prot) __field(unsigned long, pgoff) __field(unsigned long, flags)), | |
810 | TP_fast_assign(tp_assign(start, start) tp_assign(size, size) tp_assign(prot, prot) tp_assign(pgoff, pgoff) tp_assign(flags, flags)), | |
811 | TP_printk() | |
812 | ) | |
813 | #endif | |
814 | #ifndef OVERRIDE_64_sys_32_ipc | |
815 | SC_TRACE_EVENT(sys_32_ipc, | |
816 | TP_PROTO(u32 call, long first, long second, long third, unsigned long ptr, unsigned long fifth), | |
817 | TP_ARGS(call, first, second, third, ptr, fifth), | |
818 | TP_STRUCT__entry(__field(u32, call) __field(long, first) __field(long, second) __field(long, third) __field_hex(unsigned long, ptr) __field(unsigned long, fifth)), | |
819 | TP_fast_assign(tp_assign(call, call) tp_assign(first, first) tp_assign(second, second) tp_assign(third, third) tp_assign(ptr, ptr) tp_assign(fifth, fifth)), | |
820 | TP_printk() | |
821 | ) | |
822 | #endif | |
823 | #ifndef OVERRIDE_64_sys_mips_mmap2 | |
824 | SC_TRACE_EVENT(sys_mips_mmap2, | |
825 | TP_PROTO(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff), | |
826 | TP_ARGS(addr, len, prot, flags, fd, pgoff), | |
827 | TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, len) __field(unsigned long, prot) __field(unsigned long, flags) __field(unsigned long, fd) __field(unsigned long, pgoff)), | |
828 | TP_fast_assign(tp_assign(addr, addr) tp_assign(len, len) tp_assign(prot, prot) tp_assign(flags, flags) tp_assign(fd, fd) tp_assign(pgoff, pgoff)), | |
829 | TP_printk() | |
830 | ) | |
831 | #endif | |
832 | #ifndef OVERRIDE_64_sys_mips_mmap | |
833 | SC_TRACE_EVENT(sys_mips_mmap, | |
834 | TP_PROTO(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, off_t offset), | |
835 | TP_ARGS(addr, len, prot, flags, fd, offset), | |
836 | TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(unsigned long, len) __field(unsigned long, prot) __field(unsigned long, flags) __field(unsigned long, fd) __field(off_t, offset)), | |
837 | TP_fast_assign(tp_assign(addr, addr) tp_assign(len, len) tp_assign(prot, prot) tp_assign(flags, flags) tp_assign(fd, fd) tp_assign(offset, offset)), | |
838 | TP_printk() | |
839 | ) | |
840 | #endif | |
841 | ||
842 | #endif /* _TRACE_SYSCALLS_INTEGERS_H */ | |
843 | ||
844 | /* This part must be outside protection */ | |
845 | #include "../../../probes/define_trace.h" | |
846 | ||
847 | #else /* CREATE_SYSCALL_TABLE */ | |
848 | ||
849 | #include "mips-64-syscalls-3.5.0_integers_override.h" | |
850 | #include "syscalls_integers_override.h" | |
851 | ||
852 | #ifndef OVERRIDE_TABLE_64_sys_sgetmask | |
853 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sgetmask, 4068, 0) | |
854 | #endif | |
855 | #ifndef OVERRIDE_TABLE_64_sys_sched_yield | |
856 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sched_yield, 6023, 0) | |
857 | #endif | |
858 | #ifndef OVERRIDE_TABLE_64_sys_pause | |
859 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_pause, 6033, 0) | |
860 | #endif | |
861 | #ifndef OVERRIDE_TABLE_64_sys_getpid | |
862 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getpid, 6038, 0) | |
863 | #endif | |
864 | #ifndef OVERRIDE_TABLE_64_sys_getuid | |
865 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getuid, 6100, 0) | |
866 | #endif | |
867 | #ifndef OVERRIDE_TABLE_64_sys_getgid | |
868 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getgid, 6102, 0) | |
869 | #endif | |
870 | #ifndef OVERRIDE_TABLE_64_sys_geteuid | |
871 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_geteuid, 6105, 0) | |
872 | #endif | |
873 | #ifndef OVERRIDE_TABLE_64_sys_getegid | |
874 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getegid, 6106, 0) | |
875 | #endif | |
876 | #ifndef OVERRIDE_TABLE_64_sys_getppid | |
877 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getppid, 6108, 0) | |
878 | #endif | |
879 | #ifndef OVERRIDE_TABLE_64_sys_getpgrp | |
880 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_getpgrp, 6109, 0) | |
881 | #endif | |
882 | #ifndef OVERRIDE_TABLE_64_sys_setsid | |
883 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_setsid, 6110, 0) | |
884 | #endif | |
885 | #ifndef OVERRIDE_TABLE_64_sys_munlockall | |
886 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_munlockall, 6149, 0) | |
887 | #endif | |
888 | #ifndef OVERRIDE_TABLE_64_sys_vhangup | |
889 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_vhangup, 6150, 0) | |
890 | #endif | |
891 | #ifndef OVERRIDE_TABLE_64_sys_sync | |
892 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_sync, 6157, 0) | |
893 | #endif | |
894 | #ifndef OVERRIDE_TABLE_64_sys_gettid | |
895 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_gettid, 6178, 0) | |
896 | #endif | |
897 | #ifndef OVERRIDE_TABLE_64_sys_restart_syscall | |
898 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_restart_syscall, 6214, 0) | |
899 | #endif | |
900 | #ifndef OVERRIDE_TABLE_64_sys_inotify_init | |
901 | TRACE_SYSCALL_TABLE(syscalls_noargs, sys_inotify_init, 6247, 0) | |
902 | #endif | |
903 | #ifndef OVERRIDE_TABLE_64_sys_nice | |
904 | TRACE_SYSCALL_TABLE(sys_nice, sys_nice, 4034, 1) | |
905 | #endif | |
906 | #ifndef OVERRIDE_TABLE_64_sys_ssetmask | |
907 | TRACE_SYSCALL_TABLE(sys_ssetmask, sys_ssetmask, 4069, 1) | |
908 | #endif | |
909 | #ifndef OVERRIDE_TABLE_64_sys_32_ipc | |
910 | TRACE_SYSCALL_TABLE(sys_32_ipc, sys_32_ipc, 4117, 6) | |
911 | #endif | |
912 | #ifndef OVERRIDE_TABLE_64_sys_bdflush | |
913 | TRACE_SYSCALL_TABLE(sys_bdflush, sys_bdflush, 4134, 2) | |
914 | #endif | |
915 | #ifndef OVERRIDE_TABLE_64_sys_mips_mmap2 | |
916 | TRACE_SYSCALL_TABLE(sys_mips_mmap2, sys_mips_mmap2, 4210, 6) | |
917 | #endif | |
918 | #ifndef OVERRIDE_TABLE_64_sys_32_ftruncate64 | |
919 | TRACE_SYSCALL_TABLE(sys_32_ftruncate64, sys_32_ftruncate64, 4212, 4) | |
920 | #endif | |
921 | #ifndef OVERRIDE_TABLE_64_sys_ioctl | |
922 | TRACE_SYSCALL_TABLE(sys_ioctl, sys_ioctl, 5015, 3) | |
923 | #endif | |
924 | #ifndef OVERRIDE_TABLE_64_sys_fcntl | |
925 | TRACE_SYSCALL_TABLE(sys_fcntl, sys_fcntl, 5070, 3) | |
926 | #endif | |
927 | #ifndef OVERRIDE_TABLE_64_sys_ptrace | |
928 | TRACE_SYSCALL_TABLE(sys_ptrace, sys_ptrace, 5099, 4) | |
929 | #endif | |
930 | #ifndef OVERRIDE_TABLE_64_sys_personality | |
931 | TRACE_SYSCALL_TABLE(sys_personality, sys_personality, 5132, 1) | |
932 | #endif | |
933 | #ifndef OVERRIDE_TABLE_64_sys_close | |
934 | TRACE_SYSCALL_TABLE(sys_close, sys_close, 6003, 1) | |
935 | #endif | |
936 | #ifndef OVERRIDE_TABLE_64_sys_lseek | |
937 | TRACE_SYSCALL_TABLE(sys_lseek, sys_lseek, 6008, 3) | |
938 | #endif | |
939 | #ifndef OVERRIDE_TABLE_64_sys_mips_mmap | |
940 | TRACE_SYSCALL_TABLE(sys_mips_mmap, sys_mips_mmap, 6009, 6) | |
941 | #endif | |
942 | #ifndef OVERRIDE_TABLE_64_sys_mprotect | |
943 | TRACE_SYSCALL_TABLE(sys_mprotect, sys_mprotect, 6010, 3) | |
944 | #endif | |
945 | #ifndef OVERRIDE_TABLE_64_sys_munmap | |
946 | TRACE_SYSCALL_TABLE(sys_munmap, sys_munmap, 6011, 2) | |
947 | #endif | |
948 | #ifndef OVERRIDE_TABLE_64_sys_brk | |
949 | TRACE_SYSCALL_TABLE(sys_brk, sys_brk, 6012, 1) | |
950 | #endif | |
951 | #ifndef OVERRIDE_TABLE_64_sys_mremap | |
952 | TRACE_SYSCALL_TABLE(sys_mremap, sys_mremap, 6024, 5) | |
953 | #endif | |
954 | #ifndef OVERRIDE_TABLE_64_sys_msync | |
955 | TRACE_SYSCALL_TABLE(sys_msync, sys_msync, 6025, 3) | |
956 | #endif | |
957 | #ifndef OVERRIDE_TABLE_64_sys_madvise | |
958 | TRACE_SYSCALL_TABLE(sys_madvise, sys_madvise, 6027, 3) | |
959 | #endif | |
960 | #ifndef OVERRIDE_TABLE_64_sys_shmget | |
961 | TRACE_SYSCALL_TABLE(sys_shmget, sys_shmget, 6028, 3) | |
962 | #endif | |
963 | #ifndef OVERRIDE_TABLE_64_sys_dup | |
964 | TRACE_SYSCALL_TABLE(sys_dup, sys_dup, 6031, 1) | |
965 | #endif | |
966 | #ifndef OVERRIDE_TABLE_64_sys_dup2 | |
967 | TRACE_SYSCALL_TABLE(sys_dup2, sys_dup2, 6032, 2) | |
968 | #endif | |
969 | #ifndef OVERRIDE_TABLE_64_sys_alarm | |
970 | TRACE_SYSCALL_TABLE(sys_alarm, sys_alarm, 6037, 1) | |
971 | #endif | |
972 | #ifndef OVERRIDE_TABLE_64_sys_socket | |
973 | TRACE_SYSCALL_TABLE(sys_socket, sys_socket, 6040, 3) | |
974 | #endif | |
975 | #ifndef OVERRIDE_TABLE_64_sys_shutdown | |
976 | TRACE_SYSCALL_TABLE(sys_shutdown, sys_shutdown, 6047, 2) | |
977 | #endif | |
978 | #ifndef OVERRIDE_TABLE_64_sys_listen | |
979 | TRACE_SYSCALL_TABLE(sys_listen, sys_listen, 6049, 2) | |
980 | #endif | |
981 | #ifndef OVERRIDE_TABLE_64_sys_exit | |
982 | TRACE_SYSCALL_TABLE(sys_exit, sys_exit, 6058, 1) | |
983 | #endif | |
984 | #ifndef OVERRIDE_TABLE_64_sys_kill | |
985 | TRACE_SYSCALL_TABLE(sys_kill, sys_kill, 6060, 2) | |
986 | #endif | |
987 | #ifndef OVERRIDE_TABLE_64_sys_semget | |
988 | TRACE_SYSCALL_TABLE(sys_semget, sys_semget, 6062, 3) | |
989 | #endif | |
990 | #ifndef OVERRIDE_TABLE_64_sys_n32_semctl | |
991 | TRACE_SYSCALL_TABLE(sys_n32_semctl, sys_n32_semctl, 6064, 4) | |
992 | #endif | |
993 | #ifndef OVERRIDE_TABLE_64_sys_msgget | |
994 | TRACE_SYSCALL_TABLE(sys_msgget, sys_msgget, 6066, 2) | |
995 | #endif | |
996 | #ifndef OVERRIDE_TABLE_64_sys_n32_msgsnd | |
997 | TRACE_SYSCALL_TABLE(sys_n32_msgsnd, sys_n32_msgsnd, 6067, 4) | |
998 | #endif | |
999 | #ifndef OVERRIDE_TABLE_64_sys_n32_msgrcv | |
1000 | TRACE_SYSCALL_TABLE(sys_n32_msgrcv, sys_n32_msgrcv, 6068, 5) | |
1001 | #endif | |
1002 | #ifndef OVERRIDE_TABLE_64_sys_flock | |
1003 | TRACE_SYSCALL_TABLE(sys_flock, sys_flock, 6071, 2) | |
1004 | #endif | |
1005 | #ifndef OVERRIDE_TABLE_64_sys_fsync | |
1006 | TRACE_SYSCALL_TABLE(sys_fsync, sys_fsync, 6072, 1) | |
1007 | #endif | |
1008 | #ifndef OVERRIDE_TABLE_64_sys_fdatasync | |
1009 | TRACE_SYSCALL_TABLE(sys_fdatasync, sys_fdatasync, 6073, 1) | |
1010 | #endif | |
1011 | #ifndef OVERRIDE_TABLE_64_sys_ftruncate | |
1012 | TRACE_SYSCALL_TABLE(sys_ftruncate, sys_ftruncate, 6075, 2) | |
1013 | #endif | |
1014 | #ifndef OVERRIDE_TABLE_64_sys_fchdir | |
1015 | TRACE_SYSCALL_TABLE(sys_fchdir, sys_fchdir, 6079, 1) | |
1016 | #endif | |
1017 | #ifndef OVERRIDE_TABLE_64_sys_fchmod | |
1018 | TRACE_SYSCALL_TABLE(sys_fchmod, sys_fchmod, 6089, 2) | |
1019 | #endif | |
1020 | #ifndef OVERRIDE_TABLE_64_sys_fchown | |
1021 | TRACE_SYSCALL_TABLE(sys_fchown, sys_fchown, 6091, 3) | |
1022 | #endif | |
1023 | #ifndef OVERRIDE_TABLE_64_sys_umask | |
1024 | TRACE_SYSCALL_TABLE(sys_umask, sys_umask, 6093, 1) | |
1025 | #endif | |
1026 | #ifndef OVERRIDE_TABLE_64_sys_setuid | |
1027 | TRACE_SYSCALL_TABLE(sys_setuid, sys_setuid, 6103, 1) | |
1028 | #endif | |
1029 | #ifndef OVERRIDE_TABLE_64_sys_setgid | |
1030 | TRACE_SYSCALL_TABLE(sys_setgid, sys_setgid, 6104, 1) | |
1031 | #endif | |
1032 | #ifndef OVERRIDE_TABLE_64_sys_setpgid | |
1033 | TRACE_SYSCALL_TABLE(sys_setpgid, sys_setpgid, 6107, 2) | |
1034 | #endif | |
1035 | #ifndef OVERRIDE_TABLE_64_sys_setreuid | |
1036 | TRACE_SYSCALL_TABLE(sys_setreuid, sys_setreuid, 6111, 2) | |
1037 | #endif | |
1038 | #ifndef OVERRIDE_TABLE_64_sys_setregid | |
1039 | TRACE_SYSCALL_TABLE(sys_setregid, sys_setregid, 6112, 2) | |
1040 | #endif | |
1041 | #ifndef OVERRIDE_TABLE_64_sys_setresuid | |
1042 | TRACE_SYSCALL_TABLE(sys_setresuid, sys_setresuid, 6115, 3) | |
1043 | #endif | |
1044 | #ifndef OVERRIDE_TABLE_64_sys_setresgid | |
1045 | TRACE_SYSCALL_TABLE(sys_setresgid, sys_setresgid, 6117, 3) | |
1046 | #endif | |
1047 | #ifndef OVERRIDE_TABLE_64_sys_getpgid | |
1048 | TRACE_SYSCALL_TABLE(sys_getpgid, sys_getpgid, 6119, 1) | |
1049 | #endif | |
1050 | #ifndef OVERRIDE_TABLE_64_sys_setfsuid | |
1051 | TRACE_SYSCALL_TABLE(sys_setfsuid, sys_setfsuid, 6120, 1) | |
1052 | #endif | |
1053 | #ifndef OVERRIDE_TABLE_64_sys_setfsgid | |
1054 | TRACE_SYSCALL_TABLE(sys_setfsgid, sys_setfsgid, 6121, 1) | |
1055 | #endif | |
1056 | #ifndef OVERRIDE_TABLE_64_sys_getsid | |
1057 | TRACE_SYSCALL_TABLE(sys_getsid, sys_getsid, 6122, 1) | |
1058 | #endif | |
1059 | #ifndef OVERRIDE_TABLE_64_sys_32_personality | |
1060 | TRACE_SYSCALL_TABLE(sys_32_personality, sys_32_personality, 6132, 1) | |
1061 | #endif | |
1062 | #ifndef OVERRIDE_TABLE_64_sys_sysfs | |
1063 | TRACE_SYSCALL_TABLE(sys_sysfs, sys_sysfs, 6136, 3) | |
1064 | #endif | |
1065 | #ifndef OVERRIDE_TABLE_64_sys_getpriority | |
1066 | TRACE_SYSCALL_TABLE(sys_getpriority, sys_getpriority, 6137, 2) | |
1067 | #endif | |
1068 | #ifndef OVERRIDE_TABLE_64_sys_setpriority | |
1069 | TRACE_SYSCALL_TABLE(sys_setpriority, sys_setpriority, 6138, 3) | |
1070 | #endif | |
1071 | #ifndef OVERRIDE_TABLE_64_sys_sched_getscheduler | |
1072 | TRACE_SYSCALL_TABLE(sys_sched_getscheduler, sys_sched_getscheduler, 6142, 1) | |
1073 | #endif | |
1074 | #ifndef OVERRIDE_TABLE_64_sys_sched_get_priority_max | |
1075 | TRACE_SYSCALL_TABLE(sys_sched_get_priority_max, sys_sched_get_priority_max, 6143, 1) | |
1076 | #endif | |
1077 | #ifndef OVERRIDE_TABLE_64_sys_sched_get_priority_min | |
1078 | TRACE_SYSCALL_TABLE(sys_sched_get_priority_min, sys_sched_get_priority_min, 6144, 1) | |
1079 | #endif | |
1080 | #ifndef OVERRIDE_TABLE_64_sys_mlock | |
1081 | TRACE_SYSCALL_TABLE(sys_mlock, sys_mlock, 6146, 2) | |
1082 | #endif | |
1083 | #ifndef OVERRIDE_TABLE_64_sys_munlock | |
1084 | TRACE_SYSCALL_TABLE(sys_munlock, sys_munlock, 6147, 2) | |
1085 | #endif | |
1086 | #ifndef OVERRIDE_TABLE_64_sys_mlockall | |
1087 | TRACE_SYSCALL_TABLE(sys_mlockall, sys_mlockall, 6148, 1) | |
1088 | #endif | |
1089 | #ifndef OVERRIDE_TABLE_64_sys_prctl | |
1090 | TRACE_SYSCALL_TABLE(sys_prctl, sys_prctl, 6153, 5) | |
1091 | #endif | |
1092 | #ifndef OVERRIDE_TABLE_64_sys_tkill | |
1093 | TRACE_SYSCALL_TABLE(sys_tkill, sys_tkill, 6192, 2) | |
1094 | #endif | |
1095 | #ifndef OVERRIDE_TABLE_64_sys_cacheflush | |
1096 | TRACE_SYSCALL_TABLE(sys_cacheflush, sys_cacheflush, 6197, 3) | |
1097 | #endif | |
1098 | #ifndef OVERRIDE_TABLE_64_sys_io_destroy | |
1099 | TRACE_SYSCALL_TABLE(sys_io_destroy, sys_io_destroy, 6201, 1) | |
1100 | #endif | |
1101 | #ifndef OVERRIDE_TABLE_64_sys_exit_group | |
1102 | TRACE_SYSCALL_TABLE(sys_exit_group, sys_exit_group, 6205, 1) | |
1103 | #endif | |
1104 | #ifndef OVERRIDE_TABLE_64_sys_epoll_create | |
1105 | TRACE_SYSCALL_TABLE(sys_epoll_create, sys_epoll_create, 6207, 1) | |
1106 | #endif | |
1107 | #ifndef OVERRIDE_TABLE_64_sys_remap_file_pages | |
1108 | TRACE_SYSCALL_TABLE(sys_remap_file_pages, sys_remap_file_pages, 6210, 5) | |
1109 | #endif | |
1110 | #ifndef OVERRIDE_TABLE_64_sys_timer_getoverrun | |
1111 | TRACE_SYSCALL_TABLE(sys_timer_getoverrun, sys_timer_getoverrun, 6223, 1) | |
1112 | #endif | |
1113 | #ifndef OVERRIDE_TABLE_64_sys_timer_delete | |
1114 | TRACE_SYSCALL_TABLE(sys_timer_delete, sys_timer_delete, 6224, 1) | |
1115 | #endif | |
1116 | #ifndef OVERRIDE_TABLE_64_sys_tgkill | |
1117 | TRACE_SYSCALL_TABLE(sys_tgkill, sys_tgkill, 6229, 3) | |
1118 | #endif | |
1119 | #ifndef OVERRIDE_TABLE_64_sys_set_thread_area | |
1120 | TRACE_SYSCALL_TABLE(sys_set_thread_area, sys_set_thread_area, 6246, 1) | |
1121 | #endif | |
1122 | #ifndef OVERRIDE_TABLE_64_sys_inotify_rm_watch | |
1123 | TRACE_SYSCALL_TABLE(sys_inotify_rm_watch, sys_inotify_rm_watch, 6249, 2) | |
1124 | #endif | |
1125 | #ifndef OVERRIDE_TABLE_64_sys_unshare | |
1126 | TRACE_SYSCALL_TABLE(sys_unshare, sys_unshare, 6266, 1) | |
1127 | #endif | |
1128 | #ifndef OVERRIDE_TABLE_64_sys_tee | |
1129 | TRACE_SYSCALL_TABLE(sys_tee, sys_tee, 6269, 4) | |
1130 | #endif | |
1131 | #ifndef OVERRIDE_TABLE_64_sys_ioprio_set | |
1132 | TRACE_SYSCALL_TABLE(sys_ioprio_set, sys_ioprio_set, 6277, 3) | |
1133 | #endif | |
1134 | #ifndef OVERRIDE_TABLE_64_sys_ioprio_get | |
1135 | TRACE_SYSCALL_TABLE(sys_ioprio_get, sys_ioprio_get, 6278, 2) | |
1136 | #endif | |
1137 | #ifndef OVERRIDE_TABLE_64_sys_eventfd | |
1138 | TRACE_SYSCALL_TABLE(sys_eventfd, sys_eventfd, 6282, 1) | |
1139 | #endif | |
1140 | #ifndef OVERRIDE_TABLE_64_sys_timerfd_create | |
1141 | TRACE_SYSCALL_TABLE(sys_timerfd_create, sys_timerfd_create, 6284, 2) | |
1142 | #endif | |
1143 | #ifndef OVERRIDE_TABLE_64_sys_eventfd2 | |
1144 | TRACE_SYSCALL_TABLE(sys_eventfd2, sys_eventfd2, 6288, 2) | |
1145 | #endif | |
1146 | #ifndef OVERRIDE_TABLE_64_sys_epoll_create1 | |
1147 | TRACE_SYSCALL_TABLE(sys_epoll_create1, sys_epoll_create1, 6289, 1) | |
1148 | #endif | |
1149 | #ifndef OVERRIDE_TABLE_64_sys_dup3 | |
1150 | TRACE_SYSCALL_TABLE(sys_dup3, sys_dup3, 6290, 3) | |
1151 | #endif | |
1152 | #ifndef OVERRIDE_TABLE_64_sys_inotify_init1 | |
1153 | TRACE_SYSCALL_TABLE(sys_inotify_init1, sys_inotify_init1, 6292, 1) | |
1154 | #endif | |
1155 | #ifndef OVERRIDE_TABLE_64_sys_syncfs | |
1156 | TRACE_SYSCALL_TABLE(sys_syncfs, sys_syncfs, 6306, 1) | |
1157 | #endif | |
1158 | #ifndef OVERRIDE_TABLE_64_sys_setns | |
1159 | TRACE_SYSCALL_TABLE(sys_setns, sys_setns, 6308, 2) | |
1160 | #endif | |
1161 | ||
1162 | #endif /* CREATE_SYSCALL_TABLE */ |
0 | /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ | |
1 | #ifndef CREATE_SYSCALL_TABLE | |
2 | ||
3 | #if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) | |
4 | #define _TRACE_SYSCALLS_POINTERS_H | |
5 | ||
6 | #include <linux/tracepoint.h> | |
7 | #include <linux/syscalls.h> | |
8 | #include "mips-64-syscalls-3.5.0_pointers_override.h" | |
9 | #include "syscalls_pointers_override.h" | |
10 | ||
11 | #ifndef OVERRIDE_64_sys_oldumount | |
12 | SC_TRACE_EVENT(sys_oldumount, | |
13 | TP_PROTO(char * name), | |
14 | TP_ARGS(name), | |
15 | TP_STRUCT__entry(__string_from_user(name, name)), | |
16 | TP_fast_assign(tp_copy_string_from_user(name, name)), | |
17 | TP_printk() | |
18 | ) | |
19 | #endif | |
20 | #ifndef OVERRIDE_64_sys_olduname | |
21 | SC_TRACE_EVENT(sys_olduname, | |
22 | TP_PROTO(struct oldold_utsname * name), | |
23 | TP_ARGS(name), | |
24 | TP_STRUCT__entry(__field_hex(struct oldold_utsname *, name)), | |
25 | TP_fast_assign(tp_assign(name, name)), | |
26 | TP_printk() | |
27 | ) | |
28 | #endif | |
29 | #ifndef OVERRIDE_64_sys_uselib | |
30 | SC_TRACE_EVENT(sys_uselib, | |
31 | TP_PROTO(const char * library), | |
32 | TP_ARGS(library), | |
33 | TP_STRUCT__entry(__field_hex(const char *, library)), | |
34 | TP_fast_assign(tp_assign(library, library)), | |
35 | TP_printk() | |
36 | ) | |
37 | #endif | |
38 | #ifndef OVERRIDE_64_sys_uname | |
39 | SC_TRACE_EVENT(sys_uname, | |
40 | TP_PROTO(struct old_utsname * name), | |
41 | TP_ARGS(name), | |
42 | TP_STRUCT__entry(__field_hex(struct old_utsname *, name)), | |
43 | TP_fast_assign(tp_assign(name, name)), | |
44 | TP_printk() | |
45 | ) | |
46 | #endif | |
47 | #ifndef OVERRIDE_64_sys_sysinfo | |
48 | SC_TRACE_EVENT(sys_sysinfo, | |
49 | TP_PROTO(struct sysinfo * info), | |
50 | TP_ARGS(info), | |
51 | TP_STRUCT__entry(__field_hex(struct sysinfo *, info)), | |
52 | TP_fast_assign(tp_assign(info, info)), | |
53 | TP_printk() | |
54 | ) | |
55 | #endif | |
56 | #ifndef OVERRIDE_64_sys_times | |
57 | SC_TRACE_EVENT(sys_times, | |
58 | TP_PROTO(struct tms * tbuf), | |
59 | TP_ARGS(tbuf), | |
60 | TP_STRUCT__entry(__field_hex(struct tms *, tbuf)), | |
61 | TP_fast_assign(tp_assign(tbuf, tbuf)), | |
62 | TP_printk() | |
63 | ) | |
64 | #endif | |
65 | #ifndef OVERRIDE_64_sys_sysctl | |
66 | SC_TRACE_EVENT(sys_sysctl, | |
67 | TP_PROTO(struct __sysctl_args * args), | |
68 | TP_ARGS(args), | |
69 | TP_STRUCT__entry(__field_hex(struct __sysctl_args *, args)), | |
70 | TP_fast_assign(tp_assign(args, args)), | |
71 | TP_printk() | |
72 | ) | |
73 | #endif | |
74 | #ifndef OVERRIDE_64_sys_adjtimex | |
75 | SC_TRACE_EVENT(sys_adjtimex, | |
76 | TP_PROTO(struct timex * txc_p), | |
77 | TP_ARGS(txc_p), | |
78 | TP_STRUCT__entry(__field_hex(struct timex *, txc_p)), | |
79 | TP_fast_assign(tp_assign(txc_p, txc_p)), | |
80 | TP_printk() | |
81 | ) | |
82 | #endif | |
83 | #ifndef OVERRIDE_64_sys_newuname | |
84 | SC_TRACE_EVENT(sys_newuname, | |
85 | TP_PROTO(struct new_utsname * name), | |
86 | TP_ARGS(name), | |
87 | TP_STRUCT__entry(__field_hex(struct new_utsname *, name)), | |
88 | TP_fast_assign(tp_assign(name, name)), | |
89 | TP_printk() | |
90 | ) | |
91 | #endif | |
92 | #ifndef OVERRIDE_64_sys_shmdt | |
93 | SC_TRACE_EVENT(sys_shmdt, | |
94 | TP_PROTO(char * shmaddr), | |
95 | TP_ARGS(shmaddr), | |
96 | TP_STRUCT__entry(__field_hex(char *, shmaddr)), | |
97 | TP_fast_assign(tp_assign(shmaddr, shmaddr)), | |
98 | TP_printk() | |
99 | ) | |
100 | #endif | |
101 | #ifndef OVERRIDE_64_sys_chdir | |
102 | SC_TRACE_EVENT(sys_chdir, | |
103 | TP_PROTO(const char * filename), | |
104 | TP_ARGS(filename), | |
105 | TP_STRUCT__entry(__string_from_user(filename, filename)), | |
106 | TP_fast_assign(tp_copy_string_from_user(filename, filename)), | |
107 | TP_printk() | |
108 | ) | |
109 | #endif | |
110 | #ifndef OVERRIDE_64_sys_rmdir | |
111 | SC_TRACE_EVENT(sys_rmdir, | |
112 | TP_PROTO(const char * pathname), | |
113 | TP_ARGS(pathname), | |
114 | TP_STRUCT__entry(__string_from_user(pathname, pathname)), | |
115 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname)), | |
116 | TP_printk() | |
117 | ) | |
118 | #endif | |
119 | #ifndef OVERRIDE_64_sys_unlink | |
120 | SC_TRACE_EVENT(sys_unlink, | |
121 | TP_PROTO(const char * pathname), | |
122 | TP_ARGS(pathname), | |
123 | TP_STRUCT__entry(__string_from_user(pathname, pathname)), | |
124 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname)), | |
125 | TP_printk() | |
126 | ) | |
127 | #endif | |
128 | #ifndef OVERRIDE_64_sys_chroot | |
129 | SC_TRACE_EVENT(sys_chroot, | |
130 | TP_PROTO(const char * filename), | |
131 | TP_ARGS(filename), | |
132 | TP_STRUCT__entry(__string_from_user(filename, filename)), | |
133 | TP_fast_assign(tp_copy_string_from_user(filename, filename)), | |
134 | TP_printk() | |
135 | ) | |
136 | #endif | |
137 | #ifndef OVERRIDE_64_sys_swapoff | |
138 | SC_TRACE_EVENT(sys_swapoff, | |
139 | TP_PROTO(const char * specialfile), | |
140 | TP_ARGS(specialfile), | |
141 | TP_STRUCT__entry(__string_from_user(specialfile, specialfile)), | |
142 | TP_fast_assign(tp_copy_string_from_user(specialfile, specialfile)), | |
143 | TP_printk() | |
144 | ) | |
145 | #endif | |
146 | #ifndef OVERRIDE_64_sys_set_tid_address | |
147 | SC_TRACE_EVENT(sys_set_tid_address, | |
148 | TP_PROTO(int * tidptr), | |
149 | TP_ARGS(tidptr), | |
150 | TP_STRUCT__entry(__field_hex(int *, tidptr)), | |
151 | TP_fast_assign(tp_assign(tidptr, tidptr)), | |
152 | TP_printk() | |
153 | ) | |
154 | #endif | |
155 | #ifndef OVERRIDE_64_sys_nanosleep | |
156 | SC_TRACE_EVENT(sys_nanosleep, | |
157 | TP_PROTO(struct timespec * rqtp, struct timespec * rmtp), | |
158 | TP_ARGS(rqtp, rmtp), | |
159 | TP_STRUCT__entry(__field_hex(struct timespec *, rqtp) __field_hex(struct timespec *, rmtp)), | |
160 | TP_fast_assign(tp_assign(rqtp, rqtp) tp_assign(rmtp, rmtp)), | |
161 | TP_printk() | |
162 | ) | |
163 | #endif | |
164 | #ifndef OVERRIDE_64_sys_getitimer | |
165 | SC_TRACE_EVENT(sys_getitimer, | |
166 | TP_PROTO(int which, struct itimerval * value), | |
167 | TP_ARGS(which, value), | |
168 | TP_STRUCT__entry(__field(int, which) __field_hex(struct itimerval *, value)), | |
169 | TP_fast_assign(tp_assign(which, which) tp_assign(value, value)), | |
170 | TP_printk() | |
171 | ) | |
172 | #endif | |
173 | #ifndef OVERRIDE_64_sys_gettimeofday | |
174 | SC_TRACE_EVENT(sys_gettimeofday, | |
175 | TP_PROTO(struct timeval * tv, struct timezone * tz), | |
176 | TP_ARGS(tv, tz), | |
177 | TP_STRUCT__entry(__field_hex(struct timeval *, tv) __field_hex(struct timezone *, tz)), | |
178 | TP_fast_assign(tp_assign(tv, tv) tp_assign(tz, tz)), | |
179 | TP_printk() | |
180 | ) | |
181 | #endif | |
182 | #ifndef OVERRIDE_64_sys_getrlimit | |
183 | SC_TRACE_EVENT(sys_getrlimit, | |
184 | TP_PROTO(unsigned int resource, struct rlimit * rlim), | |
185 | TP_ARGS(resource, rlim), | |
186 | TP_STRUCT__entry(__field(unsigned int, resource) __field_hex(struct rlimit *, rlim)), | |
187 | TP_fast_assign(tp_assign(resource, resource) tp_assign(rlim, rlim)), | |
188 | TP_printk() | |
189 | ) | |
190 | #endif | |
191 | #ifndef OVERRIDE_64_sys_getrusage | |
192 | SC_TRACE_EVENT(sys_getrusage, | |
193 | TP_PROTO(int who, struct rusage * ru), | |
194 | TP_ARGS(who, ru), | |
195 | TP_STRUCT__entry(__field(int, who) __field_hex(struct rusage *, ru)), | |
196 | TP_fast_assign(tp_assign(who, who) tp_assign(ru, ru)), | |
197 | TP_printk() | |
198 | ) | |
199 | #endif | |
200 | #ifndef OVERRIDE_64_sys_rt_sigpending | |
201 | SC_TRACE_EVENT(sys_rt_sigpending, | |
202 | TP_PROTO(sigset_t * set, size_t sigsetsize), | |
203 | TP_ARGS(set, sigsetsize), | |
204 | TP_STRUCT__entry(__field_hex(sigset_t *, set) __field(size_t, sigsetsize)), | |
205 | TP_fast_assign(tp_assign(set, set) tp_assign(sigsetsize, sigsetsize)), | |
206 | TP_printk() | |
207 | ) | |
208 | #endif | |
209 | #ifndef OVERRIDE_64_sys_utime | |
210 | SC_TRACE_EVENT(sys_utime, | |
211 | TP_PROTO(char * filename, struct utimbuf * times), | |
212 | TP_ARGS(filename, times), | |
213 | TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct utimbuf *, times)), | |
214 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(times, times)), | |
215 | TP_printk() | |
216 | ) | |
217 | #endif | |
218 | #ifndef OVERRIDE_64_sys_ustat | |
219 | SC_TRACE_EVENT(sys_ustat, | |
220 | TP_PROTO(unsigned dev, struct ustat * ubuf), | |
221 | TP_ARGS(dev, ubuf), | |
222 | TP_STRUCT__entry(__field(unsigned, dev) __field_hex(struct ustat *, ubuf)), | |
223 | TP_fast_assign(tp_assign(dev, dev) tp_assign(ubuf, ubuf)), | |
224 | TP_printk() | |
225 | ) | |
226 | #endif | |
227 | #ifndef OVERRIDE_64_sys_statfs | |
228 | SC_TRACE_EVENT(sys_statfs, | |
229 | TP_PROTO(const char * pathname, struct statfs * buf), | |
230 | TP_ARGS(pathname, buf), | |
231 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(struct statfs *, buf)), | |
232 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(buf, buf)), | |
233 | TP_printk() | |
234 | ) | |
235 | #endif | |
236 | #ifndef OVERRIDE_64_sys_fstatfs | |
237 | SC_TRACE_EVENT(sys_fstatfs, | |
238 | TP_PROTO(unsigned int fd, struct statfs * buf), | |
239 | TP_ARGS(fd, buf), | |
240 | TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct statfs *, buf)), | |
241 | TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf)), | |
242 | TP_printk() | |
243 | ) | |
244 | #endif | |
245 | #ifndef OVERRIDE_64_sys_sched_rr_get_interval | |
246 | SC_TRACE_EVENT(sys_sched_rr_get_interval, | |
247 | TP_PROTO(pid_t pid, struct timespec * interval), | |
248 | TP_ARGS(pid, interval), | |
249 | TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct timespec *, interval)), | |
250 | TP_fast_assign(tp_assign(pid, pid) tp_assign(interval, interval)), | |
251 | TP_printk() | |
252 | ) | |
253 | #endif | |
254 | #ifndef OVERRIDE_64_sys_setrlimit | |
255 | SC_TRACE_EVENT(sys_setrlimit, | |
256 | TP_PROTO(unsigned int resource, struct rlimit * rlim), | |
257 | TP_ARGS(resource, rlim), | |
258 | TP_STRUCT__entry(__field(unsigned int, resource) __field_hex(struct rlimit *, rlim)), | |
259 | TP_fast_assign(tp_assign(resource, resource) tp_assign(rlim, rlim)), | |
260 | TP_printk() | |
261 | ) | |
262 | #endif | |
263 | #ifndef OVERRIDE_64_sys_settimeofday | |
264 | SC_TRACE_EVENT(sys_settimeofday, | |
265 | TP_PROTO(struct timeval * tv, struct timezone * tz), | |
266 | TP_ARGS(tv, tz), | |
267 | TP_STRUCT__entry(__field_hex(struct timeval *, tv) __field_hex(struct timezone *, tz)), | |
268 | TP_fast_assign(tp_assign(tv, tv) tp_assign(tz, tz)), | |
269 | TP_printk() | |
270 | ) | |
271 | #endif | |
272 | #ifndef OVERRIDE_64_sys_io_setup | |
273 | SC_TRACE_EVENT(sys_io_setup, | |
274 | TP_PROTO(unsigned nr_events, aio_context_t * ctxp), | |
275 | TP_ARGS(nr_events, ctxp), | |
276 | TP_STRUCT__entry(__field(unsigned, nr_events) __field_hex(aio_context_t *, ctxp)), | |
277 | TP_fast_assign(tp_assign(nr_events, nr_events) tp_assign(ctxp, ctxp)), | |
278 | TP_printk() | |
279 | ) | |
280 | #endif | |
281 | #ifndef OVERRIDE_64_sys_timer_gettime | |
282 | SC_TRACE_EVENT(sys_timer_gettime, | |
283 | TP_PROTO(timer_t timer_id, struct itimerspec * setting), | |
284 | TP_ARGS(timer_id, setting), | |
285 | TP_STRUCT__entry(__field(timer_t, timer_id) __field_hex(struct itimerspec *, setting)), | |
286 | TP_fast_assign(tp_assign(timer_id, timer_id) tp_assign(setting, setting)), | |
287 | TP_printk() | |
288 | ) | |
289 | #endif | |
290 | #ifndef OVERRIDE_64_sys_clock_settime | |
291 | SC_TRACE_EVENT(sys_clock_settime, | |
292 | TP_PROTO(const clockid_t which_clock, const struct timespec * tp), | |
293 | TP_ARGS(which_clock, tp), | |
294 | TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(const struct timespec *, tp)), | |
295 | TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(tp, tp)), | |
296 | TP_printk() | |
297 | ) | |
298 | #endif | |
299 | #ifndef OVERRIDE_64_sys_clock_gettime | |
300 | SC_TRACE_EVENT(sys_clock_gettime, | |
301 | TP_PROTO(const clockid_t which_clock, struct timespec * tp), | |
302 | TP_ARGS(which_clock, tp), | |
303 | TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timespec *, tp)), | |
304 | TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(tp, tp)), | |
305 | TP_printk() | |
306 | ) | |
307 | #endif | |
308 | #ifndef OVERRIDE_64_sys_clock_getres | |
309 | SC_TRACE_EVENT(sys_clock_getres, | |
310 | TP_PROTO(const clockid_t which_clock, struct timespec * tp), | |
311 | TP_ARGS(which_clock, tp), | |
312 | TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timespec *, tp)), | |
313 | TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(tp, tp)), | |
314 | TP_printk() | |
315 | ) | |
316 | #endif | |
317 | #ifndef OVERRIDE_64_sys_utimes | |
318 | SC_TRACE_EVENT(sys_utimes, | |
319 | TP_PROTO(char * filename, struct timeval * utimes), | |
320 | TP_ARGS(filename, utimes), | |
321 | TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct timeval *, utimes)), | |
322 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(utimes, utimes)), | |
323 | TP_printk() | |
324 | ) | |
325 | #endif | |
326 | #ifndef OVERRIDE_64_sys_set_robust_list | |
327 | SC_TRACE_EVENT(sys_set_robust_list, | |
328 | TP_PROTO(struct robust_list_head * head, size_t len), | |
329 | TP_ARGS(head, len), | |
330 | TP_STRUCT__entry(__field_hex(struct robust_list_head *, head) __field(size_t, len)), | |
331 | TP_fast_assign(tp_assign(head, head) tp_assign(len, len)), | |
332 | TP_printk() | |
333 | ) | |
334 | #endif | |
335 | #ifndef OVERRIDE_64_sys_timerfd_gettime | |
336 | SC_TRACE_EVENT(sys_timerfd_gettime, | |
337 | TP_PROTO(int ufd, struct itimerspec * otmr), | |
338 | TP_ARGS(ufd, otmr), | |
339 | TP_STRUCT__entry(__field(int, ufd) __field_hex(struct itimerspec *, otmr)), | |
340 | TP_fast_assign(tp_assign(ufd, ufd) tp_assign(otmr, otmr)), | |
341 | TP_printk() | |
342 | ) | |
343 | #endif | |
344 | #ifndef OVERRIDE_64_sys_clock_adjtime | |
345 | SC_TRACE_EVENT(sys_clock_adjtime, | |
346 | TP_PROTO(const clockid_t which_clock, struct timex * utx), | |
347 | TP_ARGS(which_clock, utx), | |
348 | TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct timex *, utx)), | |
349 | TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(utx, utx)), | |
350 | TP_printk() | |
351 | ) | |
352 | #endif | |
353 | #ifndef OVERRIDE_64_sys_newstat | |
354 | SC_TRACE_EVENT(sys_newstat, | |
355 | TP_PROTO(const char * filename, struct stat * statbuf), | |
356 | TP_ARGS(filename, statbuf), | |
357 | TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat *, statbuf)), | |
358 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf)), | |
359 | TP_printk() | |
360 | ) | |
361 | #endif | |
362 | #ifndef OVERRIDE_64_sys_newfstat | |
363 | SC_TRACE_EVENT(sys_newfstat, | |
364 | TP_PROTO(unsigned int fd, struct stat * statbuf), | |
365 | TP_ARGS(fd, statbuf), | |
366 | TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct stat *, statbuf)), | |
367 | TP_fast_assign(tp_assign(fd, fd) tp_assign(statbuf, statbuf)), | |
368 | TP_printk() | |
369 | ) | |
370 | #endif | |
371 | #ifndef OVERRIDE_64_sys_newlstat | |
372 | SC_TRACE_EVENT(sys_newlstat, | |
373 | TP_PROTO(const char * filename, struct stat * statbuf), | |
374 | TP_ARGS(filename, statbuf), | |
375 | TP_STRUCT__entry(__string_from_user(filename, filename) __field_hex(struct stat *, statbuf)), | |
376 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf)), | |
377 | TP_printk() | |
378 | ) | |
379 | #endif | |
380 | #ifndef OVERRIDE_64_sys_access | |
381 | SC_TRACE_EVENT(sys_access, | |
382 | TP_PROTO(const char * filename, int mode), | |
383 | TP_ARGS(filename, mode), | |
384 | TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, mode)), | |
385 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), | |
386 | TP_printk() | |
387 | ) | |
388 | #endif | |
389 | #ifndef OVERRIDE_64_sys_truncate | |
390 | SC_TRACE_EVENT(sys_truncate, | |
391 | TP_PROTO(const char * path, long length), | |
392 | TP_ARGS(path, length), | |
393 | TP_STRUCT__entry(__string_from_user(path, path) __field(long, length)), | |
394 | TP_fast_assign(tp_copy_string_from_user(path, path) tp_assign(length, length)), | |
395 | TP_printk() | |
396 | ) | |
397 | #endif | |
398 | #ifndef OVERRIDE_64_sys_getcwd | |
399 | SC_TRACE_EVENT(sys_getcwd, | |
400 | TP_PROTO(char * buf, unsigned long size), | |
401 | TP_ARGS(buf, size), | |
402 | TP_STRUCT__entry(__field_hex(char *, buf) __field(unsigned long, size)), | |
403 | TP_fast_assign(tp_assign(buf, buf) tp_assign(size, size)), | |
404 | TP_printk() | |
405 | ) | |
406 | #endif | |
407 | #ifndef OVERRIDE_64_sys_rename | |
408 | SC_TRACE_EVENT(sys_rename, | |
409 | TP_PROTO(const char * oldname, const char * newname), | |
410 | TP_ARGS(oldname, newname), | |
411 | TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), | |
412 | TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_copy_string_from_user(newname, newname)), | |
413 | TP_printk() | |
414 | ) | |
415 | #endif | |
416 | #ifndef OVERRIDE_64_sys_mkdir | |
417 | SC_TRACE_EVENT(sys_mkdir, | |
418 | TP_PROTO(const char * pathname, umode_t mode), | |
419 | TP_ARGS(pathname, mode), | |
420 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(umode_t, mode)), | |
421 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(mode, mode)), | |
422 | TP_printk() | |
423 | ) | |
424 | #endif | |
425 | #ifndef OVERRIDE_64_sys_creat | |
426 | SC_TRACE_EVENT(sys_creat, | |
427 | TP_PROTO(const char * pathname, umode_t mode), | |
428 | TP_ARGS(pathname, mode), | |
429 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __field(umode_t, mode)), | |
430 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(mode, mode)), | |
431 | TP_printk() | |
432 | ) | |
433 | #endif | |
434 | #ifndef OVERRIDE_64_sys_link | |
435 | SC_TRACE_EVENT(sys_link, | |
436 | TP_PROTO(const char * oldname, const char * newname), | |
437 | TP_ARGS(oldname, newname), | |
438 | TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), | |
439 | TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_copy_string_from_user(newname, newname)), | |
440 | TP_printk() | |
441 | ) | |
442 | #endif | |
443 | #ifndef OVERRIDE_64_sys_symlink | |
444 | SC_TRACE_EVENT(sys_symlink, | |
445 | TP_PROTO(const char * oldname, const char * newname), | |
446 | TP_ARGS(oldname, newname), | |
447 | TP_STRUCT__entry(__string_from_user(oldname, oldname) __string_from_user(newname, newname)), | |
448 | TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_copy_string_from_user(newname, newname)), | |
449 | TP_printk() | |
450 | ) | |
451 | #endif | |
452 | #ifndef OVERRIDE_64_sys_chmod | |
453 | SC_TRACE_EVENT(sys_chmod, | |
454 | TP_PROTO(const char * filename, umode_t mode), | |
455 | TP_ARGS(filename, mode), | |
456 | TP_STRUCT__entry(__string_from_user(filename, filename) __field(umode_t, mode)), | |
457 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), | |
458 | TP_printk() | |
459 | ) | |
460 | #endif | |
461 | #ifndef OVERRIDE_64_sys_getgroups | |
462 | SC_TRACE_EVENT(sys_getgroups, | |
463 | TP_PROTO(int gidsetsize, gid_t * grouplist), | |
464 | TP_ARGS(gidsetsize, grouplist), | |
465 | TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(gid_t *, grouplist)), | |
466 | TP_fast_assign(tp_assign(gidsetsize, gidsetsize) tp_assign(grouplist, grouplist)), | |
467 | TP_printk() | |
468 | ) | |
469 | #endif | |
470 | #ifndef OVERRIDE_64_sys_setgroups | |
471 | SC_TRACE_EVENT(sys_setgroups, | |
472 | TP_PROTO(int gidsetsize, gid_t * grouplist), | |
473 | TP_ARGS(gidsetsize, grouplist), | |
474 | TP_STRUCT__entry(__field(int, gidsetsize) __field_hex(gid_t *, grouplist)), | |
475 | TP_fast_assign(tp_assign(gidsetsize, gidsetsize) tp_assign(grouplist, grouplist)), | |
476 | TP_printk() | |
477 | ) | |
478 | #endif | |
479 | #ifndef OVERRIDE_64_sys_32_rt_sigpending | |
480 | SC_TRACE_EVENT(sys_32_rt_sigpending, | |
481 | TP_PROTO(compat_sigset_t * uset, unsigned int sigsetsize), | |
482 | TP_ARGS(uset, sigsetsize), | |
483 | TP_STRUCT__entry(__field_hex(compat_sigset_t *, uset) __field(unsigned int, sigsetsize)), | |
484 | TP_fast_assign(tp_assign(uset, uset) tp_assign(sigsetsize, sigsetsize)), | |
485 | TP_printk() | |
486 | ) | |
487 | #endif | |
488 | #ifndef OVERRIDE_64_sys_sched_setparam | |
489 | SC_TRACE_EVENT(sys_sched_setparam, | |
490 | TP_PROTO(pid_t pid, struct sched_param * param), | |
491 | TP_ARGS(pid, param), | |
492 | TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct sched_param *, param)), | |
493 | TP_fast_assign(tp_assign(pid, pid) tp_assign(param, param)), | |
494 | TP_printk() | |
495 | ) | |
496 | #endif | |
497 | #ifndef OVERRIDE_64_sys_sched_getparam | |
498 | SC_TRACE_EVENT(sys_sched_getparam, | |
499 | TP_PROTO(pid_t pid, struct sched_param * param), | |
500 | TP_ARGS(pid, param), | |
501 | TP_STRUCT__entry(__field(pid_t, pid) __field_hex(struct sched_param *, param)), | |
502 | TP_fast_assign(tp_assign(pid, pid) tp_assign(param, param)), | |
503 | TP_printk() | |
504 | ) | |
505 | #endif | |
506 | #ifndef OVERRIDE_64_sys_32_sched_rr_get_interval | |
507 | SC_TRACE_EVENT(sys_32_sched_rr_get_interval, | |
508 | TP_PROTO(compat_pid_t pid, struct compat_timespec * interval), | |
509 | TP_ARGS(pid, interval), | |
510 | TP_STRUCT__entry(__field(compat_pid_t, pid) __field_hex(struct compat_timespec *, interval)), | |
511 | TP_fast_assign(tp_assign(pid, pid) tp_assign(interval, interval)), | |
512 | TP_printk() | |
513 | ) | |
514 | #endif | |
515 | #ifndef OVERRIDE_64_sys_pivot_root | |
516 | SC_TRACE_EVENT(sys_pivot_root, | |
517 | TP_PROTO(const char * new_root, const char * put_old), | |
518 | TP_ARGS(new_root, put_old), | |
519 | TP_STRUCT__entry(__string_from_user(new_root, new_root) __string_from_user(put_old, put_old)), | |
520 | TP_fast_assign(tp_copy_string_from_user(new_root, new_root) tp_copy_string_from_user(put_old, put_old)), | |
521 | TP_printk() | |
522 | ) | |
523 | #endif | |
524 | #ifndef OVERRIDE_64_sys_umount | |
525 | SC_TRACE_EVENT(sys_umount, | |
526 | TP_PROTO(char * name, int flags), | |
527 | TP_ARGS(name, flags), | |
528 | TP_STRUCT__entry(__string_from_user(name, name) __field(int, flags)), | |
529 | TP_fast_assign(tp_copy_string_from_user(name, name) tp_assign(flags, flags)), | |
530 | TP_printk() | |
531 | ) | |
532 | #endif | |
533 | #ifndef OVERRIDE_64_sys_swapon | |
534 | SC_TRACE_EVENT(sys_swapon, | |
535 | TP_PROTO(const char * specialfile, int swap_flags), | |
536 | TP_ARGS(specialfile, swap_flags), | |
537 | TP_STRUCT__entry(__string_from_user(specialfile, specialfile) __field(int, swap_flags)), | |
538 | TP_fast_assign(tp_copy_string_from_user(specialfile, specialfile) tp_assign(swap_flags, swap_flags)), | |
539 | TP_printk() | |
540 | ) | |
541 | #endif | |
542 | #ifndef OVERRIDE_64_sys_sethostname | |
543 | SC_TRACE_EVENT(sys_sethostname, | |
544 | TP_PROTO(char * name, int len), | |
545 | TP_ARGS(name, len), | |
546 | TP_STRUCT__entry(__string_from_user(name, name) __field(int, len)), | |
547 | TP_fast_assign(tp_copy_string_from_user(name, name) tp_assign(len, len)), | |
548 | TP_printk() | |
549 | ) | |
550 | #endif | |
551 | #ifndef OVERRIDE_64_sys_setdomainname | |
552 | SC_TRACE_EVENT(sys_setdomainname, | |
553 | TP_PROTO(char * name, int len), | |
554 | TP_ARGS(name, len), | |
555 | TP_STRUCT__entry(__string_from_user(name, name) __field(int, len)), | |
556 | TP_fast_assign(tp_copy_string_from_user(name, name) tp_assign(len, len)), | |
557 | TP_printk() | |
558 | ) | |
559 | #endif | |
560 | #ifndef OVERRIDE_64_sys_delete_module | |
561 | SC_TRACE_EVENT(sys_delete_module, | |
562 | TP_PROTO(const char * name_user, unsigned int flags), | |
563 | TP_ARGS(name_user, flags), | |
564 | TP_STRUCT__entry(__string_from_user(name_user, name_user) __field(unsigned int, flags)), | |
565 | TP_fast_assign(tp_copy_string_from_user(name_user, name_user) tp_assign(flags, flags)), | |
566 | TP_printk() | |
567 | ) | |
568 | #endif | |
569 | #ifndef OVERRIDE_64_sys_removexattr | |
570 | SC_TRACE_EVENT(sys_removexattr, | |
571 | TP_PROTO(const char * pathname, const char * name), | |
572 | TP_ARGS(pathname, name), | |
573 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name)), | |
574 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name)), | |
575 | TP_printk() | |
576 | ) | |
577 | #endif | |
578 | #ifndef OVERRIDE_64_sys_lremovexattr | |
579 | SC_TRACE_EVENT(sys_lremovexattr, | |
580 | TP_PROTO(const char * pathname, const char * name), | |
581 | TP_ARGS(pathname, name), | |
582 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name)), | |
583 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name)), | |
584 | TP_printk() | |
585 | ) | |
586 | #endif | |
587 | #ifndef OVERRIDE_64_sys_fremovexattr | |
588 | SC_TRACE_EVENT(sys_fremovexattr, | |
589 | TP_PROTO(int fd, const char * name), | |
590 | TP_ARGS(fd, name), | |
591 | TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name)), | |
592 | TP_fast_assign(tp_assign(fd, fd) tp_copy_string_from_user(name, name)), | |
593 | TP_printk() | |
594 | ) | |
595 | #endif | |
596 | #ifndef OVERRIDE_64_sys_pipe2 | |
597 | SC_TRACE_EVENT(sys_pipe2, | |
598 | TP_PROTO(int * fildes, int flags), | |
599 | TP_ARGS(fildes, flags), | |
600 | TP_STRUCT__entry(__field_hex(int *, fildes) __field(int, flags)), | |
601 | TP_fast_assign(tp_assign(fildes, fildes) tp_assign(flags, flags)), | |
602 | TP_printk() | |
603 | ) | |
604 | #endif | |
605 | #ifndef OVERRIDE_64_sys_waitpid | |
606 | SC_TRACE_EVENT(sys_waitpid, | |
607 | TP_PROTO(pid_t pid, int * stat_addr, int options), | |
608 | TP_ARGS(pid, stat_addr, options), | |
609 | TP_STRUCT__entry(__field(pid_t, pid) __field_hex(int *, stat_addr) __field(int, options)), | |
610 | TP_fast_assign(tp_assign(pid, pid) tp_assign(stat_addr, stat_addr) tp_assign(options, options)), | |
611 | TP_printk() | |
612 | ) | |
613 | #endif | |
614 | #ifndef OVERRIDE_64_sys_32_sigaction | |
615 | SC_TRACE_EVENT(sys_32_sigaction, | |
616 | TP_PROTO(long sig, const struct sigaction32 * act, struct sigaction32 * oact), | |
617 | TP_ARGS(sig, act, oact), | |
618 | TP_STRUCT__entry(__field(long, sig) __field_hex(const struct sigaction32 *, act) __field_hex(struct sigaction32 *, oact)), | |
619 | TP_fast_assign(tp_assign(sig, sig) tp_assign(act, act) tp_assign(oact, oact)), | |
620 | TP_printk() | |
621 | ) | |
622 | #endif | |
623 | #ifndef OVERRIDE_64_sys_readv | |
624 | SC_TRACE_EVENT(sys_readv, | |
625 | TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), | |
626 | TP_ARGS(fd, vec, vlen), | |
627 | TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen)), | |
628 | TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen)), | |
629 | TP_printk() | |
630 | ) | |
631 | #endif | |
632 | #ifndef OVERRIDE_64_sys_writev | |
633 | SC_TRACE_EVENT(sys_writev, | |
634 | TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen), | |
635 | TP_ARGS(fd, vec, vlen), | |
636 | TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen)), | |
637 | TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen)), | |
638 | TP_printk() | |
639 | ) | |
640 | #endif | |
641 | #ifndef OVERRIDE_64_sys_shmctl | |
642 | SC_TRACE_EVENT(sys_shmctl, | |
643 | TP_PROTO(int shmid, int cmd, struct shmid_ds * buf), | |
644 | TP_ARGS(shmid, cmd, buf), | |
645 | TP_STRUCT__entry(__field(int, shmid) __field(int, cmd) __field_hex(struct shmid_ds *, buf)), | |
646 | TP_fast_assign(tp_assign(shmid, shmid) tp_assign(cmd, cmd) tp_assign(buf, buf)), | |
647 | TP_printk() | |
648 | ) | |
649 | #endif | |
650 | #ifndef OVERRIDE_64_sys_setitimer | |
651 | SC_TRACE_EVENT(sys_setitimer, | |
652 | TP_PROTO(int which, struct itimerval * value, struct itimerval * ovalue), | |
653 | TP_ARGS(which, value, ovalue), | |
654 | TP_STRUCT__entry(__field(int, which) __field_hex(struct itimerval *, value) __field_hex(struct itimerval *, ovalue)), | |
655 | TP_fast_assign(tp_assign(which, which) tp_assign(value, value) tp_assign(ovalue, ovalue)), | |
656 | TP_printk() | |
657 | ) | |
658 | #endif | |
659 | #ifndef OVERRIDE_64_sys_sendmsg | |
660 | SC_TRACE_EVENT(sys_sendmsg, | |
661 | TP_PROTO(int fd, struct msghdr * msg, unsigned int flags), | |
662 | TP_ARGS(fd, msg, flags), | |
663 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct msghdr *, msg) __field(unsigned int, flags)), | |
664 | TP_fast_assign(tp_assign(fd, fd) tp_assign(msg, msg) tp_assign(flags, flags)), | |
665 | TP_printk() | |
666 | ) | |
667 | #endif | |
668 | #ifndef OVERRIDE_64_sys_recvmsg | |
669 | SC_TRACE_EVENT(sys_recvmsg, | |
670 | TP_PROTO(int fd, struct msghdr * msg, unsigned int flags), | |
671 | TP_ARGS(fd, msg, flags), | |
672 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct msghdr *, msg) __field(unsigned int, flags)), | |
673 | TP_fast_assign(tp_assign(fd, fd) tp_assign(msg, msg) tp_assign(flags, flags)), | |
674 | TP_printk() | |
675 | ) | |
676 | #endif | |
677 | #ifndef OVERRIDE_64_sys_msgctl | |
678 | SC_TRACE_EVENT(sys_msgctl, | |
679 | TP_PROTO(int msqid, int cmd, struct msqid_ds * buf), | |
680 | TP_ARGS(msqid, cmd, buf), | |
681 | TP_STRUCT__entry(__field(int, msqid) __field(int, cmd) __field_hex(struct msqid_ds *, buf)), | |
682 | TP_fast_assign(tp_assign(msqid, msqid) tp_assign(cmd, cmd) tp_assign(buf, buf)), | |
683 | TP_printk() | |
684 | ) | |
685 | #endif | |
686 | #ifndef OVERRIDE_64_sys_getdents | |
687 | SC_TRACE_EVENT(sys_getdents, | |
688 | TP_PROTO(unsigned int fd, struct linux_dirent * dirent, unsigned int count), | |
689 | TP_ARGS(fd, dirent, count), | |
690 | TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct linux_dirent *, dirent) __field(unsigned int, count)), | |
691 | TP_fast_assign(tp_assign(fd, fd) tp_assign(dirent, dirent) tp_assign(count, count)), | |
692 | TP_printk() | |
693 | ) | |
694 | #endif | |
695 | #ifndef OVERRIDE_64_sys_rt_sigqueueinfo | |
696 | SC_TRACE_EVENT(sys_rt_sigqueueinfo, | |
697 | TP_PROTO(pid_t pid, int sig, siginfo_t * uinfo), | |
698 | TP_ARGS(pid, sig, uinfo), | |
699 | TP_STRUCT__entry(__field(pid_t, pid) __field(int, sig) __field_hex(siginfo_t *, uinfo)), | |
700 | TP_fast_assign(tp_assign(pid, pid) tp_assign(sig, sig) tp_assign(uinfo, uinfo)), | |
701 | TP_printk() | |
702 | ) | |
703 | #endif | |
704 | #ifndef OVERRIDE_64_sys_sched_setaffinity | |
705 | SC_TRACE_EVENT(sys_sched_setaffinity, | |
706 | TP_PROTO(pid_t pid, unsigned int len, unsigned long * user_mask_ptr), | |
707 | TP_ARGS(pid, len, user_mask_ptr), | |
708 | TP_STRUCT__entry(__field(pid_t, pid) __field(unsigned int, len) __field_hex(unsigned long *, user_mask_ptr)), | |
709 | TP_fast_assign(tp_assign(pid, pid) tp_assign(len, len) tp_assign(user_mask_ptr, user_mask_ptr)), | |
710 | TP_printk() | |
711 | ) | |
712 | #endif | |
713 | #ifndef OVERRIDE_64_sys_sched_getaffinity | |
714 | SC_TRACE_EVENT(sys_sched_getaffinity, | |
715 | TP_PROTO(pid_t pid, unsigned int len, unsigned long * user_mask_ptr), | |
716 | TP_ARGS(pid, len, user_mask_ptr), | |
717 | TP_STRUCT__entry(__field(pid_t, pid) __field(unsigned int, len) __field_hex(unsigned long *, user_mask_ptr)), | |
718 | TP_fast_assign(tp_assign(pid, pid) tp_assign(len, len) tp_assign(user_mask_ptr, user_mask_ptr)), | |
719 | TP_printk() | |
720 | ) | |
721 | #endif | |
722 | #ifndef OVERRIDE_64_sys_io_submit | |
723 | SC_TRACE_EVENT(sys_io_submit, | |
724 | TP_PROTO(aio_context_t ctx_id, long nr, struct iocb * * iocbpp), | |
725 | TP_ARGS(ctx_id, nr, iocbpp), | |
726 | TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field(long, nr) __field_hex(struct iocb * *, iocbpp)), | |
727 | TP_fast_assign(tp_assign(ctx_id, ctx_id) tp_assign(nr, nr) tp_assign(iocbpp, iocbpp)), | |
728 | TP_printk() | |
729 | ) | |
730 | #endif | |
731 | #ifndef OVERRIDE_64_sys_timer_create | |
732 | SC_TRACE_EVENT(sys_timer_create, | |
733 | TP_PROTO(const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), | |
734 | TP_ARGS(which_clock, timer_event_spec, created_timer_id), | |
735 | TP_STRUCT__entry(__field(const clockid_t, which_clock) __field_hex(struct sigevent *, timer_event_spec) __field_hex(timer_t *, created_timer_id)), | |
736 | TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(timer_event_spec, timer_event_spec) tp_assign(created_timer_id, created_timer_id)), | |
737 | TP_printk() | |
738 | ) | |
739 | #endif | |
740 | #ifndef OVERRIDE_64_sys_futimesat | |
741 | SC_TRACE_EVENT(sys_futimesat, | |
742 | TP_PROTO(int dfd, const char * filename, struct timeval * utimes), | |
743 | TP_ARGS(dfd, filename, utimes), | |
744 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct timeval *, utimes)), | |
745 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(utimes, utimes)), | |
746 | TP_printk() | |
747 | ) | |
748 | #endif | |
749 | #ifndef OVERRIDE_64_sys_get_robust_list | |
750 | SC_TRACE_EVENT(sys_get_robust_list, | |
751 | TP_PROTO(int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), | |
752 | TP_ARGS(pid, head_ptr, len_ptr), | |
753 | TP_STRUCT__entry(__field(int, pid) __field_hex(struct robust_list_head * *, head_ptr) __field_hex(size_t *, len_ptr)), | |
754 | TP_fast_assign(tp_assign(pid, pid) tp_assign(head_ptr, head_ptr) tp_assign(len_ptr, len_ptr)), | |
755 | TP_printk() | |
756 | ) | |
757 | #endif | |
758 | #ifndef OVERRIDE_64_sys_signalfd | |
759 | SC_TRACE_EVENT(sys_signalfd, | |
760 | TP_PROTO(int ufd, sigset_t * user_mask, size_t sizemask), | |
761 | TP_ARGS(ufd, user_mask, sizemask), | |
762 | TP_STRUCT__entry(__field(int, ufd) __field_hex(sigset_t *, user_mask) __field(size_t, sizemask)), | |
763 | TP_fast_assign(tp_assign(ufd, ufd) tp_assign(user_mask, user_mask) tp_assign(sizemask, sizemask)), | |
764 | TP_printk() | |
765 | ) | |
766 | #endif | |
767 | #ifndef OVERRIDE_64_sys_read | |
768 | SC_TRACE_EVENT(sys_read, | |
769 | TP_PROTO(unsigned int fd, char * buf, size_t count), | |
770 | TP_ARGS(fd, buf, count), | |
771 | TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(char *, buf) __field(size_t, count)), | |
772 | TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf) tp_assign(count, count)), | |
773 | TP_printk() | |
774 | ) | |
775 | #endif | |
776 | #ifndef OVERRIDE_64_sys_write | |
777 | SC_TRACE_EVENT(sys_write, | |
778 | TP_PROTO(unsigned int fd, const char * buf, size_t count), | |
779 | TP_ARGS(fd, buf, count), | |
780 | TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(const char *, buf) __field(size_t, count)), | |
781 | TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf) tp_assign(count, count)), | |
782 | TP_printk() | |
783 | ) | |
784 | #endif | |
785 | #ifndef OVERRIDE_64_sys_open | |
786 | SC_TRACE_EVENT(sys_open, | |
787 | TP_PROTO(const char * filename, int flags, umode_t mode), | |
788 | TP_ARGS(filename, flags, mode), | |
789 | TP_STRUCT__entry(__string_from_user(filename, filename) __field(int, flags) __field(umode_t, mode)), | |
790 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(flags, flags) tp_assign(mode, mode)), | |
791 | TP_printk() | |
792 | ) | |
793 | #endif | |
794 | #ifndef OVERRIDE_64_sys_poll | |
795 | SC_TRACE_EVENT(sys_poll, | |
796 | TP_PROTO(struct pollfd * ufds, unsigned int nfds, int timeout_msecs), | |
797 | TP_ARGS(ufds, nfds, timeout_msecs), | |
798 | TP_STRUCT__entry(__field_hex(struct pollfd *, ufds) __field(unsigned int, nfds) __field(int, timeout_msecs)), | |
799 | TP_fast_assign(tp_assign(ufds, ufds) tp_assign(nfds, nfds) tp_assign(timeout_msecs, timeout_msecs)), | |
800 | TP_printk() | |
801 | ) | |
802 | #endif | |
803 | #ifndef OVERRIDE_64_sys_mincore | |
804 | SC_TRACE_EVENT(sys_mincore, | |
805 | TP_PROTO(unsigned long start, size_t len, unsigned char * vec), | |
806 | TP_ARGS(start, len, vec), | |
807 | TP_STRUCT__entry(__field(unsigned long, start) __field(size_t, len) __field_hex(unsigned char *, vec)), | |
808 | TP_fast_assign(tp_assign(start, start) tp_assign(len, len) tp_assign(vec, vec)), | |
809 | TP_printk() | |
810 | ) | |
811 | #endif | |
812 | #ifndef OVERRIDE_64_sys_shmat | |
813 | SC_TRACE_EVENT(sys_shmat, | |
814 | TP_PROTO(int shmid, char * shmaddr, int shmflg), | |
815 | TP_ARGS(shmid, shmaddr, shmflg), | |
816 | TP_STRUCT__entry(__field(int, shmid) __field_hex(char *, shmaddr) __field(int, shmflg)), | |
817 | TP_fast_assign(tp_assign(shmid, shmid) tp_assign(shmaddr, shmaddr) tp_assign(shmflg, shmflg)), | |
818 | TP_printk() | |
819 | ) | |
820 | #endif | |
821 | #ifndef OVERRIDE_64_sys_connect | |
822 | SC_TRACE_EVENT(sys_connect, | |
823 | TP_PROTO(int fd, struct sockaddr * uservaddr, int addrlen), | |
824 | TP_ARGS(fd, uservaddr, addrlen), | |
825 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, uservaddr) __field_hex(int, addrlen)), | |
826 | TP_fast_assign(tp_assign(fd, fd) tp_assign(uservaddr, uservaddr) tp_assign(addrlen, addrlen)), | |
827 | TP_printk() | |
828 | ) | |
829 | #endif | |
830 | #ifndef OVERRIDE_64_sys_accept | |
831 | SC_TRACE_EVENT(sys_accept, | |
832 | TP_PROTO(int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), | |
833 | TP_ARGS(fd, upeer_sockaddr, upeer_addrlen), | |
834 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, upeer_sockaddr) __field_hex(int *, upeer_addrlen)), | |
835 | TP_fast_assign(tp_assign(fd, fd) tp_assign(upeer_sockaddr, upeer_sockaddr) tp_assign(upeer_addrlen, upeer_addrlen)), | |
836 | TP_printk() | |
837 | ) | |
838 | #endif | |
839 | #ifndef OVERRIDE_64_sys_bind | |
840 | SC_TRACE_EVENT(sys_bind, | |
841 | TP_PROTO(int fd, struct sockaddr * umyaddr, int addrlen), | |
842 | TP_ARGS(fd, umyaddr, addrlen), | |
843 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, umyaddr) __field_hex(int, addrlen)), | |
844 | TP_fast_assign(tp_assign(fd, fd) tp_assign(umyaddr, umyaddr) tp_assign(addrlen, addrlen)), | |
845 | TP_printk() | |
846 | ) | |
847 | #endif | |
848 | #ifndef OVERRIDE_64_sys_getsockname | |
849 | SC_TRACE_EVENT(sys_getsockname, | |
850 | TP_PROTO(int fd, struct sockaddr * usockaddr, int * usockaddr_len), | |
851 | TP_ARGS(fd, usockaddr, usockaddr_len), | |
852 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, usockaddr) __field_hex(int *, usockaddr_len)), | |
853 | TP_fast_assign(tp_assign(fd, fd) tp_assign(usockaddr, usockaddr) tp_assign(usockaddr_len, usockaddr_len)), | |
854 | TP_printk() | |
855 | ) | |
856 | #endif | |
857 | #ifndef OVERRIDE_64_sys_getpeername | |
858 | SC_TRACE_EVENT(sys_getpeername, | |
859 | TP_PROTO(int fd, struct sockaddr * usockaddr, int * usockaddr_len), | |
860 | TP_ARGS(fd, usockaddr, usockaddr_len), | |
861 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, usockaddr) __field_hex(int *, usockaddr_len)), | |
862 | TP_fast_assign(tp_assign(fd, fd) tp_assign(usockaddr, usockaddr) tp_assign(usockaddr_len, usockaddr_len)), | |
863 | TP_printk() | |
864 | ) | |
865 | #endif | |
866 | #ifndef OVERRIDE_64_sys_semop | |
867 | SC_TRACE_EVENT(sys_semop, | |
868 | TP_PROTO(int semid, struct sembuf * tsops, unsigned nsops), | |
869 | TP_ARGS(semid, tsops, nsops), | |
870 | TP_STRUCT__entry(__field(int, semid) __field_hex(struct sembuf *, tsops) __field(unsigned, nsops)), | |
871 | TP_fast_assign(tp_assign(semid, semid) tp_assign(tsops, tsops) tp_assign(nsops, nsops)), | |
872 | TP_printk() | |
873 | ) | |
874 | #endif | |
875 | #ifndef OVERRIDE_64_sys_readlink | |
876 | SC_TRACE_EVENT(sys_readlink, | |
877 | TP_PROTO(const char * path, char * buf, int bufsiz), | |
878 | TP_ARGS(path, buf, bufsiz), | |
879 | TP_STRUCT__entry(__string_from_user(path, path) __field_hex(char *, buf) __field(int, bufsiz)), | |
880 | TP_fast_assign(tp_copy_string_from_user(path, path) tp_assign(buf, buf) tp_assign(bufsiz, bufsiz)), | |
881 | TP_printk() | |
882 | ) | |
883 | #endif | |
884 | #ifndef OVERRIDE_64_sys_chown | |
885 | SC_TRACE_EVENT(sys_chown, | |
886 | TP_PROTO(const char * filename, uid_t user, gid_t group), | |
887 | TP_ARGS(filename, user, group), | |
888 | TP_STRUCT__entry(__string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group)), | |
889 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(user, user) tp_assign(group, group)), | |
890 | TP_printk() | |
891 | ) | |
892 | #endif | |
893 | #ifndef OVERRIDE_64_sys_lchown | |
894 | SC_TRACE_EVENT(sys_lchown, | |
895 | TP_PROTO(const char * filename, uid_t user, gid_t group), | |
896 | TP_ARGS(filename, user, group), | |
897 | TP_STRUCT__entry(__string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group)), | |
898 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(user, user) tp_assign(group, group)), | |
899 | TP_printk() | |
900 | ) | |
901 | #endif | |
902 | #ifndef OVERRIDE_64_sys_syslog | |
903 | SC_TRACE_EVENT(sys_syslog, | |
904 | TP_PROTO(int type, char * buf, int len), | |
905 | TP_ARGS(type, buf, len), | |
906 | TP_STRUCT__entry(__field(int, type) __field_hex(char *, buf) __field(int, len)), | |
907 | TP_fast_assign(tp_assign(type, type) tp_assign(buf, buf) tp_assign(len, len)), | |
908 | TP_printk() | |
909 | ) | |
910 | #endif | |
911 | #ifndef OVERRIDE_64_sys_getresuid | |
912 | SC_TRACE_EVENT(sys_getresuid, | |
913 | TP_PROTO(uid_t * ruidp, uid_t * euidp, uid_t * suidp), | |
914 | TP_ARGS(ruidp, euidp, suidp), | |
915 | TP_STRUCT__entry(__field_hex(uid_t *, ruidp) __field_hex(uid_t *, euidp) __field_hex(uid_t *, suidp)), | |
916 | TP_fast_assign(tp_assign(ruidp, ruidp) tp_assign(euidp, euidp) tp_assign(suidp, suidp)), | |
917 | TP_printk() | |
918 | ) | |
919 | #endif | |
920 | #ifndef OVERRIDE_64_sys_getresgid | |
921 | SC_TRACE_EVENT(sys_getresgid, | |
922 | TP_PROTO(gid_t * rgidp, gid_t * egidp, gid_t * sgidp), | |
923 | TP_ARGS(rgidp, egidp, sgidp), | |
924 | TP_STRUCT__entry(__field_hex(gid_t *, rgidp) __field_hex(gid_t *, egidp) __field_hex(gid_t *, sgidp)), | |
925 | TP_fast_assign(tp_assign(rgidp, rgidp) tp_assign(egidp, egidp) tp_assign(sgidp, sgidp)), | |
926 | TP_printk() | |
927 | ) | |
928 | #endif | |
929 | #ifndef OVERRIDE_64_sys_32_rt_sigqueueinfo | |
930 | SC_TRACE_EVENT(sys_32_rt_sigqueueinfo, | |
931 | TP_PROTO(int pid, int sig, compat_siginfo_t * uinfo), | |
932 | TP_ARGS(pid, sig, uinfo), | |
933 | TP_STRUCT__entry(__field(int, pid) __field(int, sig) __field_hex(compat_siginfo_t *, uinfo)), | |
934 | TP_fast_assign(tp_assign(pid, pid) tp_assign(sig, sig) tp_assign(uinfo, uinfo)), | |
935 | TP_printk() | |
936 | ) | |
937 | #endif | |
938 | #ifndef OVERRIDE_64_sys_mknod | |
939 | SC_TRACE_EVENT(sys_mknod, | |
940 | TP_PROTO(const char * filename, umode_t mode, unsigned dev), | |
941 | TP_ARGS(filename, mode, dev), | |
942 | TP_STRUCT__entry(__string_from_user(filename, filename) __field(umode_t, mode) __field(unsigned, dev)), | |
943 | TP_fast_assign(tp_copy_string_from_user(filename, filename) tp_assign(mode, mode) tp_assign(dev, dev)), | |
944 | TP_printk() | |
945 | ) | |
946 | #endif | |
947 | #ifndef OVERRIDE_64_sys_sched_setscheduler | |
948 | SC_TRACE_EVENT(sys_sched_setscheduler, | |
949 | TP_PROTO(pid_t pid, int policy, struct sched_param * param), | |
950 | TP_ARGS(pid, policy, param), | |
951 | TP_STRUCT__entry(__field(pid_t, pid) __field(int, policy) __field_hex(struct sched_param *, param)), | |
952 | TP_fast_assign(tp_assign(pid, pid) tp_assign(policy, policy) tp_assign(param, param)), | |
953 | TP_printk() | |
954 | ) | |
955 | #endif | |
956 | #ifndef OVERRIDE_64_sys_init_module | |
957 | SC_TRACE_EVENT(sys_init_module, | |
958 | TP_PROTO(void * umod, unsigned long len, const char * uargs), | |
959 | TP_ARGS(umod, len, uargs), | |
960 | TP_STRUCT__entry(__field_hex(void *, umod) __field(unsigned long, len) __field_hex(const char *, uargs)), | |
961 | TP_fast_assign(tp_assign(umod, umod) tp_assign(len, len) tp_assign(uargs, uargs)), | |
962 | TP_printk() | |
963 | ) | |
964 | #endif | |
965 | #ifndef OVERRIDE_64_sys_listxattr | |
966 | SC_TRACE_EVENT(sys_listxattr, | |
967 | TP_PROTO(const char * pathname, char * list, size_t size), | |
968 | TP_ARGS(pathname, list, size), | |
969 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(char *, list) __field(size_t, size)), | |
970 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(list, list) tp_assign(size, size)), | |
971 | TP_printk() | |
972 | ) | |
973 | #endif | |
974 | #ifndef OVERRIDE_64_sys_llistxattr | |
975 | SC_TRACE_EVENT(sys_llistxattr, | |
976 | TP_PROTO(const char * pathname, char * list, size_t size), | |
977 | TP_ARGS(pathname, list, size), | |
978 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __field_hex(char *, list) __field(size_t, size)), | |
979 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_assign(list, list) tp_assign(size, size)), | |
980 | TP_printk() | |
981 | ) | |
982 | #endif | |
983 | #ifndef OVERRIDE_64_sys_flistxattr | |
984 | SC_TRACE_EVENT(sys_flistxattr, | |
985 | TP_PROTO(int fd, char * list, size_t size), | |
986 | TP_ARGS(fd, list, size), | |
987 | TP_STRUCT__entry(__field(int, fd) __field_hex(char *, list) __field(size_t, size)), | |
988 | TP_fast_assign(tp_assign(fd, fd) tp_assign(list, list) tp_assign(size, size)), | |
989 | TP_printk() | |
990 | ) | |
991 | #endif | |
992 | #ifndef OVERRIDE_64_sys_cachectl | |
993 | SC_TRACE_EVENT(sys_cachectl, | |
994 | TP_PROTO(char * addr, int nbytes, int op), | |
995 | TP_ARGS(addr, nbytes, op), | |
996 | TP_STRUCT__entry(__field_hex(char *, addr) __field(int, nbytes) __field(int, op)), | |
997 | TP_fast_assign(tp_assign(addr, addr) tp_assign(nbytes, nbytes) tp_assign(op, op)), | |
998 | TP_printk() | |
999 | ) | |
1000 | #endif | |
1001 | #ifndef OVERRIDE_64_sys_io_cancel | |
1002 | SC_TRACE_EVENT(sys_io_cancel, | |
1003 | TP_PROTO(aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), | |
1004 | TP_ARGS(ctx_id, iocb, result), | |
1005 | TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field_hex(struct iocb *, iocb) __field_hex(struct io_event *, result)), | |
1006 | TP_fast_assign(tp_assign(ctx_id, ctx_id) tp_assign(iocb, iocb) tp_assign(result, result)), | |
1007 | TP_printk() | |
1008 | ) | |
1009 | #endif | |
1010 | #ifndef OVERRIDE_64_sys_inotify_add_watch | |
1011 | SC_TRACE_EVENT(sys_inotify_add_watch, | |
1012 | TP_PROTO(int fd, const char * pathname, u32 mask), | |
1013 | TP_ARGS(fd, pathname, mask), | |
1014 | TP_STRUCT__entry(__field(int, fd) __string_from_user(pathname, pathname) __field(u32, mask)), | |
1015 | TP_fast_assign(tp_assign(fd, fd) tp_copy_string_from_user(pathname, pathname) tp_assign(mask, mask)), | |
1016 | TP_printk() | |
1017 | ) | |
1018 | #endif | |
1019 | #ifndef OVERRIDE_64_sys_mkdirat | |
1020 | SC_TRACE_EVENT(sys_mkdirat, | |
1021 | TP_PROTO(int dfd, const char * pathname, umode_t mode), | |
1022 | TP_ARGS(dfd, pathname, mode), | |
1023 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field(umode_t, mode)), | |
1024 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(pathname, pathname) tp_assign(mode, mode)), | |
1025 | TP_printk() | |
1026 | ) | |
1027 | #endif | |
1028 | #ifndef OVERRIDE_64_sys_unlinkat | |
1029 | SC_TRACE_EVENT(sys_unlinkat, | |
1030 | TP_PROTO(int dfd, const char * pathname, int flag), | |
1031 | TP_ARGS(dfd, pathname, flag), | |
1032 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field(int, flag)), | |
1033 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(pathname, pathname) tp_assign(flag, flag)), | |
1034 | TP_printk() | |
1035 | ) | |
1036 | #endif | |
1037 | #ifndef OVERRIDE_64_sys_symlinkat | |
1038 | SC_TRACE_EVENT(sys_symlinkat, | |
1039 | TP_PROTO(const char * oldname, int newdfd, const char * newname), | |
1040 | TP_ARGS(oldname, newdfd, newname), | |
1041 | TP_STRUCT__entry(__string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname)), | |
1042 | TP_fast_assign(tp_copy_string_from_user(oldname, oldname) tp_assign(newdfd, newdfd) tp_copy_string_from_user(newname, newname)), | |
1043 | TP_printk() | |
1044 | ) | |
1045 | #endif | |
1046 | #ifndef OVERRIDE_64_sys_fchmodat | |
1047 | SC_TRACE_EVENT(sys_fchmodat, | |
1048 | TP_PROTO(int dfd, const char * filename, umode_t mode), | |
1049 | TP_ARGS(dfd, filename, mode), | |
1050 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(umode_t, mode)), | |
1051 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), | |
1052 | TP_printk() | |
1053 | ) | |
1054 | #endif | |
1055 | #ifndef OVERRIDE_64_sys_faccessat | |
1056 | SC_TRACE_EVENT(sys_faccessat, | |
1057 | TP_PROTO(int dfd, const char * filename, int mode), | |
1058 | TP_ARGS(dfd, filename, mode), | |
1059 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(int, mode)), | |
1060 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(mode, mode)), | |
1061 | TP_printk() | |
1062 | ) | |
1063 | #endif | |
1064 | #ifndef OVERRIDE_64_sys_getcpu | |
1065 | SC_TRACE_EVENT(sys_getcpu, | |
1066 | TP_PROTO(unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), | |
1067 | TP_ARGS(cpup, nodep, unused), | |
1068 | TP_STRUCT__entry(__field_hex(unsigned *, cpup) __field_hex(unsigned *, nodep) __field_hex(struct getcpu_cache *, unused)), | |
1069 | TP_fast_assign(tp_assign(cpup, cpup) tp_assign(nodep, nodep) tp_assign(unused, unused)), | |
1070 | TP_printk() | |
1071 | ) | |
1072 | #endif | |
1073 | #ifndef OVERRIDE_64_sys_getdents64 | |
1074 | SC_TRACE_EVENT(sys_getdents64, | |
1075 | TP_PROTO(unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), | |
1076 | TP_ARGS(fd, dirent, count), | |
1077 | TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(struct linux_dirent64 *, dirent) __field(unsigned int, count)), | |
1078 | TP_fast_assign(tp_assign(fd, fd) tp_assign(dirent, dirent) tp_assign(count, count)), | |
1079 | TP_printk() | |
1080 | ) | |
1081 | #endif | |
1082 | #ifndef OVERRIDE_64_sys_send | |
1083 | SC_TRACE_EVENT(sys_send, | |
1084 | TP_PROTO(int fd, void * buff, size_t len, unsigned int flags), | |
1085 | TP_ARGS(fd, buff, len, flags), | |
1086 | TP_STRUCT__entry(__field(int, fd) __field_hex(void *, buff) __field(size_t, len) __field(unsigned int, flags)), | |
1087 | TP_fast_assign(tp_assign(fd, fd) tp_assign(buff, buff) tp_assign(len, len) tp_assign(flags, flags)), | |
1088 | TP_printk() | |
1089 | ) | |
1090 | #endif | |
1091 | #ifndef OVERRIDE_64_sys_32_truncate64 | |
1092 | SC_TRACE_EVENT(sys_32_truncate64, | |
1093 | TP_PROTO(const char * path, unsigned long __dummy, unsigned long a2, unsigned long a3), | |
1094 | TP_ARGS(path, __dummy, a2, a3), | |
1095 | TP_STRUCT__entry(__string_from_user(path, path) __field(unsigned long, __dummy) __field(unsigned long, a2) __field(unsigned long, a3)), | |
1096 | TP_fast_assign(tp_copy_string_from_user(path, path) tp_assign(__dummy, __dummy) tp_assign(a2, a2) tp_assign(a3, a3)), | |
1097 | TP_printk() | |
1098 | ) | |
1099 | #endif | |
1100 | #ifndef OVERRIDE_64_sys_rt_sigaction | |
1101 | SC_TRACE_EVENT(sys_rt_sigaction, | |
1102 | TP_PROTO(int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), | |
1103 | TP_ARGS(sig, act, oact, sigsetsize), | |
1104 | TP_STRUCT__entry(__field(int, sig) __field_hex(const struct sigaction *, act) __field_hex(struct sigaction *, oact) __field(size_t, sigsetsize)), | |
1105 | TP_fast_assign(tp_assign(sig, sig) tp_assign(act, act) tp_assign(oact, oact) tp_assign(sigsetsize, sigsetsize)), | |
1106 | TP_printk() | |
1107 | ) | |
1108 | #endif | |
1109 | #ifndef OVERRIDE_64_sys_rt_sigprocmask | |
1110 | SC_TRACE_EVENT(sys_rt_sigprocmask, | |
1111 | TP_PROTO(int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), | |
1112 | TP_ARGS(how, nset, oset, sigsetsize), | |
1113 | TP_STRUCT__entry(__field(int, how) __field_hex(sigset_t *, nset) __field_hex(sigset_t *, oset) __field(size_t, sigsetsize)), | |
1114 | TP_fast_assign(tp_assign(how, how) tp_assign(nset, nset) tp_assign(oset, oset) tp_assign(sigsetsize, sigsetsize)), | |
1115 | TP_printk() | |
1116 | ) | |
1117 | #endif | |
1118 | #ifndef OVERRIDE_64_sys_wait4 | |
1119 | SC_TRACE_EVENT(sys_wait4, | |
1120 | TP_PROTO(pid_t upid, int * stat_addr, int options, struct rusage * ru), | |
1121 | TP_ARGS(upid, stat_addr, options, ru), | |
1122 | TP_STRUCT__entry(__field(pid_t, upid) __field_hex(int *, stat_addr) __field(int, options) __field_hex(struct rusage *, ru)), | |
1123 | TP_fast_assign(tp_assign(upid, upid) tp_assign(stat_addr, stat_addr) tp_assign(options, options) tp_assign(ru, ru)), | |
1124 | TP_printk() | |
1125 | ) | |
1126 | #endif | |
1127 | #ifndef OVERRIDE_64_sys_msgsnd | |
1128 | SC_TRACE_EVENT(sys_msgsnd, | |
1129 | TP_PROTO(int msqid, struct msgbuf * msgp, size_t msgsz, int msgflg), | |
1130 | TP_ARGS(msqid, msgp, msgsz, msgflg), | |
1131 | TP_STRUCT__entry(__field(int, msqid) __field_hex(struct msgbuf *, msgp) __field(size_t, msgsz) __field(int, msgflg)), | |
1132 | TP_fast_assign(tp_assign(msqid, msqid) tp_assign(msgp, msgp) tp_assign(msgsz, msgsz) tp_assign(msgflg, msgflg)), | |
1133 | TP_printk() | |
1134 | ) | |
1135 | #endif | |
1136 | #ifndef OVERRIDE_64_sys_rt_sigtimedwait | |
1137 | SC_TRACE_EVENT(sys_rt_sigtimedwait, | |
1138 | TP_PROTO(const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), | |
1139 | TP_ARGS(uthese, uinfo, uts, sigsetsize), | |
1140 | TP_STRUCT__entry(__field_hex(const sigset_t *, uthese) __field_hex(siginfo_t *, uinfo) __field_hex(const struct timespec *, uts) __field(size_t, sigsetsize)), | |
1141 | TP_fast_assign(tp_assign(uthese, uthese) tp_assign(uinfo, uinfo) tp_assign(uts, uts) tp_assign(sigsetsize, sigsetsize)), | |
1142 | TP_printk() | |
1143 | ) | |
1144 | #endif | |
1145 | #ifndef OVERRIDE_64_sys_semtimedop | |
1146 | SC_TRACE_EVENT(sys_semtimedop, | |
1147 | TP_PROTO(int semid, struct sembuf * tsops, unsigned nsops, const struct timespec * timeout), | |
1148 | TP_ARGS(semid, tsops, nsops, timeout), | |
1149 | TP_STRUCT__entry(__field(int, semid) __field_hex(struct sembuf *, tsops) __field(unsigned, nsops) __field_hex(const struct timespec *, timeout)), | |
1150 | TP_fast_assign(tp_assign(semid, semid) tp_assign(tsops, tsops) tp_assign(nsops, nsops) tp_assign(timeout, timeout)), | |
1151 | TP_printk() | |
1152 | ) | |
1153 | #endif | |
1154 | #ifndef OVERRIDE_64_sys_timer_settime | |
1155 | SC_TRACE_EVENT(sys_timer_settime, | |
1156 | TP_PROTO(timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), | |
1157 | TP_ARGS(timer_id, flags, new_setting, old_setting), | |
1158 | TP_STRUCT__entry(__field(timer_t, timer_id) __field(int, flags) __field_hex(const struct itimerspec *, new_setting) __field_hex(struct itimerspec *, old_setting)), | |
1159 | TP_fast_assign(tp_assign(timer_id, timer_id) tp_assign(flags, flags) tp_assign(new_setting, new_setting) tp_assign(old_setting, old_setting)), | |
1160 | TP_printk() | |
1161 | ) | |
1162 | #endif | |
1163 | #ifndef OVERRIDE_64_sys_clock_nanosleep | |
1164 | SC_TRACE_EVENT(sys_clock_nanosleep, | |
1165 | TP_PROTO(const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), | |
1166 | TP_ARGS(which_clock, flags, rqtp, rmtp), | |
1167 | TP_STRUCT__entry(__field(const clockid_t, which_clock) __field(int, flags) __field_hex(const struct timespec *, rqtp) __field_hex(struct timespec *, rmtp)), | |
1168 | TP_fast_assign(tp_assign(which_clock, which_clock) tp_assign(flags, flags) tp_assign(rqtp, rqtp) tp_assign(rmtp, rmtp)), | |
1169 | TP_printk() | |
1170 | ) | |
1171 | #endif | |
1172 | #ifndef OVERRIDE_64_sys_vmsplice | |
1173 | SC_TRACE_EVENT(sys_vmsplice, | |
1174 | TP_PROTO(int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), | |
1175 | TP_ARGS(fd, iov, nr_segs, flags), | |
1176 | TP_STRUCT__entry(__field(int, fd) __field_hex(const struct iovec *, iov) __field(unsigned long, nr_segs) __field(unsigned int, flags)), | |
1177 | TP_fast_assign(tp_assign(fd, fd) tp_assign(iov, iov) tp_assign(nr_segs, nr_segs) tp_assign(flags, flags)), | |
1178 | TP_printk() | |
1179 | ) | |
1180 | #endif | |
1181 | #ifndef OVERRIDE_64_sys_utimensat | |
1182 | SC_TRACE_EVENT(sys_utimensat, | |
1183 | TP_PROTO(int dfd, const char * filename, struct timespec * utimes, int flags), | |
1184 | TP_ARGS(dfd, filename, utimes, flags), | |
1185 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct timespec *, utimes) __field(int, flags)), | |
1186 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(utimes, utimes) tp_assign(flags, flags)), | |
1187 | TP_printk() | |
1188 | ) | |
1189 | #endif | |
1190 | #ifndef OVERRIDE_64_sys_timerfd_settime | |
1191 | SC_TRACE_EVENT(sys_timerfd_settime, | |
1192 | TP_PROTO(int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), | |
1193 | TP_ARGS(ufd, flags, utmr, otmr), | |
1194 | TP_STRUCT__entry(__field(int, ufd) __field(int, flags) __field_hex(const struct itimerspec *, utmr) __field_hex(struct itimerspec *, otmr)), | |
1195 | TP_fast_assign(tp_assign(ufd, ufd) tp_assign(flags, flags) tp_assign(utmr, utmr) tp_assign(otmr, otmr)), | |
1196 | TP_printk() | |
1197 | ) | |
1198 | #endif | |
1199 | #ifndef OVERRIDE_64_sys_rt_tgsigqueueinfo | |
1200 | SC_TRACE_EVENT(sys_rt_tgsigqueueinfo, | |
1201 | TP_PROTO(pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), | |
1202 | TP_ARGS(tgid, pid, sig, uinfo), | |
1203 | TP_STRUCT__entry(__field(pid_t, tgid) __field(pid_t, pid) __field(int, sig) __field_hex(siginfo_t *, uinfo)), | |
1204 | TP_fast_assign(tp_assign(tgid, tgid) tp_assign(pid, pid) tp_assign(sig, sig) tp_assign(uinfo, uinfo)), | |
1205 | TP_printk() | |
1206 | ) | |
1207 | #endif | |
1208 | #ifndef OVERRIDE_64_sys_sendmmsg | |
1209 | SC_TRACE_EVENT(sys_sendmmsg, | |
1210 | TP_PROTO(int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), | |
1211 | TP_ARGS(fd, mmsg, vlen, flags), | |
1212 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct mmsghdr *, mmsg) __field(unsigned int, vlen) __field(unsigned int, flags)), | |
1213 | TP_fast_assign(tp_assign(fd, fd) tp_assign(mmsg, mmsg) tp_assign(vlen, vlen) tp_assign(flags, flags)), | |
1214 | TP_printk() | |
1215 | ) | |
1216 | #endif | |
1217 | #ifndef OVERRIDE_64_sys_32_rt_sigaction | |
1218 | SC_TRACE_EVENT(sys_32_rt_sigaction, | |
1219 | TP_PROTO(int sig, const struct sigaction32 * act, struct sigaction32 * oact, unsigned int sigsetsize), | |
1220 | TP_ARGS(sig, act, oact, sigsetsize), | |
1221 | TP_STRUCT__entry(__field(int, sig) __field_hex(const struct sigaction32 *, act) __field_hex(struct sigaction32 *, oact) __field(unsigned int, sigsetsize)), | |
1222 | TP_fast_assign(tp_assign(sig, sig) tp_assign(act, act) tp_assign(oact, oact) tp_assign(sigsetsize, sigsetsize)), | |
1223 | TP_printk() | |
1224 | ) | |
1225 | #endif | |
1226 | #ifndef OVERRIDE_64_sys_32_rt_sigprocmask | |
1227 | SC_TRACE_EVENT(sys_32_rt_sigprocmask, | |
1228 | TP_PROTO(int how, compat_sigset_t * set, compat_sigset_t * oset, unsigned int sigsetsize), | |
1229 | TP_ARGS(how, set, oset, sigsetsize), | |
1230 | TP_STRUCT__entry(__field(int, how) __field_hex(compat_sigset_t *, set) __field_hex(compat_sigset_t *, oset) __field(unsigned int, sigsetsize)), | |
1231 | TP_fast_assign(tp_assign(how, how) tp_assign(set, set) tp_assign(oset, oset) tp_assign(sigsetsize, sigsetsize)), | |
1232 | TP_printk() | |
1233 | ) | |
1234 | #endif | |
1235 | #ifndef OVERRIDE_64_sys_32_sendfile | |
1236 | SC_TRACE_EVENT(sys_32_sendfile, | |
1237 | TP_PROTO(long out_fd, long in_fd, compat_off_t * offset, s32 count), | |
1238 | TP_ARGS(out_fd, in_fd, offset, count), | |
1239 | TP_STRUCT__entry(__field(long, out_fd) __field(long, in_fd) __field_hex(compat_off_t *, offset) __field(s32, count)), | |
1240 | TP_fast_assign(tp_assign(out_fd, out_fd) tp_assign(in_fd, in_fd) tp_assign(offset, offset) tp_assign(count, count)), | |
1241 | TP_printk() | |
1242 | ) | |
1243 | #endif | |
1244 | #ifndef OVERRIDE_64_sys_socketpair | |
1245 | SC_TRACE_EVENT(sys_socketpair, | |
1246 | TP_PROTO(int family, int type, int protocol, int * usockvec), | |
1247 | TP_ARGS(family, type, protocol, usockvec), | |
1248 | TP_STRUCT__entry(__field(int, family) __field(int, type) __field(int, protocol) __field_hex(int *, usockvec)), | |
1249 | TP_fast_assign(tp_assign(family, family) tp_assign(type, type) tp_assign(protocol, protocol) tp_assign(usockvec, usockvec)), | |
1250 | TP_printk() | |
1251 | ) | |
1252 | #endif | |
1253 | #ifndef OVERRIDE_64_sys_reboot | |
1254 | SC_TRACE_EVENT(sys_reboot, | |
1255 | TP_PROTO(int magic1, int magic2, unsigned int cmd, void * arg), | |
1256 | TP_ARGS(magic1, magic2, cmd, arg), | |
1257 | TP_STRUCT__entry(__field(int, magic1) __field(int, magic2) __field(unsigned int, cmd) __field_hex(void *, arg)), | |
1258 | TP_fast_assign(tp_assign(magic1, magic1) tp_assign(magic2, magic2) tp_assign(cmd, cmd) tp_assign(arg, arg)), | |
1259 | TP_printk() | |
1260 | ) | |
1261 | #endif | |
1262 | #ifndef OVERRIDE_64_sys_quotactl | |
1263 | SC_TRACE_EVENT(sys_quotactl, | |
1264 | TP_PROTO(unsigned int cmd, const char * special, qid_t id, void * addr), | |
1265 | TP_ARGS(cmd, special, id, addr), | |
1266 | TP_STRUCT__entry(__field(unsigned int, cmd) __field_hex(const char *, special) __field(qid_t, id) __field_hex(void *, addr)), | |
1267 | TP_fast_assign(tp_assign(cmd, cmd) tp_assign(special, special) tp_assign(id, id) tp_assign(addr, addr)), | |
1268 | TP_printk() | |
1269 | ) | |
1270 | #endif | |
1271 | #ifndef OVERRIDE_64_sys_getxattr | |
1272 | SC_TRACE_EVENT(sys_getxattr, | |
1273 | TP_PROTO(const char * pathname, const char * name, void * value, size_t size), | |
1274 | TP_ARGS(pathname, name, value, size), | |
1275 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), | |
1276 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size)), | |
1277 | TP_printk() | |
1278 | ) | |
1279 | #endif | |
1280 | #ifndef OVERRIDE_64_sys_lgetxattr | |
1281 | SC_TRACE_EVENT(sys_lgetxattr, | |
1282 | TP_PROTO(const char * pathname, const char * name, void * value, size_t size), | |
1283 | TP_ARGS(pathname, name, value, size), | |
1284 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), | |
1285 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size)), | |
1286 | TP_printk() | |
1287 | ) | |
1288 | #endif | |
1289 | #ifndef OVERRIDE_64_sys_fgetxattr | |
1290 | SC_TRACE_EVENT(sys_fgetxattr, | |
1291 | TP_PROTO(int fd, const char * name, void * value, size_t size), | |
1292 | TP_ARGS(fd, name, value, size), | |
1293 | TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name) __field_hex(void *, value) __field(size_t, size)), | |
1294 | TP_fast_assign(tp_assign(fd, fd) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size)), | |
1295 | TP_printk() | |
1296 | ) | |
1297 | #endif | |
1298 | #ifndef OVERRIDE_64_sys_epoll_ctl | |
1299 | SC_TRACE_EVENT(sys_epoll_ctl, | |
1300 | TP_PROTO(int epfd, int op, int fd, struct epoll_event * event), | |
1301 | TP_ARGS(epfd, op, fd, event), | |
1302 | TP_STRUCT__entry(__field(int, epfd) __field(int, op) __field(int, fd) __field_hex(struct epoll_event *, event)), | |
1303 | TP_fast_assign(tp_assign(epfd, epfd) tp_assign(op, op) tp_assign(fd, fd) tp_assign(event, event)), | |
1304 | TP_printk() | |
1305 | ) | |
1306 | #endif | |
1307 | #ifndef OVERRIDE_64_sys_epoll_wait | |
1308 | SC_TRACE_EVENT(sys_epoll_wait, | |
1309 | TP_PROTO(int epfd, struct epoll_event * events, int maxevents, int timeout), | |
1310 | TP_ARGS(epfd, events, maxevents, timeout), | |
1311 | TP_STRUCT__entry(__field(int, epfd) __field_hex(struct epoll_event *, events) __field(int, maxevents) __field(int, timeout)), | |
1312 | TP_fast_assign(tp_assign(epfd, epfd) tp_assign(events, events) tp_assign(maxevents, maxevents) tp_assign(timeout, timeout)), | |
1313 | TP_printk() | |
1314 | ) | |
1315 | #endif | |
1316 | #ifndef OVERRIDE_64_sys_sendfile64 | |
1317 | SC_TRACE_EVENT(sys_sendfile64, | |
1318 | TP_PROTO(int out_fd, int in_fd, loff_t * offset, size_t count), | |
1319 | TP_ARGS(out_fd, in_fd, offset, count), | |
1320 | TP_STRUCT__entry(__field(int, out_fd) __field(int, in_fd) __field_hex(loff_t *, offset) __field(size_t, count)), | |
1321 | TP_fast_assign(tp_assign(out_fd, out_fd) tp_assign(in_fd, in_fd) tp_assign(offset, offset) tp_assign(count, count)), | |
1322 | TP_printk() | |
1323 | ) | |
1324 | #endif | |
1325 | #ifndef OVERRIDE_64_sys_openat | |
1326 | SC_TRACE_EVENT(sys_openat, | |
1327 | TP_PROTO(int dfd, const char * filename, int flags, umode_t mode), | |
1328 | TP_ARGS(dfd, filename, flags, mode), | |
1329 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(int, flags) __field(umode_t, mode)), | |
1330 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(flags, flags) tp_assign(mode, mode)), | |
1331 | TP_printk() | |
1332 | ) | |
1333 | #endif | |
1334 | #ifndef OVERRIDE_64_sys_mknodat | |
1335 | SC_TRACE_EVENT(sys_mknodat, | |
1336 | TP_PROTO(int dfd, const char * filename, umode_t mode, unsigned dev), | |
1337 | TP_ARGS(dfd, filename, mode, dev), | |
1338 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(umode_t, mode) __field(unsigned, dev)), | |
1339 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(mode, mode) tp_assign(dev, dev)), | |
1340 | TP_printk() | |
1341 | ) | |
1342 | #endif | |
1343 | #ifndef OVERRIDE_64_sys_newfstatat | |
1344 | SC_TRACE_EVENT(sys_newfstatat, | |
1345 | TP_PROTO(int dfd, const char * filename, struct stat * statbuf, int flag), | |
1346 | TP_ARGS(dfd, filename, statbuf, flag), | |
1347 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field_hex(struct stat *, statbuf) __field(int, flag)), | |
1348 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(statbuf, statbuf) tp_assign(flag, flag)), | |
1349 | TP_printk() | |
1350 | ) | |
1351 | #endif | |
1352 | #ifndef OVERRIDE_64_sys_renameat | |
1353 | SC_TRACE_EVENT(sys_renameat, | |
1354 | TP_PROTO(int olddfd, const char * oldname, int newdfd, const char * newname), | |
1355 | TP_ARGS(olddfd, oldname, newdfd, newname), | |
1356 | TP_STRUCT__entry(__field(int, olddfd) __string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname)), | |
1357 | TP_fast_assign(tp_assign(olddfd, olddfd) tp_copy_string_from_user(oldname, oldname) tp_assign(newdfd, newdfd) tp_copy_string_from_user(newname, newname)), | |
1358 | TP_printk() | |
1359 | ) | |
1360 | #endif | |
1361 | #ifndef OVERRIDE_64_sys_readlinkat | |
1362 | SC_TRACE_EVENT(sys_readlinkat, | |
1363 | TP_PROTO(int dfd, const char * pathname, char * buf, int bufsiz), | |
1364 | TP_ARGS(dfd, pathname, buf, bufsiz), | |
1365 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(pathname, pathname) __field_hex(char *, buf) __field(int, bufsiz)), | |
1366 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(pathname, pathname) tp_assign(buf, buf) tp_assign(bufsiz, bufsiz)), | |
1367 | TP_printk() | |
1368 | ) | |
1369 | #endif | |
1370 | #ifndef OVERRIDE_64_sys_signalfd4 | |
1371 | SC_TRACE_EVENT(sys_signalfd4, | |
1372 | TP_PROTO(int ufd, sigset_t * user_mask, size_t sizemask, int flags), | |
1373 | TP_ARGS(ufd, user_mask, sizemask, flags), | |
1374 | TP_STRUCT__entry(__field(int, ufd) __field_hex(sigset_t *, user_mask) __field(size_t, sizemask) __field(int, flags)), | |
1375 | TP_fast_assign(tp_assign(ufd, ufd) tp_assign(user_mask, user_mask) tp_assign(sizemask, sizemask) tp_assign(flags, flags)), | |
1376 | TP_printk() | |
1377 | ) | |
1378 | #endif | |
1379 | #ifndef OVERRIDE_64_sys_accept4 | |
1380 | SC_TRACE_EVENT(sys_accept4, | |
1381 | TP_PROTO(int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), | |
1382 | TP_ARGS(fd, upeer_sockaddr, upeer_addrlen, flags), | |
1383 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct sockaddr *, upeer_sockaddr) __field_hex(int *, upeer_addrlen) __field(int, flags)), | |
1384 | TP_fast_assign(tp_assign(fd, fd) tp_assign(upeer_sockaddr, upeer_sockaddr) tp_assign(upeer_addrlen, upeer_addrlen) tp_assign(flags, flags)), | |
1385 | TP_printk() | |
1386 | ) | |
1387 | #endif | |
1388 | #ifndef OVERRIDE_64_sys_prlimit64 | |
1389 | SC_TRACE_EVENT(sys_prlimit64, | |
1390 | TP_PROTO(pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), | |
1391 | TP_ARGS(pid, resource, new_rlim, old_rlim), | |
1392 | TP_STRUCT__entry(__field(pid_t, pid) __field(unsigned int, resource) __field_hex(const struct rlimit64 *, new_rlim) __field_hex(struct rlimit64 *, old_rlim)), | |
1393 | TP_fast_assign(tp_assign(pid, pid) tp_assign(resource, resource) tp_assign(new_rlim, new_rlim) tp_assign(old_rlim, old_rlim)), | |
1394 | TP_printk() | |
1395 | ) | |
1396 | #endif | |
1397 | #ifndef OVERRIDE_64_sys_32_llseek | |
1398 | SC_TRACE_EVENT(sys_32_llseek, | |
1399 | TP_PROTO(unsigned int fd, unsigned int offset_high, unsigned int offset_low, loff_t * result, unsigned int origin), | |
1400 | TP_ARGS(fd, offset_high, offset_low, result, origin), | |
1401 | TP_STRUCT__entry(__field(unsigned int, fd) __field(unsigned int, offset_high) __field(unsigned int, offset_low) __field_hex(loff_t *, result) __field(unsigned int, origin)), | |
1402 | TP_fast_assign(tp_assign(fd, fd) tp_assign(offset_high, offset_high) tp_assign(offset_low, offset_low) tp_assign(result, result) tp_assign(origin, origin)), | |
1403 | TP_printk() | |
1404 | ) | |
1405 | #endif | |
1406 | #ifndef OVERRIDE_64_sys_32_waitid | |
1407 | SC_TRACE_EVENT(sys_32_waitid, | |
1408 | TP_PROTO(int which, compat_pid_t pid, compat_siginfo_t * uinfo, int options, struct compat_rusage * uru), | |
1409 | TP_ARGS(which, pid, uinfo, options, uru), | |
1410 | TP_STRUCT__entry(__field(int, which) __field(compat_pid_t, pid) __field_hex(compat_siginfo_t *, uinfo) __field(int, options) __field_hex(struct compat_rusage *, uru)), | |
1411 | TP_fast_assign(tp_assign(which, which) tp_assign(pid, pid) tp_assign(uinfo, uinfo) tp_assign(options, options) tp_assign(uru, uru)), | |
1412 | TP_printk() | |
1413 | ) | |
1414 | #endif | |
1415 | #ifndef OVERRIDE_64_sys_select | |
1416 | SC_TRACE_EVENT(sys_select, | |
1417 | TP_PROTO(int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), | |
1418 | TP_ARGS(n, inp, outp, exp, tvp), | |
1419 | TP_STRUCT__entry(__field(int, n) __field_hex(fd_set *, inp) __field_hex(fd_set *, outp) __field_hex(fd_set *, exp) __field_hex(struct timeval *, tvp)), | |
1420 | TP_fast_assign(tp_assign(n, n) tp_assign(inp, inp) tp_assign(outp, outp) tp_assign(exp, exp) tp_assign(tvp, tvp)), | |
1421 | TP_printk() | |
1422 | ) | |
1423 | #endif | |
1424 | #ifndef OVERRIDE_64_sys_setsockopt | |
1425 | SC_TRACE_EVENT(sys_setsockopt, | |
1426 | TP_PROTO(int fd, int level, int optname, char * optval, int optlen), | |
1427 | TP_ARGS(fd, level, optname, optval, optlen), | |
1428 | TP_STRUCT__entry(__field(int, fd) __field(int, level) __field(int, optname) __field_hex(char *, optval) __field(int, optlen)), | |
1429 | TP_fast_assign(tp_assign(fd, fd) tp_assign(level, level) tp_assign(optname, optname) tp_assign(optval, optval) tp_assign(optlen, optlen)), | |
1430 | TP_printk() | |
1431 | ) | |
1432 | #endif | |
1433 | #ifndef OVERRIDE_64_sys_msgrcv | |
1434 | SC_TRACE_EVENT(sys_msgrcv, | |
1435 | TP_PROTO(int msqid, struct msgbuf * msgp, size_t msgsz, long msgtyp, int msgflg), | |
1436 | TP_ARGS(msqid, msgp, msgsz, msgtyp, msgflg), | |
1437 | TP_STRUCT__entry(__field(int, msqid) __field_hex(struct msgbuf *, msgp) __field(size_t, msgsz) __field(long, msgtyp) __field(int, msgflg)), | |
1438 | TP_fast_assign(tp_assign(msqid, msqid) tp_assign(msgp, msgp) tp_assign(msgsz, msgsz) tp_assign(msgtyp, msgtyp) tp_assign(msgflg, msgflg)), | |
1439 | TP_printk() | |
1440 | ) | |
1441 | #endif | |
1442 | #ifndef OVERRIDE_64_sys_mount | |
1443 | SC_TRACE_EVENT(sys_mount, | |
1444 | TP_PROTO(char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), | |
1445 | TP_ARGS(dev_name, dir_name, type, flags, data), | |
1446 | TP_STRUCT__entry(__string_from_user(dev_name, dev_name) __string_from_user(dir_name, dir_name) __string_from_user(type, type) __field(unsigned long, flags) __field_hex(void *, data)), | |
1447 | TP_fast_assign(tp_copy_string_from_user(dev_name, dev_name) tp_copy_string_from_user(dir_name, dir_name) tp_copy_string_from_user(type, type) tp_assign(flags, flags) tp_assign(data, data)), | |
1448 | TP_printk() | |
1449 | ) | |
1450 | #endif | |
1451 | #ifndef OVERRIDE_64_sys_io_getevents | |
1452 | SC_TRACE_EVENT(sys_io_getevents, | |
1453 | TP_PROTO(aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), | |
1454 | TP_ARGS(ctx_id, min_nr, nr, events, timeout), | |
1455 | TP_STRUCT__entry(__field(aio_context_t, ctx_id) __field(long, min_nr) __field(long, nr) __field_hex(struct io_event *, events) __field_hex(struct timespec *, timeout)), | |
1456 | TP_fast_assign(tp_assign(ctx_id, ctx_id) tp_assign(min_nr, min_nr) tp_assign(nr, nr) tp_assign(events, events) tp_assign(timeout, timeout)), | |
1457 | TP_printk() | |
1458 | ) | |
1459 | #endif | |
1460 | #ifndef OVERRIDE_64_sys_waitid | |
1461 | SC_TRACE_EVENT(sys_waitid, | |
1462 | TP_PROTO(int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), | |
1463 | TP_ARGS(which, upid, infop, options, ru), | |
1464 | TP_STRUCT__entry(__field(int, which) __field(pid_t, upid) __field_hex(struct siginfo *, infop) __field(int, options) __field_hex(struct rusage *, ru)), | |
1465 | TP_fast_assign(tp_assign(which, which) tp_assign(upid, upid) tp_assign(infop, infop) tp_assign(options, options) tp_assign(ru, ru)), | |
1466 | TP_printk() | |
1467 | ) | |
1468 | #endif | |
1469 | #ifndef OVERRIDE_64_sys_ppoll | |
1470 | SC_TRACE_EVENT(sys_ppoll, | |
1471 | TP_PROTO(struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), | |
1472 | TP_ARGS(ufds, nfds, tsp, sigmask, sigsetsize), | |
1473 | TP_STRUCT__entry(__field_hex(struct pollfd *, ufds) __field(unsigned int, nfds) __field_hex(struct timespec *, tsp) __field_hex(const sigset_t *, sigmask) __field(size_t, sigsetsize)), | |
1474 | TP_fast_assign(tp_assign(ufds, ufds) tp_assign(nfds, nfds) tp_assign(tsp, tsp) tp_assign(sigmask, sigmask) tp_assign(sigsetsize, sigsetsize)), | |
1475 | TP_printk() | |
1476 | ) | |
1477 | #endif | |
1478 | #ifndef OVERRIDE_64_sys_recvmmsg | |
1479 | SC_TRACE_EVENT(sys_recvmmsg, | |
1480 | TP_PROTO(int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), | |
1481 | TP_ARGS(fd, mmsg, vlen, flags, timeout), | |
1482 | TP_STRUCT__entry(__field(int, fd) __field_hex(struct mmsghdr *, mmsg) __field(unsigned int, vlen) __field(unsigned int, flags) __field_hex(struct timespec *, timeout)), | |
1483 | TP_fast_assign(tp_assign(fd, fd) tp_assign(mmsg, mmsg) tp_assign(vlen, vlen) tp_assign(flags, flags) tp_assign(timeout, timeout)), | |
1484 | TP_printk() | |
1485 | ) | |
1486 | #endif | |
1487 | #ifndef OVERRIDE_64_sys_getsockopt | |
1488 | SC_TRACE_EVENT(sys_getsockopt, | |
1489 | TP_PROTO(int fd, int level, int optname, char * optval, int * optlen), | |
1490 | TP_ARGS(fd, level, optname, optval, optlen), | |
1491 | TP_STRUCT__entry(__field(int, fd) __field(int, level) __field(int, optname) __field_hex(char *, optval) __field_hex(int *, optlen)), | |
1492 | TP_fast_assign(tp_assign(fd, fd) tp_assign(level, level) tp_assign(optname, optname) tp_assign(optval, optval) tp_assign(optlen, optlen)), | |
1493 | TP_printk() | |
1494 | ) | |
1495 | #endif | |
1496 | #ifndef OVERRIDE_64_sys_setxattr | |
1497 | SC_TRACE_EVENT(sys_setxattr, | |
1498 | TP_PROTO(const char * pathname, const char * name, const void * value, size_t size, int flags), | |
1499 | TP_ARGS(pathname, name, value, size, flags), | |
1500 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), | |
1501 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size) tp_assign(flags, flags)), | |
1502 | TP_printk() | |
1503 | ) | |
1504 | #endif | |
1505 | #ifndef OVERRIDE_64_sys_lsetxattr | |
1506 | SC_TRACE_EVENT(sys_lsetxattr, | |
1507 | TP_PROTO(const char * pathname, const char * name, const void * value, size_t size, int flags), | |
1508 | TP_ARGS(pathname, name, value, size, flags), | |
1509 | TP_STRUCT__entry(__string_from_user(pathname, pathname) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), | |
1510 | TP_fast_assign(tp_copy_string_from_user(pathname, pathname) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size) tp_assign(flags, flags)), | |
1511 | TP_printk() | |
1512 | ) | |
1513 | #endif | |
1514 | #ifndef OVERRIDE_64_sys_fsetxattr | |
1515 | SC_TRACE_EVENT(sys_fsetxattr, | |
1516 | TP_PROTO(int fd, const char * name, const void * value, size_t size, int flags), | |
1517 | TP_ARGS(fd, name, value, size, flags), | |
1518 | TP_STRUCT__entry(__field(int, fd) __string_from_user(name, name) __field_hex(const void *, value) __field(size_t, size) __field(int, flags)), | |
1519 | TP_fast_assign(tp_assign(fd, fd) tp_copy_string_from_user(name, name) tp_assign(value, value) tp_assign(size, size) tp_assign(flags, flags)), | |
1520 | TP_printk() | |
1521 | ) | |
1522 | #endif | |
1523 | #ifndef OVERRIDE_64_sys_fchownat | |
1524 | SC_TRACE_EVENT(sys_fchownat, | |
1525 | TP_PROTO(int dfd, const char * filename, uid_t user, gid_t group, int flag), | |
1526 | TP_ARGS(dfd, filename, user, group, flag), | |
1527 | TP_STRUCT__entry(__field(int, dfd) __string_from_user(filename, filename) __field(uid_t, user) __field(gid_t, group) __field(int, flag)), | |
1528 | TP_fast_assign(tp_assign(dfd, dfd) tp_copy_string_from_user(filename, filename) tp_assign(user, user) tp_assign(group, group) tp_assign(flag, flag)), | |
1529 | TP_printk() | |
1530 | ) | |
1531 | #endif | |
1532 | #ifndef OVERRIDE_64_sys_linkat | |
1533 | SC_TRACE_EVENT(sys_linkat, | |
1534 | TP_PROTO(int olddfd, const char * oldname, int newdfd, const char * newname, int flags), | |
1535 | TP_ARGS(olddfd, oldname, newdfd, newname, flags), | |
1536 | TP_STRUCT__entry(__field(int, olddfd) __string_from_user(oldname, oldname) __field(int, newdfd) __string_from_user(newname, newname) __field(int, flags)), | |
1537 | TP_fast_assign(tp_assign(olddfd, olddfd) tp_copy_string_from_user(oldname, oldname) tp_assign(newdfd, newdfd) tp_copy_string_from_user(newname, newname) tp_assign(flags, flags)), | |
1538 | TP_printk() | |
1539 | ) | |
1540 | #endif | |
1541 | #ifndef OVERRIDE_64_sys_preadv | |
1542 | SC_TRACE_EVENT(sys_preadv, | |
1543 | TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), | |
1544 | TP_ARGS(fd, vec, vlen, pos_l, pos_h), | |
1545 | TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen) __field(unsigned long, pos_l) __field(unsigned long, pos_h)), | |
1546 | TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen) tp_assign(pos_l, pos_l) tp_assign(pos_h, pos_h)), | |
1547 | TP_printk() | |
1548 | ) | |
1549 | #endif | |
1550 | #ifndef OVERRIDE_64_sys_pwritev | |
1551 | SC_TRACE_EVENT(sys_pwritev, | |
1552 | TP_PROTO(unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), | |
1553 | TP_ARGS(fd, vec, vlen, pos_l, pos_h), | |
1554 | TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(const struct iovec *, vec) __field(unsigned long, vlen) __field(unsigned long, pos_l) __field(unsigned long, pos_h)), | |
1555 | TP_fast_assign(tp_assign(fd, fd) tp_assign(vec, vec) tp_assign(vlen, vlen) tp_assign(pos_l, pos_l) tp_assign(pos_h, pos_h)), | |
1556 | TP_printk() | |
1557 | ) | |
1558 | #endif | |
1559 | #ifndef OVERRIDE_64_sys_32_pread | |
1560 | SC_TRACE_EVENT(sys_32_pread, | |
1561 | TP_PROTO(unsigned long fd, char * buf, size_t count, unsigned long unused, unsigned long a4, unsigned long a5), | |
1562 | TP_ARGS(fd, buf, count, unused, a4, a5), | |
1563 | TP_STRUCT__entry(__field(unsigned long, fd) __field_hex(char *, buf) __field(size_t, count) __field(unsigned long, unused) __field(unsigned long, a4) __field(unsigned long, a5)), | |
1564 | TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf) tp_assign(count, count) tp_assign(unused, unused) tp_assign(a4, a4) tp_assign(a5, a5)), | |
1565 | TP_printk() | |
1566 | ) | |
1567 | #endif | |
1568 | #ifndef OVERRIDE_64_sys_32_pwrite | |
1569 | SC_TRACE_EVENT(sys_32_pwrite, | |
1570 | TP_PROTO(unsigned int fd, const char * buf, size_t count, u32 unused, u64 a4, u64 a5), | |
1571 | TP_ARGS(fd, buf, count, unused, a4, a5), | |
1572 | TP_STRUCT__entry(__field(unsigned int, fd) __field_hex(const char *, buf) __field(size_t, count) __field(u32, unused) __field(u64, a4) __field(u64, a5)), | |
1573 | TP_fast_assign(tp_assign(fd, fd) tp_assign(buf, buf) tp_assign(count, count) tp_assign(unused, unused) tp_assign(a4, a4) tp_assign(a5, a5)), | |
1574 | TP_printk() | |
1575 | ) | |
1576 | #endif | |
1577 | #ifndef OVERRIDE_64_sys_32_fanotify_mark | |
1578 | SC_TRACE_EVENT(sys_32_fanotify_mark, | |
1579 | TP_PROTO(int fanotify_fd, unsigned int flags, u64 a3, u64 a4, int dfd, const char * pathname), | |
1580 | TP_ARGS(fanotify_fd, flags, a3, a4, dfd, pathname), | |
1581 | TP_STRUCT__entry(__field(int, fanotify_fd) __field(unsigned int, flags) __field(u64, a3) __field(u64, a4) __field(int, dfd) __string_from_user(pathname, pathname)), | |
1582 | TP_fast_assign(tp_assign(fanotify_fd, fanotify_fd) tp_assign(flags, flags) tp_assign(a3, a3) tp_assign(a4, a4) tp_assign(dfd, dfd) tp_copy_string_from_user(pathname, pathname)), | |
1583 | TP_printk() | |
1584 | ) | |
1585 | #endif | |
1586 | #ifndef OVERRIDE_64_sys_recvfrom | |
1587 | SC_TRACE_EVENT(sys_recvfrom, | |
1588 | TP_PROTO(int fd, void * ubuf, size_t size, unsigned int flags, struct sockaddr * addr, int * addr_len), | |
1589 | TP_ARGS(fd, ubuf, size, flags, addr, addr_len), | |
1590 | TP_STRUCT__entry(__field(int, fd) __field_hex(void *, ubuf) __field(size_t, size) __field(unsigned int, flags) __field_hex(struct sockaddr *, addr) __field_hex(int *, addr_len)), | |
1591 | TP_fast_assign(tp_assign(fd, fd) tp_assign(ubuf, ubuf) tp_assign(size, size) tp_assign(flags, flags) tp_assign(addr, addr) tp_assign(addr_len, addr_len)), | |
1592 | TP_printk() | |
1593 | ) | |
1594 | #endif | |
1595 | #ifndef OVERRIDE_64_sys_futex | |
1596 | SC_TRACE_EVENT(sys_futex, | |
1597 | TP_PROTO(u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), | |
1598 | TP_ARGS(uaddr, op, val, utime, uaddr2, val3), | |
1599 | TP_STRUCT__entry(__field_hex(u32 *, uaddr) __field(int, op) __field(u32, val) __field_hex(struct timespec *, utime) __field_hex(u32 *, uaddr2) __field(u32, val3)), | |
1600 | TP_fast_assign(tp_assign(uaddr, uaddr) tp_assign(op, op) tp_assign(val, val) tp_assign(utime, utime) tp_assign(uaddr2, uaddr2) tp_assign(val3, val3)), | |
1601 | TP_printk() | |
1602 | ) | |
1603 | #endif | |
1604 | #ifndef OVERRIDE_64_sys_pselect6 | |
1605 | SC_TRACE_EVENT(sys_pselect6, | |
1606 | TP_PROTO(int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), | |
1607 | TP_ARGS(n, inp, outp, exp, tsp, sig), | |
1608 | TP_STRUCT__entry(__field(int, n) __field_hex(fd_set *, inp) __field_hex(fd_set *, outp) __field_hex(fd_set *, exp) __field_hex(struct timespec *, tsp) __field_hex(void *, sig)), | |
1609 | TP_fast_assign(tp_assign(n, n) tp_assign(inp, inp) tp_assign(outp, outp) tp_assign(exp, exp) tp_assign(tsp, tsp) tp_assign(sig, sig)), | |
1610 | TP_printk() | |
1611 | ) | |
1612 | #endif | |
1613 | #ifndef OVERRIDE_64_sys_epoll_pwait | |
1614 | SC_TRACE_EVENT(sys_epoll_pwait, | |
1615 | TP_PROTO(int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), | |
1616 | TP_ARGS(epfd, events, maxevents, timeout, sigmask, sigsetsize), | |
1617 | TP_STRUCT__entry(__field(int, epfd) __field_hex(struct epoll_event *, events) __field(int, maxevents) __field(int, timeout) __field_hex(const sigset_t *, sigmask) __field(size_t, sigsetsize)), | |
1618 | TP_fast_assign(tp_assign(epfd, epfd) tp_assign(events, events) tp_assign(maxevents, maxevents) tp_assign(timeout, timeout) tp_assign(sigmask, sigmask) tp_assign(sigsetsize, sigsetsize)), | |
1619 | TP_printk() | |
1620 | ) | |
1621 | #endif | |
1622 | #ifndef OVERRIDE_64_sys_process_vm_readv | |
1623 | SC_TRACE_EVENT(sys_process_vm_readv, | |
1624 | TP_PROTO(pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), | |
1625 | TP_ARGS(pid, lvec, liovcnt, rvec, riovcnt, flags), | |
1626 | TP_STRUCT__entry(__field(pid_t, pid) __field_hex(const struct iovec *, lvec) __field(unsigned long, liovcnt) __field_hex(const struct iovec *, rvec) __field(unsigned long, riovcnt) __field(unsigned long, flags)), | |
1627 | TP_fast_assign(tp_assign(pid, pid) tp_assign(lvec, lvec) tp_assign(liovcnt, liovcnt) tp_assign(rvec, rvec) tp_assign(riovcnt, riovcnt) tp_assign(flags, flags)), | |
1628 | TP_printk() | |
1629 | ) | |
1630 | #endif | |
1631 | #ifndef OVERRIDE_64_sys_process_vm_writev | |
1632 | SC_TRACE_EVENT(sys_process_vm_writev, | |
1633 | TP_PROTO(pid_t pid, const struct iovec * lvec, unsigned long liovcnt, const struct iovec * rvec, unsigned long riovcnt, unsigned long flags), | |
1634 | TP_ARGS(pid, lvec, liovcnt, rvec, riovcnt, flags), | |
1635 | TP_STRUCT__entry(__field(pid_t, pid) __field_hex(const struct iovec *, lvec) __field(unsigned long, liovcnt) __field_hex(const struct iovec *, rvec) __field(unsigned long, riovcnt) __field(unsigned long, flags)), | |
1636 | TP_fast_assign(tp_assign(pid, pid) tp_assign(lvec, lvec) tp_assign(liovcnt, liovcnt) tp_assign(rvec, rvec) tp_assign(riovcnt, riovcnt) tp_assign(flags, flags)), | |
1637 | TP_printk() | |
1638 | ) | |
1639 | #endif | |
1640 | #ifndef OVERRIDE_64_sys_sendto | |
1641 | SC_TRACE_EVENT(sys_sendto, | |
1642 | TP_PROTO(int fd, void * buff, size_t len, unsigned int flags, struct sockaddr * addr, int addr_len), | |
1643 | TP_ARGS(fd, buff, len, flags, addr, addr_len), | |
1644 | TP_STRUCT__entry(__field(int, fd) __field_hex(void *, buff) __field(size_t, len) __field(unsigned int, flags) __field_hex(struct sockaddr *, addr) __field_hex(int, addr_len)), | |
1645 | TP_fast_assign(tp_assign(fd, fd) tp_assign(buff, buff) tp_assign(len, len) tp_assign(flags, flags) tp_assign(addr, addr) tp_assign(addr_len, addr_len)), | |
1646 | TP_printk() | |
1647 | ) | |
1648 | #endif | |
1649 | #ifndef OVERRIDE_64_sys_32_futex | |
1650 | SC_TRACE_EVENT(sys_32_futex, | |
1651 | TP_PROTO(u32 * uaddr, int op, u32 val, struct compat_timespec * utime, u32 * uaddr2, u32 val3), | |
1652 | TP_ARGS(uaddr, op, val, utime, uaddr2, val3), | |
1653 | TP_STRUCT__entry(__field_hex(u32 *, uaddr) __field(int, op) __field(u32, val) __field_hex(struct compat_timespec *, utime) __field_hex(u32 *, uaddr2) __field(u32, val3)), | |
1654 | TP_fast_assign(tp_assign(uaddr, uaddr) tp_assign(op, op) tp_assign(val, val) tp_assign(utime, utime) tp_assign(uaddr2, uaddr2) tp_assign(val3, val3)), | |
1655 | TP_printk() | |
1656 | ) | |
1657 | #endif | |
1658 | #ifndef OVERRIDE_64_sys_splice | |
1659 | SC_TRACE_EVENT(sys_splice, | |
1660 | TP_PROTO(int fd_in, loff_t * off_in, int fd_out, loff_t * off_out, size_t len, unsigned int flags), | |
1661 | TP_ARGS(fd_in, off_in, fd_out, off_out, len, flags), | |
1662 | TP_STRUCT__entry(__field(int, fd_in) __field_hex(loff_t *, off_in) __field(int, fd_out) __field_hex(loff_t *, off_out) __field(size_t, len) __field(unsigned int, flags)), | |
1663 | TP_fast_assign(tp_assign(fd_in, fd_in) tp_assign(off_in, off_in) tp_assign(fd_out, fd_out) tp_assign(off_out, off_out) tp_assign(len, len) tp_assign(flags, flags)), | |
1664 | TP_printk() | |
1665 | ) | |
1666 | #endif | |
1667 | ||
1668 | #endif /* _TRACE_SYSCALLS_POINTERS_H */ | |
1669 | ||
1670 | /* This part must be outside protection */ | |
1671 | #include "../../../probes/define_trace.h" | |
1672 | ||
1673 | #else /* CREATE_SYSCALL_TABLE */ | |
1674 | ||
1675 | #include "mips-64-syscalls-3.5.0_pointers_override.h" | |
1676 | #include "syscalls_pointers_override.h" | |
1677 | ||
1678 | #ifndef OVERRIDE_TABLE_64_sys_waitpid | |
1679 | TRACE_SYSCALL_TABLE(sys_waitpid, sys_waitpid, 4007, 3) | |
1680 | #endif | |
1681 | #ifndef OVERRIDE_TABLE_64_sys_oldumount | |
1682 | TRACE_SYSCALL_TABLE(sys_oldumount, sys_oldumount, 4022, 1) | |
1683 | #endif | |
1684 | #ifndef OVERRIDE_TABLE_64_sys_olduname | |
1685 | TRACE_SYSCALL_TABLE(sys_olduname, sys_olduname, 4059, 1) | |
1686 | #endif | |
1687 | #ifndef OVERRIDE_TABLE_64_sys_32_sigaction | |
1688 | TRACE_SYSCALL_TABLE(sys_32_sigaction, sys_32_sigaction, 4067, 3) | |
1689 | #endif | |
1690 | #ifndef OVERRIDE_TABLE_64_sys_uselib | |
1691 | TRACE_SYSCALL_TABLE(sys_uselib, sys_uselib, 4086, 1) | |
1692 | #endif | |
1693 | #ifndef OVERRIDE_TABLE_64_sys_uname | |
1694 | TRACE_SYSCALL_TABLE(sys_uname, sys_uname, 4109, 1) | |
1695 | #endif | |
1696 | #ifndef OVERRIDE_TABLE_64_sys_32_llseek | |
1697 | TRACE_SYSCALL_TABLE(sys_32_llseek, sys_32_llseek, 4140, 5) | |
1698 | #endif | |
1699 | #ifndef OVERRIDE_TABLE_64_sys_send | |
1700 | TRACE_SYSCALL_TABLE(sys_send, sys_send, 4178, 4) | |
1701 | #endif | |
1702 | #ifndef OVERRIDE_TABLE_64_sys_32_pread | |
1703 | TRACE_SYSCALL_TABLE(sys_32_pread, sys_32_pread, 4200, 6) | |
1704 | #endif | |
1705 | #ifndef OVERRIDE_TABLE_64_sys_32_pwrite | |
1706 | TRACE_SYSCALL_TABLE(sys_32_pwrite, sys_32_pwrite, 4201, 6) | |
1707 | #endif | |
1708 | #ifndef OVERRIDE_TABLE_64_sys_32_truncate64 | |
1709 | TRACE_SYSCALL_TABLE(sys_32_truncate64, sys_32_truncate64, 4211, 4) | |
1710 | #endif | |
1711 | #ifndef OVERRIDE_TABLE_64_sys_32_waitid | |
1712 | TRACE_SYSCALL_TABLE(sys_32_waitid, sys_32_waitid, 4278, 5) | |
1713 | #endif | |
1714 | #ifndef OVERRIDE_TABLE_64_sys_32_fanotify_mark | |
1715 | TRACE_SYSCALL_TABLE(sys_32_fanotify_mark, sys_32_fanotify_mark, 4337, 6) | |
1716 | #endif | |
1717 | #ifndef OVERRIDE_TABLE_64_sys_rt_sigaction | |
1718 | TRACE_SYSCALL_TABLE(sys_rt_sigaction, sys_rt_sigaction, 5013, 4) | |
1719 | #endif | |
1720 | #ifndef OVERRIDE_TABLE_64_sys_rt_sigprocmask | |
1721 | TRACE_SYSCALL_TABLE(sys_rt_sigprocmask, sys_rt_sigprocmask, 5014, 4) | |
1722 | #endif | |
1723 | #ifndef OVERRIDE_TABLE_64_sys_readv | |
1724 | TRACE_SYSCALL_TABLE(sys_readv, sys_readv, 5018, 3) | |
1725 | #endif | |
1726 | #ifndef OVERRIDE_TABLE_64_sys_writev | |
1727 | TRACE_SYSCALL_TABLE(sys_writev, sys_writev, 5019, 3) | |
1728 | #endif | |
1729 | #ifndef OVERRIDE_TABLE_64_sys_select | |
1730 | TRACE_SYSCALL_TABLE(sys_select, sys_select, 5022, 5) | |
1731 | #endif | |
1732 | #ifndef OVERRIDE_TABLE_64_sys_shmctl | |
1733 | TRACE_SYSCALL_TABLE(sys_shmctl, sys_shmctl, 5030, 3) | |
1734 | #endif | |
1735 | #ifndef OVERRIDE_TABLE_64_sys_nanosleep | |
1736 | TRACE_SYSCALL_TABLE(sys_nanosleep, sys_nanosleep, 5034, 2) | |
1737 | #endif | |
1738 | #ifndef OVERRIDE_TABLE_64_sys_getitimer | |
1739 | TRACE_SYSCALL_TABLE(sys_getitimer, sys_getitimer, 5035, 2) | |
1740 | #endif | |
1741 | #ifndef OVERRIDE_TABLE_64_sys_setitimer | |
1742 | TRACE_SYSCALL_TABLE(sys_setitimer, sys_setitimer, 5036, 3) | |
1743 | #endif | |
1744 | #ifndef OVERRIDE_TABLE_64_sys_recvfrom | |
1745 | TRACE_SYSCALL_TABLE(sys_recvfrom, sys_recvfrom, 5044, 6) | |
1746 | #endif | |
1747 | #ifndef OVERRIDE_TABLE_64_sys_sendmsg | |
1748 | TRACE_SYSCALL_TABLE(sys_sendmsg, sys_sendmsg, 5045, 3) | |
1749 | #endif | |
1750 | #ifndef OVERRIDE_TABLE_64_sys_recvmsg | |
1751 | TRACE_SYSCALL_TABLE(sys_recvmsg, sys_recvmsg, 5046, 3) | |
1752 | #endif | |
1753 | #ifndef OVERRIDE_TABLE_64_sys_setsockopt | |
1754 | TRACE_SYSCALL_TABLE(sys_setsockopt, sys_setsockopt, 5053, 5) | |
1755 | #endif | |
1756 | #ifndef OVERRIDE_TABLE_64_sys_wait4 | |
1757 | TRACE_SYSCALL_TABLE(sys_wait4, sys_wait4, 5059, 4) | |
1758 | #endif | |
1759 | #ifndef OVERRIDE_TABLE_64_sys_msgsnd | |
1760 | TRACE_SYSCALL_TABLE(sys_msgsnd, sys_msgsnd, 5067, 4) | |
1761 | #endif | |
1762 | #ifndef OVERRIDE_TABLE_64_sys_msgrcv | |
1763 | TRACE_SYSCALL_TABLE(sys_msgrcv, sys_msgrcv, 5068, 5) | |
1764 | #endif | |
1765 | #ifndef OVERRIDE_TABLE_64_sys_msgctl | |
1766 | TRACE_SYSCALL_TABLE(sys_msgctl, sys_msgctl, 5069, 3) | |
1767 | #endif | |
1768 | #ifndef OVERRIDE_TABLE_64_sys_getdents | |
1769 | TRACE_SYSCALL_TABLE(sys_getdents, sys_getdents, 5076, 3) | |
1770 | #endif | |
1771 | #ifndef OVERRIDE_TABLE_64_sys_gettimeofday | |
1772 | TRACE_SYSCALL_TABLE(sys_gettimeofday, sys_gettimeofday, 5094, 2) | |
1773 | #endif | |
1774 | #ifndef OVERRIDE_TABLE_64_sys_getrlimit | |
1775 | TRACE_SYSCALL_TABLE(sys_getrlimit, sys_getrlimit, 5095, 2) | |
1776 | #endif | |
1777 | #ifndef OVERRIDE_TABLE_64_sys_getrusage | |
1778 | TRACE_SYSCALL_TABLE(sys_getrusage, sys_getrusage, 5096, 2) | |
1779 | #endif | |
1780 | #ifndef OVERRIDE_TABLE_64_sys_sysinfo | |
1781 | TRACE_SYSCALL_TABLE(sys_sysinfo, sys_sysinfo, 5097, 1) | |
1782 | #endif | |
1783 | #ifndef OVERRIDE_TABLE_64_sys_times | |
1784 | TRACE_SYSCALL_TABLE(sys_times, sys_times, 5098, 1) | |
1785 | #endif | |
1786 | #ifndef OVERRIDE_TABLE_64_sys_rt_sigpending | |
1787 | TRACE_SYSCALL_TABLE(sys_rt_sigpending, sys_rt_sigpending, 5125, 2) | |
1788 | #endif | |
1789 | #ifndef OVERRIDE_TABLE_64_sys_rt_sigtimedwait | |
1790 | TRACE_SYSCALL_TABLE(sys_rt_sigtimedwait, sys_rt_sigtimedwait, 5126, 4) | |
1791 | #endif | |
1792 | #ifndef OVERRIDE_TABLE_64_sys_rt_sigqueueinfo | |
1793 | TRACE_SYSCALL_TABLE(sys_rt_sigqueueinfo, sys_rt_sigqueueinfo, 5127, 3) | |
1794 | #endif | |
1795 | #ifndef OVERRIDE_TABLE_64_sys_utime | |
1796 | TRACE_SYSCALL_TABLE(sys_utime, sys_utime, 5130, 2) | |
1797 | #endif | |
1798 | #ifndef OVERRIDE_TABLE_64_sys_ustat | |
1799 | TRACE_SYSCALL_TABLE(sys_ustat, sys_ustat, 5133, 2) | |
1800 | #endif | |
1801 | #ifndef OVERRIDE_TABLE_64_sys_statfs | |
1802 | TRACE_SYSCALL_TABLE(sys_statfs, sys_statfs, 5134, 2) | |
1803 | #endif | |
1804 | #ifndef OVERRIDE_TABLE_64_sys_fstatfs | |
1805 | TRACE_SYSCALL_TABLE(sys_fstatfs, sys_fstatfs, 5135, 2) | |
1806 | #endif | |
1807 | #ifndef OVERRIDE_TABLE_64_sys_sched_rr_get_interval | |
1808 | TRACE_SYSCALL_TABLE(sys_sched_rr_get_interval, sys_sched_rr_get_interval, 5145, 2) | |
1809 | #endif | |
1810 | #ifndef OVERRIDE_TABLE_64_sys_sysctl | |
1811 | TRACE_SYSCALL_TABLE(sys_sysctl, sys_sysctl, 5152, 1) | |
1812 | #endif | |
1813 | #ifndef OVERRIDE_TABLE_64_sys_adjtimex | |
1814 | TRACE_SYSCALL_TABLE(sys_adjtimex, sys_adjtimex, 5154, 1) | |
1815 | #endif | |
1816 | #ifndef OVERRIDE_TABLE_64_sys_setrlimit | |
1817 | TRACE_SYSCALL_TABLE(sys_setrlimit, sys_setrlimit, 5155, 2) | |
1818 | #endif | |
1819 | #ifndef OVERRIDE_TABLE_64_sys_settimeofday | |
1820 | TRACE_SYSCALL_TABLE(sys_settimeofday, sys_settimeofday, 5159, 2) | |
1821 | #endif | |
1822 | #ifndef OVERRIDE_TABLE_64_sys_mount | |
1823 | TRACE_SYSCALL_TABLE(sys_mount, sys_mount, 5160, 5) | |
1824 | #endif | |
1825 | #ifndef OVERRIDE_TABLE_64_sys_futex | |
1826 | TRACE_SYSCALL_TABLE(sys_futex, sys_futex, 5194, 6) | |
1827 | #endif | |
1828 | #ifndef OVERRIDE_TABLE_64_sys_sched_setaffinity | |
1829 | TRACE_SYSCALL_TABLE(sys_sched_setaffinity, sys_sched_setaffinity, 5195, 3) | |
1830 | #endif | |
1831 | #ifndef OVERRIDE_TABLE_64_sys_sched_getaffinity | |
1832 | TRACE_SYSCALL_TABLE(sys_sched_getaffinity, sys_sched_getaffinity, 5196, 3) | |
1833 | #endif | |
1834 | #ifndef OVERRIDE_TABLE_64_sys_io_setup | |
1835 | TRACE_SYSCALL_TABLE(sys_io_setup, sys_io_setup, 5200, 2) | |
1836 | #endif | |
1837 | #ifndef OVERRIDE_TABLE_64_sys_io_getevents | |
1838 | TRACE_SYSCALL_TABLE(sys_io_getevents, sys_io_getevents, 5202, 5) | |
1839 | #endif | |
1840 | #ifndef OVERRIDE_TABLE_64_sys_io_submit | |
1841 | TRACE_SYSCALL_TABLE(sys_io_submit, sys_io_submit, 5203, 3) | |
1842 | #endif | |
1843 | #ifndef OVERRIDE_TABLE_64_sys_semtimedop | |
1844 | TRACE_SYSCALL_TABLE(sys_semtimedop, sys_semtimedop, 5214, 4) | |
1845 | #endif | |
1846 | #ifndef OVERRIDE_TABLE_64_sys_timer_create | |
1847 | TRACE_SYSCALL_TABLE(sys_timer_create, sys_timer_create, 5216, 3) | |
1848 | #endif | |
1849 | #ifndef OVERRIDE_TABLE_64_sys_timer_settime | |
1850 | TRACE_SYSCALL_TABLE(sys_timer_settime, sys_timer_settime, 5217, 4) | |
1851 | #endif | |
1852 | #ifndef OVERRIDE_TABLE_64_sys_timer_gettime | |
1853 | TRACE_SYSCALL_TABLE(sys_timer_gettime, sys_timer_gettime, 5218, 2) | |
1854 | #endif | |
1855 | #ifndef OVERRIDE_TABLE_64_sys_clock_settime | |
1856 | TRACE_SYSCALL_TABLE(sys_clock_settime, sys_clock_settime, 5221, 2) | |
1857 | #endif | |
1858 | #ifndef OVERRIDE_TABLE_64_sys_clock_gettime | |
1859 | TRACE_SYSCALL_TABLE(sys_clock_gettime, sys_clock_gettime, 5222, 2) | |
1860 | #endif | |
1861 | #ifndef OVERRIDE_TABLE_64_sys_clock_getres | |
1862 | TRACE_SYSCALL_TABLE(sys_clock_getres, sys_clock_getres, 5223, 2) | |
1863 | #endif | |
1864 | #ifndef OVERRIDE_TABLE_64_sys_clock_nanosleep | |
1865 | TRACE_SYSCALL_TABLE(sys_clock_nanosleep, sys_clock_nanosleep, 5224, 4) | |
1866 | #endif | |
1867 | #ifndef OVERRIDE_TABLE_64_sys_utimes | |
1868 | TRACE_SYSCALL_TABLE(sys_utimes, sys_utimes, 5226, 2) | |
1869 | #endif | |
1870 | #ifndef OVERRIDE_TABLE_64_sys_waitid | |
1871 | TRACE_SYSCALL_TABLE(sys_waitid, sys_waitid, 5237, 5) | |
1872 | #endif | |
1873 | #ifndef OVERRIDE_TABLE_64_sys_futimesat | |
1874 | TRACE_SYSCALL_TABLE(sys_futimesat, sys_futimesat, 5251, 3) | |
1875 | #endif | |
1876 | #ifndef OVERRIDE_TABLE_64_sys_pselect6 | |
1877 | TRACE_SYSCALL_TABLE(sys_pselect6, sys_pselect6, 5260, 6) | |
1878 | #endif | |
1879 | #ifndef OVERRIDE_TABLE_64_sys_ppoll | |
1880 | TRACE_SYSCALL_TABLE(sys_ppoll, sys_ppoll, 5261, 5) | |
1881 | #endif | |
1882 | #ifndef OVERRIDE_TABLE_64_sys_vmsplice | |
1883 | TRACE_SYSCALL_TABLE(sys_vmsplice, sys_vmsplice, 5266, 4) | |
1884 | #endif | |
1885 | #ifndef OVERRIDE_TABLE_64_sys_set_robust_list | |
1886 | TRACE_SYSCALL_TABLE(sys_set_robust_list, sys_set_robust_list, 5268, 2) | |
1887 | #endif | |
1888 | #ifndef OVERRIDE_TABLE_64_sys_get_robust_list | |
1889 | TRACE_SYSCALL_TABLE(sys_get_robust_list, sys_get_robust_list, 5269, 3) | |
1890 | #endif | |
1891 | #ifndef OVERRIDE_TABLE_64_sys_epoll_pwait | |
1892 | TRACE_SYSCALL_TABLE(sys_epoll_pwait, sys_epoll_pwait, 5272, 6) | |
1893 | #endif | |
1894 | #ifndef OVERRIDE_TABLE_64_sys_utimensat | |
1895 | TRACE_SYSCALL_TABLE(sys_utimensat, sys_utimensat, 5275, 4) | |
1896 | #endif | |
1897 | #ifndef OVERRIDE_TABLE_64_sys_signalfd | |
1898 | TRACE_SYSCALL_TABLE(sys_signalfd, sys_signalfd, 5276, 3) | |
1899 | #endif | |
1900 | #ifndef OVERRIDE_TABLE_64_sys_timerfd_gettime | |
1901 | TRACE_SYSCALL_TABLE(sys_timerfd_gettime, sys_timerfd_gettime, 5281, 2) | |
1902 | #endif | |
1903 | #ifndef OVERRIDE_TABLE_64_sys_timerfd_settime | |
1904 | TRACE_SYSCALL_TABLE(sys_timerfd_settime, sys_timerfd_settime, 5282, 4) | |
1905 | #endif | |
1906 | #ifndef OVERRIDE_TABLE_64_sys_rt_tgsigqueueinfo | |
1907 | TRACE_SYSCALL_TABLE(sys_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo, 5291, 4) | |
1908 | #endif | |
1909 | #ifndef OVERRIDE_TABLE_64_sys_recvmmsg | |
1910 | TRACE_SYSCALL_TABLE(sys_recvmmsg, sys_recvmmsg, 5294, 5) | |
1911 | #endif | |
1912 | #ifndef OVERRIDE_TABLE_64_sys_clock_adjtime | |
1913 | TRACE_SYSCALL_TABLE(sys_clock_adjtime, sys_clock_adjtime, 5300, 2) | |
1914 | #endif | |
1915 | #ifndef OVERRIDE_TABLE_64_sys_sendmmsg | |
1916 | TRACE_SYSCALL_TABLE(sys_sendmmsg, sys_sendmmsg, 5302, 4) | |
1917 | #endif | |
1918 | #ifndef OVERRIDE_TABLE_64_sys_process_vm_readv | |
1919 | TRACE_SYSCALL_TABLE(sys_process_vm_readv, sys_process_vm_readv, 5304, 6) | |
1920 | #endif | |
1921 | #ifndef OVERRIDE_TABLE_64_sys_process_vm_writev | |
1922 | TRACE_SYSCALL_TABLE(sys_process_vm_writev, sys_process_vm_writev, 5305, 6) | |
1923 | #endif | |
1924 | #ifndef OVERRIDE_TABLE_64_sys_read | |
1925 | TRACE_SYSCALL_TABLE(sys_read, sys_read, 6000, 3) | |
1926 | #endif | |
1927 | #ifndef OVERRIDE_TABLE_64_sys_write | |
1928 | TRACE_SYSCALL_TABLE(sys_write, sys_write, 6001, 3) | |
1929 | #endif | |
1930 | #ifndef OVERRIDE_TABLE_64_sys_open | |
1931 | TRACE_SYSCALL_TABLE(sys_open, sys_open, 6002, 3) | |
1932 | #endif | |
1933 | #ifndef OVERRIDE_TABLE_64_sys_newstat | |
1934 | TRACE_SYSCALL_TABLE(sys_newstat, sys_newstat, 6004, 2) | |
1935 | #endif | |
1936 | #ifndef OVERRIDE_TABLE_64_sys_newfstat | |
1937 | TRACE_SYSCALL_TABLE(sys_newfstat, sys_newfstat, 6005, 2) | |
1938 | #endif | |
1939 | #ifndef OVERRIDE_TABLE_64_sys_newlstat | |
1940 | TRACE_SYSCALL_TABLE(sys_newlstat, sys_newlstat, 6006, 2) | |
1941 | #endif | |
1942 | #ifndef OVERRIDE_TABLE_64_sys_poll | |
1943 | TRACE_SYSCALL_TABLE(sys_poll, sys_poll, 6007, 3) | |
1944 | #endif | |
1945 | #ifndef OVERRIDE_TABLE_64_sys_32_rt_sigaction | |
1946 | TRACE_SYSCALL_TABLE(sys_32_rt_sigaction, sys_32_rt_sigaction, 6013, 4) | |
1947 | #endif | |
1948 | #ifndef OVERRIDE_TABLE_64_sys_32_rt_sigprocmask | |
1949 | TRACE_SYSCALL_TABLE(sys_32_rt_sigprocmask, sys_32_rt_sigprocmask, 6014, 4) | |
1950 | #endif | |
1951 | #ifndef OVERRIDE_TABLE_64_sys_access | |
1952 | TRACE_SYSCALL_TABLE(sys_access, sys_access, 6020, 2) | |
1953 | #endif | |
1954 | #ifndef OVERRIDE_TABLE_64_sys_mincore | |
1955 | TRACE_SYSCALL_TABLE(sys_mincore, sys_mincore, 6026, 3) | |
1956 | #endif | |
1957 | #ifndef OVERRIDE_TABLE_64_sys_shmat | |
1958 | TRACE_SYSCALL_TABLE(sys_shmat, sys_shmat, 6029, 3) | |
1959 | #endif | |
1960 | #ifndef OVERRIDE_TABLE_64_sys_32_sendfile | |
1961 | TRACE_SYSCALL_TABLE(sys_32_sendfile, sys_32_sendfile, 6039, 4) | |
1962 | #endif | |
1963 | #ifndef OVERRIDE_TABLE_64_sys_connect | |
1964 | TRACE_SYSCALL_TABLE(sys_connect, sys_connect, 6041, 3) | |
1965 | #endif | |
1966 | #ifndef OVERRIDE_TABLE_64_sys_accept | |
1967 | TRACE_SYSCALL_TABLE(sys_accept, sys_accept, 6042, 3) | |
1968 | #endif | |
1969 | #ifndef OVERRIDE_TABLE_64_sys_sendto | |
1970 | TRACE_SYSCALL_TABLE(sys_sendto, sys_sendto, 6043, 6) | |
1971 | #endif | |
1972 | #ifndef OVERRIDE_TABLE_64_sys_bind | |
1973 | TRACE_SYSCALL_TABLE(sys_bind, sys_bind, 6048, 3) | |
1974 | #endif | |
1975 | #ifndef OVERRIDE_TABLE_64_sys_getsockname | |
1976 | TRACE_SYSCALL_TABLE(sys_getsockname, sys_getsockname, 6050, 3) | |
1977 | #endif | |
1978 | #ifndef OVERRIDE_TABLE_64_sys_getpeername | |
1979 | TRACE_SYSCALL_TABLE(sys_getpeername, sys_getpeername, 6051, 3) | |
1980 | #endif | |
1981 | #ifndef OVERRIDE_TABLE_64_sys_socketpair | |
1982 | TRACE_SYSCALL_TABLE(sys_socketpair, sys_socketpair, 6052, 4) | |
1983 | #endif | |
1984 | #ifndef OVERRIDE_TABLE_64_sys_getsockopt | |
1985 | TRACE_SYSCALL_TABLE(sys_getsockopt, sys_getsockopt, 6054, 5) | |
1986 | #endif | |
1987 | #ifndef OVERRIDE_TABLE_64_sys_newuname | |
1988 | TRACE_SYSCALL_TABLE(sys_newuname, sys_newuname, 6061, 1) | |
1989 | #endif | |
1990 | #ifndef OVERRIDE_TABLE_64_sys_semop | |
1991 | TRACE_SYSCALL_TABLE(sys_semop, sys_semop, 6063, 3) | |
1992 | #endif | |
1993 | #ifndef OVERRIDE_TABLE_64_sys_shmdt | |
1994 | TRACE_SYSCALL_TABLE(sys_shmdt, sys_shmdt, 6065, 1) | |
1995 | #endif | |
1996 | #ifndef OVERRIDE_TABLE_64_sys_truncate | |
1997 | TRACE_SYSCALL_TABLE(sys_truncate, sys_truncate, 6074, 2) | |
1998 | #endif | |
1999 | #ifndef OVERRIDE_TABLE_64_sys_getcwd | |
2000 | TRACE_SYSCALL_TABLE(sys_getcwd, sys_getcwd, 6077, 2) | |
2001 | #endif | |
2002 | #ifndef OVERRIDE_TABLE_64_sys_chdir | |
2003 | TRACE_SYSCALL_TABLE(sys_chdir, sys_chdir, 6078, 1) | |
2004 | #endif | |
2005 | #ifndef OVERRIDE_TABLE_64_sys_rename | |
2006 | TRACE_SYSCALL_TABLE(sys_rename, sys_rename, 6080, 2) | |
2007 | #endif | |
2008 | #ifndef OVERRIDE_TABLE_64_sys_mkdir | |
2009 | TRACE_SYSCALL_TABLE(sys_mkdir, sys_mkdir, 6081, 2) | |
2010 | #endif | |
2011 | #ifndef OVERRIDE_TABLE_64_sys_rmdir | |
2012 | TRACE_SYSCALL_TABLE(sys_rmdir, sys_rmdir, 6082, 1) | |
2013 | #endif | |
2014 | #ifndef OVERRIDE_TABLE_64_sys_creat | |
2015 | TRACE_SYSCALL_TABLE(sys_creat, sys_creat, 6083, 2) | |
2016 | #endif | |
2017 | #ifndef OVERRIDE_TABLE_64_sys_link | |
2018 | TRACE_SYSCALL_TABLE(sys_link, sys_link, 6084, 2) | |
2019 | #endif | |
2020 | #ifndef OVERRIDE_TABLE_64_sys_unlink | |
2021 | TRACE_SYSCALL_TABLE(sys_unlink, sys_unlink, 6085, 1) | |
2022 | #endif | |
2023 | #ifndef OVERRIDE_TABLE_64_sys_symlink | |
2024 | TRACE_SYSCALL_TABLE(sys_symlink, sys_symlink, 6086, 2) | |
2025 | #endif | |
2026 | #ifndef OVERRIDE_TABLE_64_sys_readlink | |
2027 | TRACE_SYSCALL_TABLE(sys_readlink, sys_readlink, 6087, 3) | |
2028 | #endif | |
2029 | #ifndef OVERRIDE_TABLE_64_sys_chmod | |
2030 | TRACE_SYSCALL_TABLE(sys_chmod, sys_chmod, 6088, 2) | |
2031 | #endif | |
2032 | #ifndef OVERRIDE_TABLE_64_sys_chown | |
2033 | TRACE_SYSCALL_TABLE(sys_chown, sys_chown, 6090, 3) | |
2034 | #endif | |
2035 | #ifndef OVERRIDE_TABLE_64_sys_lchown | |
2036 | TRACE_SYSCALL_TABLE(sys_lchown, sys_lchown, 6092, 3) | |
2037 | #endif | |
2038 | #ifndef OVERRIDE_TABLE_64_sys_syslog | |
2039 | TRACE_SYSCALL_TABLE(sys_syslog, sys_syslog, 6101, 3) | |
2040 | #endif | |
2041 | #ifndef OVERRIDE_TABLE_64_sys_getgroups | |
2042 | TRACE_SYSCALL_TABLE(sys_getgroups, sys_getgroups, 6113, 2) | |
2043 | #endif | |
2044 | #ifndef OVERRIDE_TABLE_64_sys_setgroups | |
2045 | TRACE_SYSCALL_TABLE(sys_setgroups, sys_setgroups, 6114, 2) | |
2046 | #endif | |
2047 | #ifndef OVERRIDE_TABLE_64_sys_getresuid | |
2048 | TRACE_SYSCALL_TABLE(sys_getresuid, sys_getresuid, 6116, 3) | |
2049 | #endif | |
2050 | #ifndef OVERRIDE_TABLE_64_sys_getresgid | |
2051 | TRACE_SYSCALL_TABLE(sys_getresgid, sys_getresgid, 6118, 3) | |
2052 | #endif | |
2053 | #ifndef OVERRIDE_TABLE_64_sys_32_rt_sigpending | |
2054 | TRACE_SYSCALL_TABLE(sys_32_rt_sigpending, sys_32_rt_sigpending, 6125, 2) | |
2055 | #endif | |
2056 | #ifndef OVERRIDE_TABLE_64_sys_32_rt_sigqueueinfo | |
2057 | TRACE_SYSCALL_TABLE(sys_32_rt_sigqueueinfo, sys_32_rt_sigqueueinfo, 6127, 3) | |
2058 | #endif | |
2059 | #ifndef OVERRIDE_TABLE_64_sys_mknod | |
2060 | TRACE_SYSCALL_TABLE(sys_mknod, sys_mknod, 6131, 3) | |
2061 | #endif | |
2062 | #ifndef OVERRIDE_TABLE_64_sys_sched_setparam | |
2063 | TRACE_SYSCALL_TABLE(sys_sched_setparam, sys_sched_setparam, 6139, 2) | |
2064 | #endif | |
2065 | #ifndef OVERRIDE_TABLE_64_sys_sched_getparam | |
2066 | TRACE_SYSCALL_TABLE(sys_sched_getparam, sys_sched_getparam, 6140, 2) | |
2067 | #endif | |
2068 | #ifndef OVERRIDE_TABLE_64_sys_sched_setscheduler | |
2069 | TRACE_SYSCALL_TABLE(sys_sched_setscheduler, sys_sched_setscheduler, 6141, 3) | |
2070 | #endif | |
2071 | #ifndef OVERRIDE_TABLE_64_sys_32_sched_rr_get_interval | |
2072 | TRACE_SYSCALL_TABLE(sys_32_sched_rr_get_interval, sys_32_sched_rr_get_interval, 6145, 2) | |
2073 | #endif | |
2074 | #ifndef OVERRIDE_TABLE_64_sys_pivot_root | |
2075 | TRACE_SYSCALL_TABLE(sys_pivot_root, sys_pivot_root, 6151, 2) | |
2076 | #endif | |
2077 | #ifndef OVERRIDE_TABLE_64_sys_chroot | |
2078 | TRACE_SYSCALL_TABLE(sys_chroot, sys_chroot, 6156, 1) | |
2079 | #endif | |
2080 | #ifndef OVERRIDE_TABLE_64_sys_umount | |
2081 | TRACE_SYSCALL_TABLE(sys_umount, sys_umount, 6161, 2) | |
2082 | #endif | |
2083 | #ifndef OVERRIDE_TABLE_64_sys_swapon | |
2084 | TRACE_SYSCALL_TABLE(sys_swapon, sys_swapon, 6162, 2) | |
2085 | #endif | |
2086 | #ifndef OVERRIDE_TABLE_64_sys_swapoff | |
2087 | TRACE_SYSCALL_TABLE(sys_swapoff, sys_swapoff, 6163, 1) | |
2088 | #endif | |
2089 | #ifndef OVERRIDE_TABLE_64_sys_reboot | |
2090 | TRACE_SYSCALL_TABLE(sys_reboot, sys_reboot, 6164, 4) | |
2091 | #endif | |
2092 | #ifndef OVERRIDE_TABLE_64_sys_sethostname | |
2093 | TRACE_SYSCALL_TABLE(sys_sethostname, sys_sethostname, 6165, 2) | |
2094 | #endif | |
2095 | #ifndef OVERRIDE_TABLE_64_sys_setdomainname | |
2096 | TRACE_SYSCALL_TABLE(sys_setdomainname, sys_setdomainname, 6166, 2) | |
2097 | #endif | |
2098 | #ifndef OVERRIDE_TABLE_64_sys_init_module | |
2099 | TRACE_SYSCALL_TABLE(sys_init_module, sys_init_module, 6168, 3) | |
2100 | #endif | |
2101 | #ifndef OVERRIDE_TABLE_64_sys_delete_module | |
2102 | TRACE_SYSCALL_TABLE(sys_delete_module, sys_delete_module, 6169, 2) | |
2103 | #endif | |
2104 | #ifndef OVERRIDE_TABLE_64_sys_quotactl | |
2105 | TRACE_SYSCALL_TABLE(sys_quotactl, sys_quotactl, 6172, 4) | |
2106 | #endif | |
2107 | #ifndef OVERRIDE_TABLE_64_sys_setxattr | |
2108 | TRACE_SYSCALL_TABLE(sys_setxattr, sys_setxattr, 6180, 5) | |
2109 | #endif | |
2110 | #ifndef OVERRIDE_TABLE_64_sys_lsetxattr | |
2111 | TRACE_SYSCALL_TABLE(sys_lsetxattr, sys_lsetxattr, 6181, 5) | |
2112 | #endif | |
2113 | #ifndef OVERRIDE_TABLE_64_sys_fsetxattr | |
2114 | TRACE_SYSCALL_TABLE(sys_fsetxattr, sys_fsetxattr, 6182, 5) | |
2115 | #endif | |
2116 | #ifndef OVERRIDE_TABLE_64_sys_getxattr | |
2117 | TRACE_SYSCALL_TABLE(sys_getxattr, sys_getxattr, 6183, 4) | |
2118 | #endif | |
2119 | #ifndef OVERRIDE_TABLE_64_sys_lgetxattr | |
2120 | TRACE_SYSCALL_TABLE(sys_lgetxattr, sys_lgetxattr, 6184, 4) | |
2121 | #endif | |
2122 | #ifndef OVERRIDE_TABLE_64_sys_fgetxattr | |
2123 | TRACE_SYSCALL_TABLE(sys_fgetxattr, sys_fgetxattr, 6185, 4) | |
2124 | #endif | |
2125 | #ifndef OVERRIDE_TABLE_64_sys_listxattr | |
2126 | TRACE_SYSCALL_TABLE(sys_listxattr, sys_listxattr, 6186, 3) | |
2127 | #endif | |
2128 | #ifndef OVERRIDE_TABLE_64_sys_llistxattr | |
2129 | TRACE_SYSCALL_TABLE(sys_llistxattr, sys_llistxattr, 6187, 3) | |
2130 | #endif | |
2131 | #ifndef OVERRIDE_TABLE_64_sys_flistxattr | |
2132 | TRACE_SYSCALL_TABLE(sys_flistxattr, sys_flistxattr, 6188, 3) | |
2133 | #endif | |
2134 | #ifndef OVERRIDE_TABLE_64_sys_removexattr | |
2135 | TRACE_SYSCALL_TABLE(sys_removexattr, sys_removexattr, 6189, 2) | |
2136 | #endif | |
2137 | #ifndef OVERRIDE_TABLE_64_sys_lremovexattr | |
2138 | TRACE_SYSCALL_TABLE(sys_lremovexattr, sys_lremovexattr, 6190, 2) | |
2139 | #endif | |
2140 | #ifndef OVERRIDE_TABLE_64_sys_fremovexattr | |
2141 | TRACE_SYSCALL_TABLE(sys_fremovexattr, sys_fremovexattr, 6191, 2) | |
2142 | #endif | |
2143 | #ifndef OVERRIDE_TABLE_64_sys_32_futex | |
2144 | TRACE_SYSCALL_TABLE(sys_32_futex, sys_32_futex, 6194, 6) | |
2145 | #endif | |
2146 | #ifndef OVERRIDE_TABLE_64_sys_cachectl | |
2147 | TRACE_SYSCALL_TABLE(sys_cachectl, sys_cachectl, 6198, 3) | |
2148 | #endif | |
2149 | #ifndef OVERRIDE_TABLE_64_sys_io_cancel | |
2150 | TRACE_SYSCALL_TABLE(sys_io_cancel, sys_io_cancel, 6204, 3) | |
2151 | #endif | |
2152 | #ifndef OVERRIDE_TABLE_64_sys_epoll_ctl | |
2153 | TRACE_SYSCALL_TABLE(sys_epoll_ctl, sys_epoll_ctl, 6208, 4) | |
2154 | #endif | |
2155 | #ifndef OVERRIDE_TABLE_64_sys_epoll_wait | |
2156 | TRACE_SYSCALL_TABLE(sys_epoll_wait, sys_epoll_wait, 6209, 4) | |
2157 | #endif | |
2158 | #ifndef OVERRIDE_TABLE_64_sys_set_tid_address | |
2159 | TRACE_SYSCALL_TABLE(sys_set_tid_address, sys_set_tid_address, 6213, 1) | |
2160 | #endif | |
2161 | #ifndef OVERRIDE_TABLE_64_sys_sendfile64 | |
2162 | TRACE_SYSCALL_TABLE(sys_sendfile64, sys_sendfile64, 6219, 4) | |
2163 | #endif | |
2164 | #ifndef OVERRIDE_TABLE_64_sys_inotify_add_watch | |
2165 | TRACE_SYSCALL_TABLE(sys_inotify_add_watch, sys_inotify_add_watch, 6248, 3) | |
2166 | #endif | |
2167 | #ifndef OVERRIDE_TABLE_64_sys_openat | |
2168 | TRACE_SYSCALL_TABLE(sys_openat, sys_openat, 6251, 4) | |
2169 | #endif | |
2170 | #ifndef OVERRIDE_TABLE_64_sys_mkdirat | |
2171 | TRACE_SYSCALL_TABLE(sys_mkdirat, sys_mkdirat, 6252, 3) | |
2172 | #endif | |
2173 | #ifndef OVERRIDE_TABLE_64_sys_mknodat | |
2174 | TRACE_SYSCALL_TABLE(sys_mknodat, sys_mknodat, 6253, 4) | |
2175 | #endif | |
2176 | #ifndef OVERRIDE_TABLE_64_sys_fchownat | |
2177 | TRACE_SYSCALL_TABLE(sys_fchownat, sys_fchownat, 6254, 5) | |
2178 | #endif | |
2179 | #ifndef OVERRIDE_TABLE_64_sys_newfstatat | |
2180 | TRACE_SYSCALL_TABLE(sys_newfstatat, sys_newfstatat, 6256, 4) | |
2181 | #endif | |
2182 | #ifndef OVERRIDE_TABLE_64_sys_unlinkat | |
2183 | TRACE_SYSCALL_TABLE(sys_unlinkat, sys_unlinkat, 6257, 3) | |
2184 | #endif | |
2185 | #ifndef OVERRIDE_TABLE_64_sys_renameat | |
2186 | TRACE_SYSCALL_TABLE(sys_renameat, sys_renameat, 6258, 4) | |
2187 | #endif | |
2188 | #ifndef OVERRIDE_TABLE_64_sys_linkat | |
2189 | TRACE_SYSCALL_TABLE(sys_linkat, sys_linkat, 6259, 5) | |
2190 | #endif | |
2191 | #ifndef OVERRIDE_TABLE_64_sys_symlinkat | |
2192 | TRACE_SYSCALL_TABLE(sys_symlinkat, sys_symlinkat, 6260, 3) | |
2193 | #endif | |
2194 | #ifndef OVERRIDE_TABLE_64_sys_readlinkat | |
2195 | TRACE_SYSCALL_TABLE(sys_readlinkat, sys_readlinkat, 6261, 4) | |
2196 | #endif | |
2197 | #ifndef OVERRIDE_TABLE_64_sys_fchmodat | |
2198 | TRACE_SYSCALL_TABLE(sys_fchmodat, sys_fchmodat, 6262, 3) | |
2199 | #endif | |
2200 | #ifndef OVERRIDE_TABLE_64_sys_faccessat | |
2201 | TRACE_SYSCALL_TABLE(sys_faccessat, sys_faccessat, 6263, 3) | |
2202 | #endif | |
2203 | #ifndef OVERRIDE_TABLE_64_sys_splice | |
2204 | TRACE_SYSCALL_TABLE(sys_splice, sys_splice, 6267, 6) | |
2205 | #endif | |
2206 | #ifndef OVERRIDE_TABLE_64_sys_getcpu | |
2207 | TRACE_SYSCALL_TABLE(sys_getcpu, sys_getcpu, 6275, 3) | |
2208 | #endif | |
2209 | #ifndef OVERRIDE_TABLE_64_sys_signalfd4 | |
2210 | TRACE_SYSCALL_TABLE(sys_signalfd4, sys_signalfd4, 6287, 4) | |
2211 | #endif | |
2212 | #ifndef OVERRIDE_TABLE_64_sys_pipe2 | |
2213 | TRACE_SYSCALL_TABLE(sys_pipe2, sys_pipe2, 6291, 2) | |
2214 | #endif | |
2215 | #ifndef OVERRIDE_TABLE_64_sys_preadv | |
2216 | TRACE_SYSCALL_TABLE(sys_preadv, sys_preadv, 6293, 5) | |
2217 | #endif | |
2218 | #ifndef OVERRIDE_TABLE_64_sys_pwritev | |
2219 | TRACE_SYSCALL_TABLE(sys_pwritev, sys_pwritev, 6294, 5) | |
2220 | #endif | |
2221 | #ifndef OVERRIDE_TABLE_64_sys_accept4 | |
2222 | TRACE_SYSCALL_TABLE(sys_accept4, sys_accept4, 6297, 4) | |
2223 | #endif | |
2224 | #ifndef OVERRIDE_TABLE_64_sys_getdents64 | |
2225 | TRACE_SYSCALL_TABLE(sys_getdents64, sys_getdents64, 6299, 3) | |
2226 | #endif | |
2227 | #ifndef OVERRIDE_TABLE_64_sys_prlimit64 | |
2228 | TRACE_SYSCALL_TABLE(sys_prlimit64, sys_prlimit64, 6302, 4) | |
2229 | #endif | |
2230 | ||
2231 | #endif /* CREATE_SYSCALL_TABLE */ |
0 | #ifndef CREATE_SYSCALL_TABLE | |
1 | ||
2 | #else /* CREATE_SYSCALL_TABLE */ | |
3 | ||
4 | #define OVERRIDE_TABLE_64_sys_clone | |
5 | TRACE_SYSCALL_TABLE(sys_clone, sys_clone, 5055, 0) | |
6 | ||
7 | #endif /* CREATE_SYSCALL_TABLE */ |
4 | 4 | #ifdef CONFIG_X86_32 |
5 | 5 | #include "x86-32-syscalls-3.1.0-rc6_integers.h" |
6 | 6 | #endif |
7 | ||
8 | #ifdef CONFIG_ARM | |
9 | #include "arm-32-syscalls-2.6.38_integers.h" | |
10 | #endif |
4 | 4 | #ifdef CONFIG_X86_32 |
5 | 5 | #include "x86-32-syscalls-3.1.0-rc6_pointers.h" |
6 | 6 | #endif |
7 | ||
8 | #ifdef CONFIG_ARM | |
9 | #include "arm-32-syscalls-2.6.38_pointers.h" | |
10 | #endif |
0 | 0 | /* |
1 | * this is a place-holder for x86_64 interger syscall definition override. | |
1 | * this is a place-holder for x86_64 integer syscall definition override. | |
2 | 2 | */ |
33 | 33 | #include <linux/list.h> |
34 | 34 | #include <linux/fs.h> |
35 | 35 | #include <linux/mm.h> |
36 | #include <linux/uaccess.h> | |
36 | 37 | |
37 | 38 | /* Internal helpers */ |
38 | 39 | #include "../../wrapper/ringbuffer/backend_internal.h" |
160 | 161 | } |
161 | 162 | |
162 | 163 | /** |
163 | * lib_ring_buffer_copy_from_user - write userspace data to a buffer backend | |
164 | * lib_ring_buffer_copy_from_user_inatomic - write userspace data to a buffer backend | |
164 | 165 | * @config : ring buffer instance configuration |
165 | 166 | * @ctx: ring buffer context. (input arguments only) |
166 | 167 | * @src : userspace source pointer to copy from |
169 | 170 | * This function copies "len" bytes of data from a userspace pointer to a |
170 | 171 | * buffer backend, at the current context offset. This is more or less a buffer |
171 | 172 | * backend-specific memcpy() operation. Calls the slow path |
172 | * (_ring_buffer_write_from_user) if copy is crossing a page boundary. | |
173 | */ | |
174 | static inline | |
175 | void lib_ring_buffer_copy_from_user(const struct lib_ring_buffer_config *config, | |
173 | * (_ring_buffer_write_from_user_inatomic) if copy is crossing a page boundary. | |
174 | * Disable the page fault handler to ensure we never try to take the mmap_sem. | |
175 | */ | |
176 | static inline | |
177 | void lib_ring_buffer_copy_from_user_inatomic(const struct lib_ring_buffer_config *config, | |
176 | 178 | struct lib_ring_buffer_ctx *ctx, |
177 | 179 | const void __user *src, size_t len) |
178 | 180 | { |
184 | 186 | struct lib_ring_buffer_backend_pages *rpages; |
185 | 187 | unsigned long sb_bindex, id; |
186 | 188 | unsigned long ret; |
189 | mm_segment_t old_fs = get_fs(); | |
187 | 190 | |
188 | 191 | offset &= chanb->buf_size - 1; |
189 | 192 | sbidx = offset >> chanb->subbuf_size_order; |
196 | 199 | config->mode == RING_BUFFER_OVERWRITE |
197 | 200 | && subbuffer_id_is_noref(config, id)); |
198 | 201 | |
202 | set_fs(KERNEL_DS); | |
203 | pagefault_disable(); | |
199 | 204 | if (unlikely(!access_ok(VERIFY_READ, src, len))) |
200 | 205 | goto fill_buffer; |
201 | 206 | |
202 | 207 | if (likely(pagecpy == len)) { |
203 | ret = lib_ring_buffer_do_copy_from_user( | |
208 | ret = lib_ring_buffer_do_copy_from_user_inatomic( | |
204 | 209 | rpages->p[index].virt + (offset & ~PAGE_MASK), |
205 | 210 | src, len); |
206 | 211 | if (unlikely(ret > 0)) { |
209 | 214 | goto fill_buffer; |
210 | 215 | } |
211 | 216 | } else { |
212 | _lib_ring_buffer_copy_from_user(bufb, offset, src, len, 0); | |
217 | _lib_ring_buffer_copy_from_user_inatomic(bufb, offset, src, len, 0); | |
213 | 218 | } |
219 | pagefault_enable(); | |
220 | set_fs(old_fs); | |
214 | 221 | ctx->buf_offset += len; |
215 | 222 | |
216 | 223 | return; |
217 | 224 | |
218 | 225 | fill_buffer: |
226 | pagefault_enable(); | |
227 | set_fs(old_fs); | |
219 | 228 | /* |
220 | 229 | * In the error path we call the slow path version to avoid |
221 | 230 | * the pollution of static inline code. |
55 | 55 | extern void _lib_ring_buffer_memset(struct lib_ring_buffer_backend *bufb, |
56 | 56 | size_t offset, int c, size_t len, |
57 | 57 | ssize_t pagecpy); |
58 | extern void _lib_ring_buffer_copy_from_user(struct lib_ring_buffer_backend *bufb, | |
58 | extern void _lib_ring_buffer_copy_from_user_inatomic(struct lib_ring_buffer_backend *bufb, | |
59 | 59 | size_t offset, const void *src, |
60 | 60 | size_t len, ssize_t pagecpy); |
61 | 61 | |
433 | 433 | } while (0) |
434 | 434 | |
435 | 435 | /* |
436 | * We use __copy_from_user to copy userspace data since we already | |
436 | * We use __copy_from_user_inatomic to copy userspace data since we already | |
437 | 437 | * did the access_ok for the whole range. |
438 | 438 | */ |
439 | 439 | static inline |
440 | unsigned long lib_ring_buffer_do_copy_from_user(void *dest, | |
440 | unsigned long lib_ring_buffer_do_copy_from_user_inatomic(void *dest, | |
441 | 441 | const void __user *src, |
442 | 442 | unsigned long len) |
443 | 443 | { |
444 | return __copy_from_user(dest, src, len); | |
444 | return __copy_from_user_inatomic(dest, src, len); | |
445 | 445 | } |
446 | 446 | |
447 | 447 | /* |
558 | 558 | |
559 | 559 | |
560 | 560 | /** |
561 | * lib_ring_buffer_copy_from_user - write user data to a ring_buffer buffer. | |
561 | * lib_ring_buffer_copy_from_user_inatomic - write user data to a ring_buffer buffer. | |
562 | 562 | * @bufb : buffer backend |
563 | 563 | * @offset : offset within the buffer |
564 | 564 | * @src : source address |
569 | 569 | * directly without having the src pointer checked with access_ok() |
570 | 570 | * previously. |
571 | 571 | */ |
572 | void _lib_ring_buffer_copy_from_user(struct lib_ring_buffer_backend *bufb, | |
572 | void _lib_ring_buffer_copy_from_user_inatomic(struct lib_ring_buffer_backend *bufb, | |
573 | 573 | size_t offset, |
574 | 574 | const void __user *src, size_t len, |
575 | 575 | ssize_t pagecpy) |
600 | 600 | rpages = bufb->array[sb_bindex]; |
601 | 601 | CHAN_WARN_ON(chanb, config->mode == RING_BUFFER_OVERWRITE |
602 | 602 | && subbuffer_id_is_noref(config, id)); |
603 | ret = lib_ring_buffer_do_copy_from_user(rpages->p[index].virt | |
603 | ret = lib_ring_buffer_do_copy_from_user_inatomic(rpages->p[index].virt | |
604 | 604 | + (offset & ~PAGE_MASK), |
605 | 605 | src, pagecpy) != 0; |
606 | 606 | if (ret > 0) { |
611 | 611 | } |
612 | 612 | } while (unlikely(len != pagecpy)); |
613 | 613 | } |
614 | EXPORT_SYMBOL_GPL(_lib_ring_buffer_copy_from_user); | |
614 | EXPORT_SYMBOL_GPL(_lib_ring_buffer_copy_from_user_inatomic); | |
615 | 615 | |
616 | 616 | /** |
617 | 617 | * lib_ring_buffer_read - read data from ring_buffer_buffer. |
194 | 194 | ctx); |
195 | 195 | case LTTNG_KERNEL_CONTEXT_PROCNAME: |
196 | 196 | return lttng_add_procname_to_ctx(ctx); |
197 | case LTTNG_KERNEL_CONTEXT_HOSTNAME: | |
198 | return lttng_add_hostname_to_ctx(ctx); | |
197 | 199 | default: |
198 | 200 | return -EINVAL; |
199 | 201 | } |
122 | 122 | LTTNG_KERNEL_CONTEXT_VTID = 7, |
123 | 123 | LTTNG_KERNEL_CONTEXT_PPID = 8, |
124 | 124 | LTTNG_KERNEL_CONTEXT_VPPID = 9, |
125 | LTTNG_KERNEL_CONTEXT_HOSTNAME = 10, | |
125 | 126 | }; |
126 | 127 | |
127 | 128 | struct lttng_kernel_perf_counter_ctx { |
0 | /* | |
1 | * lttng-context-hostname.c | |
2 | * | |
3 | * LTTng hostname context. | |
4 | * | |
5 | * Copyright (C) 2009-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
6 | * | |
7 | * This library is free software; you can redistribute it and/or | |
8 | * modify it under the terms of the GNU Lesser General Public | |
9 | * License as published by the Free Software Foundation; only | |
10 | * version 2.1 of the License. | |
11 | * | |
12 | * This library is distributed in the hope that it will be useful, | |
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
15 | * Lesser General Public License for more details. | |
16 | * | |
17 | * You should have received a copy of the GNU Lesser General Public | |
18 | * License along with this library; if not, write to the Free Software | |
19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
20 | */ | |
21 | ||
22 | #include <linux/module.h> | |
23 | #include <linux/slab.h> | |
24 | #include <linux/sched.h> | |
25 | #include <linux/utsname.h> | |
26 | #include "lttng-events.h" | |
27 | #include "wrapper/ringbuffer/frontend_types.h" | |
28 | #include "wrapper/vmalloc.h" | |
29 | #include "lttng-tracer.h" | |
30 | ||
31 | #define LTTNG_HOSTNAME_CTX_LEN (__NEW_UTS_LEN + 1) | |
32 | ||
33 | static | |
34 | size_t hostname_get_size(size_t offset) | |
35 | { | |
36 | size_t size = 0; | |
37 | ||
38 | size += LTTNG_HOSTNAME_CTX_LEN; | |
39 | return size; | |
40 | } | |
41 | ||
42 | static | |
43 | void hostname_record(struct lttng_ctx_field *field, | |
44 | struct lib_ring_buffer_ctx *ctx, | |
45 | struct lttng_channel *chan) | |
46 | { | |
47 | struct nsproxy *nsproxy; | |
48 | struct uts_namespace *ns; | |
49 | char *hostname; | |
50 | ||
51 | /* | |
52 | * No need to take the RCU read-side lock to read current | |
53 | * nsproxy. (documented in nsproxy.h) | |
54 | */ | |
55 | nsproxy = current->nsproxy; | |
56 | if (nsproxy) { | |
57 | ns = nsproxy->uts_ns; | |
58 | hostname = ns->name.nodename; | |
59 | chan->ops->event_write(ctx, hostname, | |
60 | LTTNG_HOSTNAME_CTX_LEN); | |
61 | } else { | |
62 | chan->ops->event_memset(ctx, 0, | |
63 | LTTNG_HOSTNAME_CTX_LEN); | |
64 | } | |
65 | } | |
66 | ||
67 | int lttng_add_hostname_to_ctx(struct lttng_ctx **ctx) | |
68 | { | |
69 | struct lttng_ctx_field *field; | |
70 | ||
71 | field = lttng_append_context(ctx); | |
72 | if (!field) | |
73 | return -ENOMEM; | |
74 | if (lttng_find_context(*ctx, "hostname")) { | |
75 | lttng_remove_context_field(ctx, field); | |
76 | return -EEXIST; | |
77 | } | |
78 | field->event_field.name = "hostname"; | |
79 | field->event_field.type.atype = atype_array; | |
80 | field->event_field.type.u.array.elem_type.atype = atype_integer; | |
81 | field->event_field.type.u.array.elem_type.u.basic.integer.size = sizeof(char) * CHAR_BIT; | |
82 | field->event_field.type.u.array.elem_type.u.basic.integer.alignment = lttng_alignof(char) * CHAR_BIT; | |
83 | field->event_field.type.u.array.elem_type.u.basic.integer.signedness = is_signed_type(char); | |
84 | field->event_field.type.u.array.elem_type.u.basic.integer.reverse_byte_order = 0; | |
85 | field->event_field.type.u.array.elem_type.u.basic.integer.base = 10; | |
86 | field->event_field.type.u.array.elem_type.u.basic.integer.encoding = lttng_encode_UTF8; | |
87 | field->event_field.type.u.array.length = LTTNG_HOSTNAME_CTX_LEN; | |
88 | ||
89 | field->get_size = hostname_get_size; | |
90 | field->record = hostname_record; | |
91 | wrapper_vmalloc_sync_all(); | |
92 | return 0; | |
93 | } | |
94 | EXPORT_SYMBOL_GPL(lttng_add_hostname_to_ctx); | |
95 | ||
96 | MODULE_LICENSE("GPL and additional rights"); | |
97 | MODULE_AUTHOR("Mathieu Desnoyers"); | |
98 | MODULE_DESCRIPTION("Linux Trace Toolkit Perf Support"); |
45 | 45 | { |
46 | 46 | pid_t ppid; |
47 | 47 | |
48 | ||
49 | /* | |
50 | * TODO: when we eventually add RCU subsystem instrumentation, | |
51 | * taking the rcu read lock here will trigger RCU tracing | |
52 | * recursively. We should modify the kernel synchronization so | |
53 | * it synchronizes both for RCU and RCU sched, and rely on | |
54 | * rcu_read_lock_sched_notrace. | |
55 | */ | |
56 | ||
48 | 57 | rcu_read_lock(); |
49 | 58 | ppid = task_tgid_nr(current->real_parent); |
50 | 59 | rcu_read_unlock(); |
47 | 47 | pid_t vppid; |
48 | 48 | |
49 | 49 | /* |
50 | * nsproxy can be NULL when scheduled out of exit. | |
50 | * current nsproxy can be NULL when scheduled out of exit. pid_vnr uses | |
51 | * the current thread nsproxy to perform the lookup. | |
51 | 52 | */ |
53 | ||
54 | /* | |
55 | * TODO: when we eventually add RCU subsystem instrumentation, | |
56 | * taking the rcu read lock here will trigger RCU tracing | |
57 | * recursively. We should modify the kernel synchronization so | |
58 | * it synchronizes both for RCU and RCU sched, and rely on | |
59 | * rcu_read_lock_sched_notrace. | |
60 | */ | |
61 | ||
52 | 62 | rcu_read_lock(); |
53 | 63 | parent = rcu_dereference(current->real_parent); |
54 | if (!parent->nsproxy) | |
64 | if (!current->nsproxy) | |
55 | 65 | vppid = 0; |
56 | 66 | else |
57 | 67 | vppid = task_tgid_vnr(parent); |
29 | 29 | #include "wrapper/uuid.h" |
30 | 30 | #include "wrapper/vmalloc.h" /* for wrapper_vmalloc_sync_all() */ |
31 | 31 | #include "wrapper/random.h" |
32 | #include "wrapper/tracepoint.h" | |
32 | 33 | #include "lttng-events.h" |
33 | 34 | #include "lttng-tracer.h" |
34 | 35 | |
315 | 316 | event->desc = lttng_event_get(event_param->name); |
316 | 317 | if (!event->desc) |
317 | 318 | goto register_error; |
318 | ret = tracepoint_probe_register(event_param->name, | |
319 | ret = kabi_2635_tracepoint_probe_register(event_param->name, | |
319 | 320 | event->desc->probe_callback, |
320 | 321 | event); |
321 | 322 | if (ret) |
419 | 420 | |
420 | 421 | switch (event->instrumentation) { |
421 | 422 | case LTTNG_KERNEL_TRACEPOINT: |
422 | ret = tracepoint_probe_unregister(event->desc->name, | |
423 | ret = kabi_2635_tracepoint_probe_unregister(event->desc->name, | |
423 | 424 | event->desc->probe_callback, |
424 | 425 | event); |
425 | 426 | if (ret) |
814 | 815 | "struct packet_context {\n" |
815 | 816 | " uint64_clock_monotonic_t timestamp_begin;\n" |
816 | 817 | " uint64_clock_monotonic_t timestamp_end;\n" |
817 | " uint32_t events_discarded;\n" | |
818 | " unsigned long events_discarded;\n" | |
818 | 819 | " uint32_t content_size;\n" |
819 | 820 | " uint32_t packet_size;\n" |
820 | 821 | " uint32_t cpu_id;\n" |
925 | 926 | "typealias integer { size = 16; align = %u; signed = false; } := uint16_t;\n" |
926 | 927 | "typealias integer { size = 32; align = %u; signed = false; } := uint32_t;\n" |
927 | 928 | "typealias integer { size = 64; align = %u; signed = false; } := uint64_t;\n" |
929 | "typealias integer { size = %u; align = %u; signed = false; } := unsigned long;\n" | |
928 | 930 | "typealias integer { size = 5; align = 1; signed = false; } := uint5_t;\n" |
929 | 931 | "typealias integer { size = 27; align = 1; signed = false; } := uint27_t;\n" |
930 | 932 | "\n" |
943 | 945 | lttng_alignof(uint16_t) * CHAR_BIT, |
944 | 946 | lttng_alignof(uint32_t) * CHAR_BIT, |
945 | 947 | lttng_alignof(uint64_t) * CHAR_BIT, |
948 | sizeof(unsigned long) * CHAR_BIT, | |
949 | lttng_alignof(unsigned long) * CHAR_BIT, | |
946 | 950 | CTF_SPEC_MAJOR, |
947 | 951 | CTF_SPEC_MINOR, |
948 | 952 | uuid_s, |
957 | 961 | |
958 | 962 | ret = lttng_metadata_printf(session, |
959 | 963 | "env {\n" |
964 | " hostname = \"%s\";\n" | |
960 | 965 | " domain = \"kernel\";\n" |
961 | 966 | " sysname = \"%s\";\n" |
962 | 967 | " kernel_release = \"%s\";\n" |
966 | 971 | " tracer_minor = %d;\n" |
967 | 972 | " tracer_patchlevel = %d;\n" |
968 | 973 | "};\n\n", |
974 | current->nsproxy->uts_ns->name.nodename, | |
969 | 975 | utsname()->sysname, |
970 | 976 | utsname()->release, |
971 | 977 | utsname()->version, |
22 | 22 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
23 | 23 | */ |
24 | 24 | |
25 | #include <linux/version.h> | |
25 | 26 | #include <linux/list.h> |
26 | 27 | #include <linux/kprobes.h> |
27 | 28 | #include "wrapper/uuid.h" |
319 | 320 | int lttng_probes_init(void); |
320 | 321 | void lttng_probes_exit(void); |
321 | 322 | |
322 | #ifdef CONFIG_HAVE_SYSCALL_TRACEPOINTS | |
323 | #if defined(CONFIG_HAVE_SYSCALL_TRACEPOINTS) | |
323 | 324 | int lttng_syscalls_register(struct lttng_channel *chan, void *filter); |
324 | 325 | int lttng_syscalls_unregister(struct lttng_channel *chan); |
325 | 326 | #else |
348 | 349 | int lttng_add_vtid_to_ctx(struct lttng_ctx **ctx); |
349 | 350 | int lttng_add_ppid_to_ctx(struct lttng_ctx **ctx); |
350 | 351 | int lttng_add_vppid_to_ctx(struct lttng_ctx **ctx); |
352 | int lttng_add_hostname_to_ctx(struct lttng_ctx **ctx); | |
351 | 353 | #if defined(CONFIG_PERF_EVENTS) && (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) |
352 | 354 | int lttng_add_perf_counter_to_ctx(uint32_t type, |
353 | 355 | uint64_t config, |
59 | 59 | /* Stream packet context */ |
60 | 60 | uint64_t timestamp_begin; /* Cycle count at subbuffer start */ |
61 | 61 | uint64_t timestamp_end; /* Cycle count at subbuffer end */ |
62 | uint32_t events_discarded; /* | |
62 | unsigned long events_discarded; /* | |
63 | 63 | * Events lost in this subbuffer since |
64 | 64 | * the beginning of the trace. |
65 | 65 | * (may overflow) |
512 | 512 | void lttng_event_write_from_user(struct lib_ring_buffer_ctx *ctx, |
513 | 513 | const void __user *src, size_t len) |
514 | 514 | { |
515 | lib_ring_buffer_copy_from_user(&client_config, ctx, src, len); | |
515 | lib_ring_buffer_copy_from_user_inatomic(&client_config, ctx, src, len); | |
516 | 516 | } |
517 | 517 | |
518 | 518 | static |
239 | 239 | void lttng_event_write_from_user(struct lib_ring_buffer_ctx *ctx, |
240 | 240 | const void __user *src, size_t len) |
241 | 241 | { |
242 | lib_ring_buffer_copy_from_user(&client_config, ctx, src, len); | |
242 | lib_ring_buffer_copy_from_user_inatomic(&client_config, ctx, src, len); | |
243 | 243 | } |
244 | 244 | |
245 | 245 | static |
47 | 47 | |
48 | 48 | #include "lttng-events.h" |
49 | 49 | #include "wrapper/irqdesc.h" |
50 | #include "wrapper/spinlock.h" | |
50 | 51 | |
51 | 52 | #ifdef CONFIG_GENERIC_HARDIRQS |
52 | 53 | #include <linux/irq.h> |
185 | 186 | return 0; |
186 | 187 | } |
187 | 188 | |
189 | #if 0 | |
190 | /* | |
191 | * FIXME: we cannot take a mmap_sem while in a RCU read-side critical section | |
192 | * (scheduling in atomic). Normally, the tasklist lock protects this kind of | |
193 | * iteration, but it is not exported to modules. | |
194 | */ | |
188 | 195 | static |
189 | 196 | void lttng_enumerate_task_vm_maps(struct lttng_session *session, |
190 | 197 | struct task_struct *p) |
225 | 232 | rcu_read_unlock(); |
226 | 233 | return 0; |
227 | 234 | } |
235 | #endif | |
228 | 236 | |
229 | 237 | #ifdef CONFIG_GENERIC_HARDIRQS |
230 | 238 | |
247 | 255 | irq_desc_get_chip(desc)->name ? : "unnamed_irq_chip"; |
248 | 256 | |
249 | 257 | local_irq_save(flags); |
250 | raw_spin_lock(&desc->lock); | |
258 | wrapper_desc_spin_lock(&desc->lock); | |
251 | 259 | for (action = desc->action; action; action = action->next) { |
252 | 260 | trace_lttng_statedump_interrupt(session, |
253 | 261 | irq, irq_chip_name, action); |
254 | 262 | } |
255 | raw_spin_unlock(&desc->lock); | |
263 | wrapper_desc_spin_unlock(&desc->lock); | |
256 | 264 | local_irq_restore(flags); |
257 | 265 | } |
258 | 266 | #undef irq_to_desc |
263 | 271 | { |
264 | 272 | } |
265 | 273 | #endif |
274 | ||
275 | static | |
276 | void lttng_statedump_process_ns(struct lttng_session *session, | |
277 | struct task_struct *p, | |
278 | enum lttng_thread_type type, | |
279 | enum lttng_execution_mode mode, | |
280 | enum lttng_execution_submode submode, | |
281 | enum lttng_process_status status) | |
282 | { | |
283 | struct nsproxy *proxy; | |
284 | struct pid_namespace *pid_ns; | |
285 | ||
286 | rcu_read_lock(); | |
287 | proxy = task_nsproxy(p); | |
288 | if (proxy) { | |
289 | pid_ns = proxy->pid_ns; | |
290 | do { | |
291 | trace_lttng_statedump_process_state(session, | |
292 | p, type, mode, submode, status, pid_ns); | |
293 | pid_ns = pid_ns->parent; | |
294 | } while (pid_ns); | |
295 | } else { | |
296 | trace_lttng_statedump_process_state(session, | |
297 | p, type, mode, submode, status, NULL); | |
298 | } | |
299 | rcu_read_unlock(); | |
300 | } | |
266 | 301 | |
267 | 302 | static |
268 | 303 | int lttng_enumerate_process_states(struct lttng_session *session) |
313 | 348 | type = LTTNG_USER_THREAD; |
314 | 349 | else |
315 | 350 | type = LTTNG_KERNEL_THREAD; |
316 | trace_lttng_statedump_process_state(session, | |
351 | lttng_statedump_process_ns(session, | |
317 | 352 | p, type, mode, submode, status); |
318 | 353 | task_unlock(p); |
319 | 354 | } while_each_thread(g, p); |
340 | 375 | trace_lttng_statedump_start(session); |
341 | 376 | lttng_enumerate_process_states(session); |
342 | 377 | lttng_enumerate_file_descriptors(session); |
343 | lttng_enumerate_vm_maps(session); | |
378 | /* FIXME lttng_enumerate_vm_maps(session); */ | |
344 | 379 | lttng_list_interrupts(session); |
345 | 380 | lttng_enumerate_network_ip_interface(session); |
346 | 381 |
25 | 25 | #include <asm/ptrace.h> |
26 | 26 | #include <asm/syscall.h> |
27 | 27 | |
28 | #include "wrapper/tracepoint.h" | |
28 | 29 | #include "lttng-events.h" |
29 | 30 | |
30 | 31 | #ifndef CONFIG_COMPAT |
35 | 36 | |
36 | 37 | static |
37 | 38 | void syscall_entry_probe(void *__data, struct pt_regs *regs, long id); |
39 | ||
40 | /* | |
41 | * Forward declarations for old kernels. | |
42 | */ | |
43 | struct mmsghdr; | |
44 | struct rlimit64; | |
45 | struct oldold_utsname; | |
46 | struct old_utsname; | |
47 | struct sel_arg_struct; | |
48 | struct mmap_arg_struct; | |
38 | 49 | |
39 | 50 | /* |
40 | 51 | * Take care of NOARGS not supported by mainline. |
48 | 59 | */ |
49 | 60 | #define LTTNG_PACKAGE_BUILD |
50 | 61 | #define CREATE_TRACE_POINTS |
51 | #define TP_MODULE_OVERRIDE | |
62 | #define TP_MODULE_NOINIT | |
52 | 63 | #define TRACE_INCLUDE_PATH ../instrumentation/syscalls/headers |
53 | 64 | |
54 | 65 | #define PARAMS(args...) args |
106 | 117 | #undef SC_DEFINE_EVENT_NOARGS |
107 | 118 | #undef TP_PROBE_CB |
108 | 119 | |
109 | #undef TP_MODULE_OVERRIDE | |
120 | #undef TP_MODULE_NOINIT | |
110 | 121 | #undef LTTNG_PACKAGE_BUILD |
111 | 122 | #undef CREATE_TRACE_POINTS |
112 | 123 | |
402 | 413 | if (ret) |
403 | 414 | return ret; |
404 | 415 | #endif |
405 | ret = tracepoint_probe_register("sys_enter", | |
416 | ret = kabi_2635_tracepoint_probe_register("sys_enter", | |
406 | 417 | (void *) syscall_entry_probe, chan); |
407 | 418 | if (ret) |
408 | 419 | return ret; |
410 | 421 | * We change the name of sys_exit tracepoint due to namespace |
411 | 422 | * conflict with sys_exit syscall entry. |
412 | 423 | */ |
413 | ret = tracepoint_probe_register("sys_exit", | |
424 | ret = kabi_2635_tracepoint_probe_register("sys_exit", | |
414 | 425 | (void *) __event_probe__exit_syscall, |
415 | 426 | chan->sc_exit); |
416 | 427 | if (ret) { |
417 | WARN_ON_ONCE(tracepoint_probe_unregister("sys_enter", | |
428 | WARN_ON_ONCE(kabi_2635_tracepoint_probe_unregister("sys_enter", | |
418 | 429 | (void *) syscall_entry_probe, chan)); |
419 | 430 | } |
420 | 431 | return ret; |
429 | 440 | |
430 | 441 | if (!chan->sc_table) |
431 | 442 | return 0; |
432 | ret = tracepoint_probe_unregister("sys_exit", | |
443 | ret = kabi_2635_tracepoint_probe_unregister("sys_exit", | |
433 | 444 | (void *) __event_probe__exit_syscall, |
434 | 445 | chan->sc_exit); |
435 | 446 | if (ret) |
436 | 447 | return ret; |
437 | ret = tracepoint_probe_unregister("sys_enter", | |
448 | ret = kabi_2635_tracepoint_probe_unregister("sys_enter", | |
438 | 449 | (void *) syscall_entry_probe, chan); |
439 | 450 | if (ret) |
440 | 451 | return ret; |
38 | 38 | #include "lttng-events.h" |
39 | 39 | |
40 | 40 | #define LTTNG_MODULES_MAJOR_VERSION 2 |
41 | #define LTTNG_MODULES_MINOR_VERSION 0 | |
42 | #define LTTNG_MODULES_PATCHLEVEL_VERSION 4 | |
41 | #define LTTNG_MODULES_MINOR_VERSION 1 | |
42 | #define LTTNG_MODULES_PATCHLEVEL_VERSION 0 | |
43 | 43 | |
44 | #define LTTNG_VERSION_NAME "Annedd'ale" | |
44 | #define LTTNG_VERSION_NAME "Basse Messe" | |
45 | 45 | #define LTTNG_VERSION_DESCRIPTION \ |
46 | "New type of beer, 100% from Quebec, flavored with sapin beaumier needles, with a touch of hops." | |
46 | "Light coloured German ale whose style was named after the city Cologne (Koln) where it was first brewed. It is a rather simple beer with lightly fruity aromas and a delicate hoppy fragrance. The beer has a pronounced malty taste with a subtle bitter aftertaste" | |
47 | 47 | |
48 | 48 | #ifndef CHAR_BIT |
49 | 49 | #define CHAR_BIT 8 |
8 | 8 | obj-m += lttng-types.o |
9 | 9 | |
10 | 10 | obj-m += lttng-probe-lttng.o |
11 | ||
12 | 11 | obj-m += lttng-probe-sched.o |
13 | 12 | obj-m += lttng-probe-irq.o |
14 | obj-m += lttng-probe-signal.o | |
15 | 13 | obj-m += lttng-probe-timer.o |
16 | 14 | |
17 | 15 | obj-m += lttng-probe-statedump.o |
19 | 17 | ifneq ($(CONFIG_KVM),) |
20 | 18 | obj-m += lttng-probe-kvm.o |
21 | 19 | endif |
20 | ||
21 | obj-m += $(shell \ | |
22 | if [ $(VERSION) -ge 3 \ | |
23 | -o \( $(VERSION) -eq 2 -a $(PATCHLEVEL) -ge 6 -a $(SUBLEVEL) -ge 35 \) ] ; then \ | |
24 | echo "lttng-probe-signal.o" ; fi;) | |
22 | 25 | |
23 | 26 | ifneq ($(CONFIG_BLOCK),) |
24 | 27 | ifneq ($(CONFIG_EVENT_TRACING),) # need blk_cmd_buf_len |
124 | 124 | #undef DEFINE_EVENT_PRINT |
125 | 125 | #undef DEFINE_EVENT_CONDITION |
126 | 126 | #undef TRACE_HEADER_MULTI_READ |
127 | #undef DECLARE_TRACE | |
128 | 127 | |
129 | 128 | /* Only undef what we defined in this file */ |
130 | 129 | #ifdef UNDEF_TRACE_INCLUDE_FILE |
21 | 21 | #include <linux/debugfs.h> |
22 | 22 | #include "lttng.h" |
23 | 23 | #include "lttng-types.h" |
24 | #include "lttng-probe-user.h" | |
24 | 25 | #include "../wrapper/vmalloc.h" /* for wrapper_vmalloc_sync_all() */ |
25 | 26 | #include "../wrapper/ringbuffer/frontend_types.h" |
26 | 27 | #include "../lttng-events.h" |
358 | 359 | #undef __string_from_user |
359 | 360 | #define __string_from_user(_item, _src) \ |
360 | 361 | __event_len += __dynamic_len[__dynamic_len_idx++] = \ |
361 | max_t(size_t, strlen_user(_src), 1); | |
362 | max_t(size_t, lttng_strlen_user_inatomic(_src), 1); | |
362 | 363 | |
363 | 364 | #undef TP_PROTO |
364 | 365 | #define TP_PROTO(args...) args |
522 | 523 | } \ |
523 | 524 | goto __end_field_##dest; |
524 | 525 | |
525 | #undef tp_memcpy | |
526 | #define tp_memcpy(dest, src, len) \ | |
526 | /* fixed length array memcpy */ | |
527 | #undef tp_memcpy_gen | |
528 | #define tp_memcpy_gen(write_ops, dest, src, len) \ | |
527 | 529 | __assign_##dest: \ |
528 | 530 | if (0) \ |
529 | 531 | (void) __typemap.dest; \ |
530 | 532 | lib_ring_buffer_align_ctx(&__ctx, lttng_alignof(__typemap.dest)); \ |
531 | __chan->ops->event_write(&__ctx, src, len); \ | |
533 | __chan->ops->write_ops(&__ctx, src, len); \ | |
532 | 534 | goto __end_field_##dest; |
533 | 535 | |
534 | #undef tp_memcpy_dyn | |
535 | #define tp_memcpy_dyn(dest, src) \ | |
536 | #undef tp_memcpy | |
537 | #define tp_memcpy(dest, src, len) \ | |
538 | tp_memcpy_gen(event_write, dest, src, len) | |
539 | ||
540 | #undef tp_memcpy_from_user | |
541 | #define tp_memcpy_from_user(dest, src, len) \ | |
542 | tp_memcpy_gen(event_write_from_user, dest, src, len) | |
543 | ||
544 | /* variable length sequence memcpy */ | |
545 | #undef tp_memcpy_dyn_gen | |
546 | #define tp_memcpy_dyn_gen(write_ops, dest, src) \ | |
536 | 547 | __assign_##dest##_1: \ |
537 | 548 | { \ |
538 | 549 | u32 __tmpl = __dynamic_len[__dynamic_len_idx]; \ |
542 | 553 | goto __end_field_##dest##_1; \ |
543 | 554 | __assign_##dest##_2: \ |
544 | 555 | lib_ring_buffer_align_ctx(&__ctx, lttng_alignof(__typemap.dest)); \ |
545 | __chan->ops->event_write(&__ctx, src, \ | |
556 | __chan->ops->write_ops(&__ctx, src, \ | |
546 | 557 | sizeof(__typemap.dest) * __get_dynamic_array_len(dest));\ |
547 | 558 | goto __end_field_##dest##_2; |
548 | 559 | |
549 | #undef tp_memcpy_from_user | |
550 | #define tp_memcpy_from_user(dest, src, len) \ | |
551 | __assign_##dest: \ | |
552 | if (0) \ | |
553 | (void) __typemap.dest; \ | |
554 | lib_ring_buffer_align_ctx(&__ctx, lttng_alignof(__typemap.dest)); \ | |
555 | __chan->ops->event_write_from_user(&__ctx, src, len); \ | |
556 | goto __end_field_##dest; | |
560 | #undef tp_memcpy_dyn | |
561 | #define tp_memcpy_dyn(dest, src) \ | |
562 | tp_memcpy_dyn_gen(event_write, dest, src) | |
563 | ||
564 | #undef tp_memcpy_dyn_from_user | |
565 | #define tp_memcpy_dyn_from_user(dest, src) \ | |
566 | tp_memcpy_dyn_gen(event_write_from_user, dest, src) | |
557 | 567 | |
558 | 568 | /* |
559 | 569 | * The string length including the final \0. |
704 | 714 | #define module_exit_eval1(_token, _system) module_exit(_token##_system) |
705 | 715 | #define module_exit_eval(_token, _system) module_exit_eval1(_token, _system) |
706 | 716 | |
707 | #ifndef TP_MODULE_OVERRIDE | |
717 | #ifndef TP_MODULE_NOINIT | |
708 | 718 | static int TP_ID(__lttng_events_init__, TRACE_SYSTEM)(void) |
709 | 719 | { |
710 | 720 | wrapper_vmalloc_sync_all(); |
711 | 721 | return lttng_probe_register(&TP_ID(__probe_desc___, TRACE_SYSTEM)); |
712 | 722 | } |
713 | 723 | |
714 | module_init_eval(__lttng_events_init__, TRACE_SYSTEM); | |
715 | ||
716 | 724 | static void TP_ID(__lttng_events_exit__, TRACE_SYSTEM)(void) |
717 | 725 | { |
718 | 726 | lttng_probe_unregister(&TP_ID(__probe_desc___, TRACE_SYSTEM)); |
719 | 727 | } |
720 | 728 | |
729 | #ifndef TP_MODULE_NOAUTOLOAD | |
730 | module_init_eval(__lttng_events_init__, TRACE_SYSTEM); | |
721 | 731 | module_exit_eval(__lttng_events_exit__, TRACE_SYSTEM); |
732 | #endif | |
733 | ||
722 | 734 | #endif |
723 | 735 | |
724 | 736 | #undef module_init_eval |
21 | 21 | |
22 | 22 | #include <linux/module.h> |
23 | 23 | #include <linux/interrupt.h> |
24 | #include "../wrapper/tracepoint.h" | |
24 | 25 | |
25 | 26 | /* |
26 | 27 | * Create the tracepoint static inlines from the kernel to validate that our |
20 | 20 | */ |
21 | 21 | |
22 | 22 | #include <linux/module.h> |
23 | #include "../wrapper/tracepoint.h" | |
23 | 24 | |
24 | 25 | /* |
25 | 26 | * Create the tracepoint static inlines from the kernel to validate that our |
20 | 20 | */ |
21 | 21 | |
22 | 22 | #include <linux/module.h> |
23 | #include "../wrapper/tracepoint.h" | |
23 | 24 | |
24 | 25 | /* |
25 | 26 | * Create the tracepoint static inlines from the kernel to validate that our |
26 | 27 | * trace event macros match the kernel we run on. |
27 | 28 | */ |
29 | ||
28 | 30 | #include <linux/sched.h> |
29 | 31 | #include <trace/events/timer.h> |
30 | 32 |
0 | /* | |
1 | * lttng-probe-user.c | |
2 | * | |
3 | * Copyright (C) 2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
4 | * | |
5 | * This library is free software; you can redistribute it and/or | |
6 | * modify it under the terms of the GNU Lesser General Public | |
7 | * License as published by the Free Software Foundation; only | |
8 | * version 2.1 of the License. | |
9 | * | |
10 | * This library is distributed in the hope that it will be useful, | |
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 | * Lesser General Public License for more details. | |
14 | * | |
15 | * You should have received a copy of the GNU Lesser General Public | |
16 | * License along with this library; if not, write to the Free Software | |
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
18 | */ | |
19 | ||
20 | #include <linux/uaccess.h> | |
21 | #include "lttng-probe-user.h" | |
22 | ||
23 | /* | |
24 | * Calculate string length. Include final null terminating character if there is | |
25 | * one, or ends at first fault. Disabling page faults ensures that we can safely | |
26 | * call this from pretty much any context, including those where the caller | |
27 | * holds mmap_sem, or any lock which nests in mmap_sem. | |
28 | */ | |
29 | long lttng_strlen_user_inatomic(const char *addr) | |
30 | { | |
31 | long count = 0; | |
32 | mm_segment_t old_fs = get_fs(); | |
33 | ||
34 | set_fs(KERNEL_DS); | |
35 | pagefault_disable(); | |
36 | for (;;) { | |
37 | char v; | |
38 | long ret; | |
39 | ||
40 | ret = __copy_from_user_inatomic(&v, | |
41 | (__force const char __user *)(addr), | |
42 | sizeof(v)); | |
43 | if (unlikely(ret == -EFAULT)) | |
44 | break; | |
45 | count++; | |
46 | if (unlikely(!v)) | |
47 | break; | |
48 | addr++; | |
49 | } | |
50 | pagefault_enable(); | |
51 | set_fs(old_fs); | |
52 | return count; | |
53 | } |
0 | #ifndef _LTTNG_PROBE_USER_H | |
1 | #define _LTTNG_PROBE_USER_H | |
2 | ||
3 | /* | |
4 | * lttng-probe-user.h | |
5 | * | |
6 | * Copyright (C) 2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
7 | * | |
8 | * This library is free software; you can redistribute it and/or | |
9 | * modify it under the terms of the GNU Lesser General Public | |
10 | * License as published by the Free Software Foundation; only | |
11 | * version 2.1 of the License. | |
12 | * | |
13 | * This library is distributed in the hope that it will be useful, | |
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
16 | * Lesser General Public License for more details. | |
17 | * | |
18 | * You should have received a copy of the GNU Lesser General Public | |
19 | * License along with this library; if not, write to the Free Software | |
20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
21 | */ | |
22 | ||
23 | /* | |
24 | * Calculate string length. Include final null terminating character if there is | |
25 | * one, or ends at first fault. | |
26 | */ | |
27 | long lttng_strlen_user_inatomic(const char *addr); | |
28 | ||
29 | #endif /* _LTTNG_PROBE_USER_H */ |
31 | 31 | { |
32 | 32 | return perf_event_create_kernel_counter(attr, cpu, task, callback, NULL); |
33 | 33 | } |
34 | #else | |
34 | #else /* defined(CONFIG_PERF_EVENTS) && (LINUX_VERSION_CODE >= KERNEL_VERSION(3,0,99)) */ | |
35 | ||
36 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)) | |
35 | 37 | static inline struct perf_event * |
36 | 38 | wrapper_perf_event_create_kernel_counter(struct perf_event_attr *attr, |
37 | 39 | int cpu, |
40 | 42 | { |
41 | 43 | return perf_event_create_kernel_counter(attr, cpu, task, callback); |
42 | 44 | } |
43 | #endif | |
45 | #else /* (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)) */ | |
46 | static inline struct perf_event * | |
47 | wrapper_perf_event_create_kernel_counter(struct perf_event_attr *attr, | |
48 | int cpu, | |
49 | struct task_struct *task, | |
50 | perf_overflow_handler_t callback) | |
51 | { | |
52 | pid_t pid; | |
53 | ||
54 | if (!task) | |
55 | pid = -1; | |
56 | else | |
57 | pid = task->pid; | |
58 | ||
59 | return perf_event_create_kernel_counter(attr, cpu, pid, callback); | |
60 | } | |
61 | ||
62 | #define local64_read(l) atomic64_read(l) | |
63 | #endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)) */ | |
64 | ||
65 | #endif /* defined(CONFIG_PERF_EVENTS) && (LINUX_VERSION_CODE >= KERNEL_VERSION(3,0,99)) */ | |
44 | 66 | |
45 | 67 | #endif /* _LTTNG_WRAPPER_PERF_H */ |
34 | 34 | |
35 | 35 | #define raw_spin_is_locked(lock) __raw_spin_is_locked(lock) |
36 | 36 | |
37 | #define wrapper_desc_spin_lock(lock) spin_lock(lock) | |
38 | #define wrapper_desc_spin_unlock(lock) spin_unlock(lock) | |
39 | ||
40 | #else | |
41 | ||
42 | #define wrapper_desc_spin_lock(lock) raw_spin_lock(lock) | |
43 | #define wrapper_desc_spin_unlock(lock) raw_spin_unlock(lock) | |
37 | 44 | |
38 | 45 | #endif |
39 | 46 | #endif /* _LTTNG_WRAPPER_SPINLOCK_H */ |
45 | 45 | return (u64) -EIO; |
46 | 46 | |
47 | 47 | ktime = ktime_get(); |
48 | return (u64) ktime.tv64; | |
48 | return ktime_to_ns(ktime); | |
49 | 49 | } |
50 | 50 | |
51 | 51 | static inline u32 trace_clock_read32(void) |
0 | #ifndef _LTTNG_WRAPPER_TRACEPOINT_H | |
1 | #define _LTTNG_WRAPPER_TRACEPOINT_H | |
2 | ||
3 | /* | |
4 | * wrapper/tracepoint.h | |
5 | * | |
6 | * wrapper around DECLARE_EVENT_CLASS. | |
7 | * | |
8 | * Copyright (C) 2011-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
9 | * | |
10 | * This library is free software; you can redistribute it and/or | |
11 | * modify it under the terms of the GNU Lesser General Public | |
12 | * License as published by the Free Software Foundation; only | |
13 | * version 2.1 of the License. | |
14 | * | |
15 | * This library is distributed in the hope that it will be useful, | |
16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
18 | * Lesser General Public License for more details. | |
19 | * | |
20 | * You should have received a copy of the GNU Lesser General Public | |
21 | * License along with this library; if not, write to the Free Software | |
22 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
23 | */ | |
24 | ||
25 | #include <linux/version.h> | |
26 | #include <linux/tracepoint.h> | |
27 | ||
28 | #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35)) | |
29 | ||
30 | #define DECLARE_EVENT_CLASS(name, proto, args, tstruct, assign, print) | |
31 | ||
32 | #endif | |
33 | ||
34 | #ifndef HAVE_KABI_2635_TRACEPOINT | |
35 | ||
36 | #define kabi_2635_tracepoint_probe_register tracepoint_probe_register | |
37 | #define kabi_2635_tracepoint_probe_unregister tracepoint_probe_unregister | |
38 | #define kabi_2635_tracepoint_probe_register_noupdate tracepoint_probe_register_noupdate | |
39 | #define kabi_2635_tracepoint_probe_unregister_noupdate tracepoint_probe_unregister_noupdate | |
40 | ||
41 | #endif /* HAVE_KABI_2635_TRACEPOINT */ | |
42 | ||
43 | #endif /* _LTTNG_WRAPPER_TRACEPOINT_H */ |