X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Fevents.h;h=833a344a72d5f5f5367ba109b6da36ee7599d02b;hb=2dfda770cc6781ec372ee8dadd8eb4f6ab37375a;hp=69aca1e078579b2c86fc7666c834a905da237ce3;hpb=1b917d6b45b8d2573462b43b407663ac9352e733;p=lttng-modules.git diff --git a/include/lttng/events.h b/include/lttng/events.h index 69aca1e0..833a344a 100644 --- a/include/lttng/events.h +++ b/include/lttng/events.h @@ -255,7 +255,7 @@ struct lttng_bytecode_runtime { const char *filter_stack_data); int link_failed; struct list_head node; /* list of bytecode runtime in event */ - struct lttng_event *event; + struct lttng_ctx *ctx; }; /* @@ -711,8 +711,11 @@ static inline long lttng_channel_syscall_mask(struct lttng_channel *channel, void lttng_filter_sync_state(struct lttng_bytecode_runtime *runtime); int lttng_event_enabler_attach_bytecode(struct lttng_event_enabler *event_enabler, struct lttng_kernel_filter_bytecode __user *bytecode); -void lttng_event_enabler_link_bytecode(struct lttng_event *event, - struct lttng_event_enabler *event_enabler); + +void lttng_enabler_link_bytecode(const struct lttng_event_desc *event_desc, + struct lttng_ctx *ctx, + struct list_head *bytecode_runtime_head, + struct lttng_enabler *enabler); int lttng_probes_init(void);