convert ltt_nesting to a per_thread variable, and access it with volatile access
[lttng-ust.git] / libust / tracercore.h
index 3113383cfd69184e52cd06f1a81f3b47566f8472..2f3d7c4a3b9fc93c9a85e6eac544a889f00947c8 100644 (file)
@@ -42,8 +42,7 @@ struct ltt_traces {
 extern struct ltt_traces ltt_traces;
 
 /* Keep track of trap nesting inside LTT */
-//ust// DECLARE_PER_CPU(unsigned int, ltt_nesting);
-extern unsigned int ltt_nesting;
+extern __thread int ltt_nesting;
 
 typedef int (*ltt_run_filter_functor)(void *trace, uint16_t eID);
 //typedef int (*ltt_run_filter_functor)(void *, __u16);
This page took 0.02231 seconds and 4 git commands to generate.