Fix benchmark and missing tracepoint
[lttng-tools.git] / benchmark / bench-sessions.c
index f56312e35d96231f8c2ba7a8bfab95c3cc5b9b7b..440b26e787874ebbe92c06450d2afac8c3576647 100644 (file)
@@ -25,7 +25,7 @@
 #include <unistd.h>
 #include <time.h>
 
-#include "lttng-sessiond/session.h"
+#include <bin/lttng-sessiond/session.h>
 #include "utils.h"
 #include "benchmark.h"
 
@@ -89,7 +89,7 @@ int main(int argc, char **argv)
                names[i] = get_random_string();
                ret = system("echo 3 >/proc/sys/vm/drop_caches");
                tracepoint(create_session_start);
-               ret = session_create(names[i], PATH1);
+               ret = session_create(names[i], PATH1, getuid(), getgid());
                tracepoint(create_session_end);
                if (ret < 0) {
                        printf("Create session went wrong. Aborting\n");
This page took 0.022501 seconds and 4 git commands to generate.