X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=libtracing%2Ftracercore.h;h=366145644306ebdc1b422caad900857d8b4e4e07;hb=e541a28d5fdb3b64e972189458d7b2269d1603d4;hp=17322fc8151f2cdb92efd1b83a8d35ee2dc4687e;hpb=183646e613012a150edf2aa814e9bc44fd67e089;p=lttng-ust.git diff --git a/libtracing/tracercore.h b/libtracing/tracercore.h index 17322fc8..36614564 100644 --- a/libtracing/tracercore.h +++ b/libtracing/tracercore.h @@ -8,6 +8,7 @@ #define LTT_CORE_H #include "list.h" +#include "kernelcompat.h" //ust// #include /* ltt's root dir in debugfs */ @@ -34,6 +35,7 @@ struct dentry *get_ltt_root(void); /* Keep track of trap nesting inside LTT */ //ust// DECLARE_PER_CPU(unsigned int, ltt_nesting); +extern unsigned int ltt_nesting; typedef int (*ltt_run_filter_functor)(void *trace, uint16_t eID);