Add exclusion data to trace_ust_create_event
[lttng-tools.git] / tests / unit / test_ust_data.c
index 4b9ac64b3d47cae1fe72bdd56a79e21ccf12ec22..7c48c5cb35637e5017add8ed6e876dacd5f75c0e 100644 (file)
@@ -151,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");
 
@@ -176,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.023151 seconds and 4 git commands to generate.