X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Flog-level-rule-internal.h;fp=include%2Flttng%2Flog-level-rule-internal.h;h=f3b2a1c2a16b8ff3851fa15f2de8b321efef5544;hp=f0ca63222cc7295b0d21d37aa207d3aad244d5a2;hb=6a751b953a43c566b74818ec6325db0978e16c66;hpb=1aa9c49c60b7d7370ceafc3ac076de423de22b7f diff --git a/include/lttng/log-level-rule-internal.h b/include/lttng/log-level-rule-internal.h index f0ca63222..f3b2a1c2a 100644 --- a/include/lttng/log-level-rule-internal.h +++ b/include/lttng/log-level-rule-internal.h @@ -18,6 +18,8 @@ #include #include +struct mi_writer; + /* * For now only a single backing struct is used for both type of log level * rule (exactly, as_severe) since both only have require "level" as property. @@ -60,4 +62,9 @@ LTTNG_HIDDEN unsigned long lttng_log_level_rule_hash( const struct lttng_log_level_rule *log_level_rule); +LTTNG_HIDDEN +enum lttng_error_code lttng_log_level_rule_mi_serialize( + const struct lttng_log_level_rule *rule, + struct mi_writer *writer); + #endif /* LTTNG_LOG_LEVEL_RULE_INTERNAL_H */