X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=liblttng-ust%2Flttng-tracer-core.h;h=7d9beaaf92ca70ae0e48eb317f718ff759e93aee;hb=4ed2398507da76ed80dd09b996242066fa34e2a0;hp=57df175f283d9927ba08fd2841e0f4d980546eca;hpb=246be17ec5a99beae7cc40eede54b4958958d8fb;p=lttng-ust.git diff --git a/liblttng-ust/lttng-tracer-core.h b/liblttng-ust/lttng-tracer-core.h index 57df175f..7d9beaaf 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); @@ -47,4 +48,8 @@ int lttng_get_notify_socket(void *owner); void lttng_ust_sockinfo_session_enabled(void *owner); +void lttng_ust_malloc_wrapper_init(void); + +ssize_t lttng_ust_read(int fd, void *buf, size_t len); + #endif /* _LTTNG_TRACER_CORE_H */