X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=libust%2Ftracercore.h;h=2f3d7c4a3b9fc93c9a85e6eac544a889f00947c8;hb=a4a71875833fd9cbae660c0d36997331710862dd;hp=3113383cfd69184e52cd06f1a81f3b47566f8472;hpb=31607b38d9c0df726f9f100483f2a9d32ac4ceb9;p=lttng-ust.git diff --git a/libust/tracercore.h b/libust/tracercore.h index 3113383c..2f3d7c4a 100644 --- a/libust/tracercore.h +++ b/libust/tracercore.h @@ -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);