Tracepoint event: add "TP_code_post()"
[lttng-modules.git] / instrumentation / events / lttng-module / sched.h
index 2efff161949556a294e72085ed2e5e7ed0ca6a60..dc30398826546c87cf3b4000d921bd6cdd42014f 100644 (file)
@@ -349,7 +349,7 @@ LTTNG_TRACEPOINT_EVENT_CODE(sched_process_fork,
                unsigned int ns_level;
        ),
 
-       TP_code(
+       TP_code_pre(
                if (child) {
                        struct pid *child_pid;
                        unsigned int i;
@@ -403,7 +403,9 @@ LTTNG_TRACEPOINT_EVENT_CODE(sched_process_fork,
                                child_ns_inum;
                        }))
 #endif
-       )
+       ),
+
+       TP_code_post()
 )
 
 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33))
This page took 0.02365 seconds and 4 git commands to generate.