API change for lttng_destroy_session prototype
[lttng-tools.git] / tests / lttng / kernel_all_events_basic.c
index 52546287f8be9bb97202087a5be0a2264bd680c9..eb46decaee58b100fde99d2a6cae0b2ace415cae 100644 (file)
@@ -93,7 +93,7 @@ int main(int argc, char **argv)
        PRINT_OK();
 
        printf("Destroy tracing session: ");
-       if ((ret = lttng_destroy_session(handle)) < 0) {
+       if ((ret = lttng_destroy_session("test")) < 0) {
                printf("error destroying session: %s\n", lttng_strerror(ret));
        }
        PRINT_OK();
@@ -108,7 +108,7 @@ handle_fail:
 stop_fail:
 start_fail:
 enable_fail:
-       lttng_destroy_session(handle);
+       lttng_destroy_session("test");
        lttng_destroy_handle(handle);
 
     return 1;
This page took 0.023553 seconds and 4 git commands to generate.