X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=inline;f=liblttng-ust%2Flttng-tracer-core.h;h=87a645447e10b5f2375aa3e145c67a6be4f64b41;hb=7812516de06a65d8bbc9e919fe033a4521c9753e;hp=bce6c2397cd22797b6d7c7104ac107e63b2e90cb;hpb=cefef7a70a723c31ab6a0746c7611f145337dabe;p=lttng-ust.git diff --git a/liblttng-ust/lttng-tracer-core.h b/liblttng-ust/lttng-tracer-core.h index bce6c239..87a64544 100644 --- a/liblttng-ust/lttng-tracer-core.h +++ b/liblttng-ust/lttng-tracer-core.h @@ -44,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); @@ -80,6 +81,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);