X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Farch%2Fx86%2Fkvm%2Ftrace.h;h=c36626715884b0a9b492862980e1c8c4fa4c6a3b;hb=fa91fcac4c680df04d6860ff365976d8ad08559b;hp=32c4743e7efae7a58ee60055b5cda3770bda2796;hpb=f127e61ee231d002fb9a7803643a157e06f6d2e2;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/arch/x86/kvm/trace.h b/instrumentation/events/lttng-module/arch/x86/kvm/trace.h index 32c4743e..c3662671 100644 --- a/instrumentation/events/lttng-module/arch/x86/kvm/trace.h +++ b/instrumentation/events/lttng-module/arch/x86/kvm/trace.h @@ -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() ) /*