SoW-2021-0002: Custom 2.13 for ust-lower-urcu integration test.
[lttng-tools.git] / include / lttng / error-query.h
index 382f2cad582d9e70eab389c56fea4833f4bd28f9..ff0f0ae99ef06088e7706712665715d62f13dae9 100644 (file)
@@ -61,10 +61,19 @@ 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 a trigger's condition object. */
+extern struct lttng_error_query *lttng_error_query_condition_create(
+               const struct lttng_trigger *trigger);
+
+/*
+ * 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);
This page took 0.028834 seconds and 5 git commands to generate.