Add exclusion data to trace_ust_create_event
[lttng-tools.git] / tests / unit / test_ust_data.c
index c79dbf6f4001a0a20a0a3ba0c3b479d7b9053e96..7c48c5cb35637e5017add8ed6e876dacd5f75c0e 100644 (file)
@@ -33,8 +33,6 @@
 
 #include <tap/tap.h>
 
-#include "utils.h"
-
 /* This path will NEVER be created in this test */
 #define PATH1 "/tmp/.test-junk-lttng"
 
@@ -153,7 +151,7 @@ static void test_create_ust_event(void)
        ev.type = LTTNG_EVENT_TRACEPOINT;
        ev.loglevel_type = LTTNG_EVENT_LOGLEVEL_ALL;
 
-       event = trace_ust_create_event(&ev, NULL);
+       event = trace_ust_create_event(&ev, NULL, NULL);
 
        ok(event != NULL, "Create UST event");
 
@@ -178,6 +176,7 @@ static void test_create_ust_context(void)
 
        ok((int) uctx->ctx.ctx == LTTNG_UST_CONTEXT_VTID,
           "Validate UST context");
+       free(uctx);
 }
 
 int main(int argc, char **argv)
This page took 0.024163 seconds and 4 git commands to generate.