From: Pierre-Marc Fournier Date: Fri, 25 Sep 2009 19:15:18 +0000 (-0400) Subject: add ust_potential_exec, to prepare for execs X-Git-Tag: v0.1~126 X-Git-Url: https://git.liburcu.org/?a=commitdiff_plain;h=c396a8419a176d0eda4a96a639f1cafb178e6dc7;p=ust.git add ust_potential_exec, to prepare for execs --- 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