- bt_query_status status = BT_QUERY_STATUS_OK;
-
- if (!strcmp(object, "metadata-info")) {
- status = metadata_info_query(comp_class, params, result);
- } else if (!strcmp(object, "trace-info")) {
- status = trace_info_query(comp_class, params, result);
+ bt_component_class_query_method_status status =
+ BT_COMPONENT_CLASS_QUERY_METHOD_STATUS_OK;
+
+ if (strcmp(object, "metadata-info") == 0) {
+ status = metadata_info_query(comp_class, params, log_level,
+ result);
+ } else if (strcmp(object, "trace-info") == 0) {
+ status = trace_info_query(comp_class, params, log_level,
+ result);
+ } else if (!strcmp(object, "support-info")) {
+ status = support_info_query(comp_class, params, log_level, result);