X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Ferror-query.h;h=8a5945ae9c75467dd9bb6ffeb45c236d60f084a8;hp=382f2cad582d9e70eab389c56fea4833f4bd28f9;hb=cb9222ff73524b91bee4f968613a78340a727a04;hpb=27993cc2e9edb3f5a59bc2c16439e063462235e5 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);