#include <stdlib.h>
#include <logcommon.h>
-void (*qos_distribution_func)(struct qos_module *qos, struct metrics_pid_aggr_info *infos, int count);
-
bool qos_is_enabled(const struct qos_module *qos)
{
assert(qos);
}
}
- qos_distribution_func(qos, aggr_infos, aggr_count);
+ qos->distribution_func(qos, aggr_infos, aggr_count);
const int len = aggr_count * 32;
__attribute__((cleanup(free_ptr))) char *buf = malloc(len);