projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Drop 'wrapper/namespace.h' wrapper
[lttng-modules.git]
/
src
/
lttng-context-cgroup-ns.c
diff --git
a/src/lttng-context-cgroup-ns.c
b/src/lttng-context-cgroup-ns.c
index 656ab8fb1d445444433be98fa475f7e47110fb39..27659db8334e92adcc8dbbc2bfa9da71402020a2 100644
(file)
--- a/
src/lttng-context-cgroup-ns.c
+++ b/
src/lttng-context-cgroup-ns.c
@@
-17,7
+17,6
@@
#include <lttng/events-internal.h>
#include <ringbuffer/frontend_types.h>
#include <wrapper/vmalloc.h>
#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_CGROUPS) && \
#include <lttng/tracer.h>
#if defined(CONFIG_CGROUPS) && \
@@
-49,7
+48,7
@@
void cgroup_ns_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx,
* namespaces, just dereference the pointers.
*/
if (current->nsproxy)
* namespaces, just dereference the pointers.
*/
if (current->nsproxy)
- cgroup_ns_inum = current->nsproxy->cgroup_ns->
lttng_ns_
inum;
+ cgroup_ns_inum = current->nsproxy->cgroup_ns->
ns.
inum;
chan->ops->event_write(ctx, &cgroup_ns_inum, sizeof(cgroup_ns_inum), lttng_alignof(cgroup_ns_inum));
}
chan->ops->event_write(ctx, &cgroup_ns_inum, sizeof(cgroup_ns_inum), lttng_alignof(cgroup_ns_inum));
}
@@
-69,7
+68,7
@@
void cgroup_ns_get_value(void *priv,
* namespaces, just dereference the pointers.
*/
if (current->nsproxy)
* namespaces, just dereference the pointers.
*/
if (current->nsproxy)
- cgroup_ns_inum = current->nsproxy->cgroup_ns->
lttng_ns_
inum;
+ cgroup_ns_inum = current->nsproxy->cgroup_ns->
ns.
inum;
value->u.s64 = cgroup_ns_inum;
}
value->u.s64 = cgroup_ns_inum;
}
This page took
0.023654 seconds
and
4
git commands to generate.