X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Flib%2Flttng-ust%2Fevents.h;h=cfdbd2e0c7913e6d64ce9aaa9cdda7fd3d0dddbf;hb=a5d437c5f61a1b089e3ea76e4d124683b3aa456e;hp=cd64a2d8ce8c894bbd570692805bd96a22a4ee0a;hpb=b5457df5fd74e033cbaa75307f9bbc12aff4ab8f;p=lttng-ust.git diff --git a/src/lib/lttng-ust/events.h b/src/lib/lttng-ust/events.h index cd64a2d8..cfdbd2e0 100644 --- a/src/lib/lttng-ust/events.h +++ b/src/lib/lttng-ust/events.h @@ -190,10 +190,10 @@ void lttng_perf_counter_exit(void) #else /* #ifdef HAVE_LINUX_PERF_EVENT_H */ static inline -int lttng_add_perf_counter_to_ctx(uint32_t type, - uint64_t config, - const char *name, - struct lttng_ust_ctx **ctx) +int lttng_add_perf_counter_to_ctx(uint32_t type __attribute__((unused)), + uint64_t config __attribute__((unused)), + const char *name __attribute__((unused)), + struct lttng_ust_ctx **ctx __attribute__((unused))) { return -ENOSYS; } @@ -261,12 +261,6 @@ int lttng_channel_enable(struct lttng_ust_channel_common *lttng_channel) int lttng_channel_disable(struct lttng_ust_channel_common *lttng_channel) __attribute__((visibility("hidden"))); -void lttng_transport_register(struct lttng_transport *transport) - __attribute__((visibility("hidden"))); - -void lttng_transport_unregister(struct lttng_transport *transport) - __attribute__((visibility("hidden"))); - void lttng_probe_provider_unregister_events(const struct lttng_ust_probe_desc *desc) __attribute__((visibility("hidden"))); @@ -294,14 +288,9 @@ void lttng_ust_abi_events_exit(void) void lttng_ust_abi_objd_table_owner_cleanup(void *owner) __attribute__((visibility("hidden"))); -struct lttng_ust_channel_buffer *lttng_ust_alloc_channel_buffer(void) - __attribute__((visibility("hidden"))); - -void lttng_ust_free_channel_common(struct lttng_ust_channel_common *chan) - __attribute__((visibility("hidden"))); - int lttng_ust_interpret_event_filter(const struct lttng_ust_event_common *event, const char *interpreter_stack_data, + struct lttng_ust_probe_ctx *probe_ctx, void *filter_ctx) __attribute__((visibility("hidden"))); @@ -321,19 +310,23 @@ int lttng_ust_add_app_context_to_ctx_rcu(const char *name, struct lttng_ust_ctx int lttng_ust_context_set_provider_rcu(struct lttng_ust_ctx **_ctx, const char *name, - size_t (*get_size)(void *priv, size_t offset), - void (*record)(void *priv, struct lttng_ust_ring_buffer_ctx *ctx, + size_t (*get_size)(void *priv, struct lttng_ust_probe_ctx *probe_ctx, + size_t offset), + void (*record)(void *priv, struct lttng_ust_probe_ctx *probe_ctx, + struct lttng_ust_ring_buffer_ctx *ctx, struct lttng_ust_channel_buffer *chan), - void (*get_value)(void *priv, struct lttng_ust_ctx_value *value), - void *priv) + void (*get_value)(void *priv, struct lttng_ust_probe_ctx *probe_ctx, + struct lttng_ust_ctx_value *value)) __attribute__((visibility("hidden"))); void lttng_ust_context_set_session_provider(const char *name, - size_t (*get_size)(void *priv, size_t offset), - void (*record)(void *priv, struct lttng_ust_ring_buffer_ctx *ctx, + size_t (*get_size)(void *priv, struct lttng_ust_probe_ctx *probe_ctx, + size_t offset), + void (*record)(void *priv, struct lttng_ust_probe_ctx *probe_ctx, + struct lttng_ust_ring_buffer_ctx *ctx, struct lttng_ust_channel_buffer *chan), - void (*get_value)(void *priv, struct lttng_ust_ctx_value *value), - void *priv) + void (*get_value)(void *priv, struct lttng_ust_probe_ctx *probe_ctx, + struct lttng_ust_ctx_value *value)) __attribute__((visibility("hidden"))); #endif /* _LTTNG_UST_EVENTS_INTERNAL_H */