projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add namespace contexts
[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 5b4313a98983bc71cbc649c3e84812aca9921acd..0f34ff15700782428349b9c2a638d16150811666 100644
(file)
--- a/
instrumentation/events/lttng-module/sched.h
+++ b/
instrumentation/events/lttng-module/sched.h
@@
-13,12
+13,7
@@
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,0))
#include <linux/sched/rt.h>
#endif
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,0))
#include <linux/sched/rt.h>
#endif
-
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0))
-#define lttng_proc_inum ns.inum
-#else
-#define lttng_proc_inum proc_inum
-#endif
+#include <wrapper/namespace.h>
#define LTTNG_MAX_PID_NS_LEVEL 32
#define LTTNG_MAX_PID_NS_LEVEL 32
@@
-437,7
+432,7
@@
LTTNG_TRACEPOINT_EVENT_CODE(sched_process_fork,
pid_ns = task_active_pid_ns(parent);
if (pid_ns)
parent_ns_inum =
pid_ns = task_active_pid_ns(parent);
if (pid_ns)
parent_ns_inum =
- pid_ns->lttng_
proc
_inum;
+ pid_ns->lttng_
ns
_inum;
}
parent_ns_inum;
}))
}
parent_ns_inum;
}))
@@
-457,7
+452,7
@@
LTTNG_TRACEPOINT_EVENT_CODE(sched_process_fork,
pid_ns = task_active_pid_ns(child);
if (pid_ns)
child_ns_inum =
pid_ns = task_active_pid_ns(child);
if (pid_ns)
child_ns_inum =
- pid_ns->lttng_
proc
_inum;
+ pid_ns->lttng_
ns
_inum;
}
child_ns_inum;
}))
}
child_ns_inum;
}))
This page took
0.024581 seconds
and
4
git commands to generate.