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
/
common
/
ringbuffer
/
ring_buffer_frontend.c
diff --git
a/src/common/ringbuffer/ring_buffer_frontend.c
b/src/common/ringbuffer/ring_buffer_frontend.c
index 5a9117f6ef053736e12952874cdbc0a3e44cb1c4..62543fa2b6e63499daea3dcad231065e94b1da4e 100644
(file)
--- a/
src/common/ringbuffer/ring_buffer_frontend.c
+++ b/
src/common/ringbuffer/ring_buffer_frontend.c
@@
-55,7
+55,7
@@
#include <lttng/ust-utils.h>
#include <lttng/ust-ringbuffer-context.h>
#include <lttng/ust-utils.h>
#include <lttng/ust-ringbuffer-context.h>
-#include "smp.h"
+#include "
common/
smp.h"
#include "ringbuffer-config.h"
#include "vatomic.h"
#include "backend.h"
#include "ringbuffer-config.h"
#include "vatomic.h"
#include "backend.h"
@@
-78,6
+78,8
@@
/*
* Non-static to ensure the compiler does not optimize away the xor.
*/
/*
* Non-static to ensure the compiler does not optimize away the xor.
*/
+uint8_t lttng_crash_magic_xor[]
+ __attribute__((visibility("hidden")));
uint8_t lttng_crash_magic_xor[] = RB_CRASH_DUMP_ABI_MAGIC_XOR;
/*
uint8_t lttng_crash_magic_xor[] = RB_CRASH_DUMP_ABI_MAGIC_XOR;
/*
@@
-2556,9
+2558,9
@@
void lib_ring_buffer_check_deliver_slow(const struct lttng_ust_ring_buffer_confi
}
/*
}
/*
- * Force a read (imply TLS
fixup
for dlopen) of TLS variables.
+ * Force a read (imply TLS
allocation
for dlopen) of TLS variables.
*/
*/
-void lttng_
fixup_ringbuffer
_tls(void)
+void lttng_
ringbuffer_alloc
_tls(void)
{
asm volatile ("" : : "m" (URCU_TLS(lib_ring_buffer_nesting)));
}
{
asm volatile ("" : : "m" (URCU_TLS(lib_ring_buffer_nesting)));
}
This page took
0.023502 seconds
and
4
git commands to generate.