X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=libust%2Ftracectl.c;h=97c515cfa68dcbbf6227c263ebc2dd2714cd256f;hb=c396a8419a176d0eda4a96a639f1cafb178e6dc7;hp=1dd71621e0e147ba471c97c02366de92171ccfea;hpb=ed1317e78616d3fb99791d4effef7473317c41ec;p=ust.git diff --git a/libust/tracectl.c b/libust/tracectl.c index 1dd7162..97c515c 100644 --- a/libust/tracectl.c +++ b/libust/tracectl.c @@ -1128,6 +1128,13 @@ static void __attribute__((destructor)) keepalive() ustcomm_fini_app(&ustcomm_app); } +void ust_potential_exec(void) +{ + trace_mark(ust, potential_exec, MARK_NOARGS); + + keepalive(); +} + /* Notify ust that there was a fork. This needs to be called inside * the new process, anytime a process whose memory is not shared with * the parent is created. If this function is not called, the events