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
/
sched.h
diff --git
a/instrumentation/events/lttng-module/sched.h
b/instrumentation/events/lttng-module/sched.h
index 2efff161949556a294e72085ed2e5e7ed0ca6a60..dc30398826546c87cf3b4000d921bd6cdd42014f 100644
(file)
--- a/
instrumentation/events/lttng-module/sched.h
+++ b/
instrumentation/events/lttng-module/sched.h
@@
-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.027649 seconds
and
4
git commands to generate.