projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement ustctl_duplicate_ust_object_data
[lttng-ust.git]
/
libringbuffer
/
frontend_internal.h
diff --git
a/libringbuffer/frontend_internal.h
b/libringbuffer/frontend_internal.h
index de705d5b1226d4caaddaeed57b4a2f6f2103e064..a96746dcc53533910e76baaa15ab28e0133fd566 100644
(file)
--- a/
libringbuffer/frontend_internal.h
+++ b/
libringbuffer/frontend_internal.h
@@
-32,6
+32,7
@@
*/
#include <urcu/compiler.h>
*/
#include <urcu/compiler.h>
+#include <urcu/tls-compat.h>
#include <signal.h>
#include <pthread.h>
#include <signal.h>
#include <pthread.h>
@@
-520,6
+521,6
@@
extern void lib_ring_buffer_free(struct lttng_ust_lib_ring_buffer *buf,
struct lttng_ust_shm_handle *handle);
/* Keep track of trap nesting inside ring buffer code */
struct lttng_ust_shm_handle *handle);
/* Keep track of trap nesting inside ring buffer code */
-extern
__thread unsigned int lib_ring_buffer_nesting
;
+extern
DECLARE_URCU_TLS(unsigned int, lib_ring_buffer_nesting)
;
#endif /* _LTTNG_RING_BUFFER_FRONTEND_INTERNAL_H */
#endif /* _LTTNG_RING_BUFFER_FRONTEND_INTERNAL_H */
This page took
0.030658 seconds
and
4
git commands to generate.