X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=libtracing%2Ftracercore.h;h=e5ff00f78edc8c0aa4264a2d79b1f2ae7398707d;hb=1c184644865c13e167b174cd593e80a2c62b2482;hp=17322fc8151f2cdb92efd1b83a8d35ee2dc4687e;hpb=183646e613012a150edf2aa814e9bc44fd67e089;p=lttng-ust.git diff --git a/libtracing/tracercore.h b/libtracing/tracercore.h index 17322fc8..e5ff00f7 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,8 +35,10 @@ 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); +//typedef int (*ltt_run_filter_functor)(void *, __u16); extern ltt_run_filter_functor ltt_run_filter;