Tracepoint API namespacing 'TRACEPOINT_DEFINE'
[lttng-ust.git] / src / lib / lttng-ust-cyg-profile / lttng-ust-cyg-profile.c
index e81e1154f23511597f1126f763b64a2964464d94..8566695cd8bccd72698d0b192a1fbddb33207603 100644 (file)
@@ -9,7 +9,7 @@
 #include <sys/types.h>
 #include <stdio.h>
 
-#define TRACEPOINT_DEFINE
+#define LTTNG_UST_TRACEPOINT_DEFINE
 #define TRACEPOINT_CREATE_PROBES
 #define TP_IP_PARAM func_addr
 #include "lttng-ust-cyg-profile.h"
@@ -22,10 +22,10 @@ void __cyg_profile_func_exit(void *this_fn, void *call_site)
 
 void __cyg_profile_func_enter(void *this_fn, void *call_site)
 {
-       tracepoint(lttng_ust_cyg_profile, func_entry, this_fn, call_site);
+       lttng_ust_tracepoint(lttng_ust_cyg_profile, func_entry, this_fn, call_site);
 }
 
 void __cyg_profile_func_exit(void *this_fn, void *call_site)
 {
-       tracepoint(lttng_ust_cyg_profile, func_exit, this_fn, call_site);
+       lttng_ust_tracepoint(lttng_ust_cyg_profile, func_exit, this_fn, call_site);
 }
This page took 0.023472 seconds and 4 git commands to generate.