projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename all 'fixup_tls' functions to 'alloc_tls'
[lttng-ust.git]
/
src
/
lib
/
lttng-ust
/
lttng-context-cgroup-ns.c
diff --git
a/src/lib/lttng-ust/lttng-context-cgroup-ns.c
b/src/lib/lttng-ust/lttng-context-cgroup-ns.c
index 3f86f175fcfb41a1410f8486ce2021c6688a46ac..34523ea1ad96b33f2bacdb48860597309283392c 100644
(file)
--- a/
src/lib/lttng-ust/lttng-context-cgroup-ns.c
+++ b/
src/lib/lttng-ust/lttng-context-cgroup-ns.c
@@
-92,6
+92,7
@@
void lttng_context_cgroup_ns_reset(void)
static
size_t cgroup_ns_get_size(void *priv __attribute__((unused)),
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;
size_t offset)
{
size_t size = 0;
@@
-103,8
+104,9
@@
size_t cgroup_ns_get_size(void *priv __attribute__((unused)),
static
void cgroup_ns_record(void *priv __attribute__((unused)),
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;
{
ino_t cgroup_ns;
@@
-115,9
+117,10
@@
void cgroup_ns_record(void *priv __attribute__((unused)),
static
void cgroup_ns_get_value(void *priv __attribute__((unused)),
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)
{
struct lttng_ust_ctx_value *value)
{
- value->u.
s
64 = get_cgroup_ns();
+ value->u.
u
64 = get_cgroup_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(
@@
-150,9
+153,9
@@
error_find_context:
}
/*
}
/*
- *
* 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)));
}
{
asm volatile ("" : : "m" (URCU_TLS(cached_cgroup_ns)));
}
This page took
0.024837 seconds
and
4
git commands to generate.