X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-tracer-core.h;h=ba232f32acf5dc20067a41d15b496653ca1ee1a8;hb=ab12eb57cf3fdd2c25df16a3d1e770a2642b93e8;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..ba232f32 100644 --- a/liblttng-ust/lttng-tracer-core.h +++ b/liblttng-ust/lttng-tracer-core.h @@ -33,8 +33,12 @@ struct lttng_session; struct lttng_channel; struct lttng_event; +struct lttng_ctx_field; +struct lttng_ust_lib_ring_buffer_ctx; +struct lttng_ctx_value; -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 +49,19 @@ const char *lttng_ust_obj_get_name(int id); 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); + +size_t lttng_ust_dummy_get_size(struct lttng_ctx_field *field, size_t offset); +void lttng_ust_dummy_record(struct lttng_ctx_field *field, + struct lttng_ust_lib_ring_buffer_ctx *ctx, + struct lttng_channel *chan); +void lttng_ust_dummy_get_value(struct lttng_ctx_field *field, + struct lttng_ctx_value *value); +int lttng_context_is_app(const char *name); +void lttng_ust_fixup_tls(void); + #endif /* _LTTNG_TRACER_CORE_H */