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-uts-ns.c
diff --git
a/src/lttng-context-uts-ns.c
b/src/lttng-context-uts-ns.c
index 76e7b3d7d01394253d6acba64bfbb5fbbdadb1ec..455b16038bdad31edef3457ddd3fb4168761449e 100644
(file)
--- a/
src/lttng-context-uts-ns.c
+++ b/
src/lttng-context-uts-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_UTS_NS) && \
#include <lttng/tracer.h>
#if defined(CONFIG_UTS_NS) && \
@@
-48,7
+47,7
@@
void uts_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)
- uts_ns_inum = current->nsproxy->uts_ns->
lttng_ns_
inum;
+ uts_ns_inum = current->nsproxy->uts_ns->
ns.
inum;
chan->ops->event_write(ctx, &uts_ns_inum, sizeof(uts_ns_inum), lttng_alignof(uts_ns_inum));
}
chan->ops->event_write(ctx, &uts_ns_inum, sizeof(uts_ns_inum), lttng_alignof(uts_ns_inum));
}
@@
-68,7
+67,7
@@
void uts_ns_get_value(void *priv,
* namespaces, just dereference the pointers.
*/
if (current->nsproxy)
* namespaces, just dereference the pointers.
*/
if (current->nsproxy)
- uts_ns_inum = current->nsproxy->uts_ns->
lttng_ns_
inum;
+ uts_ns_inum = current->nsproxy->uts_ns->
ns.
inum;
value->u.s64 = uts_ns_inum;
}
value->u.s64 = uts_ns_inum;
}
This page took
0.024219 seconds
and
4
git commands to generate.