trigger: lttng_trigger_get_underlying_domain_type_restriction
[lttng-tools.git] / include / lttng / trigger / trigger-internal.h
index 87368476958f08186e5f907545764bc3a6376086..e32ea737ea8a911c9dc56402601186d08c5a5a5d 100644 (file)
@@ -184,4 +184,12 @@ void lttng_trigger_fire(struct lttng_trigger *trigger);
 LTTNG_HIDDEN
 bool lttng_trigger_should_fire(const struct lttng_trigger *trigger);
 
 LTTNG_HIDDEN
 bool lttng_trigger_should_fire(const struct lttng_trigger *trigger);
 
+/*
+ * Return the type of any underlying domain restriction. If no particular
+ * requirement is present, returns LTTNG_DOMAIN_NONE.
+ */
+LTTNG_HIDDEN
+enum lttng_domain_type lttng_trigger_get_underlying_domain_type_restriction(
+               const struct lttng_trigger *trigger);
+
 #endif /* LTTNG_TRIGGER_INTERNAL_H */
 #endif /* LTTNG_TRIGGER_INTERNAL_H */
This page took 0.030922 seconds and 4 git commands to generate.