projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Use negative value for error code of lttng_ust_ctl_duplicate_ust_object_data
[lttng-ust.git]
/
src
/
lib
/
lttng-ust
/
lttng-context-net-ns.c
diff --git
a/src/lib/lttng-ust/lttng-context-net-ns.c
b/src/lib/lttng-ust/lttng-context-net-ns.c
index 5b269c611687997dc0d68e9f5b01129d85b52373..960591c2586e41c0543d2aa975d6c9da5e7a13ff 100644
(file)
--- a/
src/lib/lttng-ust/lttng-context-net-ns.c
+++ b/
src/lib/lttng-ust/lttng-context-net-ns.c
@@
-91,6
+91,7
@@
void lttng_context_net_ns_reset(void)
static
size_t net_ns_get_size(void *priv __attribute__((unused)),
static
size_t net_ns_get_size(void *priv __attribute__((unused)),
+ struct lttng_ust_probe_ctx *probe_ctx __attribute__((unused)),
size_t offset)
{
size_t size = 0;
size_t offset)
{
size_t size = 0;
@@
-102,8
+103,9
@@
size_t net_ns_get_size(void *priv __attribute__((unused)),
static
void net_ns_record(void *priv __attribute__((unused)),
static
void net_ns_record(void *priv __attribute__((unused)),
- struct lttng_ust_ring_buffer_ctx *ctx,
- struct lttng_ust_channel_buffer *chan)
+ struct lttng_ust_probe_ctx *probe_ctx __attribute__((unused)),
+ struct lttng_ust_ring_buffer_ctx *ctx,
+ struct lttng_ust_channel_buffer *chan)
{
ino_t net_ns;
{
ino_t net_ns;
@@
-113,9
+115,10
@@
void net_ns_record(void *priv __attribute__((unused)),
static
void net_ns_get_value(void *priv __attribute__((unused)),
static
void net_ns_get_value(void *priv __attribute__((unused)),
+ struct lttng_ust_probe_ctx *probe_ctx __attribute__((unused)),
struct lttng_ust_ctx_value *value)
{
struct lttng_ust_ctx_value *value)
{
- value->u.
s
64 = get_net_ns();
+ value->u.
u
64 = get_net_ns();
}
static const struct lttng_ust_ctx_field *ctx_field = lttng_ust_static_ctx_field(
}
static const struct lttng_ust_ctx_field *ctx_field = lttng_ust_static_ctx_field(
@@
-148,9
+151,9
@@
error_find_context:
}
/*
}
/*
- *
* Force a read (imply TLS fixup
for dlopen) of TLS variables.
- *
*
/
-void lttng_
fixup_net_ns
_tls(void)
+ *
Force a read (imply TLS allocation
for dlopen) of TLS variables.
+ */
+void lttng_
net_ns_alloc
_tls(void)
{
asm volatile ("" : : "m" (URCU_TLS(cached_net_ns)));
}
{
asm volatile ("" : : "m" (URCU_TLS(cached_net_ns)));
}
This page took
0.025549 seconds
and
4
git commands to generate.