X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=libust%2Ftracercore.h;h=2f3d7c4a3b9fc93c9a85e6eac544a889f00947c8;hb=015d08b66af5ebd10665aa90f5426930e56c540d;hp=3113383cfd69184e52cd06f1a81f3b47566f8472;hpb=719569e4967369c8a2e952346250f3bf97fec5f4;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);