X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fcommon%2Fevent-rule%2Fkprobe.c;h=12e6010ac1f25723caa73b72e74cf5d0f27df32f;hb=2b00d46244cab86f1186a7b00cdc660f24a26f72;hp=6ec5cd402df5c590ab115a1384d6e5e34ec161b9;hpb=a3ecaea889e67f87307cc3be53e51fb472a67c3b;p=lttng-tools.git diff --git a/src/common/event-rule/kprobe.c b/src/common/event-rule/kprobe.c index 6ec5cd402..12e6010ac 100644 --- a/src/common/event-rule/kprobe.c +++ b/src/common/event-rule/kprobe.c @@ -163,18 +163,20 @@ static const char *lttng_event_rule_kprobe_get_filter( return NULL; } -static const struct lttng_filter_bytecode * +static const struct lttng_bytecode * lttng_event_rule_kprobe_get_filter_bytecode(const struct lttng_event_rule *rule) { /* Not supported. */ return NULL; } -static struct lttng_event_exclusion * -lttng_event_rule_kprobe_generate_exclusions(const struct lttng_event_rule *rule) +static enum lttng_event_rule_generate_exclusions_status +lttng_event_rule_kprobe_generate_exclusions(const struct lttng_event_rule *rule, + struct lttng_event_exclusion **exclusions) { /* Not supported. */ - return NULL; + *exclusions = NULL; + return LTTNG_EVENT_RULE_GENERATE_EXCLUSIONS_STATUS_NONE; } static unsigned long