#include <urcu/arch.h>
#include <urcu/list.h>
#include <lttng/ust-tracer.h>
-#include <lttng/bug.h>
-#include <lttng/ringbuffer-config.h>
+#include <lttng/ringbuffer-context.h>
#include <usterr-signal-safe.h>
/*
*/
#define LTTNG_PROC_NS_PATH_MAX 40
-struct lttng_session;
-struct lttng_channel;
-struct lttng_event;
-struct lttng_ctx_field;
+struct lttng_ust_session;
+struct lttng_ust_channel_buffer;
+struct lttng_ust_ctx_field;
struct lttng_ust_lib_ring_buffer_ctx;
-struct lttng_ctx_value;
+struct lttng_ust_ctx_value;
+struct lttng_ust_event_recorder;
struct lttng_ust_event_notifier;
+struct lttng_ust_notification_ctx;
__attribute__((visibility("hidden")))
int ust_lock(void) __attribute__ ((warn_unused_result));
ssize_t lttng_ust_read(int fd, void *buf, size_t len);
__attribute__((visibility("hidden")))
-size_t lttng_ust_dummy_get_size(struct lttng_ctx_field *field, size_t offset);
+size_t lttng_ust_dummy_get_size(struct lttng_ust_ctx_field *field, size_t offset);
__attribute__((visibility("hidden")))
-void lttng_ust_dummy_record(struct lttng_ctx_field *field,
+void lttng_ust_dummy_record(struct lttng_ust_ctx_field *field,
struct lttng_ust_lib_ring_buffer_ctx *ctx,
- struct lttng_channel *chan);
+ struct lttng_ust_channel_buffer *chan);
__attribute__((visibility("hidden")))
-void lttng_ust_dummy_get_value(struct lttng_ctx_field *field,
- struct lttng_ctx_value *value);
+void lttng_ust_dummy_get_value(struct lttng_ust_ctx_field *field,
+ struct lttng_ust_ctx_value *value);
__attribute__((visibility("hidden")))
void lttng_event_notifier_notification_send(
struct lttng_ust_event_notifier *event_notifier,
- const char *stack_data);
+ const char *stack_data,
+ struct lttng_ust_notification_ctx *notif_ctx);
__attribute__((visibility("hidden")))
struct lttng_counter_transport *lttng_counter_transport_find(const char *name);
__attribute__((visibility("hidden")))
void lttng_counter_transport_unregister(struct lttng_counter_transport *transport);
-#ifdef HAVE_PERF_EVENT
+#ifdef HAVE_LINUX_PERF_EVENT_H
__attribute__((visibility("hidden")))
void lttng_ust_fixup_perf_counter_tls(void);
__attribute__((visibility("hidden")))
void lttng_perf_unlock(void);
-#else /* #ifdef HAVE_PERF_EVENT */
+#else /* #ifdef HAVE_LINUX_PERF_EVENT_H */
static inline
void lttng_ust_fixup_perf_counter_tls(void)
{
void lttng_perf_unlock(void)
{
}
-#endif /* #else #ifdef HAVE_PERF_EVENT */
+#endif /* #else #ifdef HAVE_LINUX_PERF_EVENT_H */
#endif /* _LTTNG_TRACER_CORE_H */