add ust_potential_exec, to prepare for execs
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Fri, 25 Sep 2009 19:15:18 +0000 (15:15 -0400)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Fri, 25 Sep 2009 19:15:18 +0000 (15:15 -0400)
libust/tracectl.c

index 1dd71621e0e147ba471c97c02366de92171ccfea..97c515cfa68dcbbf6227c263ebc2dd2714cd256f 100644 (file)
@@ -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
This page took 0.023841 seconds and 4 git commands to generate.