X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Fevent-rule%2Fuserspace-probe.h;h=37b366b68b980c280cac7efb3d0d61cb6de16ee9;hb=10685de6af924c0ea83e451697639ed9c16586cc;hp=dd90966cfb1cbea3110605c8abae3c2d37ab1949;hpb=405f9e7db1cd7c023614ae249f0705fbb3da514c;p=lttng-tools.git diff --git a/include/lttng/event-rule/userspace-probe.h b/include/lttng/event-rule/userspace-probe.h index dd90966cf..37b366b68 100644 --- a/include/lttng/event-rule/userspace-probe.h +++ b/include/lttng/event-rule/userspace-probe.h @@ -18,21 +18,12 @@ extern "C" { /* * Create a newly allocated user space probe event rule. * - * Returns a new event rule on success, NULL on failure. This event rule must be - * destroyed using lttng_event_rule_destroy(). - */ -extern struct lttng_event_rule *lttng_event_rule_userspace_probe_create(void); - -/* - * Set the location of a user space probe event rule. - * * The location is copied internally. * - * Returns LTTNG_EVENT_RULE_STATUS_OK on success, LTTNG_EVENT_RULE_STATUS_INVALID - * if invalid parameters are passed. + * Returns a new event rule on success, NULL on failure. This event rule must be + * destroyed using lttng_event_rule_destroy(). */ -extern enum lttng_event_rule_status lttng_event_rule_userspace_probe_set_location( - struct lttng_event_rule *rule, +extern struct lttng_event_rule *lttng_event_rule_userspace_probe_create( const struct lttng_userspace_probe_location *location); /*