Tracepoint API namespacing 'TRACEPOINT_DEFINE'
[lttng-ust.git] / src / lib / lttng-ust-cyg-profile / lttng-ust-cyg-profile-fast.c
index bee7ac04d0da2a987cc52bb4b46431fde5a0be8a..3ea273acb11a2ac51fd7e6ad74279ea14cd93e98 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-fast.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 __attribute__((unused)))
 {
-       tracepoint(lttng_ust_cyg_profile_fast, func_entry, this_fn);
+       lttng_ust_tracepoint(lttng_ust_cyg_profile_fast, func_entry, this_fn);
 }
 
 void __cyg_profile_func_exit(void *this_fn, void *call_site __attribute__((unused)))
 {
-       tracepoint(lttng_ust_cyg_profile_fast, func_exit, this_fn);
+       lttng_ust_tracepoint(lttng_ust_cyg_profile_fast, func_exit, this_fn);
 }
This page took 0.023125 seconds and 4 git commands to generate.