X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Fsched.h;h=e9d73475d37dbf78b9db048bda82ed54b76e3014;hb=6388029c11796f2416f772c1f9aca2ec925774e2;hp=80f85ca4012cb57fa47482005b322a9518f21bbf;hpb=4b4a8b1980b91b11e6d3b628f7285906fa46c676;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/sched.h b/instrumentation/events/lttng-module/sched.h index 80f85ca4..e9d73475 100644 --- a/instrumentation/events/lttng-module/sched.h +++ b/instrumentation/events/lttng-module/sched.h @@ -13,7 +13,6 @@ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,0)) #include #endif -#include #define LTTNG_MAX_PID_NS_LEVEL 32 @@ -466,7 +465,7 @@ LTTNG_TRACEPOINT_EVENT_CODE(sched_process_fork, pid_ns = task_active_pid_ns(parent); if (pid_ns) parent_ns_inum = - pid_ns->lttng_ns_inum; + pid_ns->ns.inum; } parent_ns_inum; })) @@ -486,7 +485,7 @@ LTTNG_TRACEPOINT_EVENT_CODE(sched_process_fork, pid_ns = task_active_pid_ns(child); if (pid_ns) child_ns_inum = - pid_ns->lttng_ns_inum; + pid_ns->ns.inum; } child_ns_inum; }))