#include <lttng/events-internal.h>
#include <ringbuffer/frontend_types.h>
#include <wrapper/vmalloc.h>
-#include <wrapper/namespace.h>
#include <lttng/tracer.h>
#if defined(CONFIG_IPC_NS) && \
* namespaces, just dereference the pointers.
*/
if (current->nsproxy)
- ipc_ns_inum = current->nsproxy->ipc_ns->lttng_ns_inum;
+ ipc_ns_inum = current->nsproxy->ipc_ns->ns.inum;
chan->ops->event_write(ctx, &ipc_ns_inum, sizeof(ipc_ns_inum), lttng_alignof(ipc_ns_inum));
}
* namespaces, just dereference the pointers.
*/
if (current->nsproxy)
- ipc_ns_inum = current->nsproxy->ipc_ns->lttng_ns_inum;
+ ipc_ns_inum = current->nsproxy->ipc_ns->ns.inum;
value->u.s64 = ipc_ns_inum;
}