New API: lttng_ust_init_thread() for async-signal tracing
[lttng-ust.git] / include / ust-context-provider.h
index e62950e1e81c7b9b7d7b77e9a62eb3ca7dd60356..094e9fd97ed5b359a9e2d41b71e22860be34459f 100644 (file)
@@ -57,11 +57,10 @@ struct lttng_ust_ctx_field {
        size_t (*get_size)(struct lttng_ust_ctx_field *field, size_t offset);
        void (*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);
        void (*get_value)(struct lttng_ust_ctx_field *field,
                         struct lttng_ust_ctx_value *value);
        void (*destroy)(struct lttng_ust_ctx_field *field);
-       char *field_name;       /* Has ownership, dynamically allocated. */
 
        /* End of base ABI. Fields below should be used after checking struct_size. */
 };
@@ -108,7 +107,7 @@ struct lttng_ust_context_provider {
        size_t (*get_size)(struct lttng_ust_ctx_field *field, size_t offset);
        void (*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);
        void (*get_value)(struct lttng_ust_ctx_field *field,
                         struct lttng_ust_ctx_value *value);
        struct cds_hlist_node node;
@@ -123,7 +122,7 @@ void lttng_ust_context_set_session_provider(const char *name,
                size_t (*get_size)(struct lttng_ust_ctx_field *field, size_t offset),
                void (*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),
                void (*get_value)(struct lttng_ust_ctx_field *field,
                        struct lttng_ust_ctx_value *value));
 
@@ -133,7 +132,7 @@ int lttng_ust_context_set_provider_rcu(struct lttng_ust_ctx **_ctx,
                size_t (*get_size)(struct lttng_ust_ctx_field *field, size_t offset),
                void (*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),
                void (*get_value)(struct lttng_ust_ctx_field *field,
                        struct lttng_ust_ctx_value *value));
 
This page took 0.023192 seconds and 4 git commands to generate.