X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=probes%2Flttng.c;h=8810fa223893b302b5e0b7c42426e9e2748c1cd4;hb=190c7aecba67479e9d434e793a78caf311a4ddd9;hp=65f9061a641add2b413b70f5197a8936d1b8a7c8;hpb=20591cf76d5dfd42d61a18bd494b40a70a04dd59;p=lttng-modules.git diff --git a/probes/lttng.c b/probes/lttng.c index 65f9061a..8810fa22 100644 --- a/probes/lttng.c +++ b/probes/lttng.c @@ -28,16 +28,17 @@ #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 @@ -128,7 +129,7 @@ error: return ret; } -void __exit lttng_logger_exit(void) +void lttng_logger_exit(void) { __lttng_events_exit__lttng(); if (lttng_logger_dentry)