Send filter expression string to session daemon
[lttng-tools.git] / tests / unit / test_ust_data.c
index 92f8771898b5167ffd47dc7cf32b52bc8e9a95bb..bc3154c288662f149e0409361392239d10fd85f1 100644 (file)
@@ -41,7 +41,7 @@
 /* Number of TAP tests in this file */
 #define NUM_TESTS 10
 
-/* For lttngerr.h */
+/* For error.h */
 int lttng_opt_quiet = 1;
 int lttng_opt_verbose;
 
@@ -124,7 +124,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, NULL);
+       event = trace_ust_create_event(&ev, NULL, NULL, NULL);
 
        ok(event != NULL, "Create UST event");
 
@@ -159,7 +159,7 @@ static void test_create_ust_event_exclusion(void)
        exclusion->count = 1;
        strncpy((char *)(exclusion->names), get_random_string(), LTTNG_SYMBOL_NAME_LEN);
 
-       event = trace_ust_create_event(&ev, NULL, exclusion);
+       event = trace_ust_create_event(&ev, NULL, NULL, exclusion);
 
        ok(event != NULL, "Create UST event with exclusion");
 
This page took 0.023048 seconds and 4 git commands to generate.