X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust%2Ftracepoint-internal.h;h=964b1f0ea791fcd6cfd59fc45d4b1bf095abf11e;hb=ebedc67b171d18b372d9f90329a891a0e934e282;hp=298f78e7313f7e7299b6ffc84f1cdd13a20148f5;hpb=baa1e0bcf6630bd3f9282b82586d1a730f3d7ae2;p=lttng-ust.git diff --git a/liblttng-ust/tracepoint-internal.h b/liblttng-ust/tracepoint-internal.h index 298f78e7..964b1f0e 100644 --- a/liblttng-ust/tracepoint-internal.h +++ b/liblttng-ust/tracepoint-internal.h @@ -20,8 +20,8 @@ */ #include -#include #include +#include #define TRACE_DEFAULT TRACE_DEBUG_LINE @@ -44,13 +44,15 @@ extern int __tracepoint_probe_unregister_queue_release(const char *name, void (*func)(void), void *data); extern void __tracepoint_probe_prune_release_queue(void); +void lttng_ust_synchronize_trace(void); + /* * call after disconnection of last probe implemented within a * shared object before unmapping the library that contains the probe. */ static inline void tracepoint_synchronize_unregister(void) { - synchronize_rcu_bp(); + lttng_ust_synchronize_trace(); } extern void init_tracepoint(void);