X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-tracer-core.h;h=6a918f9b379c3141bd2adf22b63bbba96d88cffb;hb=d1f1110f9563855ede8d1511a4db3b89630ebc1e;hp=392325f30f8d8273926a35dc343d16a97e043242;hpb=bd8c1787628a2703b49c239b0e46613ac6b41131;p=lttng-ust.git diff --git a/liblttng-ust/lttng-tracer-core.h b/liblttng-ust/lttng-tracer-core.h index 392325f3..6a918f9b 100644 --- a/liblttng-ust/lttng-tracer-core.h +++ b/liblttng-ust/lttng-tracer-core.h @@ -34,20 +34,35 @@ struct lttng_ust_lib_ring_buffer_ctx; struct lttng_ctx_value; struct lttng_event_notifier; +LTTNG_HIDDEN int ust_lock(void) __attribute__ ((warn_unused_result)); +LTTNG_HIDDEN void ust_lock_nocheck(void); +LTTNG_HIDDEN void ust_unlock(void); +LTTNG_HIDDEN +void lttng_ust_fixup_tls(void); +LTTNG_HIDDEN void lttng_fixup_event_tls(void); +LTTNG_HIDDEN void lttng_fixup_vtid_tls(void); +LTTNG_HIDDEN void lttng_fixup_procname_tls(void); +LTTNG_HIDDEN void lttng_fixup_cgroup_ns_tls(void); +LTTNG_HIDDEN void lttng_fixup_ipc_ns_tls(void); +LTTNG_HIDDEN void lttng_fixup_net_ns_tls(void); LTTNG_HIDDEN void lttng_fixup_time_ns_tls(void); +LTTNG_HIDDEN void lttng_fixup_uts_ns_tls(void); +LTTNG_HIDDEN +void lttng_ust_fixup_fd_tracker_tls(void); + const char *lttng_ust_obj_get_name(int id); int lttng_get_notify_socket(void *owner); @@ -57,8 +72,6 @@ char* lttng_ust_sockinfo_get_procname(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); @@ -67,12 +80,6 @@ void lttng_ust_dummy_record(struct lttng_ctx_field *field, 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); - -extern void (*lttng_ust_liburcu_bp_before_fork)(void); -extern void (*lttng_ust_liburcu_bp_after_fork_parent)(void); -extern void (*lttng_ust_liburcu_bp_after_fork_child)(void); LTTNG_HIDDEN void lttng_event_notifier_notification_send( @@ -87,6 +94,7 @@ LTTNG_HIDDEN void lttng_counter_transport_unregister(struct lttng_counter_transport *transport); #ifdef HAVE_PERF_EVENT +LTTNG_HIDDEN void lttng_ust_fixup_perf_counter_tls(void); void lttng_perf_lock(void); void lttng_perf_unlock(void);