*
* Returns a new event rule on success, NULL on failure. This event rule must be
* destroyed using lttng_event_rule_destroy().
*/
*
* Returns a new event rule on success, NULL on failure. This event rule must be
* destroyed using lttng_event_rule_destroy().
*/
*
* The location is copied internally.
*
* Returns LTTNG_EVENT_RULE_STATUS_OK on success, LTTNG_EVENT_RULE_STATUS_INVALID
* if invalid parameters are passed.
*/
*
* The location is copied internally.
*
* Returns LTTNG_EVENT_RULE_STATUS_OK on success, LTTNG_EVENT_RULE_STATUS_INVALID
* if invalid parameters are passed.
*/
struct lttng_event_rule *rule,
const struct lttng_userspace_probe_location *location);
/*
struct lttng_event_rule *rule,
const struct lttng_userspace_probe_location *location);
/*
*
* The caller does not assume the ownership of the returned location.
* The location shall only be used for the duration of the event
*
* The caller does not assume the ownership of the returned location.
* The location shall only be used for the duration of the event
const struct lttng_event_rule *rule,
const struct lttng_userspace_probe_location **location);
/*
const struct lttng_event_rule *rule,
const struct lttng_userspace_probe_location **location);
/*
*
* The name is copied internally.
*
* Return LTTNG_EVENT_RULE_STATUS_OK on success, LTTNG_EVENT_RULE_STATUS_INVALID
* if invalid parameters are passed.
*/
*
* The name is copied internally.
*
* Return LTTNG_EVENT_RULE_STATUS_OK on success, LTTNG_EVENT_RULE_STATUS_INVALID
* if invalid parameters are passed.
*/
*
* The caller does not assume the ownership of the returned name.
* The name shall only only be used for the duration of the event
*
* The caller does not assume the ownership of the returned name.
* The name shall only only be used for the duration of the event
* success, LTTNG_EVENT_RULE_STATUS_INVALID if an invalid parameter is passed,
* or LTTNG_EVENT_RULE_STATUS_UNSET if a name was not set prior to this call.
*/
* success, LTTNG_EVENT_RULE_STATUS_INVALID if an invalid parameter is passed,
* or LTTNG_EVENT_RULE_STATUS_UNSET if a name was not set prior to this call.
*/