X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-tracer-core.h;h=e303dd7124ee798605d37392a2154137b5d07d7b;hb=3046e0bf3ba02bb4d29db5410bfcb6d6aca9ae6f;hp=bd837237590201f89b2fcd3eaa6363964037e1c1;hpb=94be38e8fd2d71397f79c0a368ba95678052e32d;p=lttng-ust.git diff --git a/liblttng-ust/lttng-tracer-core.h b/liblttng-ust/lttng-tracer-core.h index bd837237..e303dd71 100644 --- a/liblttng-ust/lttng-tracer-core.h +++ b/liblttng-ust/lttng-tracer-core.h @@ -21,7 +21,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#include #include #include #include @@ -45,6 +44,7 @@ struct lttng_event; struct lttng_ctx_field; struct lttng_ust_lib_ring_buffer_ctx; struct lttng_ctx_value; +struct lttng_event_notifier; int ust_lock(void) __attribute__ ((warn_unused_result)); void ust_lock_nocheck(void); @@ -56,6 +56,8 @@ void lttng_fixup_procname_tls(void); void lttng_fixup_cgroup_ns_tls(void); void lttng_fixup_ipc_ns_tls(void); void lttng_fixup_net_ns_tls(void); +LTTNG_HIDDEN +void lttng_fixup_time_ns_tls(void); void lttng_fixup_uts_ns_tls(void); const char *lttng_ust_obj_get_name(int id); @@ -80,6 +82,15 @@ void lttng_ust_dummy_get_value(struct lttng_ctx_field *field, 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( + struct lttng_event_notifier *event_notifier, + const char *stack_data); + #ifdef LTTNG_UST_HAVE_PERF_EVENT void lttng_ust_fixup_perf_counter_tls(void); void lttng_perf_lock(void);