#include <lttng/endian.h>
static
-size_t procname_get_size(void *priv, struct lttng_probe_ctx *probe_ctx, size_t offset)
+size_t procname_get_size(void *priv, struct lttng_kernel_probe_ctx *probe_ctx, size_t offset)
{
size_t size = 0;
* could lead to crash in IRQ context and deadlock of the lockdep tracer.
*/
static
-void procname_record(void *priv, struct lttng_probe_ctx *probe_ctx,
- struct lib_ring_buffer_ctx *ctx,
- struct lttng_channel *chan)
+void procname_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx,
+ struct lttng_kernel_ring_buffer_ctx *ctx,
+ struct lttng_kernel_channel_buffer *chan)
{
chan->ops->event_write(ctx, current->comm, sizeof(current->comm));
}
static
void procname_get_value(void *priv,
- struct lttng_probe_ctx *lttng_probe_ctx,
+ struct lttng_kernel_probe_ctx *lttng_probe_ctx,
struct lttng_ctx_value *value)
{
value->u.str = current->comm;