static
size_t cgroup_ns_get_size(void *priv __attribute__((unused)),
+ struct lttng_ust_probe_ctx *probe_ctx __attribute__((unused)),
size_t offset)
{
size_t size = 0;
static
void cgroup_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 cgroup_ns;
static
void cgroup_ns_get_value(void *priv __attribute__((unused)),
+ struct lttng_ust_probe_ctx *probe_ctx __attribute__((unused)),
struct lttng_ust_ctx_value *value)
{
- value->u.s64 = get_cgroup_ns();
+ value->u.u64 = get_cgroup_ns();
}
static const struct lttng_ust_ctx_field *ctx_field = lttng_ust_static_ctx_field(
}
/*
- * * Force a read (imply TLS fixup for dlopen) of TLS variables.
- * */
-void lttng_fixup_cgroup_ns_tls(void)
+ * Force a read (imply TLS allocation for dlopen) of TLS variables.
+ */
+void lttng_cgroup_ns_alloc_tls(void)
{
asm volatile ("" : : "m" (URCU_TLS(cached_cgroup_ns)));
}