X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=libust%2Ftracercore.h;h=2f3d7c4a3b9fc93c9a85e6eac544a889f00947c8;hb=d73b06ee279339fd46d9fd5856da205ddd1c24fd;hp=3113383cfd69184e52cd06f1a81f3b47566f8472;hpb=b73a4c471dc987ea8548632dffb3c7050de77dd0;p=ust.git diff --git a/libust/tracercore.h b/libust/tracercore.h index 3113383..2f3d7c4 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);