Use system include paths in probes
[lttng-modules.git] / probes / lttng-test.c
index 2a66f4554374abfebf1dee82fb1b930c576956f0..54be4c7c90a4c89cdfab81fa38c873b451057e80 100644 (file)
 #include <linux/proc_fs.h>
 #include <linux/byteorder/generic.h>
 
-#include "../lttng-events.h"
-#include "../lttng-tracer.h"
-#include "../wrapper/tracepoint.h"
+#include <lttng-events.h>
+#include <lttng-tracer.h>
+#include <wrapper/tracepoint.h>
+#include <wrapper/kstrtox.h>
 
 #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-test
 #define LTTNG_INSTRUMENTATION
-#include "../instrumentation/events/lttng-module/lttng-test.h"
+#include <instrumentation/events/lttng-module/lttng-test.h>
 
 DEFINE_TRACE(lttng_test_filter_event);
 
@@ -76,7 +77,7 @@ ssize_t lttng_test_filter_event_write(struct file *file, const char __user *user
        int ret;
 
        /* Get the number of iterations */
-       ret = kstrtouint_from_user(user_buf, count, 10, &nr_iter);
+       ret = lttng_kstrtouint_from_user(user_buf, count, 10, &nr_iter);
        if (ret) {
                written = ret;
                goto end;
This page took 0.023958 seconds and 4 git commands to generate.