X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Flttng%2Fust-events.h;h=c1a851731a006eebfdf4fced1596d80d36df27fc;hb=416165a551d37c6501034a30401da626f3b6acff;hp=893096827802f92ddb1550ca06ff32ce0322a4f5;hpb=fca2f1916cd9f22f410d8f22b9a0720c978c2025;p=lttng-ust.git diff --git a/include/lttng/ust-events.h b/include/lttng/ust-events.h index 89309682..c1a85173 100644 --- a/include/lttng/ust-events.h +++ b/include/lttng/ust-events.h @@ -29,6 +29,7 @@ #include #include +#include #include #include #include @@ -365,6 +366,10 @@ struct lttng_enabler { struct lttng_ust_event event_param; struct lttng_channel *chan; + /* + * Unused, but kept around to make it explicit that the tracer can do + * it. + */ struct lttng_ctx *ctx; unsigned int enabled:1; }; @@ -751,7 +756,6 @@ void lttng_probes_prune_field_list(struct lttng_ust_field_list *list); struct lttng_ust_field_iter * lttng_ust_field_list_get_iter_next(struct lttng_ust_field_list *list); -void lttng_filter_event_link_bytecode(struct lttng_event *event); void lttng_enabler_event_link_bytecode(struct lttng_event *event, struct lttng_enabler *enabler); void lttng_free_event_filter_runtime(struct lttng_event *event); @@ -774,6 +778,7 @@ void lttng_ust_fixup_fd_tracker_tls(void); extern struct lttng_ctx *lttng_static_ctx; void lttng_context_init(void); void lttng_context_exit(void); +void lttng_filter_event_link_bytecode(struct lttng_event *event); #ifdef __cplusplus }