Fix loglevel handling in test case (API change) and lttng command
[lttng-tools.git] / tests / lttng / ust_global_all_events_basic.c
index 32c39fb5e1cf2a58e66c646d07f974ee56fde2c1..b141057c6b8d4a44c31ee95882f071697fc44b99 100644 (file)
@@ -42,6 +42,8 @@ int main(int argc, char **argv)
 
        memset(&event, 0, sizeof(struct lttng_event));
        event.type = LTTNG_EVENT_TRACEPOINT;
+       event.loglevel[0] = '\0';
+       event.loglevel_type = LTTNG_EVENT_LOGLEVEL;
 
        printf("\nTesting tracing all UST events:\n");
        printf("-----------\n");
This page took 0.02422 seconds and 4 git commands to generate.