X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=instrumentation%2Fsyscalls%2Fheaders%2Fsyscalls_integers_override.h;fp=instrumentation%2Fsyscalls%2Fheaders%2Fsyscalls_integers_override.h;h=29bcefbc849e0f39eaae460766c62d3c89944078;hb=769ad37074a5979b6eef686352c17fb3ba8c9a4d;hp=1f4266fb2bde6fb2ddfb080c0b88888b66e9c101;hpb=397c12b422ce844037885f5c35d824dd5ae4fec6;p=lttng-modules.git diff --git a/instrumentation/syscalls/headers/syscalls_integers_override.h b/instrumentation/syscalls/headers/syscalls_integers_override.h index 1f4266fb..29bcefbc 100644 --- a/instrumentation/syscalls/headers/syscalls_integers_override.h +++ b/instrumentation/syscalls/headers/syscalls_integers_override.h @@ -1,12 +1,14 @@ -#define OVERRIDE_32_mmap -#define OVERRIDE_64_mmap - #ifndef CREATE_SYSCALL_TABLE +#define OVERRIDE_32_mmap +#define OVERRIDE_64_mmap SC_LTTNG_TRACEPOINT_EVENT(mmap, - TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long off), + TP_PROTO(sc_exit(unsigned long ret,) + unsigned long addr, unsigned long len, + unsigned long prot, unsigned long flags, + unsigned long fd, unsigned long off), TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, off), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) + TP_FIELDS(sc_exit(ctf_integer_hex(unsigned long, ret, ret)) sc_in(ctf_integer_hex(unsigned long, addr, addr)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(int, prot, prot))