1 /* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1)
5 * Copyright (C) 2011-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
6 * 2019 Michael Jeanson <mjeanson@efficios.com>
10 #ifndef _LTTNG_WRAPPER_NAMESPACE_H
11 #define _LTTNG_WRAPPER_NAMESPACE_H
13 #include <lttng-kernel-version.h>
15 #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,19,0))
16 #define lttng_ns_inum ns.inum
18 #define lttng_ns_inum proc_inum
21 #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,5,0))
22 #define lttng_user_ns_parent parent
24 #define lttng_user_ns_parent creator->user_ns
27 #endif /* _LTTNG_WRAPPER_NAMESPACE_H */
This page took 0.029646 seconds and 4 git commands to generate.