Fix: mark generated python bindings files as nodist
[lttng-tools.git] / tests / tools / test_kernel_data_trace.c
index 1edd20d6e09864b126a13b40c91d462f8ad6ab8e..db2064e226f120c935dd912cc1b20ce2e0822d5d 100644 (file)
@@ -103,9 +103,9 @@ static void create_kernel_metadata(void)
        assert(kern->metadata->conf->attr.num_subbuf
                        == DEFAULT_METADATA_SUBBUF_NUM);
        assert(kern->metadata->conf->attr.switch_timer_interval
-                       == DEFAULT_CHANNEL_SWITCH_TIMER);
+                       == DEFAULT_KERNEL_CHANNEL_SWITCH_TIMER);
        assert(kern->metadata->conf->attr.read_timer_interval
-                       == DEFAULT_CHANNEL_READ_TIMER);
+                       == DEFAULT_KERNEL_CHANNEL_READ_TIMER);
        assert(kern->metadata->conf->attr.output
                        == DEFAULT_KERNEL_CHANNEL_OUTPUT);
        PRINT_OK();
@@ -121,7 +121,7 @@ static void create_kernel_channel(void)
        memset(&attr, 0, sizeof(attr));
 
        printf("Creating kernel channel: ");
-       chan = trace_kernel_create_channel(&attr, PATH1);
+       chan = trace_kernel_create_channel(&attr);
        assert(chan != NULL);
        PRINT_OK();
 
@@ -156,7 +156,6 @@ static void create_kernel_event(void)
        printf("Validating kernel event: ");
        assert(event->fd == -1);
        assert(event->enabled == 1);
-       assert(event->ctx == NULL);
        assert(event->event->instrumentation == LTTNG_KERNEL_TRACEPOINT);
        assert(strlen(event->event->name));
        PRINT_OK();
This page took 0.023508 seconds and 4 git commands to generate.