API refactoring: introduce probe context
[lttng-ust.git] / src / lib / lttng-ust / lttng-tracer-core.h
index df4857b93db9f88f5ffc714301a79e9a23fe9d48..75765394ec59cb9f7611bd7e509ecba0f672feea 100644 (file)
@@ -13,7 +13,7 @@
 #include <urcu/arch.h>
 #include <urcu/list.h>
 #include <lttng/ust-tracer.h>
-#include <lttng/ringbuffer-context.h>
+#include <lttng/ust-ringbuffer-context.h>
 #include "common/logging.h"
 
 struct lttng_ust_session;
@@ -73,22 +73,23 @@ char* lttng_ust_sockinfo_get_procname(void *owner)
 void lttng_ust_sockinfo_session_enabled(void *owner)
        __attribute__((visibility("hidden")));
 
-ssize_t lttng_ust_read(int fd, void *buf, size_t len)
+size_t lttng_ust_dummy_get_size(void *priv, struct lttng_ust_probe_ctx *probe_ctx,
+               size_t offset)
        __attribute__((visibility("hidden")));
 
-size_t lttng_ust_dummy_get_size(void *priv, size_t offset)
+void lttng_ust_dummy_record(void *priv, struct lttng_ust_probe_ctx *probe_ctx,
+               struct lttng_ust_ring_buffer_ctx *ctx,
+               struct lttng_ust_channel_buffer *chan)
        __attribute__((visibility("hidden")));
 
-void lttng_ust_dummy_record(void *priv, struct lttng_ust_ring_buffer_ctx *ctx,
-                struct lttng_ust_channel_buffer *chan)
-       __attribute__((visibility("hidden")));
-
-void lttng_ust_dummy_get_value(void *priv, struct lttng_ust_ctx_value *value)
+void lttng_ust_dummy_get_value(void *priv, struct lttng_ust_probe_ctx *probe_ctx,
+               struct lttng_ust_ctx_value *value)
        __attribute__((visibility("hidden")));
 
 void lttng_event_notifier_notification_send(
                const struct lttng_ust_event_notifier *event_notifier,
                const char *stack_data,
+               struct lttng_ust_probe_ctx *probe_ctx,
                struct lttng_ust_notification_ctx *notif_ctx)
        __attribute__((visibility("hidden")));
 
This page took 0.02855 seconds and 4 git commands to generate.