+#define OVERRIDE_sys_mmap
+
#ifndef CREATE_SYSCALL_TABLE
+
+TRACE_EVENT(sys_mmap,
+ TP_PROTO(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long off),
+ TP_ARGS(addr, len, prot, flags, fd, off),
+ TP_STRUCT__entry(__field_hex(unsigned long, addr) __field(size_t, len) __field(int, prot) __field(int, flags) __field(int, fd) __field(off_t, offset)),
+ 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, off)),
+ TP_printk()
+)
+
+
#else /* CREATE_SYSCALL_TABLE */
+
+TRACE_SYSCALL_TABLE(sys_mmap, sys_mmap, 9, 6)
+
+
#endif /* CREATE_SYSCALL_TABLE */