X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=libust%2Ftracectl.c;h=af0149a5cb82a9d41c59c253ff6343a5d7f2d028;hb=73850001f047388d242925d14d2493cfa11916fb;hp=c72d013d7535a5539960e4d111ad24b39bcc6e54;hpb=83d5c36238fba656181d36faadac7e48a7eab118;p=ust.git diff --git a/libust/tracectl.c b/libust/tracectl.c index c72d013..af0149a 100644 --- a/libust/tracectl.c +++ b/libust/tracectl.c @@ -1455,6 +1455,10 @@ static void ust_fork(void) /* FIXME: technically, the locks could have been taken before the fork */ DBG("ust: forking"); + + /* break lock if necessary */ + ltt_unlock_traces(); + ltt_trace_stop("auto"); ltt_trace_destroy("auto", 1); /* Delete all active connections */