X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=libust%2Ftracectl.c;h=e84a35aecf4e3f979d4cb85163b89e3204ccf45c;hb=37ee34e4d9b9363c758aa43255d71661900e89b0;hp=ae92b7e17577f279d30456622842037d371455ca;hpb=dbd75de7b2c05c98d6171bc531a1ecb23fb7e80d;p=ust.git diff --git a/libust/tracectl.c b/libust/tracectl.c index ae92b7e..e84a35a 100644 --- a/libust/tracectl.c +++ b/libust/tracectl.c @@ -41,7 +41,7 @@ #include #include #include "tracer.h" -#include "usterr.h" +#include "usterr_signal_safe.h" #include "ustcomm.h" #include "buffers.h" #include "marker-control.h" @@ -1236,7 +1236,7 @@ static struct ustcomm_sock * init_app_socket(int epoll_fd) goto free_dir_name; } - result = ensure_dir_exists(dir_name); + result = ensure_dir_exists(dir_name, S_IRWXU); if (result == -1) { ERR("Unable to create socket directory %s, UST thread bailing", dir_name); @@ -1576,7 +1576,7 @@ static void __attribute__((destructor)) keepalive() void ust_potential_exec(void) { - trace_mark(ust, potential_exec, MARK_NOARGS); + trace_mark(potential_exec, MARK_NOARGS); DBG("test");