X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Farch%2Fx86%2Fkvm%2Ftrace.h;h=c36626715884b0a9b492862980e1c8c4fa4c6a3b;hb=265822ae7c567f883f17d89316b5540eb4447d6f;hp=32c4743e7efae7a58ee60055b5cda3770bda2796;hpb=43803cf2bdfe205fe0e426f7e93507d722ba1feb;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() ) /*