X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fevent-rule%2Fkprobe.c;h=01699caf1ade9407948e8024889095954d3948c9;hb=cfb1c9bcab7801380b6ffbab9e505b861072254c;hp=15dabdde3d0ceca5e8f334c20255ba1132999d83;hpb=959e3c66727698e58a8788aceeda5820b3c938ba;p=lttng-tools.git diff --git a/src/common/event-rule/kprobe.c b/src/common/event-rule/kprobe.c index 15dabdde3..01699caf1 100644 --- a/src/common/event-rule/kprobe.c +++ b/src/common/event-rule/kprobe.c @@ -170,11 +170,13 @@ lttng_event_rule_kprobe_get_filter_bytecode(const struct lttng_event_rule *rule) 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 @@ -193,7 +195,7 @@ lttng_event_rule_kprobe_hash( return hash; } -struct lttng_event_rule *lttng_event_rule_kprobe_create() +struct lttng_event_rule *lttng_event_rule_kprobe_create(void) { struct lttng_event_rule *rule = NULL; struct lttng_event_rule_kprobe *krule;