X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Faction%2Frate-policy-internal.h;h=b24ed52385223c775f63705afe06b402e4090613;hb=4878de5c7deb512bbdac4fdfc498907efa06fb7c;hp=ca9d2c00e952567bb2a33d2a62d0a8db310e2f16;hpb=6a751b953a43c566b74818ec6325db0978e16c66;p=lttng-tools.git diff --git a/include/lttng/action/rate-policy-internal.h b/include/lttng/action/rate-policy-internal.h index ca9d2c00e..b24ed5238 100644 --- a/include/lttng/action/rate-policy-internal.h +++ b/include/lttng/action/rate-policy-internal.h @@ -11,35 +11,30 @@ #include #include #include +#include #include + struct mi_writer; -LTTNG_HIDDEN int lttng_rate_policy_serialize(struct lttng_rate_policy *rate_policy, struct lttng_payload *buf); -LTTNG_HIDDEN ssize_t lttng_rate_policy_create_from_payload(struct lttng_payload_view *view, struct lttng_rate_policy **rate_policy); -LTTNG_HIDDEN bool lttng_rate_policy_is_equal(const struct lttng_rate_policy *a, const struct lttng_rate_policy *b); -LTTNG_HIDDEN const char *lttng_rate_policy_type_string( enum lttng_rate_policy_type rate_policy_type); -LTTNG_HIDDEN struct lttng_rate_policy *lttng_rate_policy_copy( const struct lttng_rate_policy *source); -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);