Introduce API compatibility macros
[lttng-ust.git] / src / lib / lttng-ust-pthread-wrapper / lttng-ust-pthread.c
index c6633fe8592384a0d2b8947270add8775c7de2bc..9b14317b679480bbc7ad5855a6b236da75495152 100644 (file)
@@ -43,10 +43,10 @@ int pthread_mutex_lock(pthread_mutex_t *mutex)
        }
 
        thread_in_trace = 1;
-       tracepoint(lttng_ust_pthread, pthread_mutex_lock_req, mutex,
+       lttng_ust_tracepoint(lttng_ust_pthread, pthread_mutex_lock_req, mutex,
                LTTNG_UST_CALLER_IP());
        retval = mutex_lock(mutex);
-       tracepoint(lttng_ust_pthread, pthread_mutex_lock_acq, mutex,
+       lttng_ust_tracepoint(lttng_ust_pthread, pthread_mutex_lock_acq, mutex,
                retval, LTTNG_UST_CALLER_IP());
        thread_in_trace = 0;
        return retval;
@@ -73,7 +73,7 @@ int pthread_mutex_trylock(pthread_mutex_t *mutex)
 
        thread_in_trace = 1;
        retval = mutex_trylock(mutex);
-       tracepoint(lttng_ust_pthread, pthread_mutex_trylock, mutex,
+       lttng_ust_tracepoint(lttng_ust_pthread, pthread_mutex_trylock, mutex,
                retval, LTTNG_UST_CALLER_IP());
        thread_in_trace = 0;
        return retval;
@@ -100,7 +100,7 @@ int pthread_mutex_unlock(pthread_mutex_t *mutex)
 
        thread_in_trace = 1;
        retval = mutex_unlock(mutex);
-       tracepoint(lttng_ust_pthread, pthread_mutex_unlock, mutex,
+       lttng_ust_tracepoint(lttng_ust_pthread, pthread_mutex_unlock, mutex,
                retval, LTTNG_UST_CALLER_IP());
        thread_in_trace = 0;
        return retval;
This page took 0.024332 seconds and 4 git commands to generate.