Tracepoint API namespacing '_TP_NARGS'
[lttng-ust.git] / src / lib / lttng-ust / events.h
index 9d5fbd1126a90079a567592659848fdfe3590f42..bf76d7a319344e06c945c7df945cefbfc80f0bb4 100644 (file)
@@ -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;
 }
@@ -322,7 +322,7 @@ 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_lib_ring_buffer_ctx *ctx,
+               void (*record)(void *priv, 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)
@@ -330,7 +330,7 @@ int lttng_ust_context_set_provider_rcu(struct lttng_ust_ctx **_ctx,
 
 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_lib_ring_buffer_ctx *ctx,
+               void (*record)(void *priv, 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)
This page took 0.028377 seconds and 4 git commands to generate.