X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-tracer-core.h;h=f7e61f05f7414b55424c07994986790b4d86b5ab;hb=3327ac33b865cf2ee76934ded1c4b3b177edc3b9;hp=f643a7e5023f85fcb8091b56930d7cfaa8d0f95a;hpb=32ce85691c17b331072b1c0df96f69e8b388d134;p=lttng-ust.git diff --git a/liblttng-ust/lttng-tracer-core.h b/liblttng-ust/lttng-tracer-core.h index f643a7e5..f7e61f05 100644 --- a/liblttng-ust/lttng-tracer-core.h +++ b/liblttng-ust/lttng-tracer-core.h @@ -34,7 +34,8 @@ struct lttng_session; struct lttng_channel; struct lttng_event; -void ust_lock(void); +int ust_lock(void) __attribute__ ((warn_unused_result)); +void ust_lock_nocheck(void); void ust_unlock(void); void lttng_fixup_event_tls(void); @@ -45,4 +46,6 @@ const char *lttng_ust_obj_get_name(int id); int lttng_get_notify_socket(void *owner); +void lttng_ust_sockinfo_session_enabled(void *owner); + #endif /* _LTTNG_TRACER_CORE_H */