Cleanup list command printout for loglevel
[lttng-tools.git] / tests / test_kernel_data_trace.c
index 548714e94ffc8bb8fa79f6b45a0120b9905b4ba5..6dba1f523a42089c38f70ead89cf48482d345887 100644 (file)
@@ -25,7 +25,9 @@
 #include <unistd.h>
 #include <time.h>
 
-#include "ltt-sessiond/trace-kernel.h"
+#include <bin/lttng-sessiond/trace-kernel.h>
+#include <common/defaults.h>
+
 #include "utils.h"
 
 /* This path will NEVER be created in this test */
@@ -139,7 +141,7 @@ static void create_kernel_event(void)
        struct ltt_kernel_event *event;
        struct lttng_event ev;
 
-       strncpy(ev.name, get_random_string(), LTTNG_SYM_NAME_LEN);
+       strncpy(ev.name, get_random_string(), LTTNG_KERNEL_SYM_NAME_LEN);
        ev.type = LTTNG_EVENT_TRACEPOINT;
 
        printf("Creating kernel event: ");
This page took 0.023216 seconds and 4 git commands to generate.