X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Ferror-query.h;h=8a5945ae9c75467dd9bb6ffeb45c236d60f084a8;hb=138d6838d156cb4a36a738658d5f7f67c5e96ec5;hp=382f2cad582d9e70eab389c56fea4833f4bd28f9;hpb=b99a0cb3edd93f55e712096a352d64b79d4716bb;p=lttng-tools.git diff --git a/include/lttng/error-query.h b/include/lttng/error-query.h index 382f2cad5..8a5945ae9 100644 --- a/include/lttng/error-query.h +++ b/include/lttng/error-query.h @@ -61,10 +61,15 @@ enum lttng_error_query_results_status { extern struct lttng_error_query *lttng_error_query_trigger_create( const struct lttng_trigger *trigger); -/* Create an error query targetting an action object. */ +/* + * Create an error query targetting an action object. + * + * `action_path` is copied internally. The root of the `action_path` is the + * action of `trigger`. + */ extern struct lttng_error_query *lttng_error_query_action_create( const struct lttng_trigger *trigger, - const struct lttng_action *action); + const struct lttng_action_path *action_path); /* Destroy an error query. */ extern void lttng_error_query_destroy(struct lttng_error_query *query);