X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fevent-rule%2Fuprobe.c;h=67f99c482ec681c4e95d39625e5ca582df41391f;hb=a3c516531ffff69b8d5f6564c8e4d00b4f18e7da;hp=2e64eaf898bd69880eaaff0208339b1c154e1665;hpb=959e3c66727698e58a8788aceeda5820b3c938ba;p=lttng-tools.git diff --git a/src/common/event-rule/uprobe.c b/src/common/event-rule/uprobe.c index 2e64eaf89..67f99c482 100644 --- a/src/common/event-rule/uprobe.c +++ b/src/common/event-rule/uprobe.c @@ -155,18 +155,20 @@ static const char *lttng_event_rule_uprobe_get_filter( return NULL; } -static const struct lttng_filter_bytecode * +static const struct lttng_bytecode * lttng_event_rule_uprobe_get_filter_bytecode(const struct lttng_event_rule *rule) { /* Unsupported. */ return NULL; } -static struct lttng_event_exclusion * -lttng_event_rule_uprobe_generate_exclusions(const struct lttng_event_rule *rule) +static enum lttng_event_rule_generate_exclusions_status +lttng_event_rule_uprobe_generate_exclusions(const struct lttng_event_rule *rule, + struct lttng_event_exclusion **exclusions) { /* Unsupported. */ - return NULL; + *exclusions = NULL; + return LTTNG_EVENT_RULE_GENERATE_EXCLUSIONS_STATUS_NONE; } static unsigned long @@ -185,7 +187,7 @@ lttng_event_rule_uprobe_hash( return hash; } -struct lttng_event_rule *lttng_event_rule_uprobe_create() +struct lttng_event_rule *lttng_event_rule_uprobe_create(void) { struct lttng_event_rule *rule = NULL; struct lttng_event_rule_uprobe *urule;