MI: implement all objects related to trigger machine interface
[lttng-tools.git] / include / lttng / action / rate-policy-internal.h
index 03f6d973603783c243083f73442f18a1ccf88367..ca9d2c00e952567bb2a33d2a62d0a8db310e2f16 100644 (file)
@@ -13,6 +13,8 @@
 #include <lttng/action/rate-policy.h>
 #include <stdbool.h>
 
+struct mi_writer;
+
 LTTNG_HIDDEN
 int lttng_rate_policy_serialize(struct lttng_rate_policy *rate_policy,
                struct lttng_payload *buf);
@@ -37,4 +39,9 @@ LTTNG_HIDDEN
 bool lttng_rate_policy_should_execute(
                const struct lttng_rate_policy *policy, uint64_t counter);
 
+LTTNG_HIDDEN
+enum lttng_error_code lttng_rate_policy_mi_serialize(
+               const struct lttng_rate_policy *policy,
+               struct mi_writer *writer);
+
 #endif /* LTTNG_RATE_POLICY */
This page took 0.023478 seconds and 4 git commands to generate.