X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=liblttng-ust%2Flttng-tracer-core.h;h=44aca749c6c04553702e2ecd54313657bd27b777;hb=97c7c238f60194565d4839e38e712414c22494e3;hp=f2e95674b2373b2dd8ed7bb194c64e9ad37c57f8;hpb=74d81a6cca2cd4a7718bba9368f382f9f2fbba84;p=lttng-ust.git diff --git a/liblttng-ust/lttng-tracer-core.h b/liblttng-ust/lttng-tracer-core.h index f2e95674..44aca749 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); @@ -43,4 +47,20 @@ void lttng_fixup_procname_tls(void); 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); + #endif /* _LTTNG_TRACER_CORE_H */