Introduce lttng_event_rule_python_logging
[lttng-tools.git] / tests / unit / test_kernel_data.c
index 4ce6f6c745b0bdff5820227e1c26d0f7b573bb50..7ed0453af603b689c918866282b38284b3d03fd6 100644 (file)
@@ -6,13 +6,13 @@
  */
 
 #include <assert.h>
-#include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
 #include <time.h>
 
+#include <common/compat/errno.h>
 #include <bin/lttng-sessiond/trace-kernel.h>
 #include <common/defaults.h>
 
@@ -149,7 +149,7 @@ static void test_create_kernel_event(void)
 
        ok(event->fd == -1 &&
           event->enabled == 1 &&
-          event->event->instrumentation == LTTNG_KERNEL_TRACEPOINT &&
+          event->event->instrumentation == LTTNG_KERNEL_ABI_TRACEPOINT &&
           strlen(event->event->name),
           "Validate kernel event");
 
This page took 0.044508 seconds and 4 git commands to generate.