X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=probes%2Flttng.c;h=58aa51548d2c1baa00f481d9d43dc3cd4e22870b;hb=65c85aa61984217039857513bbe988036f371693;hp=80256876ceac417173c464a498bb875ace324a97;hpb=0c95667685cf8612eb0d231883874c173b7bb5a1;p=lttng-modules.git diff --git a/probes/lttng.c b/probes/lttng.c index 80256876..58aa5154 100644 --- a/probes/lttng.c +++ b/probes/lttng.c @@ -28,21 +28,24 @@ #include #include #include -#include "../wrapper/vmalloc.h" -#include "../lttng-events.h" +#include +#include #define TP_MODULE_NOAUTOLOAD #define LTTNG_PACKAGE_BUILD #define CREATE_TRACE_POINTS -#define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module +#define TRACE_INCLUDE_PATH instrumentation/events/lttng-module #define TRACE_INCLUDE_FILE lttng +#define LTTNG_INSTRUMENTATION -#include "../instrumentation/events/lttng-module/lttng.h" +#include /* Events written through logger are truncated at 1024 bytes */ #define LTTNG_LOGGER_COUNT_MAX 1024 #define LTTNG_LOGGER_FILE "lttng-logger" +DEFINE_TRACE(lttng_logger); + static struct proc_dir_entry *lttng_logger_dentry; /**