Refactoring: struct lttng_channel
[lttng-modules.git] / src / lttng-context-perf-counters.c
index d69ada5ef77c7f142f496cfda9a101d5a843b420..0b466363235b2a91e307645dbd1b2cef107e9419 100644 (file)
@@ -21,7 +21,7 @@
 #include <lttng/tracer.h>
 
 static
-size_t perf_counter_get_size(void *priv, struct lttng_probe_ctx *probe_ctx, size_t offset)
+size_t perf_counter_get_size(void *priv, struct lttng_kernel_probe_ctx *probe_ctx, size_t offset)
 {
        size_t size = 0;
 
@@ -31,9 +31,9 @@ size_t perf_counter_get_size(void *priv, struct lttng_probe_ctx *probe_ctx, size
 }
 
 static
-void perf_counter_record(void *priv, struct lttng_probe_ctx *probe_ctx,
-                        struct lib_ring_buffer_ctx *ctx,
-                        struct lttng_channel *chan)
+void perf_counter_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx,
+                        struct lttng_kernel_ring_buffer_ctx *ctx,
+                        struct lttng_kernel_channel_buffer *chan)
 {
        struct lttng_perf_counter_field *perf_field = (struct lttng_perf_counter_field *) priv;
        struct perf_event *event;
This page took 0.031446 seconds and 4 git commands to generate.