projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tracepoint event: add "TP_code_post()"
[lttng-modules.git]
/
instrumentation
/
events
/
lttng-module
/
arch
/
x86
/
kvm
/
trace.h
diff --git
a/instrumentation/events/lttng-module/arch/x86/kvm/trace.h
b/instrumentation/events/lttng-module/arch/x86/kvm/trace.h
index 32c4743e7efae7a58ee60055b5cda3770bda2796..c36626715884b0a9b492862980e1c8c4fa4c6a3b 100644
(file)
--- 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;
),
u64 info1, info2;
),
- TP_code(
+ TP_code
_pre
(
kvm_x86_ops->get_exit_info(vcpu, &tp_locvar->info1,
&tp_locvar->info2);
),
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)
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.023603 seconds
and
4
git commands to generate.