Update comment
[lttng-ust.git] / tests / fork / ust_tests_fork.h
index 4e078911c2bf81ef8ae08960d4f6452658fbca35..9712064e66cfb734bbf90077eac97b69184cb394 100644 (file)
 #include <lttng/tracepoint.h>
 #include <sys/types.h>
 
-TRACEPOINT_EVENT_NOARGS(ust_tests_fork, before_fork,
+TRACEPOINT_EVENT(ust_tests_fork, before_fork,
+       TP_ARGS(),
        TP_FIELDS()
 )
 
 TRACEPOINT_EVENT(ust_tests_fork, after_fork_child,
-       TP_PROTO(pid_t pid),
-       TP_VARS(pid),
+       TP_ARGS(pid_t, pid),
        TP_FIELDS(
                ctf_integer(pid_t, pid, pid)
        )
 )
 
-TRACEPOINT_EVENT_NOARGS(ust_tests_fork, after_fork_parent,
+TRACEPOINT_EVENT(ust_tests_fork, after_fork_parent,
+       TP_ARGS(),
        TP_FIELDS()
 )
 
-TRACEPOINT_EVENT_NOARGS(ust_tests_fork, after_exec,
+TRACEPOINT_EVENT(ust_tests_fork, after_exec,
+       TP_ARGS(),
        TP_FIELDS()
 )
 
@@ -52,5 +54,5 @@ TRACEPOINT_EVENT_NOARGS(ust_tests_fork, after_exec,
 #undef TRACEPOINT_INCLUDE_FILE
 #define TRACEPOINT_INCLUDE_FILE ust_tests_fork
 
-/* This part must be outside protection */
+/* This part must be outside ifdef protection */
 #include <lttng/tracepoint-event.h>
This page took 0.024965 seconds and 4 git commands to generate.