Migrate ARM, powerpc, MIPS syscall instrumentation to TP_FIELDS
[lttng-modules.git] / instrumentation / syscalls / headers / arm-32-syscalls-3.4.25_pointers_override.h
index c01d355948c8e6146fb3d29f87b0171659761393..d515e1d06ba4303894a0b699aa653f2cd515431d 100644 (file)
@@ -8,21 +8,14 @@ SC_LTTNG_TRACEPOINT_EVENT(mmap2,
        TP_PROTO(void *addr, size_t len, int prot,
                  int flags, int fd, off_t pgoff),
        TP_ARGS(addr, len, prot, flags, fd, pgoff),
-       TP_STRUCT__entry(
-               __field_hex(void *, addr)
-               __field(size_t, len)
-               __field(int, prot)
-               __field(int, flags)
-               __field(int, fd)
-               __field(off_t, pgoff)),
-       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)),
-       TP_printk()
+       TP_FIELDS(
+               ctf_integer_hex(void *, addr, addr)
+               ctf_integer(size_t, len, len)
+               ctf_integer(int, prot, prot)
+               ctf_integer(int, flags, flags)
+               ctf_integer(int, fd, fd)
+               ctf_integer(off_t, pgoff, pgoff)
+       )
 )
 
 #else  /* CREATE_SYSCALL_TABLE */
This page took 0.023403 seconds and 4 git commands to generate.