#include <linux/utsname.h>
#include <linux/types.h>
#include <lttng/kernel-version.h>
-#include <wrapper/namespace.h>
#include <wrapper/user_namespace.h>
#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,6,0) || \
LTTNG_RHEL_KERNEL_RANGE(4,18,0,305,0,0, 4,19,0,0,0,0))
TP_ARGS(session, p, cgroup_ns),
TP_FIELDS(
ctf_integer(pid_t, tid, p->pid)
- ctf_integer(unsigned int, ns_inum, cgroup_ns ? cgroup_ns->lttng_ns_inum : 0)
+ ctf_integer(unsigned int, ns_inum, cgroup_ns ? cgroup_ns->ns.inum : 0)
)
)
#endif
TP_FIELDS(
ctf_integer(pid_t, tid, p->pid)
#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,8,0))
- ctf_integer(unsigned int, ns_inum, ipc_ns ? ipc_ns->lttng_ns_inum : 0)
+ ctf_integer(unsigned int, ns_inum, ipc_ns ? ipc_ns->ns.inum : 0)
#endif
)
)
TP_FIELDS(
ctf_integer(pid_t, tid, p->pid)
#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,8,0))
- ctf_integer(unsigned int, ns_inum, mnt_ns ? mnt_ns->lttng_ns_inum : 0)
+ ctf_integer(unsigned int, ns_inum, mnt_ns ? mnt_ns->ns.inum : 0)
#endif
)
)
TP_FIELDS(
ctf_integer(pid_t, tid, p->pid)
#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,8,0))
- ctf_integer(unsigned int, ns_inum, net_ns ? net_ns->lttng_ns_inum : 0)
+ ctf_integer(unsigned int, ns_inum, net_ns ? net_ns->ns.inum : 0)
#endif
)
)
}))
ctf_integer(int, ns_level, pid_ns ? pid_ns->level : 0)
#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,8,0))
- ctf_integer(unsigned int, ns_inum, pid_ns ? pid_ns->lttng_ns_inum : 0)
+ ctf_integer(unsigned int, ns_inum, pid_ns ? pid_ns->ns.inum : 0)
#endif
)
)
ctf_integer(int, ns_level, user_ns ? user_ns->level : 0)
#endif
#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,8,0))
- ctf_integer(unsigned int, ns_inum, user_ns ? user_ns->lttng_ns_inum : 0)
+ ctf_integer(unsigned int, ns_inum, user_ns ? user_ns->ns.inum : 0)
#endif
)
)
TP_FIELDS(
ctf_integer(pid_t, tid, p->pid)
#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,8,0))
- ctf_integer(unsigned int, ns_inum, uts_ns ? uts_ns->lttng_ns_inum : 0)
+ ctf_integer(unsigned int, ns_inum, uts_ns ? uts_ns->ns.inum : 0)
#endif
)
)
TP_ARGS(session, p, time_ns),
TP_FIELDS(
ctf_integer(pid_t, tid, p->pid)
- ctf_integer(unsigned int, ns_inum, time_ns ? time_ns->lttng_ns_inum : 0)
+ ctf_integer(unsigned int, ns_inum, time_ns ? time_ns->ns.inum : 0)
)
)
#endif