diff options
Diffstat (limited to 'ipc/syscall.c')
-rw-r--r-- | ipc/syscall.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ipc/syscall.c b/ipc/syscall.c index 1d6f53f6b56..daf35cd9e4e 100644 --- a/ipc/syscall.c +++ b/ipc/syscall.c @@ -12,6 +12,9 @@ #include <linux/shm.h> #include <linux/syscalls.h> #include <linux/uaccess.h> +#include <trace/ipc.h> + +DEFINE_TRACE(ipc_call); SYSCALL_DEFINE6(ipc, unsigned int, call, int, first, unsigned long, second, unsigned long, third, void __user *, ptr, long, fifth) @@ -21,6 +24,8 @@ SYSCALL_DEFINE6(ipc, unsigned int, call, int, first, unsigned long, second, version = call >> 16; /* hack for backward compatibility */ call &= 0xffff; + trace_ipc_call(call, first); + switch (call) { case SEMOP: return sys_semtimedop(first, (struct sembuf __user *)ptr, |