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-net-ns.c
diff --git
a/src/lttng-context-net-ns.c
b/src/lttng-context-net-ns.c
index 3e3c3944a48e5e0b9af849da646a7f0cf2307396..4bc046db1bf494363dc5dbc41f502e88ebad4808 100644
(file)
--- a/
src/lttng-context-net-ns.c
+++ b/
src/lttng-context-net-ns.c
@@
-18,7
+18,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_NET_NS) && \
#include <lttng/tracer.h>
#if defined(CONFIG_NET_NS) && \
@@
-49,7
+48,7
@@
void net_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)
- net_ns_inum = current->nsproxy->net_ns->
lttng_ns_
inum;
+ net_ns_inum = current->nsproxy->net_ns->
ns.
inum;
chan->ops->event_write(ctx, &net_ns_inum, sizeof(net_ns_inum), lttng_alignof(net_ns_inum));
}
chan->ops->event_write(ctx, &net_ns_inum, sizeof(net_ns_inum), lttng_alignof(net_ns_inum));
}
@@
-69,7
+68,7
@@
void net_ns_get_value(void *priv,
* namespaces, just dereference the pointers.
*/
if (current->nsproxy)
* namespaces, just dereference the pointers.
*/
if (current->nsproxy)
- net_ns_inum = current->nsproxy->net_ns->
lttng_ns_
inum;
+ net_ns_inum = current->nsproxy->net_ns->
ns.
inum;
value->u.s64 = net_ns_inum;
}
value->u.s64 = net_ns_inum;
}
This page took
0.023129 seconds
and
4
git commands to generate.