remove unneeded constructor priority
[ust.git] / libust / tracectl.c
index faa471461c71c901b9399682ac019f0cb8fe1c13..23f02466d8a4aa3014ebb57726675edce2f14e09 100644 (file)
@@ -27,7 +27,7 @@
 #include <poll.h>
 #include <regex.h>
 
-#include <urcu.h>
+#include <urcu-bp.h>
 
 #include "marker.h"
 #include "tracer.h"
@@ -892,7 +892,7 @@ static void auto_probe_connect(struct marker *m)
 
 }
 
-static void __attribute__((constructor(1000))) init()
+static void __attribute__((constructor)) init()
 {
        int result;
        char* autoprobe_val = NULL;
@@ -1128,7 +1128,7 @@ static void __attribute__((destructor)) keepalive()
        ustcomm_fini_app(&ustcomm_app);
 }
 
-void ust_potential_exec(void)
+noinline void ust_potential_exec(void)
 {
        trace_mark(ust, potential_exec, MARK_NOARGS);
 
@@ -1141,7 +1141,7 @@ void ust_potential_exec(void)
  * of the new process will not be collected.
  */
 
-void ust_fork(void)
+noinline void ust_fork(void)
 {
        struct blocked_consumer *bc;
        struct blocked_consumer *deletable_bc = NULL;
This page took 0.02298 seconds and 4 git commands to generate.