Tracepoint event: add "TP_code_post()"
[lttng-modules.git] / instrumentation / events / lttng-module / arch / x86 / kvm / trace.h
index 32c4743e7efae7a58ee60055b5cda3770bda2796..c36626715884b0a9b492862980e1c8c4fa4c6a3b 100644 (file)
@@ -122,7 +122,7 @@ LTTNG_TRACEPOINT_EVENT_CODE(kvm_exit,
                u64 info1, info2;
        ),
 
-       TP_code(
+       TP_code_pre(
                kvm_x86_ops->get_exit_info(vcpu, &tp_locvar->info1,
                                &tp_locvar->info2);
        ),
@@ -133,7 +133,9 @@ LTTNG_TRACEPOINT_EVENT_CODE(kvm_exit,
                ctf_integer(u32, isa, isa)
                ctf_integer(u64, info1, tp_locvar->info1)
                ctf_integer(u64, info2, tp_locvar->info2)
-       )
+       ),
+
+       TP_code_post()
 )
 
 /*
This page took 0.024194 seconds and 4 git commands to generate.